@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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/clinical/DocumentReference/EjemploEmaDocumentReference> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "EjemploEmaDocumentReference"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://emahealth.io/fhir/clinical/StructureDefinition/ema-document-reference"^^xsd:anyURI ;
       fhir:l <https://emahealth.io/fhir/clinical/StructureDefinition/ema-document-reference>
     ] )
  ] ; # 
  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: ReferenciaDocumento EjemploEmaDocumentReference</b></p><a name=\"EjemploEmaDocumentReference\"> </a><a name=\"hcEjemploEmaDocumentReference\"> </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-document-reference.html\">EMA DocumentReference</a></p></div><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 11506-3}\">Epicrisis de consulta</span></p><p><b>subject</b>: <a href=\"Patient/ejemplo-patient\">María Fernández</a></p><p><b>date</b>: 2026-03-10 12:00:00-0300</p><p><b>author</b>: <a href=\"Practitioner/ejemplo-practitioner\">Dr. Andrés Soto</a></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td><td><b>Title</b></td></tr><tr><td style=\"display: none\">*</td><td>application/pdf</td><td><a href=\"https://emahealth.io/docs/epicrisis-ejemplo.pdf\">https://emahealth.io/docs/epicrisis-ejemplo.pdf</a></td><td>Epicrisis María Fernández — 2026-03-10</td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:11506-3 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "11506-3" ] ;
       fhir:display [ fhir:v "Nota de progreso:{Configuración} :Punto temporal:Tipo:Documento:{Role}" ]
     ] ) ;
     fhir:text [ fhir:v "Epicrisis de consulta" ]
  ] ; # 
  fhir:subject [
     fhir:l <https://emahealth.io/fhir/clinical/Patient/ejemplo-patient> ;
     fhir:reference [ fhir:v "Patient/ejemplo-patient" ] ;
     fhir:display [ fhir:v "María Fernández" ]
  ] ; # 
  fhir:date [ fhir:v "2026-03-10T12:00:00-03:00"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:l <https://emahealth.io/fhir/clinical/Practitioner/ejemplo-practitioner> ;
     fhir:reference [ fhir:v "Practitioner/ejemplo-practitioner" ] ;
     fhir:display [ fhir:v "Dr. Andrés Soto" ]
  ] ) ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:contentType [ fhir:v "application/pdf" ] ;
       fhir:url [
         fhir:v "https://emahealth.io/docs/epicrisis-ejemplo.pdf"^^xsd:anyURI ;
         fhir:l <https://emahealth.io/docs/epicrisis-ejemplo.pdf>
       ] ;
       fhir:title [ fhir:v "Epicrisis María Fernández — 2026-03-10" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

