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

: Encounter Resource Example - 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:Encounter;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "5b829d01-34bb-47d1-b1bb-9303c3a9ebcb"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.openmrs.org/fhir/StructureDefinition/omrs-encounter";
       fhir:index 0;
       fhir:link <http://fhir.openmrs.org/fhir/StructureDefinition/omrs-encounter>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"5b829d01-34bb-47d1-b1bb-9303c3a9ebcb\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Encounter \"5b829d01-34bb-47d1-b1bb-9303c3a9ebcb\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-omrs-encounter.html\">Openmrs Encounter</a></p></div><p><b>status</b>: unknown</p><p><b>class</b>: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'null')</p><p><b>type</b>: Vitals <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (encounter-type#67a71486-1a54-468f-ac3e-7091a9a79584)</span></p><p><b>subject</b>: <a href=\"Patient-51ead2ec-279f-482d-80f8-209a5d4109d0.html\">Patient/51ead2ec-279f-482d-80f8-209a5d4109d0</a> \" DOE\"</p><p><b>period</b>: 2022-06-22 --&gt; 2022-06-22</p><h3>Locations</h3><table class=\"grid\"><tr><td>-</td><td><b>Location</b></td></tr><tr><td>*</td><td><a href=\"Location-LocationExample.html\">Location/LocationExample</a> \"Outpatient Clinic\"</td></tr></table></div>"
  ];
  fhir:Encounter.status [ fhir:value "unknown"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "AMB" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://fhir.openmrs.org/code-system/encounter-type" ];
       fhir:Coding.code [ fhir:value "67a71486-1a54-468f-ac3e-7091a9a79584" ];
       fhir:Coding.display [ fhir:value "Vitals" ]     ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/51ead2ec-279f-482d-80f8-209a5d4109d0" ];
     fhir:Reference.type [ fhir:value "Patient" ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2022-06-22"^^xsd:date ];
     fhir:Period.end [ fhir:value "2022-06-22"^^xsd:date ]
  ];
  fhir:Encounter.location [
     fhir:index 0;
     fhir:Encounter.location.location [
       fhir:Reference.reference [ fhir:value "Location/LocationExample" ]     ]
  ].

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

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