Mongolian HDIT Implementation guide
1.0.0 - Review

Mongolian HDIT Implementation guide - Local Development build (v1.0.0). See the Directory of published versions

Example of patient - TTL Representation

(back to description)

Raw ttl

Source view

@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 "PatientExample"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.mn/StructureDefinition/mng-core-patient";
       fhir:index 0;
       fhir:link <http://fhir.mn/StructureDefinition/mng-core-patient>     ]
  ];
  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>: PatientExample</p><p><b>meta</b>: </p><p><b>identifier</b>: 123456789</p><p><b>active</b>: true</p><p><b>name</b>: Azjargal Zolboo</p><p><b>telecom</b>: ph: +976 12345678, azjargal@zolboo.mn</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1980-07-05</p><p><b>address</b>: 19 Olympic Street\n1 khroo, Sükhbaatar District,\nUlaanbaatar 14241, Mongolia(HOME)</p><h3>Contacts</h3><table class=\"grid\"><tr><td>-</td><td><b>Relationship</b></td><td><b>Name</b></td><td><b>Telecom</b></td><td><b>Address</b></td></tr><tr><td>*</td><td>N <span style=\"background: LightGoldenRodYellow\">(Details : {[not stated] code 'N' = 'N)</span></td><td>Suhbat Zolboo</td><td>ph: +976 23456789</td><td>19 Olympic Street\n1 khroo, Sükhbaatar District,\nUlaanbaatar 14241, Mongolia(HOME)</td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://fhir.mn/StructureDefinition/nationality" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "Mongolian" ]     ]
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://fhir.mn/identifiers/person/national-identification-number" ];
     fhir:Identifier.value [ fhir:value "123456789" ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.text [ fhir:value "Azjargal Zolboo" ];
     fhir:HumanName.family [ fhir:value "Zolboo" ];
     fhir:HumanName.given [
       fhir:value "Azjargal";
       fhir:index 0     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "+976 12345678" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "azjargal@zolboo.mn" ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "1980-07-05"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://fhir.mn/StructureDefinition/subdistrict" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.code [ fhir:value "1" ];
           fhir:Coding.display [ fhir:value "1 khroo" ]         ]       ]     ];
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.text [ fhir:value "19 Olympic Street\n1 khroo, Sükhbaatar District,\nUlaanbaatar 14241, Mongolia" ];
     fhir:Address.line [
       fhir:value "19 Olympic Street,";
       fhir:index 0     ];
     fhir:Address.district [ fhir:value "16" ];
     fhir:Address.state [ fhir:value "22" ];
     fhir:Address.postalCode [ fhir:value "14241" ];
     fhir:Address.country [ fhir:value "Mongolia" ]
  ];
  fhir:Patient.contact [
     fhir:index 0;
     fhir:Patient.contact.relationship [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.code [ fhir:value "N" ]       ]     ];
     fhir:Patient.contact.name [
       fhir:HumanName.text [ fhir:value "Suhbat Zolboo" ];
       fhir:HumanName.family [ fhir:value "Zolboo" ];
       fhir:HumanName.given [
         fhir:value "Suhbat";
         fhir:index 0       ]     ];
     fhir:Patient.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "+976 23456789" ]     ];
     fhir:Patient.contact.address [
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://fhir.mn/StructureDefinition/subdistrict" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.code [ fhir:value "1" ];
             fhir:Coding.display [ fhir:value "1 khroo" ]           ]         ]       ];
       fhir:Address.use [ fhir:value "home" ];
       fhir:Address.text [ fhir:value "19 Olympic Street\n1 khroo, Sükhbaatar District,\nUlaanbaatar 14241, Mongolia" ];
       fhir:Address.line [
         fhir:value "19 Olympic Street,";
         fhir:index 0       ];
       fhir:Address.district [ fhir:value "16" ];
       fhir:Address.state [ fhir:value "22" ];
       fhir:Address.postalCode [ fhir:value "14241" ];
       fhir:Address.country [ fhir:value "Mongolia" ]     ]
  ].

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

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