@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://emahealth.io/fhir/pathology/Observation/EjemploPatologiaDiagnostico> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "EjemploPatologiaDiagnostico"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://emahealth.io/fhir/pathology/StructureDefinition/ema-pathology-diagnosis" ;
       fhir:index 0 ;
       fhir:link <https://emahealth.io/fhir/pathology/StructureDefinition/ema-pathology-diagnosis>
     ]
  ] ;
  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: Observation EjemploPatologiaDiagnostico</b></p><a name=\"EjemploPatologiaDiagnostico\"> </a><a name=\"hcEjemploPatologiaDiagnostico\"> </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-diagnosis.html\">EMA Pathology Diagnosis</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 22637-3}\">Diagnóstico anatomopatológico final</span></p><p><b>subject</b>: <a href=\"Patient-EjemploPatologiaPatient.html\">Valentina Rojas Castillo (official) Female, DoB: 1974-09-12 ( http://regcivil.cl/Validacion/RUN#13456789-0 (use: official, ))</a></p><p><b>effective</b>: 2026-04-10 11:00:00-0400</p><p><b>performer</b>: <a href=\"Practitioner-EjemploPatologiaPractitioner.html\">Practitioner Paulina Herrera Donoso (official)</a></p><p><b>value</b>: <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></p><p><b>bodySite</b>: <span title=\"Codes:{http://snomed.info/sct 76752008}\">Mama derecha</span></p><p><b>method</b>: <span title=\"Codes:{http://snomed.info/sct 86273004}\">Biopsy</span></p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 246100006}\">Onset</span></p><p><b>value</b>: <span title=\"Codes:{http://snomed.info/sct 86049000}\">Comportamiento maligno (ICD-O-3 /3)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 33739-4}\">Lymphatic.small vessel.invasion [Identifier] in Specimen by CAP cancer protocols</span></p><p><b>value</b>: <span title=\"Codes:{http://snomed.info/sct 1663004}\">Grado histológico 2 (Nottingham 6/9)</span></p></blockquote></div>"
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ] ;
       fhir:Coding.code [ fhir:value "laboratory" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:22637-3 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "22637-3" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Diagnóstico anatomopatológico final" ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://emahealth.io/fhir/pathology/Patient/EjemploPatologiaPatient> ;
     fhir:Reference.reference [ fhir:value "Patient/EjemploPatologiaPatient" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-04-10T11:00:00-04:00"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index 0 ;
     fhir:link <https://emahealth.io/fhir/pathology/Practitioner/EjemploPatologiaPractitioner> ;
     fhir:Reference.reference [ fhir:value "Practitioner/EjemploPatologiaPractitioner" ]
  ] ;
  fhir:Observation.valueCodeableConcept [
     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" ]
     ], [
       fhir:index 1 ;
       a sct:82711006 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "82711006" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Carcinoma ductal infiltrante (NOS), morfología ICD-O-3 8500/3" ]
  ] ;
  fhir:Observation.bodySite [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:76752008 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "76752008" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Mama derecha" ]
  ] ;
  fhir:Observation.method [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:86273004 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "86273004" ]
     ]
  ] ;
  fhir:Observation.component [
     fhir:index 0 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:246100006 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "246100006" ]
       ]
     ] ;
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:86049000 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "86049000" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Comportamiento maligno (ICD-O-3 /3)" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:33739-4 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "33739-4" ]
       ]
     ] ;
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:1663004 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "1663004" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Grado histológico 2 (Nottingham 6/9)" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://emahealth.io/fhir/pathology/Observation/EjemploPatologiaDiagnostico.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

