@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://localhost:8085/fhir/Patient/PatientKPSInvalid> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "PatientKPSInvalid"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-kps-patient"^^xsd:anyURI ;
       fhir:l <https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-kps-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient PatientKPSInvalid</b></p><a name=\"PatientKPSInvalid\"> </a><a name=\"hcPatientKPSInvalid\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <code>https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-kps-patient</code></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Patient Invalid  (no stated gender), DoB Unknown</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><a href=\"mailto:invalid.patient@example.org\">invalid.patient@example.org</a></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Invalid" ] ;
     fhir:given ( [ fhir:v "Patient" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "invalid.patient@example.org" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

