@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/davinci-pct/Patient/patient1001> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "patient1001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|7.0.0" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|7.0.0>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Eve Betterhalf</b> female, DoB: 1955-07-23 ( <code>http://example.com/identifiers/patient</code>/1001)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td colspan=\"3\"><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-MaritalStatus U}\">unmarried</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Details:</td><td colspan=\"3\"><ul><li>ph: 781-949-4949(MOBILE)</li><li>222 Burlington Road, Bedford MA 01730</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Languages spoken\">Language:</td><td colspan=\"3\"><span title=\"Codes: {urn:ietf:bcp:47 en-US}\">English (United States)</span> (preferred)</td></tr></table></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "http://example.com/identifiers/patient" ] ;
     fhir:Identifier.value [ fhir:value "1001" ]
  ] ;
  fhir:Patient.name [
     fhir:index -1 ;
     fhir:HumanName.text [ fhir:value "Eve Betterhalf" ] ;
     fhir:HumanName.family [ fhir:value "Betterhalf" ] ;
     fhir:HumanName.given [
       fhir:value "Eve" ;
       fhir:index -1
     ]
  ] ;
  fhir:Patient.telecom [
     fhir:index -1 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "781-949-4949" ] ;
     fhir:ContactPoint.use [ fhir:value "mobile" ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1955-07-23"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index -1 ;
     fhir:Address.text [ fhir:value "222 Burlington Road, Bedford MA 01730" ]
  ] ;
  fhir:Patient.maritalStatus [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" ] ;
       fhir:Coding.code [ fhir:value "U" ] ;
       fhir:Coding.display [ fhir:value "unmarried" ]
     ]
  ] ;
  fhir:Patient.communication [
     fhir:index -1 ;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ] ;
         fhir:Coding.code [ fhir:value "en-US" ] ;
         fhir:Coding.display [ fhir:value "English (United States)" ]
       ]
     ] ;
     fhir:Patient.communication.preferred [ fhir:value "true"^^xsd:boolean ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/davinci-pct/Patient/patient1001.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/davinci-pct/Patient/patient1001.ttl> .

# -------------------------------------------------------------------------------------

