@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 -------------------------------------------------------------------

<http://openhie.org/fhir/sri-lanka/Patient/HHIMSPatientExample> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "HHIMSPatientExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/hhims-patient"^^xsd:anyURI ;
       fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/hhims-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>Mr. Mike John Smith (OFFICIAL)</b> male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li>National identity number: National identity number-1</li><li>National identity number: National identity number-2</li></ul></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:+27829999999\">+27829999999</a></li><li><a href=\"mailto:someone@something.com\">someone@something.com</a></li><li><a href=\"mailto:someone2@something.com\">someone2@something.com</a></li><li>177 Nawala Road Nugegoda Colombo 32350 Sri Lanka </li></ul></td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PHN" ]
       ] ) ;
       fhir:text [ fhir:v "Personal Health Number" ]
     ] ;
     fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/phn"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "personal health number" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "NNLKA" ]
       ] ) ;
       fhir:text [ fhir:v "National identity number" ]
     ] ;
     fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/nic"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "National identity number-1" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "NNLKA" ]
       ] ) ;
       fhir:text [ fhir:v "National identity number" ]
     ] ;
     fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/nic"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "National identity number-2" ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Smith" ] ;
     fhir:given ( [ fhir:v "Mr." ] [ fhir:v "Mike" ] [ fhir:v "John" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+27829999999" ]
  ] [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "someone@something.com" ]
  ] [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "someone2@something.com" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1983-05-22"^^xsd:date] ; # 
  fhir:address ( [
     fhir:type [ fhir:v "postal" ] ;
     fhir:line ( [ fhir:v "177" ] [ fhir:v "Nawala Road" ] ) ;
     fhir:city [ fhir:v "Nugegoda" ] ;
     fhir:district [ fhir:v "Ampara" ] ;
     fhir:state [ fhir:v "Colombo" ] ;
     fhir:postalCode [ fhir:v "32350" ] ;
     fhir:country [ fhir:v "Sri Lanka" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

