Current Build

Patient-example-a.ttl

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Patient 1 for linking

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Patient/pat1> a fhir:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "pat1"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      \n      <p>Patient Donald DUCK @ Acme Healthcare, Inc. MR = 654321</p>\n    \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 "Donald" ];
     fhir:HumanName.given [
       fhir:value "Duck";
       fhir:index 0
     ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.photo [
     fhir:index 0;
     fhir:Attachment.contentType [ fhir:value "image/gif" ];
     fhir:Attachment.data [ fhir:value "R0lGODlhEwARAPcAAAAAAAAA/+9aAO+1AP/WAP/eAP/eCP/eEP/eGP/nAP/nCP/nEP/nIf/nKf/nUv/nWv/vAP/vCP/vEP/vGP/vIf/vKf/vMf/vOf/vWv/vY//va//vjP/3c//3lP/3nP//tf//vf///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH5BAEAAAEALAAAAAATABEAAAi+AAMIDDCgYMGBCBMSvMCQ4QCFCQcwDBGCA4cLDyEGECDxAoAQHjxwyKhQAMeGIUOSJJjRpIAGDS5wCDly4AALFlYOgHlBwwOSNydM0AmzwYGjBi8IHWoTgQYORg8QIGDAwAKhESI8HIDgwQaRDI1WXXAhK9MBBzZ8/XDxQoUFZC9IiCBh6wEHGz6IbNuwQoSpWxEgyLCXL8O/gAnylNlW6AUEBRIL7Og3KwQIiCXb9HsZQoIEUzUjNEiaNMKAAAA7"^^xsd:base64Binary ]
  ];
  fhir:Patient.contact [
     fhir:index 0;
     fhir:Patient.contact.relationship [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0131" ];
         fhir:Coding.code [ fhir:value "E" ]
       ]
     ];
     fhir:Patient.contact.organization [
       fhir:link <http://hl7.org/fhir/Organization/1>;
       fhir:Reference.reference [ fhir:value "Organization/1" ];
       fhir:Reference.display [ fhir:value "Walt Disney Corporation" ]
     ]
  ];
  fhir:Patient.managingOrganization [
     fhir:link <http://hl7.org/fhir/Organization/1>;
     fhir:Reference.reference [ fhir:value "Organization/1" ];
     fhir:Reference.display [ fhir:value "ACME Healthcare, Inc" ]
  ];
  fhir:Patient.link [
     fhir:index 0;
     fhir:Patient.link.other [
       fhir:link <http://hl7.org/fhir/Patient/pat2>;
       fhir:Reference.reference [ fhir:value "Patient/pat2" ]
     ];
     fhir:Patient.link.type [ fhir:value "seealso" ]
  ] .

<http://hl7.org/fhir/Organization/1> a fhir:Organization .

<http://hl7.org/fhir/Patient/pat2> a fhir:Patient .

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

<http://hl7.org/fhir/Patient/pat1.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Patient/pat1.ttl> .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.