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 Person 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:Person ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "68f44d7f-eb5a-40e9-aa4d-0cc0cc522866"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://fhir.openmrs.org/core/StructureDefinition/omrs-person"^^xsd:anyURI ;
fhir:link <http://fhir.openmrs.org/core/StructureDefinition/omrs-person>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Person</b><a name=\"68f44d7f-eb5a-40e9-aa4d-0cc0cc522866\"> </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 Person &quot;68f44d7f-eb5a-40e9-aa4d-0cc0cc522866&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-omrs-person.html\">OpenMRS Person</a></p></div><p><b>identifier</b>: OpenMRS ID: 1000Y (use: OFFICIAL)</p><p><b>name</b>: Smith John </p><p><b>gender</b>: male</p><p><b>birthDate</b>: 2001-09-08</p><p><b>address</b>: Ntungamo Uganda (HOME)</p><p><b>active</b>: true</p></div>"
  ] ; # 
  fhir:identifier ( [
fhir:id [ fhir:v "53fbd0ef-ae10-46a0-9d0a-387917a66d6e" ] ;
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 "1000Y" ]
  ] ) ; # 
  fhir:name ( [
fhir:id [ fhir:v "915c9146-8bdb-4fad-bc51-4af10d041c86" ] ;
fhir:family [ fhir:v "John" ] ;
    ( fhir:given [ fhir:v "Smith" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "2001-09-08"^^xsd:date] ; # 
  fhir:address ( [
fhir:use [ fhir:v "home" ] ;
fhir:city [ fhir:v "Ntungamo" ] ;
fhir:district [ fhir:v "Ntungamo" ] ;
fhir:country [ fhir:v "Uganda" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] . #