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

: Example of a Reporting Bundle containing Message Header and Content Bundle - 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:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "reporting-bundle-example"];
  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-reporting-bundle";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle>     ]
  ];
  fhir:Bundle.type [ fhir:value "message"];
  fhir:Bundle.timestamp [ fhir:value "2020-11-20T11:15:33-10:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "MessageHeader/messageheader-example-reportheader" ];
     fhir:Bundle.entry.resource <MessageHeader/messageheader-example-reportheader>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "Bundle/content-bundle-example" ];
     fhir:Bundle.entry.resource <Bundle/content-bundle-example>
  ].

<MessageHeader/messageheader-example-reportheader> a fhir:MessageHeader;
  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" ]     ]
  ];
  fhir:MessageHeader.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Bundle/content-bundle-example" ]
  ].

<Bundle/content-bundle-example> a fhir:Bundle;
  fhir:Resource.id [ fhir:value "content-bundle-example"];
  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-content-bundle";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-content-bundle>     ]
  ];
  fhir:Bundle.type [ fhir:value "collection"];
  fhir:Bundle.timestamp [ fhir:value "2020-11-20T11:15:33-10:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "Patient/1" ];
     fhir:Bundle.entry.resource <Patient/1>
  ].

<Patient/1> a fhir:Patient;
  fhir:Resource.id [ fhir:value "1"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n                  <p> Patient Dominique Ledner</p>           \n                </div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "MR" ]       ]     ];
     fhir:Identifier.system [ fhir:value "urn:oid:0.1.2.3.4.5.6.7" ];
     fhir:Identifier.value [ fhir:value "654321" ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.family [ fhir:value "Ledner" ];
     fhir:HumanName.given [
       fhir:value "Dominique";
       fhir:index 0     ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.managingOrganization [
     fhir:Reference.reference [ fhir:value "Organization/example-healthcare-org" ];
     fhir:Reference.display [ fhir:value "Example Healthcare org" ]
  ].

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

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