@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 -------------------------------------------------------------------

<https://interoperabilidad.minsal.cl/fhir/ig/snre/Patient/Paciente1> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Paciente1"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/CorePacienteCl" ;
       fhir:index 0 ;
       fhir:link <https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/CorePacienteCl>
     ]
  ] ;
  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: Paciente Paciente1</b></p><a name=\"Paciente1\"> </a><a name=\"hcPaciente1\"> </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=\"https://hl7chile.cl/fhir/ig/clcore/1.8.5/StructureDefinition-CorePacienteCl.html\">CL Paciente</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Xime  Female, DoB: 1983-03-24 ( Chile: 15.236.327-k (use: official, ))</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\">Marietta María Ximena Vader (Official)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 943561833(Mobile)</li><li><a href=\"mailto:mariRosal@mimail.com\">mariRosal@mimail.com</a></li><li>Av Los Chirimoyos, 32, casa 4 null null (home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Language spoken\">Language:</td><td colspan=\"3\"><span title=\"Codes:{https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSCodigoslenguaje es-CL}\">Spanish</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: Next-of-Kin\">Next-of-Kin:</td><td colspan=\"3\"><ul><li>Juana Josefa Calleja (Official)</li></ul></td></tr></table></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/CodigoPaises" ] ;
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
             fhir:Coding.code [ fhir:value "152" ] ;
             fhir:Coding.display [ fhir:value "Chile" ]
           ]
         ]
       ] ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSCodigoDNI" ] ;
         fhir:Coding.code [ fhir:value "NNCHL" ] ;
         fhir:Coding.display [ fhir:value "Chile" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://regcivil.cl/Validacion/RUN" ] ;
     fhir:Identifier.value [ fhir:value "15.236.327-k" ]
  ] ;
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.use [ fhir:value "official" ] ;
     fhir:HumanName.family [
       fhir:value "Vader" ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family" ] ;
         fhir:Extension.valueString [ fhir:value "Organa" ]
       ]
     ] ;
     fhir:HumanName.given [
       fhir:value "Marietta" ;
       fhir:index 0
     ], [
       fhir:value "María" ;
       fhir:index 1
     ], [
       fhir:value "Ximena" ;
       fhir:index 2
     ]
  ], [
     fhir:index 1 ;
     fhir:HumanName.use [ fhir:value "usual" ] ;
     fhir:HumanName.given [
       fhir:value "Xime" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "943561833" ] ;
     fhir:ContactPoint.use [ fhir:value "mobile" ]
  ], [
     fhir:index 1 ;
     fhir:ContactPoint.system [ fhir:value "email" ] ;
     fhir:ContactPoint.value [ fhir:value "mariRosal@mimail.com" ] ;
     fhir:ContactPoint.use [ fhir:value "work" ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1983-03-24"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index 0 ;
     fhir:Address.use [ fhir:value "home" ] ;
     fhir:Address.line [
       fhir:value "Av Los Chirimoyos, 32, casa 4" ;
       fhir:index 0
     ] ;
     fhir:Address.city [
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/ComunasCl" ] ;
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSCodComunasCL" ] ;
             fhir:Coding.code [ fhir:value "05602" ] ;
             fhir:Coding.display [ fhir:value "Algarrobo" ]
           ]
         ]
       ]
     ] ;
     fhir:Address.district [
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/ProvinciasCl" ] ;
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSCodProvinciasCL" ] ;
             fhir:Coding.code [ fhir:value "056" ] ;
             fhir:Coding.display [ fhir:value "San Antonio" ]
           ]
         ]
       ]
     ] ;
     fhir:Address.state [
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/RegionesCl" ] ;
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0 ;
             fhir:Coding.system [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSCodRegionCL" ] ;
             fhir:Coding.code [ fhir:value "05" ] ;
             fhir:Coding.display [ fhir:value "Valparaíso" ]
           ]
         ]
       ]
     ]
  ] ;
  fhir:Patient.contact [
     fhir:index 0 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "tutId" ] ;
         fhir:Extension.valueIdentifier [
           fhir:Identifier.type [
             fhir:CodeableConcept.coding [
               fhir:index 0 ;
               fhir:Coding.system [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSCodigoDNI" ] ;
               fhir:Coding.code [ fhir:value "NNCHL" ] ;
               fhir:Coding.display [ fhir:value "Chile" ]
             ]
           ] ;
           fhir:Identifier.system [ fhir:value "http://regcivil.cl/Validacion/RUN" ] ;
           fhir:Identifier.value [ fhir:value "8987321-7" ]
         ]
       ] ;
       fhir:Extension.url [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/IdContacto" ]
     ] ;
     fhir:Patient.contact.relationship [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         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 "official" ] ;
       fhir:HumanName.family [
         fhir:value "Calleja" ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family" ] ;
           fhir:Extension.valueString [ fhir:value "Morales" ]
         ]
       ] ;
       fhir:HumanName.given [
         fhir:value "Juana" ;
         fhir:index 0
       ], [
         fhir:value "Josefa" ;
         fhir:index 1
       ]
     ]
  ] ;
  fhir:Patient.communication [
     fhir:index 0 ;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSCodigoslenguaje" ] ;
         fhir:Coding.code [ fhir:value "es-CL" ] ;
         fhir:Coding.display [ fhir:value "Spanish" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://interoperabilidad.minsal.cl/fhir/ig/snre/Patient/Paciente1.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

