openIMIS FHIR R4 Implementation Guide
1.0.0 - ci-build

openIMIS FHIR R4 Implementation Guide - Local Development build (v1.0.0). See the Directory of published versions

: jane-doe - 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:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "jane-doe"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/openimis-patient";
       fhir:index 0;
       fhir:link <https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/openimis-patient>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Jane Doe </b> female, DoB: 1964-05-15 ( Unique code: 123456788)</p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/patient-is-head" ];
     fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/patient-education-level" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/patient-education-level" ];
         fhir:Coding.code [ fhir:value "4" ];
         fhir:Coding.display [ fhir:value "University" ]       ]     ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/patient-profession" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/patient-profession" ];
         fhir:Coding.code [ fhir:value "3" ];
         fhir:Coding.display [ fhir:value "Self Employee" ]       ]     ]
  ], [
     fhir:index 3;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "number" ];
       fhir:Extension.valueString [ fhir:value "NationaID2" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "type" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/patient-identification-type" ];
           fhir:Coding.code [ fhir:value "N" ];
           fhir:Coding.display [ fhir:value "National ID" ]         ]       ]     ];
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/patient-identification" ]
  ], [
     fhir:index 4;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/patient-card-issued" ];
     fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
  ], [
     fhir:index 5;
     fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/patient-group-reference" ];
     fhir:Extension.valueReference [
       fhir:Reference.reference [ fhir:value "Group/doe-family" ]     ]
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/openimis-identifiers" ];
         fhir:Coding.code [ fhir:value "Code" ]       ]     ];
     fhir:Identifier.value [ fhir:value "123456788" ]
  ];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Doe" ];
     fhir:HumanName.given [
       fhir:value "Jane";
       fhir:index 0     ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "1964-05-15"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-municipality" ];
       fhir:Extension.valueString [ fhir:value "Jamu" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/address-location-reference" ];
       fhir:Extension.valueReference [
         fhir:Reference.reference [ fhir:value "Location/Jamula-village" ]       ]     ];
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.line [
       fhir:value "5 Tsoka";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Jamula" ];
     fhir:Address.district [ fhir:value "Rapta" ];
     fhir:Address.state [ fhir:value "Ultha" ]
  ];
  fhir:Patient.maritalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" ];
       fhir:Coding.code [ fhir:value "M" ]     ]
  ].

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

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