OpenEHR Base package
0.1.0 - First Draft International flag

OpenEHR Base package, published by openEHR + HL7. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/openehr-fhir/base-spec/ and changes regularly. See the Directory of published versions

Logical Model: EVENT - TTL Profile

Page standards status: Informative Maturity Level: 3

TTL representation of the EVENT logical model.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "EVENT"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition EVENT</b></p><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EVENT-definitions.html#EVENT\" title=\"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&lt;ITEM_LIST>`. Subtypes express point or intveral data. \">EVENT</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"EVENT\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R5/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( Offset_validity, Offset_validity1 )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-LOCATABLE.html\">LOCATABLE</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">This is an abstract type. Child types: <a href=\"StructureDefinition-INTERVAL-EVENT.html\">INTERVAL_EVENT</a>, <a href=\"StructureDefinition-POINT-EVENT.html\">POINT_EVENT</a><br/>Defines the abstract notion of a single event in a series.<br/><br/>Elements defined in Ancestors:<a href=\"StructureDefinition-LOCATABLE.html\" title=\"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. #xA;\">name</a>, <a href=\"StructureDefinition-LOCATABLE.html\" title=\"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. #xA;#xA;At an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object. #xA;\">archetype_node_id</a>, <a href=\"StructureDefinition-LOCATABLE.html\" title=\"Optional globally unique object identifier for root points of archetyped structures. \">uid</a>, <a href=\"StructureDefinition-LOCATABLE.html\" title=\"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. \">links</a>, <a href=\"StructureDefinition-LOCATABLE.html\" title=\"Details of archetyping used on this node.\">archetype_details</a>, <a href=\"StructureDefinition-LOCATABLE.html\" title=\"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. \">feeder_audit</a><br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"Offset validity\" class=\"constraint\">Offset_validity</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Offset validity1 must be present\" class=\"constraint\">Offset_validity1</span><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EVENT-definitions.html#EVENT.time\" title=\"Time of this event. If the width is non-zero, it is the time point of the trailing edge of the event. \">time</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"EVENT.time\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-DV-DATE-TIME.html\">DV_DATE_TIME</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Time of this event.</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EVENT-definitions.html#EVENT.state\" title=\"Optional state data for this event.\">state</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"EVENT.state\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-ITEM-STRUCTURE.html\">ITEM_STRUCTURE</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Optional state data for this event.</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EVENT-definitions.html#EVENT.data\" title=\"The data of this event.\">data</a><a href=\"StructureDefinition-Any.html\">&lt;T : Any&gt;</a><a name=\"EVENT.data\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://openehr.org/fhir/StructureDefinition/T.html\">http://openehr.org/fhir/StructureDefinition/T</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The data of this event.</td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:contained ( [
a fhir:OperationDefinition ;
fhir:id [ fhir:v "offset" ] ;
fhir:name [ fhir:v "offset" ] ;
fhir:title [ fhir:v "offset" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:kind [ fhir:v "operation" ] ;
fhir:description [ fhir:v "Offset of this event from origin, computed as time.diff(parent.origin)." ] ;
fhir:code [ fhir:v "offset" ] ;
fhir:system [ fhir:v false ] ;
fhir:instance [ fhir:v true ] ;
    ( fhir:parameter [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Duration" ]     ] )
  ] ) ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/web-source"^^xsd:anyURI ] ;
fhir:value [
a fhir:url ;
fhir:v "https://specifications.openehr.org/releases/RM/Release-1.1.0/data_structures.html#_event_class"^^xsd:anyURI     ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "T"       ]     ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:uri ;
fhir:v "http://openehr.org/fhir/StructureDefinition/Any"^^xsd:anyURI       ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#offset"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "fhir"     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/view-hint"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "element-view-replace-cardinality"     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 3 ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "http://openehr.org/fhir/ImplementationGuide/openehr.base"^^xsd:anyURI ;
fhir:link <http://openehr.org/fhir/ImplementationGuide/openehr.base>         ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "informative" ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "http://openehr.org/fhir/ImplementationGuide/openehr.base"^^xsd:anyURI ;
fhir:link <http://openehr.org/fhir/ImplementationGuide/openehr.base>         ]       ] )     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://openehr.org/fhir/StructureDefinition/EVENT"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "EVENT"] ; # 
  fhir:title [ fhir:v "EVENT"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2025-09-06T15:35:39+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "openEHR + HL7"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.openehr.org" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "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. "] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v true] ; # 
  fhir:type [ fhir:v "http://openehr.org/fhir/StructureDefinition/EVENT"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "http://openehr.org/fhir/StructureDefinition/LOCATABLE"^^xsd:anyURI ;
fhir:link <http://openehr.org/fhir/StructureDefinition/LOCATABLE>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "0.1.0"       ]     ] ) ;
    ( fhir:element [
fhir:id [ fhir:v "EVENT" ] ;
fhir:path [ fhir:v "EVENT" ] ;
fhir:short [ fhir:v "Defines the abstract notion of a single event in a series." ] ;
fhir:definition [ fhir:v "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. " ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Base" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:constraint [
fhir:key [ fhir:v "Links_valid" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Links valid must be present" ] ;
fhir:expression [ fhir:v "links.exists() implies links.empty().not()" ] ;
fhir:source [
fhir:v "http://openehr.org/fhir/StructureDefinition/LOCATABLE"^^xsd:anyURI ;
fhir:link <http://openehr.org/fhir/StructureDefinition/LOCATABLE>         ]       ] [
fhir:key [ fhir:v "Archetyped_valid" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Archetyped valid must satisfy exclusive conditions" ] ;
fhir:expression [ fhir:v "is_archetype_root() xor archetype_details .empty()" ] ;
fhir:source [
fhir:v "http://openehr.org/fhir/StructureDefinition/LOCATABLE"^^xsd:anyURI ;
fhir:link <http://openehr.org/fhir/StructureDefinition/LOCATABLE>         ]       ] [
fhir:key [ fhir:v "Archetype_node_id_valid" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Archetype node id valid must not be empty" ] ;
fhir:expression [ fhir:v "archetype_node_id.empty().not()" ] ;
fhir:source [
fhir:v "http://openehr.org/fhir/StructureDefinition/LOCATABLE"^^xsd:anyURI ;
fhir:link <http://openehr.org/fhir/StructureDefinition/LOCATABLE>         ]       ] [
fhir:key [ fhir:v "Offset_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Offset validity" ] ;
fhir:expression [ fhir:v "null # TODO: manual translation needed" ]       ] [
fhir:key [ fhir:v "Offset_validity1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Offset validity1 must be present" ] ;
fhir:expression [ fhir:v "offset().exists() and then offset() = time.diff (parent().origin)" ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "EVENT.name" ] ;
fhir:path [ fhir:v "EVENT.name" ] ;
fhir:short [ fhir:v "Runtime name of this fragment, used to build runtime paths." ] ;
fhir:definition [ fhir:v "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." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "LOCATABLE.name" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/DV-TEXT"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.archetype-node-id" ] ;
fhir:path [ fhir:v "EVENT.archetype_node_id" ] ;
fhir:short [ fhir:v "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths." ] ;
fhir:definition [ fhir:v "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." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "LOCATABLE.archetype_node_id" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.uid" ] ;
fhir:path [ fhir:v "EVENT.uid" ] ;
fhir:short [ fhir:v "Optional globally unique object identifier for root points of archetyped structures." ] ;
fhir:definition [ fhir:v "Optional globally unique object identifier for root points of archetyped structures." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "LOCATABLE.uid" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.links" ] ;
fhir:path [ fhir:v "EVENT.links" ] ;
fhir:short [ fhir:v "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on)." ] ;
fhir:definition [ fhir:v "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." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "LOCATABLE.links" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/LINK"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.archetype-details" ] ;
fhir:path [ fhir:v "EVENT.archetype_details" ] ;
fhir:short [ fhir:v "Details of archetyping used on this node." ] ;
fhir:definition [ fhir:v "Details of archetyping used on this node." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "LOCATABLE.archetype_details" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.feeder-audit" ] ;
fhir:path [ fhir:v "EVENT.feeder_audit" ] ;
fhir:short [ fhir:v "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." ] ;
fhir:definition [ fhir:v "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." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "LOCATABLE.feeder_audit" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.time" ] ;
fhir:path [ fhir:v "EVENT.time" ] ;
fhir:short [ fhir:v "Time of this event." ] ;
fhir:definition [ fhir:v "Time of this event. If the width is non-zero, it is the time point of the trailing edge of the event." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EVENT.time" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/DV-DATE-TIME"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.state" ] ;
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "element-view-group"           ]         ] [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "State"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/view-hint"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "element-view-order"           ]         ] [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 8           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/view-hint"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "EVENT.state" ] ;
fhir:short [ fhir:v "Optional state data for this event." ] ;
fhir:definition [ fhir:v "Optional state data for this event." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EVENT.state" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/ITEM-STRUCTURE"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.data" ] ;
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "element-view-group"           ]         ] [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "Event Data"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/view-hint"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "element-view-order"           ]         ] [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 10           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/view-hint"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "EVENT.data" ] ;
fhir:short [ fhir:v "The data of this event." ] ;
fhir:definition [ fhir:v "The data of this event." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "EVENT.data" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/T"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "EVENT" ] ;
fhir:path [ fhir:v "EVENT" ] ;
fhir:short [ fhir:v "Defines the abstract notion of a single event in a series." ] ;
fhir:definition [ fhir:v "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. " ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:constraint [
fhir:key [ fhir:v "Offset_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Offset validity" ] ;
fhir:expression [ fhir:v "null # TODO: manual translation needed" ]       ] [
fhir:key [ fhir:v "Offset_validity1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Offset validity1 must be present" ] ;
fhir:expression [ fhir:v "offset().exists() and then offset() = time.diff (parent().origin)" ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.time" ] ;
fhir:path [ fhir:v "EVENT.time" ] ;
fhir:short [ fhir:v "Time of this event." ] ;
fhir:definition [ fhir:v "Time of this event. If the width is non-zero, it is the time point of the trailing edge of the event. " ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/DV-DATE-TIME"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.state" ] ;
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "element-view-group"           ]         ] [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "State"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/view-hint"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "element-view-order"           ]         ] [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 8           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/view-hint"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "EVENT.state" ] ;
fhir:short [ fhir:v "Optional state data for this event." ] ;
fhir:definition [ fhir:v "Optional state data for this event." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/ITEM-STRUCTURE"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "EVENT.data" ] ;
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "element-view-group"           ]         ] [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "Event Data"           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/view-hint"^^xsd:anyURI ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "element-view-order"           ]         ] [
fhir:url [ fhir:v "value"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 10           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/view-hint"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "EVENT.data" ] ;
fhir:short [ fhir:v "The data of this event." ] ;
fhir:definition [ fhir:v "The data of this event." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/T"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] )
  ] . #