@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/pathology/DiagnosticReport/EjemploPatologiaReport> a fhir:DiagnosticReport ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "EjemploPatologiaReport"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://emahealth.io/fhir/pathology/StructureDefinition/ema-pathology-report" ;
       fhir:index 0 ;
       fhir:link <https://emahealth.io/fhir/pathology/StructureDefinition/ema-pathology-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 EjemploPatologiaReport</b></p><a name=\"EjemploPatologiaReport\"> </a><a name=\"hcEjemploPatologiaReport\"> </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-pathology-report.html\">EMA Pathology Report</a></p></div><h2><span title=\"Codes:{http://loinc.org 60568-3}\">Informe de anatomía patológica — biopsia de mama</span> (<span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0074 SP}\">Surgical Pathology</span>) </h2><table class=\"grid\"><tr><td>Subject</td><td>Valentina Rojas Castillo (official) Female, DoB: 1974-09-12 ( http://regcivil.cl/Validacion/RUN#13456789-0 (use: official, ))</td></tr><tr><td>Relevant Time</td><td>2026-04-08 15:45:00-0400</td></tr><tr><td>Reported</td><td>2026-04-10 12:00:00-0400</td></tr><tr><td>Performer</td><td> <a href=\"Practitioner-EjemploPatologiaPractitioner.html\">Practitioner Paulina Herrera Donoso (official)</a></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><td><b>Relevant Time</b></td></tr><tr><td><a href=\"Observation-EjemploPatologiaDiagnostico.html\"><span title=\"Codes:{http://loinc.org 22637-3}\">Diagnóstico anatomopatológico final</span></a> (<span title=\"Codes:{http://snomed.info/sct 76752008}\">Mama derecha</span>)</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/icd-o-3 8500/3}, {http://snomed.info/sct 82711006}\">Carcinoma ductal infiltrante (NOS), morfología ICD-O-3 8500/3</span></td><td>Final</td><td>2026-04-10 11:00:00-0400</td></tr><tr><td><a href=\"Observation-EjemploPatologiaSinopticoSeccion.html\"><span title=\"Codes:{http://loinc.org 60568-3}\">Informe sinóptico — Carcinoma invasor de mama (CAP eCP)</span></a></td><td/><td>Final</td><td>2026-04-10 11:00:00-0400</td></tr></table><p>Carcinoma ductal infiltrante (NOS) de mama derecha, grado histológico 2 (Nottingham 6/9). Morfología ICD-O-3 8500/3.</p><p><b>Coded Conclusions:</b></p><ul><li><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/icd-o-3 8500/3}\">Infiltrating duct carcinoma, NOS</span></li></ul></div>"
  ] ;
  fhir:DiagnosticReport.basedOn [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/pathology/ServiceRequest/EjemploPatologiaServiceRequest> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/EjemploPatologiaServiceRequest" ]
  ] ;
  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 "SP" ]
     ]
  ] ;
  fhir:DiagnosticReport.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:60568-3 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "60568-3" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Informe de anatomía patológica — biopsia de mama" ]
  ] ;
  fhir:DiagnosticReport.subject [
     fhir:link <https://emahealth.io/fhir/pathology/Patient/EjemploPatologiaPatient> ;
     fhir:Reference.reference [ fhir:value "Patient/EjemploPatologiaPatient" ]
  ] ;
  fhir:DiagnosticReport.effectiveDateTime [ fhir:value "2026-04-08T15:45:00-04:00"^^xsd:dateTime] ;
  fhir:DiagnosticReport.issued [ fhir:value "2026-04-10T12:00:00-04:00"^^xsd:dateTime] ;
  fhir:DiagnosticReport.performer [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/pathology/Practitioner/EjemploPatologiaPractitioner> ;
     fhir:Reference.reference [ fhir:value "Practitioner/EjemploPatologiaPractitioner" ]
  ] ;
  fhir:DiagnosticReport.specimen [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/pathology/Specimen/EjemploPatologiaSpecimen> ;
     fhir:Reference.reference [ fhir:value "Specimen/EjemploPatologiaSpecimen" ]
  ] ;
  fhir:DiagnosticReport.result [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/pathology/Observation/EjemploPatologiaDiagnostico> ;
     fhir:Reference.reference [ fhir:value "Observation/EjemploPatologiaDiagnostico" ]
  ], [
     fhir:index 1 ;
     fhir:link <https://emahealth.io/fhir/pathology/Observation/EjemploPatologiaSinopticoSeccion> ;
     fhir:Reference.reference [ fhir:value "Observation/EjemploPatologiaSinopticoSeccion" ]
  ] ;
  fhir:DiagnosticReport.conclusion [ fhir:value "Carcinoma ductal infiltrante (NOS) de mama derecha, grado histológico 2 (Nottingham 6/9). Morfología ICD-O-3 8500/3."] ;
  fhir:DiagnosticReport.conclusionCode [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/icd-o-3" ] ;
       fhir:Coding.code [ fhir:value "8500/3" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/pathology/DiagnosticReport/EjemploPatologiaReport.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

