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

FHIR IG analytics

Packageopenehr.base
Resource TypeStructureDefinition
IdStructureDefinition-EVENT.json
FHIR VersionR5
Sourcehttp://fhir.org/guides/openehr/base/0.1.0-snapshot/StructureDefinition-EVENT.html
URLhttp://openehr.org/fhir/StructureDefinition/EVENT
Version0.1.0-snapshot
Statusactive
Date2025-09-06T15:35:39+10:00
NameEVENT
TitleEVENT
Realmuv
Authorityhl7
DescriptionDefines the abstract notion of a single event in a series. This class is generic, allowing types to be generated which are locked to particular spatial types, such as `EVENT<ITEM_LIST>`. Subtypes express point or intveral data.
Typehttp://openehr.org/fhir/StructureDefinition/EVENT
Kindlogical

Resources that use this resource

StructureDefinition
hl7.fhir.uv.openehr-test#currentopenEHR-EHR-OBSERVATION.blood-pressure.v2openEHR-EHR-OBSERVATION.blood_pressure.v2
openehr.base#0.1.0-snapshotHISTORYHISTORY
openehr.base#0.1.0-snapshotINTERVAL-EVENTINTERVAL_EVENT
openehr.base#0.1.0-snapshotPOINT-EVENTPOINT_EVENT

Resources that this resource uses

StructureDefinition
openehr.base#0.1.0-snapshotDV-DATE-TIMEDV_DATE_TIME
openehr.base#0.1.0-snapshotITEM-STRUCTUREITEM_STRUCTURE
openehr.base#0.1.0-snapshotLOCATABLELOCATABLE

Narrative

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

Generated Narrative: StructureDefinition EVENT

NameFlagsCard.TypeDescription & Constraintsdoco
.. EVENT<T : Any> C0..*LOCATABLEThis is an abstract type. Child types: INTERVAL_EVENT, POINT_EVENT
Defines the abstract notion of a single event in a series.

Elements defined in Ancestors:name, archetype_node_id, uid, links, archetype_details, feeder_audit
Constraints: Offset_validity, Offset_validity1
... time<T : Any> 1..1DV_DATE_TIMETime of this event.
... state<T : Any> 0..1ITEM_STRUCTUREOptional state data for this event.
... data<T : Any> 1..1http://openehr.org/fhir/StructureDefinition/TThe data of this event.

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "EVENT",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "contained": [
    {
      "resourceType": "OperationDefinition",
      "id": "offset",
      "name": "offset",
      "title": "offset",
      "status": "active",
      "kind": "operation",
      "description": "Offset of this event from origin, computed as time.diff(parent.origin).",
      "code": "offset",
      "system": false,
      "instance": true,
      "parameter": [
        {
          "name": "return",
          "use": "out",
          "min": 1,
          "max": "1",
          "type": "Duration"
        }
      ]
    }
  ],
  "extension": [
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/web-source",
      "valueUrl": "https://specifications.openehr.org/releases/RM/Release-1.1.0/data_structures.html#_event_class"
    },
    {
      "extension": [
        {
          "url": "name",
          "valueCode": "T"
        },
        {
          "url": "type",
          "valueUri": "http://openehr.org/fhir/StructureDefinition/Any"
        }
      ],
      "url": "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
      "valueCanonical": "#offset"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "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/EVENT",
  "version": "0.1.0-snapshot",
  "name": "EVENT",
  "title": "EVENT",
  "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": "Defines the abstract notion of a single event in a series. This class is generic, allowing types to be generated which are locked to particular spatial types, such as `EVENT<ITEM_LIST>`. Subtypes express point or intveral data. ",
  "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": true,
  "type": "http://openehr.org/fhir/StructureDefinition/EVENT",
  "baseDefinition": "http://openehr.org/fhir/StructureDefinition/LOCATABLE",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.1.0-snapshot"
      }
    ],
    "element": [
      {
        "id": "EVENT",
        "path": "EVENT",
        "short": "Defines the abstract notion of a single event in a series.",
        "definition": "Defines the abstract notion of a single event in a series. This class is generic, allowing types to be generated which are locked to particular spatial types, such as `EVENT<ITEM_LIST>`. Subtypes express point or intveral data. ",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Offset_validity",
            "severity": "error",
            "human": "Offset validity",
            "expression": "null # TODO: manual translation needed"
          },
          {
            "key": "Offset_validity1",
            "severity": "error",
            "human": "Offset validity1 must be present",
            "expression": "offset().exists() and then offset() = time.diff (parent().origin)"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "EVENT.name",
        "path": "EVENT.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.archetype-node-id",
        "path": "EVENT.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.uid",
        "path": "EVENT.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.links",
        "path": "EVENT.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.archetype-details",
        "path": "EVENT.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.feeder-audit",
        "path": "EVENT.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.time",
        "path": "EVENT.time",
        "short": "Time of this event.",
        "definition": "Time of this event. If the width is non-zero, it is the time point of the trailing edge of the event.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EVENT.time",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-DATE-TIME"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.state",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "State"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "EVENT.state",
        "short": "Optional state data for this event.",
        "definition": "Optional state data for this event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EVENT.state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM-STRUCTURE"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.data",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Event Data"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 10
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "EVENT.data",
        "short": "The data of this event.",
        "definition": "The data of this event.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EVENT.data",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/T"
          }
        ],
        "isModifier": false
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EVENT",
        "path": "EVENT",
        "short": "Defines the abstract notion of a single event in a series.",
        "definition": "Defines the abstract notion of a single event in a series. This class is generic, allowing types to be generated which are locked to particular spatial types, such as `EVENT<ITEM_LIST>`. Subtypes express point or intveral data. ",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "Offset_validity",
            "severity": "error",
            "human": "Offset validity",
            "expression": "null # TODO: manual translation needed"
          },
          {
            "key": "Offset_validity1",
            "severity": "error",
            "human": "Offset validity1 must be present",
            "expression": "offset().exists() and then offset() = time.diff (parent().origin)"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.time",
        "path": "EVENT.time",
        "short": "Time of this event.",
        "definition": "Time of this event. If the width is non-zero, it is the time point of the trailing edge of the event. ",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-DATE-TIME"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.state",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "State"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "EVENT.state",
        "short": "Optional state data for this event.",
        "definition": "Optional state data for this event.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM-STRUCTURE"
          }
        ],
        "isModifier": false
      },
      {
        "id": "EVENT.data",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Event Data"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 10
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "EVENT.data",
        "short": "The data of this event.",
        "definition": "The data of this event.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/T"
          }
        ],
        "isModifier": false
      }
    ]
  }
}