@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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://emahealth.io/fhir/cl/DiagnosticReport/EjemploEmaDiagnosticReport> a fhir:DiagnosticReport ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "EjemploEmaDiagnosticReport"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://emahealth.io/fhir/cl/StructureDefinition/ema-diagnostic-report" ;
       fhir:index 0 ;
       fhir:link <https://emahealth.io/fhir/cl/StructureDefinition/ema-diagnostic-report>
     ]
  ] ;
  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: DiagnosticReport EjemploEmaDiagnosticReport</b></p><a name=\"EjemploEmaDiagnosticReport\"> </a><a name=\"hcEjemploEmaDiagnosticReport\"> </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-diagnostic-report.html\">EMA Diagnostic Report</a></p></div><h2><span title=\"Codes:{http://loinc.org 11502-2}\">Laboratory report</span> (<span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0074 LAB}\">Laboratory</span>) </h2><table class=\"grid\"><tr><td>Subject</td><td>María Fernández (official) Female, DoB: 1968-03-15 ( RUN (use: official, ))</td></tr><tr><td>Relevant Time</td><td>2026-03-15 10:30:00-0300</td></tr><tr><td>Reported</td><td>2026-03-15 14:00:00-0300</td></tr><tr><td>Performer</td><td> <a href=\"Practitioner-EjemploEmaPractitioner.html\">TM. Carolina Muñoz</a></td></tr><tr><td>Identifier</td><td> <code>https://lab-aurora.emahealth.io/reports</code>/RPT-2026-001234</td></tr></table><p><b>Report Details</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>Value</b></td><td><b>Flags</b></td></tr><tr><td><a href=\"Observation-EjemploObsLabHemogramaPanel.html\"><span title=\"Codes:{http://loinc.org 58410-2}\">CBC panel - Blood by Automated count</span></a></td><td/><td>Final</td></tr></table><p>Hemograma dentro de rangos normales. Sin alteraciones significativas.</p></div>"
  ] ;
  fhir:DiagnosticReport.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://lab-aurora.emahealth.io/reports" ] ;
     fhir:Identifier.value [ fhir:value "RPT-2026-001234" ]
  ] ;
  fhir:DiagnosticReport.basedOn [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/cl/ServiceRequest/EjemploEmaServiceRequest> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/EjemploEmaServiceRequest" ] ;
     fhir:Reference.display [ fhir:value "Orden hemograma" ]
  ] ;
  fhir:DiagnosticReport.status [ fhir:value "final"] ;
  fhir:DiagnosticReport.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0074" ] ;
       fhir:Coding.code [ fhir:value "LAB" ]
     ]
  ] ;
  fhir:DiagnosticReport.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:11502-2 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "11502-2" ]
     ]
  ] ;
  fhir:DiagnosticReport.subject [
     fhir:link <https://emahealth.io/fhir/cl/Patient/EjemploEmaPatient> ;
     fhir:Reference.reference [ fhir:value "Patient/EjemploEmaPatient" ] ;
     fhir:Reference.display [ fhir:value "María González Soto" ]
  ] ;
  fhir:DiagnosticReport.effectiveDateTime [ fhir:value "2026-03-15T10:30:00-03:00"^^xsd:dateTime] ;
  fhir:DiagnosticReport.issued [ fhir:value "2026-03-15T14:00:00-03:00"^^xsd:dateTime] ;
  fhir:DiagnosticReport.performer [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/cl/Practitioner/EjemploEmaPractitioner> ;
     fhir:Reference.reference [ fhir:value "Practitioner/EjemploEmaPractitioner" ] ;
     fhir:Reference.display [ fhir:value "TM. Carolina Muñoz" ]
  ] ;
  fhir:DiagnosticReport.specimen [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/cl/Specimen/EjemploEmaSpecimen> ;
     fhir:Reference.reference [ fhir:value "Specimen/EjemploEmaSpecimen" ]
  ] ;
  fhir:DiagnosticReport.result [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/cl/Observation/EjemploObsLabHemogramaPanel> ;
     fhir:Reference.reference [ fhir:value "Observation/EjemploObsLabHemogramaPanel" ] ;
     fhir:Reference.display [ fhir:value "Hemograma completo" ]
  ] ;
  fhir:DiagnosticReport.conclusion [ fhir:value "Hemograma dentro de rangos normales. Sin alteraciones significativas."] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/cl/DiagnosticReport/EjemploEmaDiagnosticReport.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

