@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://johnmoehrke.github.io/correction/Patient/ex-patient-1> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-patient-1"] ; # 
  fhir:meta [
     fhir:security ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason>
       ] ;
       fhir:code [ fhir:v "HTEST" ]
     ] )
  ] ; # 
  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 ex-patient-1</b></p><a name=\"ex-patient-1\"> </a><a name=\"hcex-patient-1\"> </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\">Security Label: test health data (Details: ActReason code HTEST = 'test health data')</p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Jane Smith  Female, DoB Unknown ( http://example.org/mrn#MRN-001)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\"><code>http://example.org/ssn</code>/666-99-9999</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/mrn"^^xsd:anyURI ;
       fhir:l <http://example.org/mrn>
     ] ;
     fhir:value [ fhir:v "MRN-001" ]
  ] [
     fhir:system [
       fhir:v "http://example.org/ssn"^^xsd:anyURI ;
       fhir:l <http://example.org/ssn>
     ] ;
     fhir:value [ fhir:v "666-99-9999" ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:family [ fhir:v "Smith" ] ;
     fhir:given ( [ fhir:v "Jane" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "female"] . # 

# -------------------------------------------------------------------------------------

