@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://hl7.org/fhir/us/davinci-crd/Patient/example> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: Patient example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </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\">Language: en</p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Amy V. Shaw  Female, DoB: 1987-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=\"Alternate names (see the one above)\">Alt. Name:</td><td colspan=\"3\">Amy V. Baxter </td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 555-555-5555(Home)</li><li><a href=\"mailto:amy.shaw@example.org\">amy.shaw@example.org</a></li><li>49 Meadow St Mounds OK 74047 US </li><li>183 Mountain View St Mounds OK 74048 US </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity.  The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.\">US Core Ethnicity Extension:</td><td colspan=\"3\"><ul><li>ombCategory: <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/CodeSystem-cdcrec.html#cdcrec-2135-2\">Race &amp; Ethnicity - CDC: 2135-2</a> (Hispanic or Latino)</li><li>detailed: <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/CodeSystem-cdcrec.html#cdcrec-2148-5\">Race &amp; Ethnicity - CDC: 2148-5</a> (Mexican)</li><li>text: Hispanic or Latino</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"A code classifying the person's sex assigned at birth  as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9). After version 6.0.0, this extension is no longer a *USCDI Requirement*.\"><a href=\"http://hl7.org/fhir/us/core/STU7/StructureDefinition-us-core-birthsex.html\">US Core Birth Sex Extension</a></td><td colspan=\"3\">F</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html#3) which includes over 900 concepts for representing race and ethnicity of which 921 reference race.  The race concepts are grouped by and pre-mapped to the 5 OMB race categories:#xA;#xA; - American Indian or Alaska Native#xA; - Asian#xA; - Black or African American#xA; - Native Hawaiian or Other Pacific Islander#xA; - White.\">US Core Race Extension:</td><td colspan=\"3\"><ul><li>ombCategory: <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/CodeSystem-cdcrec.html#cdcrec-2028-9\">Race &amp; Ethnicity - CDC: 2028-9</a> (Asian)</li><li>detailed: <a href=\"http://hl7.org/fhir/us/core/STU3.1.1/CodeSystem-cdcrec.html#cdcrec-2036-2\">Race &amp; Ethnicity - CDC: 2036-2</a> (Filipino)</li><li>text: Mixed</li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "ombCategory"^^xsd:anyURI ;
         fhir:l fhir:ombCategory
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ;
           fhir:l <urn:oid:2.16.840.1.113883.6.238>
         ] ;
         fhir:code [ fhir:v "2028-9" ] ;
         fhir:display [ fhir:v "Asian" ]
       ]
     ] [
       fhir:url [
         fhir:v "detailed"^^xsd:anyURI ;
         fhir:l fhir:detailed
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ;
           fhir:l <urn:oid:2.16.840.1.113883.6.238>
         ] ;
         fhir:code [ fhir:v "2036-2" ] ;
         fhir:display [ fhir:v "Filipino" ]
       ]
     ] [
       fhir:url [
         fhir:v "text"^^xsd:anyURI ;
         fhir:l fhir:text
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Mixed"
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/core/StructureDefinition/us-core-race>
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "ombCategory"^^xsd:anyURI ;
         fhir:l fhir:ombCategory
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ;
           fhir:l <urn:oid:2.16.840.1.113883.6.238>
         ] ;
         fhir:code [ fhir:v "2135-2" ] ;
         fhir:display [ fhir:v "Hispanic or Latino" ]
       ]
     ] [
       fhir:url [
         fhir:v "detailed"^^xsd:anyURI ;
         fhir:l fhir:detailed
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ;
           fhir:l <urn:oid:2.16.840.1.113883.6.238>
         ] ;
         fhir:code [ fhir:v "2148-5" ] ;
         fhir:display [ fhir:v "Mexican" ]
       ]
     ] [
       fhir:url [
         fhir:v "text"^^xsd:anyURI ;
         fhir:l fhir:text
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Hispanic or Latino"
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "F"
     ]
  ] ) ; # 
  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:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "MR" ]
       ] ) ;
       fhir:text [ fhir:v "Medical Record Number" ]
     ] ;
     fhir:system [
       fhir:v "http://example.org/NamingSystem/mrn"^^xsd:anyURI ;
       fhir:l <http://example.org/NamingSystem/mrn>
     ] ;
     fhir:value [ fhir:v "1032702" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Shaw" ] ;
     fhir:given ( [ fhir:v "Amy" ] [ fhir:v "V." ] ) ;
     fhir:period [
       fhir:start [ fhir:v "2016-12-06"^^xsd:date ] ;
       fhir:end [ fhir:v "2020-07-22"^^xsd:date ]
     ]
  ] [
     fhir:family [ fhir:v "Baxter" ] ;
     fhir:given ( [ fhir:v "Amy" ] [ fhir:v "V." ] ) ;
     fhir:suffix ( [ fhir:v "PharmD" ] ) ;
     fhir:period [
       fhir:start [ fhir:v "2020-07-22"^^xsd:date ]
     ]
  ] ) ; # 
  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 "amy.shaw@example.org" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1987-02-20"^^xsd:date] ; # 
  fhir:address ( [
     fhir:line ( [ fhir:v "49 Meadow St" ] ) ;
     fhir:city [ fhir:v "Mounds" ] ;
     fhir:state [ fhir:v "OK" ] ;
     fhir:postalCode [ fhir:v "74047" ] ;
     fhir:country [ fhir:v "US" ] ;
     fhir:period [
       fhir:start [ fhir:v "2016-12-06"^^xsd:date ] ;
       fhir:end [ fhir:v "2020-07-22"^^xsd:date ]
     ]
  ] [
     fhir:line ( [ fhir:v "183 Mountain View St" ] ) ;
     fhir:city [ fhir:v "Mounds" ] ;
     fhir:state [ fhir:v "OK" ] ;
     fhir:postalCode [ fhir:v "74048" ] ;
     fhir:country [ fhir:v "US" ] ;
     fhir:period [
       fhir:start [ fhir:v "2020-07-22"^^xsd:date ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

