@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/hdr/Patient/3f85726c-ad2f-441b-89ce-100000000000> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "3f85726c-ad2f-441b-89ce-100000000000"] ;
  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:Resource.language [ fhir:value "cs"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"cs\" lang=\"cs\"><p class=\"res-header-id\"><b>Generated Narrative: Patient 3f85726c-ad2f-441b-89ce-100000000000</b></p><a name=\"3f85726c-ad2f-441b-89ce-100000000000\"> </a><a name=\"hc3f85726c-ad2f-441b-89ce-100000000000\"> </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: cs</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.eu/fhir/base/2.0.0/StructureDefinition-patient-eu-core.html\">Patient (EU core)</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Petr Novák  Male, DoB: 1985-06-15 ( https://ncez.mzcr.cz/fhir/sid/rid#1597778923)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\"><code>https://ncez.mzcr.cz/fhir/sid/rcis</code>/8506150015 (use: official, )</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"tel:+420777111222\">+420777111222</a></li><li><a href=\"tel:+420333111777\">+420333111777</a></li><li><a href=\"mailto:novak@example.com\">novak@example.com</a></li><li>Pavlovova 1424/11, 568 02 Svitavy - Předměstí(home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Languages spoken\">Languages:</td><td colspan=\"3\"><ul><li><span title=\"Codes:{urn:ietf:bcp:47 cs}\">Czech</span> (preferred)</li><li><span title=\"Codes:{urn:ietf:bcp:47 en}\">English</span></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: Mother\">Mother:</td><td colspan=\"3\"><ul><li>Alena Nováková </li><li>Krátká 18, 708 00, Ostrava, Česká Republika(home)</li><li><a href=\"tel:+420601111111\">+420601111111</a></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: unrelated friend\">unrelated friend:</td><td colspan=\"3\"><ul><li>Alena Dlouhá </li><li>Horná ulica 18, 123 45, Trenčín, Slovensko(home)</li><li><a href=\"tel:+420601333333\">+420601333333</a></li></ul></td></tr></table></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.system [ fhir:value "https://ncez.mzcr.cz/fhir/sid/rcis" ] ;
     fhir:Identifier.value [ fhir:value "8506150015" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.system [ fhir:value "https://ncez.mzcr.cz/fhir/sid/rid" ] ;
     fhir:Identifier.value [ fhir:value "1597778923" ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.use [ fhir:value "usual" ] ;
     fhir:HumanName.family [ fhir:value "Novák" ] ;
     fhir:HumanName.given [
       fhir:value "Petr" ;
       fhir:index 0
     ] ;
     fhir:HumanName.prefix [
       fhir:value "Ing." ;
       fhir:index 0
     ] ;
     fhir:HumanName.suffix [
       fhir:value "Ph.D." ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "+420777111222" ] ;
     fhir:ContactPoint.use [ fhir:value "home" ]
  ], [
     fhir:index 1 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "+420333111777" ] ;
     fhir:ContactPoint.use [ fhir:value "mobile" ]
  ], [
     fhir:index 2 ;
     fhir:ContactPoint.system [ fhir:value "email" ] ;
     fhir:ContactPoint.value [ fhir:value "novak@example.com" ] ;
     fhir:ContactPoint.use [ fhir:value "home" ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "1985-06-15"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index 0 ;
     fhir:Address.use [ fhir:value "home" ] ;
     fhir:Address.type [ fhir:value "physical" ] ;
     fhir:Address.text [ fhir:value "Pavlovova 1424/11, 568 02 Svitavy - Předměstí" ] ;
     fhir:Address.line [
       fhir:value "Pavlovova 1424/11" ;
       fhir:index 0 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" ] ;
         fhir:Extension.valueString [ fhir:value "Pavlovova" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" ] ;
         fhir:Extension.valueString [ fhir:value "1424/11" ]
       ]
     ] ;
     fhir:Address.city [ fhir:value "Svitavy - Předměstí" ] ;
     fhir:Address.postalCode [ fhir:value "56802" ] ;
     fhir:Address.country [ fhir:value "CZ" ]
  ] ;
  fhir:Patient.contact [
     fhir:index 0 ;
     fhir:Patient.contact.relationship [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ] ;
         fhir:Coding.code [ fhir:value "MTH" ] ;
         fhir:Coding.display [ fhir:value "Mother" ]
       ], [
         fhir:index 1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0131" ] ;
         fhir:Coding.code [ fhir:value "N" ] ;
         fhir:Coding.display [ fhir:value "Next-of-Kin" ]
       ]
     ] ;
     fhir:Patient.contact.name [
       fhir:HumanName.use [ fhir:value "usual" ] ;
       fhir:HumanName.family [ fhir:value "Nováková" ] ;
       fhir:HumanName.given [
         fhir:value "Alena" ;
         fhir:index 0
       ]
     ] ;
     fhir:Patient.contact.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "phone" ] ;
       fhir:ContactPoint.value [ fhir:value "+420601111111" ] ;
       fhir:ContactPoint.use [ fhir:value "home" ]
     ] ;
     fhir:Patient.contact.address [
       fhir:Address.use [ fhir:value "home" ] ;
       fhir:Address.type [ fhir:value "physical" ] ;
       fhir:Address.text [ fhir:value "Krátká 18, 708 00, Ostrava, Česká Republika" ] ;
       fhir:Address.line [
         fhir:value "Krátká 18" ;
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" ] ;
           fhir:Extension.valueString [ fhir:value "Krátká" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" ] ;
           fhir:Extension.valueString [ fhir:value "18" ]
         ]
       ] ;
       fhir:Address.city [ fhir:value "Ostrava" ] ;
       fhir:Address.postalCode [ fhir:value "70800" ] ;
       fhir:Address.country [ fhir:value "CZ" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Patient.contact.relationship [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ] ;
         fhir:Coding.code [ fhir:value "FRND" ] ;
         fhir:Coding.display [ fhir:value "unrelated friend" ]
       ], [
         fhir:index 1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0131" ] ;
         fhir:Coding.code [ fhir:value "N" ] ;
         fhir:Coding.display [ fhir:value "Next-of-Kin" ]
       ]
     ] ;
     fhir:Patient.contact.name [
       fhir:HumanName.use [ fhir:value "usual" ] ;
       fhir:HumanName.family [ fhir:value "Dlouhá" ] ;
       fhir:HumanName.given [
         fhir:value "Alena" ;
         fhir:index 0
       ]
     ] ;
     fhir:Patient.contact.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "phone" ] ;
       fhir:ContactPoint.value [ fhir:value "+420601333333" ] ;
       fhir:ContactPoint.use [ fhir:value "home" ]
     ] ;
     fhir:Patient.contact.address [
       fhir:Address.use [ fhir:value "home" ] ;
       fhir:Address.type [ fhir:value "physical" ] ;
       fhir:Address.text [ fhir:value "Horná ulica 18, 123 45, Trenčín, Slovensko" ] ;
       fhir:Address.line [
         fhir:value "Horná ulica 18" ;
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" ] ;
           fhir:Extension.valueString [ fhir:value "Horná ulica" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" ] ;
           fhir:Extension.valueString [ fhir:value "18" ]
         ]
       ] ;
       fhir:Address.city [ fhir:value "Trenčín" ] ;
       fhir:Address.postalCode [ fhir:value "12345" ] ;
       fhir:Address.country [ fhir:value "SK" ]
     ]
  ] ;
  fhir:Patient.communication [
     fhir:index 0 ;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ] ;
         fhir:Coding.code [ fhir:value "cs" ]
       ]
     ] ;
     fhir:Patient.communication.preferred [ fhir:value "true"^^xsd:boolean ]
  ], [
     fhir:index 1 ;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ] ;
         fhir:Coding.code [ fhir:value "en" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.eu/fhir/hdr/Patient/3f85726c-ad2f-441b-89ce-100000000000.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

