OpenMRS Core FHIR Implementation Guide
0.1.0 - ci-build

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

: OpenMRS Patient 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:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-openmrs-Patient"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://fhir.openmrs.org/core/StructureDefinition/omrs-patient"^^xsd:anyURI ;
fhir:link <http://fhir.openmrs.org/core/StructureDefinition/omrs-patient>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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: 4343534 (use: 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 Details:</td><td colspan=\"3\"><ul><li><a href=\"tel:+256788232241\">+256788232241</a></li><li>Washington Washington (HOME)</li></ul></td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
    ( fhir:extension [
fhir:url [ fhir:v "http://fhir.openmrs.org/core/StructureDefinition/omrs-patient-identifier-location"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Location/a3b793f0-eb53-4cda-92ce-fe0a77106252" ] ;
fhir:type [ fhir:v "Location"^^xsd:anyURI ] ;
fhir:display [ fhir:v "Inpatient Ward" ]       ]     ] ) ;
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MR" ]       ] ) ;
fhir:text [ fhir:v "OpenMRS ID" ]     ] ;
fhir:value [ fhir:v "4343534" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name ( [
fhir:family [ fhir:v "Jeannette" ] ;
    ( fhir:given [ fhir:v "Ricky" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "+256788232241" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1996-12-12"^^xsd:date] ; # 
  fhir:deceased [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:address ( [
fhir:use [ fhir:v "home" ] ;
fhir:city [ fhir:v "Washington" ] ;
fhir:district [ fhir:v "Washington" ] ;
fhir:country [ fhir:v "Washington" ]
  ] ) . #