HL7 FHIR® Implementation Guide: Electronic Case Reporting (eCR) - US Realm
2.0.0 - STU 2

This page is part of the electronic Case Reporting (eCR) (v2.0.0: STU 2 on FHIR R4) based on FHIR R4. The current version which supercedes this version is 2.1.0. For a full list of available versions, see the Directory of published versions

: eCR MessageHeader Example: Requested eICR - TTL Representation

Raw ttl | Download


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

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

 a fhir:MessageHeader;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "messageheader-ecr-requested-eicr"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "7" ];
     fhir:Meta.lastUpdated [ fhir:value "2021-08-19T23:50:17.085+00:00"^^xsd:dateTime ];
     fhir:Meta.source [ fhir:value "#qYnGBaoDcuBZk6hP" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-messageheader";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-messageheader>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"messageheader-ecr-requested-eicr\" Version \"7\" Updated \"2021-08-19T23:50:17.085Z\" </p><p style=\"margin-bottom: 0px\">Information Source: #qYnGBaoDcuBZk6hP!</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ecr-messageheader.html\">eCR MessageHeader</a></p></div><p><b>US Public Health Data Encrypted Extension</b>: false</p><p><b>US Public Health Message Processing Category Extension</b>: consequence</p><p><b>event</b>: Indicates a message containing electronic case report healthcare data sent from clinical care. (Details: http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-message-types-codesystem code eicr-case-report-message = 'Indicates a message containing electronic case report healthcare data sent from clinical care.', stated as 'Indicates a message containing electronic case report healthcare data sent from clinical care.')</p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Target</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>YMCA Acme Message Gateway</td><td><a href=\"Device-device-ecr-software-ymca.html\">Device/device-ecr-software-ymca</a></td><td><a href=\"http://example.org/ymca/fhir\">http://example.org/ymca/fhir</a></td></tr></table><p><b>sender</b>: <a href=\"Organization-organization-ecr-salem-medical-center.html\">Organization/organization-ecr-salem-medical-center</a> \"Salem Medical Center\"</p><h3>Sources</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>Software</b></td><td><b>Version</b></td><td><b>Contact</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>Acme Central Patient Registry</td><td>FooBar Patient Manager</td><td>3.1.45.AABB</td><td><a href=\"tel:+1(555)1234567\">+1 (555) 123 4567</a></td><td><a href=\"http://example.org/salem-medical-center/fhir\">http://example.org/salem-medical-center/fhir</a></td></tr></table><p><b>reason</b>: Indicates the close of an encounter <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-us-ph-triggerdefinition-namedevents.html\">US Public Health TriggerDefinition NamedEvents</a>#encounter-close)</span></p><p><b>focus</b>: <a href=\"Bundle-bundle-eicr-document-zika.html\">Bundle/bundle-eicr-document-zika</a></p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-data-encrypted-extension" ];
     fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-message-processing-category-extension" ];
     fhir:Extension.valueCode [ fhir:value "consequence" ]
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-message-types-codesystem" ];
     fhir:Coding.code [ fhir:value "eicr-case-report-message" ];
     fhir:Coding.display [ fhir:value "Indicates a message containing electronic case report healthcare data sent from clinical care." ]
  ];
  fhir:MessageHeader.destination [
     fhir:index 0;
     fhir:MessageHeader.destination.name [ fhir:value "YMCA Acme Message Gateway" ];
     fhir:MessageHeader.destination.target [
       fhir:Reference.reference [ fhir:value "Device/device-ecr-software-ymca" ]     ];
     fhir:MessageHeader.destination.endpoint [ fhir:value "http://example.org/ymca/fhir" ]
  ];
  fhir:MessageHeader.sender [
     fhir:Reference.reference [ fhir:value "Organization/organization-ecr-salem-medical-center" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "Acme Central Patient Registry" ];
     fhir:MessageHeader.source.software [ fhir:value "FooBar Patient Manager" ];
     fhir:MessageHeader.source.version [ fhir:value "3.1.45.AABB" ];
     fhir:MessageHeader.source.contact [
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "+1 (555) 123 4567" ]     ];
     fhir:MessageHeader.source.endpoint [ fhir:value "http://example.org/salem-medical-center/fhir" ]
  ];
  fhir:MessageHeader.reason [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-triggerdefinition-namedevents" ];
       fhir:Coding.code [ fhir:value "encounter-close" ];
       fhir:Coding.display [ fhir:value "Indicates the close of an encounter" ]     ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Bundle/bundle-eicr-document-zika" ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.