FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageopenehr.base
Resource TypeStructureDefinition
IdStructureDefinition-EXTRACT-UPDATE-SPEC.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/openehr-fhir/base-spec/StructureDefinition-EXTRACT-UPDATE-SPEC.html
URLhttp://openehr.org/fhir/StructureDefinition/EXTRACT_UPDATE_SPEC
Version0.1.0
Statusactive
Date2025-09-06T15:35:39+10:00
NameEXTRACT_UPDATE_SPEC
TitleEXTRACT_UPDATE_SPEC
Realmuv
Authorityhl7
DescriptionSpecification of the how the request should be processed by server. The request can be persisted in the server, meaning that a) it can be re-activated by the requesting system simply by indicating Request id, and b) that a changes-only pattern of Extract updates can be set up. To achieve this, the server has to remember what was sent in the previous response. The update mode may be event-driven and periodic update or a mixture of both. The candidate items to be sent each time are the result of re-evaluating the content and versioning parts of the specification; what is actually sent is determined by the `_send_changes_only_` flag.
Typehttp://openehr.org/fhir/StructureDefinition/EXTRACT_UPDATE_SPEC
Kindlogical

Resources that use this resource

StructureDefinition
openehr.base#currentEXTRACT_REQUESTEXTRACT_REQUEST

Resources that this resource uses

StructureDefinition
openehr.base#currentAnyAny
openehr.base#currentCODE_PHRASECODE_PHRASE
openehr.base#currentDV_CODED_TEXTDV_CODED_TEXT
openehr.base#currentDV_DURATIONDV_DURATION

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition EXTRACT-UPDATE-SPEC

