OpenMRS FHIR2 Implementation Guide
0.1.0 - ci-build

OpenMRS FHIR2 Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

: Openmrs Patient - 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 "example-openmrs-Patient"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.openmrs.org/fhir/StructureDefinition/omrs-patient";
       fhir:index 0;
       fhir:link <http://fhir.openmrs.org/fhir/StructureDefinition/omrs-patient>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Ricky Jeannette </b> male, DoB: 1996-12-12 ( OpenMRS ID: 1000Y (OFFICIAL))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td>true</td><td style=\"background-color: #f3f5da\" title=\"Known status of Patient\">Deceased:</td><td colspan=\"3\">false</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail:</td><td colspan=\"3\">Washington Washington (HOME)</td></tr></table></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Element.id [ fhir:value "53fbd0ef-ae10-46a0-9d0a-387917a66d6e" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://fhir.openmrs.org/StructureDefinition/patient-identifier-location" ];
       fhir:Extension.valueReference [
         fhir:Reference.reference [ fhir:value "Location/8d6c993e-c2cc-11de-8d13-0010c6dffd0f" ];
         fhir:Reference.type [ fhir:value "Location" ];
         fhir:Reference.display [ fhir:value "Inpatient Ward" ]       ]     ];
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.text [ fhir:value "OpenMRS ID" ]     ];
     fhir:Identifier.value [ fhir:value "1000Y" ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:Element.id [ fhir:value "3434gh32-34h3j4-34jk34-3422h" ];
     fhir:HumanName.family [ fhir:value "Jeannette" ];
     fhir:HumanName.given [
       fhir:value "Ricky";
       fhir:index 0     ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [ fhir:value "1996-12-12"^^xsd:date];
  fhir:Patient.deceasedBoolean [ fhir:value "false"^^xsd:boolean];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://fhir.openmrs.org/ext/address" ]     ];
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.city [ fhir:value "Washington" ];
     fhir:Address.district [ fhir:value "Washington" ];
     fhir:Address.country [ fhir:value "Washington" ]
  ].

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

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