PhdImplementationGuide 0.3.0 - STU 1 (2nd ballot)

This page is part of the Personal Health Device FHIR IG (v0.3.0: STU 1 Ballot 3) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

Example of a Patient - TTL Representation

(back to narrative)

Raw ttl

@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:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "sisansarahId.1.2.3.4.5.6.7.8.10"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/phd/StructureDefinition/PhdPatient";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/uv/phd/StructureDefinition/PhdPatient>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: sisansarahId.1.2.3.4.5.6.7.8.10</p><p><b>meta</b>: </p><p><b>identifier</b>: Medical record number = sisansarahId</p><p><b>name</b>: Sisansarah Lorianthah Piggy </p></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     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:1.2.3.4.5.6.7.8.10" ];
     fhir:Identifier.value [ fhir:value "sisansarahId" ]
  ];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Piggy" ];
     fhir:HumanName.given [
       fhir:value "Sisansarah";
       fhir:index 0     ], [
       fhir:value "Lorianthah";
       fhir:index 1     ]
  ].

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

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