NameFlagsCard.TypeDescription & Constraintsdoco
.. EXTRACT_UPDATE_SPEC C0..*AnySpecification of the how the request should be processed by server.
Constraints: overall-validity, trigger-events-validity, send-changes-only-validity
... persist_in_server 1..1booleanIf True, this Request is persisted in the server until further notice.
... repeat_period 0..1DV_DURATIONPeriod for resending update Extracts in response to original Request.
... trigger_events 0..*DV_CODED_TEXTSet of Event names that will cause sending of update Extracts.
... update_method 1..1CODE_PHRASEIndicate mode of update.

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "EXTRACT-UPDATE-SPEC",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/web-source",
      "valueUrl": "https://specifications.openehr.org/releases/BASE/latest/foundation_types.html#_any_class"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
      "valueCode": "element-view-replace-cardinality"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 3,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "informative",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
          }
        ]
      }
    }
  ],
  "url": "http://openehr.org/fhir/StructureDefinition/EXTRACT_UPDATE_SPEC",
  "version": "0.1.0",
  "name": "EXTRACT_UPDATE_SPEC",
  "title": "EXTRACT_UPDATE_SPEC",
  "status": "active",
  "experimental": false,
  "date": "2025-09-06T15:35:39+10:00",
  "publisher": "openEHR + HL7",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.openehr.org"
        }
      ]
    }
  ],
  "description": "Specification of the how the request should be processed by server. The request can be persisted in the server, meaning that a) it can be re-activated by the requesting system simply by indicating Request id, and b) that a changes-only pattern of Extract updates can be set up. To achieve this, the server has to remember what was sent in the previous response.\n\nThe update mode may be event-driven and periodic update or a mixture of both. The candidate items to be sent each time are the result of re-evaluating the content and versioning parts of the specification; what is actually sent is determined by the `_send_changes_only_` flag.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://openehr.org/fhir/StructureDefinition/EXTRACT_UPDATE_SPEC",
  "baseDefinition": "http://openehr.org/fhir/StructureDefinition/Any",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.1.0"
      }
    ],
    "element": [
      {
        "id": "EXTRACT_UPDATE_SPEC",
        "path": "EXTRACT_UPDATE_SPEC",
        "short": "Specification of the how the request should be processed by server.",
        "definition": "Specification of the how the request should be processed by server. The request can be persisted in the server, meaning that a) it can be re-activated by the requesting system simply by indicating Request id, and b) that a changes-only pattern of Extract updates can be set up. To achieve this, the server has to remember what was sent in the previous response.\n\nThe update mode may be event-driven and periodic update or a mixture of both. The candidate items to be sent each time are the result of re-evaluating the content and versioning parts of the specification; what is actually sent is determined by the `_send_changes_only_` flag.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "overall-validity",
            "severity": "error",
            "human": "Overall validity must be present",
            "expression": "repeat_period.exists() or trigger_events.exists()"
          },
          {
            "key": "trigger-events-validity",
            "severity": "error",
            "human": "Trigger events validity must be present",
            "expression": "trigger_events.exists() implies trigger_events.empty().not()"
          },
          {
            "key": "send-changes-only-validity",
            "severity": "error",
            "human": "Send changes only validity must satisfy conditional constraints",
            "expression": "{} // : manual translation needed"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "EXTRACT_UPDATE_SPEC.persist-in-server",
        "path": "EXTRACT_UPDATE_SPEC.persist_in_server",
        "short": "If True, this Request is persisted in the server until further notice.",
        "definition": "If True, this Request is persisted in the server until further notice.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EXTRACT_UPDATE_SPEC.persist_in_server",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EXTRACT_UPDATE_SPEC.repeat-period",
        "path": "EXTRACT_UPDATE_SPEC.repeat_period",
        "short": "Period for resending update Extracts in response to original Request.",
        "definition": "Period for resending update Extracts in response to original Request.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EXTRACT_UPDATE_SPEC.repeat_period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV_DURATION"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EXTRACT_UPDATE_SPEC.trigger-events",
        "path": "EXTRACT_UPDATE_SPEC.trigger_events",
        "short": "Set of Event names that will cause sending of update Extracts.",
        "definition": "Set of Event names that will cause sending of update Extracts. Event types include:   \n\n* `|any_change|` - any change in content items matched by content specification, e.g. new versions of persistent compositions. If the content list allows matching of any, or a wide range of archetypes, this event type will match any additions to the record.\n* `|correction|` - match error corrections only, including deletions.\n* `|update|` - match updates (i.e. new versions) of included content items.\n\nCoded by openEHR Terminology group 'extract update trigger event type'.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EXTRACT_UPDATE_SPEC.trigger_events",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV_CODED_TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EXTRACT_UPDATE_SPEC.update-method",
        "path": "EXTRACT_UPDATE_SPEC.update_method",
        "short": "Indicate mode of update.",
        "definition": "Indicate mode of update. Can be: send only items that are changed (including logical deletions) or new since last send. For `_persist_in_server_` Requests only.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EXTRACT_UPDATE_SPEC.update_method",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/CODE_PHRASE"
          }
        ],
        "isModifier": false
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EXTRACT_UPDATE_SPEC",
        "path": "EXTRACT_UPDATE_SPEC",
        "short": "Specification of the how the request should be processed by server.",
        "definition": "Specification of the how the request should be processed by server. The request can be persisted in the server, meaning that a) it can be re-activated by the requesting system simply by indicating Request id, and b) that a changes-only pattern of Extract updates can be set up. To achieve this, the server has to remember what was sent in the previous response.\n\nThe update mode may be event-driven and periodic update or a mixture of both. The candidate items to be sent each time are the result of re-evaluating the content and versioning parts of the specification; what is actually sent is determined by the `_send_changes_only_` flag.",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "overall-validity",
            "severity": "error",
            "human": "Overall validity must be present",
            "expression": "repeat_period.exists() or trigger_events.exists()"
          },
          {
            "key": "trigger-events-validity",
            "severity": "error",
            "human": "Trigger events validity must be present",
            "expression": "trigger_events.exists() implies trigger_events.empty().not()"
          },
          {
            "key": "send-changes-only-validity",
            "severity": "error",
            "human": "Send changes only validity must satisfy conditional constraints",
            "expression": "{} // : manual translation needed"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EXTRACT_UPDATE_SPEC.persist-in-server",
        "path": "EXTRACT_UPDATE_SPEC.persist_in_server",
        "short": "If True, this Request is persisted in the server until further notice.",
        "definition": "If True, this Request is persisted in the server until further notice.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EXTRACT_UPDATE_SPEC.repeat-period",
        "path": "EXTRACT_UPDATE_SPEC.repeat_period",
        "short": "Period for resending update Extracts in response to original Request.",
        "definition": "Period for resending update Extracts in response to original Request.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV_DURATION"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EXTRACT_UPDATE_SPEC.trigger-events",
        "path": "EXTRACT_UPDATE_SPEC.trigger_events",
        "short": "Set of Event names that will cause sending of update Extracts.",
        "definition": "Set of Event names that will cause sending of update Extracts. Event types include:   \n\n* `|any_change|` - any change in content items matched by content specification, e.g. new versions of persistent compositions. If the content list allows matching of any, or a wide range of archetypes, this event type will match any additions to the record.\n* `|correction|` - match error corrections only, including deletions.\n* `|update|` - match updates (i.e. new versions) of included content items.\n\nCoded by openEHR Terminology group 'extract update trigger event type'.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV_CODED_TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EXTRACT_UPDATE_SPEC.update-method",
        "path": "EXTRACT_UPDATE_SPEC.update_method",
        "short": "Indicate mode of update.",
        "definition": "Indicate mode of update. Can be: send only items that are changed (including logical deletions) or new since last send. For `_persist_in_server_` Requests only.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/CODE_PHRASE"
          }
        ],
        "isModifier": false
      }
    ]
  }
}