@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://emahealth.io/fhir/core/Patient/EjemploEmaPatient> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "EjemploEmaPatient"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://emahealth.io/fhir/core/StructureDefinition/ema-patient"^^xsd:anyURI ;
       fhir:l <https://emahealth.io/fhir/core/StructureDefinition/ema-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Paciente EjemploEmaPatient</b></p><a name=\"EjemploEmaPatient\"> </a><a name=\"hcEjemploEmaPatient\"> </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-ema-patient.html\">EMA Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">María Fernández (official) Female, DoB: 1968-03-15 ( RUN (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=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"tel:+56912345678\">+56912345678</a></li><li><a href=\"mailto:maria.fernandez@email.cl\">maria.fernandez@email.cl</a></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: Next-of-Kin\">Next-of-Kin:</td><td colspan=\"3\"><ul><li>Juan Fernández (Official)</li><li><a href=\"tel:+56987654321\">+56987654321</a></li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSTipoIdentificador"^^xsd:anyURI ;
           fhir:l <https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSTipoIdentificador>
         ] ;
         fhir:code [ fhir:v "01" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "http://regcivil.cl/Validacion/RUN"^^xsd:anyURI ;
       fhir:l <http://regcivil.cl/Validacion/RUN>
     ] ;
     fhir:value [ fhir:v "12345678-9" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Fernández" ] ;
     fhir:given ( [ fhir:v "María" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+56912345678" ] ;
     fhir:use [ fhir:v "mobile" ]
  ] [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "maria.fernandez@email.cl" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1968-03-15"^^xsd:date] ; # 
  fhir:contact ( [
     fhir:relationship ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0131>
         ] ;
         fhir:code [ fhir:v "N" ] ;
         fhir:display [ fhir:v "Next-of-Kin" ]
       ] )
     ] ) ;
     fhir:name [
       fhir:use [ fhir:v "official" ] ;
       fhir:family [ fhir:v "Fernández" ] ;
       fhir:given ( [ fhir:v "Juan" ] )
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "+56987654321" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

