@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/nid/RelatedPerson/EjemploAcompanate> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "EjemploAcompanate"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://interoperabilidad.minsal.cl/fhir/ig/nid/StructureDefinition/MINSALAcompanante"^^xsd:anyURI ;
       fhir:link <https://interoperabilidad.minsal.cl/fhir/ig/nid/StructureDefinition/MINSALAcompanante>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: RelatedPerson EjemploAcompanate</b></p><a name=\"EjemploAcompanate\"> </a><a name=\"hcEjemploAcompanate\"> </a><a name=\"EjemploAcompanate-es-CL\"> </a><p><b>patient</b>: <a href=\"Patient-MinsalPacienteEjemplo.html\">Javiera Castilla (official) Female, DoB: 1995-12-12 ( PPN: ACL123456789876 (use: official, ))</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0131 C}\">Emergency Contact</span></p><p><b>name</b>: Pedro Castilla (Official)</p><p><b>telecom</b>: <a href=\"tel:+56987654321\">+56987654321</a></p><p><b>address</b>: Pasaje El Roble 567, Casa 8 null null null (home)</p><p><b>period</b>: 2024-01-23 16:30:00-0300 --&gt; 2024-01-23 18:00:00-0300</p></div>"
  ] ; # 
  fhir:patient [
     fhir:link <https://interoperabilidad.minsal.cl/fhir/ig/nid/Patient/MinsalPacienteEjemplo> ;
     fhir:reference [ fhir:v "Patient/MinsalPacienteEjemplo" ]
  ] ; # 
  fhir:relationship ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "C" ] ;
       fhir:display [ fhir:v "Emergency Contact" ]
     ] )
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Castilla" ] ;
     fhir:given ( [ fhir:v "Pedro" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+56987654321" ] ;
     fhir:use [ fhir:v "mobile" ]
  ] ) ; # 
  fhir:address ( [
     fhir:extension ( [
       fhir:url [ fhir:v "https://interoperabilidad.minsal.cl/fhir/ig/nid/StructureDefinition/SituacionCalle"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "false"^^xsd:boolean ]
     ] ) ;
     fhir:use [ fhir:v "home" ] ;
     fhir:line ( [ fhir:v "Pasaje El Roble 567, Casa 8" ] ) ;
     fhir:city [
       fhir:extension ( [
         fhir:url [ fhir:v "https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/ComunasCl"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:system [ fhir:v "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSCodComunasCL"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "13119" ] ;
             fhir:display [ fhir:v "Maipú" ]
           ] )
         ]
       ] )
     ] ;
     fhir:district [
       fhir:extension ( [
         fhir:url [ fhir:v "https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/ProvinciasCl"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:system [ fhir:v "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSCodProvinciasCL"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "131" ] ;
             fhir:display [ fhir:v "Santiago" ]
           ] )
         ]
       ] )
     ] ;
     fhir:state [
       fhir:extension ( [
         fhir:url [ fhir:v "https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/RegionesCl"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:system [ fhir:v "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSCodRegionCL"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "13" ] ;
             fhir:display [ fhir:v "Metropolitana de Santiago" ]
           ] )
         ]
       ] )
     ] ;
     fhir:country [
       fhir:extension ( [
         fhir:url [ fhir:v "https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/CodigoPaises"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:system [ fhir:v "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CodPais"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "152" ] ;
             fhir:display [ fhir:v "Chile" ]
           ] )
         ]
       ] )
     ] ;
     fhir:period [
       fhir:start [ fhir:v "2021-04-12"^^xsd:date ]
     ]
  ] ) ; # 
  fhir:period [
     fhir:start [ fhir:v "2024-01-23T16:30:00-03:00"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2024-01-23T18:00:00-03:00"^^xsd:dateTime ]
  ] . # 

# -------------------------------------------------------------------------------------

