@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://hl7.org/fhir/us/cardx-htn/Patient/patient-example-Sally-Sue> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "patient-example-Sally-Sue"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>
     ] ) ;
     fhir:security ( [
       fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "HTEST" ] ;
       fhir:display [ fhir:v "test health data" ]
     ] )
  ] ; # 
  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>Sally V. Sue </b> female, DoB: 1954-02-20 ( Medical Record Number: 1032702 (use: USUAL))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Details:</td><td colspan=\"3\"><ul><li>ph: 555-555-5555(HOME)</li><li><a href=\"mailto:sally.sue@example.com\">sally.sue@example.com</a></li><li>49 Meadow St Mounds MD 74047 US </li></ul></td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2106-3" ] ;
         fhir:display [ fhir:v "White" ]
       ]
     ] [
       fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1002-5" ] ;
         fhir:display [ fhir:v "American Indian or Alaska Native" ]
       ]
     ] [
       fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2028-9" ] ;
         fhir:display [ fhir:v "Asian" ]
       ]
     ] [
       fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Mixed" ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2135-2" ] ;
         fhir:display [ fhir:v "Hispanic or Latino" ]
       ]
     ] [
       fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Hispanic or Latino" ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "F" ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "MR" ] ;
         fhir:display [ fhir:v "Medical record number" ]
       ] ) ;
       fhir:text [ fhir:v "Medical Record Number" ]
     ] ;
     fhir:system [ fhir:v "http://hospital.smarthealthit.org"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "1032702" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Sue" ] ;
     fhir:given ( [ fhir:v "Sally" ] [ fhir:v "V." ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "555-555-5555" ] ;
     fhir:use [ fhir:v "home" ]
  ] [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "sally.sue@example.com" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1954-02-20"^^xsd:date] ; # 
  fhir:address ( [
     fhir:line ( [ fhir:v "49 Meadow St" ] ) ;
     fhir:city [ fhir:v "Mounds" ] ;
     fhir:state [ fhir:v "MD" ] ;
     fhir:postalCode [ fhir:v "74047" ] ;
     fhir:country [ fhir:v "US" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

