@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.eu/fhir/base/Patient/patient-eu-core-example> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "patient-eu-core-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core" ;
       fhir:index 0 ;
       fhir:link <http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient patient-eu-core-example</b></p><a name=\"patient-eu-core-example\"> </a><a name=\"hcpatient-eu-core-example\"> </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\">Profile: <a href=\"StructureDefinition-patient-eu-core.html\">Patient (EU core)</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">John Doe  Male, DoB: 1980-01-01</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 555-1234(Home)</li><li>123 Example Street Example City EX 12345 EX </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>Managing Organization: <a href=\"Organization-organization-eu-core-example.html\">Organization Example Health Organization</a></li></ul></td></tr></table></div>"
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.family [ fhir:value "Doe" ] ;
     fhir:HumanName.given [
       fhir:value "John" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "555-1234" ] ;
     fhir:ContactPoint.use [ fhir:value "home" ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "1980-01-01"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index 0 ;
     fhir:Address.line [
       fhir:value "123 Example Street" ;
       fhir:index 0
     ] ;
     fhir:Address.city [ fhir:value "Example City" ] ;
     fhir:Address.state [ fhir:value "EX" ] ;
     fhir:Address.postalCode [ fhir:value "12345" ] ;
     fhir:Address.country [ fhir:value "EX" ]
  ] ;
  fhir:Patient.managingOrganization [
     fhir:link <http://hl7.eu/fhir/base/Organization/organization-eu-core-example> ;
     fhir:Reference.reference [ fhir:value "Organization/organization-eu-core-example" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.eu/fhir/base/Patient/patient-eu-core-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

