Making EHR Data More available for Research and Public Health (MedMorph)
0.2.0 - STU 1 draft

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

: Example of a Content Bundle containing Patient Data - 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 "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.