Making EHR Data More available for Research and Public Health (MedMorph)
0.1.0 - STU Ballot

This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: MessageHeader example used in the Cancer Reporting Bundle sent from Healthcare org to PHA - 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-example-reportheader"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "1" ];
     fhir:Meta.lastUpdated [ fhir:value "2020-11-29T02:03:28.045+00:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-messageheader";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-messageheader>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Reporting Data</p> \n    </div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-dataEncrypted" ];
     fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-messageProcessingCategory" ];
     fhir:Extension.valueCode [ fhir:value "consequence" ]
  ];
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-messageheader-message-types" ];
     fhir:Coding.code [ fhir:value "cancer-report-message" ]
  ];
  fhir:MessageHeader.destination [
     fhir:index 0;
     fhir:MessageHeader.destination.name [ fhir:value "PHA endpoint" ];
     fhir:MessageHeader.destination.endpoint [ fhir:value "http://example.pha.org/fhir" ]
  ];
  fhir:MessageHeader.sender [
     fhir:Reference.reference [ fhir:value "Organization/example-healthcare-org" ]
  ];
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "Healthcare Organization" ];
     fhir:MessageHeader.source.software [ fhir:value "Backend Service App" ];
     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 (917) 123 4567" ]     ];
     fhir:MessageHeader.source.endpoint [ fhir:value "http://example.healthcare.org/fhir" ]
  ];
  fhir:MessageHeader.reason [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents" ];
       fhir:Coding.code [ fhir:value "encounter-close" ]     ]
  ].

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

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