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
@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 "john-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>John Doe </b> male, DoB: 1962-02-05 ( Unique code: 123456789)</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 "false"^^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 "2" ];
fhir:Coding.display [ fhir:value "Employee" ] ] ]
], [
fhir:index 3;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "number" ];
fhir:Extension.valueString [ fhir:value "NationaID1" ] ], [
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:index 6;
fhir:Extension.url [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/patient-vulnerability-status" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
];
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 "123456789" ]
];
fhir:Patient.name [
fhir:index 0;
fhir:HumanName.family [ fhir:value "Doe" ];
fhir:HumanName.given [
fhir:value "John";
fhir:index 0 ]
];
fhir:Patient.gender [ fhir:value "male"];
fhir:Patient.birthDate [ fhir:value "1962-02-05"^^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" ] ]
];
fhir:Patient.contact [
fhir:index 0;
fhir:Patient.contact.relationship [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "https://openimis.github.io/openimis_fhir_r4_ig/CodeSystem/patient-contact-relationship" ];
fhir:Coding.code [ fhir:value "1" ] ] ];
fhir:Patient.contact.name [
fhir:HumanName.family [ fhir:value "Doe" ];
fhir:HumanName.given [
fhir:value "John";
fhir:index 0 ] ]
].
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.