@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/mihr/Patient/patient-child-john-smith-example> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "patient-child-john-smith-example"] ; # 
  fhir:meta [
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/instance-name"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Patient Example" ]
     ] [
       fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/instance-description"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "This is a patient example for the *US Core Patient Profile*." ]
     ] ) ;
     fhir:versionId [ fhir:v "3" ] ;
     fhir:lastUpdated [ fhir:v "2022-09-26T15:29:46.507+00:00"^^xsd:dateTime ] ;
     fhir:source [ fhir:v "#Zgar0weZN6Ot7Hbx"^^xsd:anyURI ] ;
     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:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <div class=\"hapiHeaderText\">John \n                \n                <b>SMITH </b>\n            </div>\n            <table class=\"hapiPropertyTable\">\n                <tbody>\n                    <tr>\n                        <td>Identifier</td>\n                        <td>1132708</td>\n                    </tr>\n                    <tr>\n                        <td>Address</td>\n                        <td>\n                            <span>49 Sunny St </span>\n                            <br/>\n                            <span>Sunnyvale </span>\n                            <span>CA </span>\n                            <span>US </span>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td>Date of birth</td>\n                        <td>\n                            <span>01 June 2021</span>\n                        </td>\n                    </tr>\n                </tbody>\n            </table>\n        </div>"
  ] ; # 
  fhir:extension ( [
     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 "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 "detailed"^^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 "1586-7" ] ;
         fhir:display [ fhir:v "Shoshone" ]
       ]
     ] [
       fhir:url [ fhir:v "detailed"^^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 "2036-2" ] ;
         fhir:display [ fhir:v "Filipino" ]
       ]
     ] [
       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-ethnicity"^^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 "detailed"^^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 "2184-0" ] ;
         fhir:display [ fhir:v "Dominican" ]
       ]
     ] [
       fhir:url [ fhir:v "detailed"^^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 "2148-5" ] ;
         fhir:display [ fhir:v "Mexican" ]
       ]
     ] [
       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-birthsex"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "M" ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^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 "1132708" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Smith" ] ;
     fhir:given ( [ fhir:v "John" ] ) ;
     fhir:period [
       fhir:start [ fhir:v "2021-06-01"^^xsd:date ]
     ]
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "555-555-5555" ] ;
     fhir:use [ fhir:v "home" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "2021-06-01"^^xsd:date] ; # 
  fhir:address ( [
     fhir:line ( [ fhir:v "49 Sunny St" ] ) ;
     fhir:city [ fhir:v "Sunnyvale" ] ;
     fhir:state [ fhir:v "CA" ] ;
     fhir:postalCode [ fhir:v "90121" ] ;
     fhir:country [ fhir:v "US" ] ;
     fhir:period [
       fhir:start [ fhir:v "2021-06-01"^^xsd:date ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

