@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 -------------------------------------------------------------------

<http://prostatecancerspec.org/Task/RadicalProstatectomyTask> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "RadicalProstatectomyTask"] ;
  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: Task RadicalProstatectomyTask</b></p><a name=\"RadicalProstatectomyTask\"> </a><a name=\"hcRadicalProstatectomyTask\"> </a><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/CodeSystem/task-code fulfill}\">Fulfill the focal request</span></p><p><b>description</b>: Pathologische Aufarbeitung und Befunderstellung fuer radikales Prostatektomiepraeparat mit pelviner Lymphadenektomie beidseits</p><p><b>focus</b>: <a href=\"ServiceRequest-RadicalProstatectomyReportRequest.html\">ServiceRequest Pathology synoptic report</a></p><p><b>for</b>: <a href=\"Patient-Patient1.html\">Hans Mueller  Male, DoB: 1955-08-15 ( http://example.hospital.de/patient-ids#PAT-2024-001)</a></p><p><b>encounter</b>: <a href=\"Encounter-RadicalProstatectomyEncounter.html\">Encounter: identifier = http://example.hospital.de/encounters#E_24_002; status = finished; class = IMP (IMP)</a></p><p><b>executionPeriod</b>: 2024-03-15 14:00:00+0100 --&gt; 2024-03-21 08:00:00+0100</p><p><b>authoredOn</b>: 2024-03-15 10:30:00+0100</p><p><b>lastModified</b>: 2024-03-21 08:00:00+0100</p><p><b>requester</b>: <a href=\"Practitioner-UrologistPractitioner.html\">Practitioner Andreas Weber </a></p><p><b>owner</b>: <a href=\"Practitioner-PathologistPractitioner.html\">Practitioner Maria Schneider </a></p><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 123038009}\">Specimen (specimen)</span></p><p><b>value</b>: <a href=\"Specimen-RadicalProstatectomySpecimenPart.html\">Specimen: identifier = Placer Identifier,Filler Identifier; accessionIdentifier = https://pathologie.example-hospital.de/fhir/fn/befundbericht#E_24_002; status = available; type = Specimen from prostate obtained by radical prostatectomy (specimen)</a></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 123038009}\">Specimen (specimen)</span></p><p><b>value</b>: <a href=\"Specimen-RadicalProstatectomySpecimenLymphNodeRight.html\">Specimen: identifier = Placer Identifier,Filler Identifier; accessionIdentifier = https://pathologie.example-hospital.de/fhir/fn/befundbericht#E_24_002; status = available; type = Specimen from pelvic lymph node (specimen)</a></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 123038009}\">Specimen (specimen)</span></p><p><b>value</b>: <a href=\"Specimen-RadicalProstatectomySpecimenLymphNodeLeft.html\">Specimen: identifier = Placer Identifier,Filler Identifier; accessionIdentifier = https://pathologie.example-hospital.de/fhir/fn/befundbericht#E_24_002; status = available; type = Specimen from pelvic lymph node (specimen)</a></p></blockquote><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://loinc.org 60568-3}\">Pathology Synoptic report</span></td><td><a href=\"DiagnosticReport-RadicalProstatectomyReport.html\">Diagnostic Report for 'Pathology Synoptic report' for '-&gt;Hans Mueller  Male, DoB: 1955-08-15 ( http://example.hospital.de/patient-ids#PAT-2024-001)'</a></td></tr></table></div>"
  ] ;
  fhir:Task.status [ fhir:value "completed"] ;
  fhir:Task.intent [ fhir:value "order"] ;
  fhir:Task.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/CodeSystem/task-code" ] ;
       fhir:Coding.code [ fhir:value "fulfill" ] ;
       fhir:Coding.display [ fhir:value "Fulfill the focal request" ]
     ]
  ] ;
  fhir:Task.description [ fhir:value "Pathologische Aufarbeitung und Befunderstellung fuer radikales Prostatektomiepraeparat mit pelviner Lymphadenektomie beidseits"] ;
  fhir:Task.focus [
     fhir:link <http://prostatecancerspec.org/ServiceRequest/RadicalProstatectomyReportRequest> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/RadicalProstatectomyReportRequest" ]
  ] ;
  fhir:Task.for [
     fhir:link <http://prostatecancerspec.org/Patient/Patient1> ;
     fhir:Reference.reference [ fhir:value "Patient/Patient1" ]
  ] ;
  fhir:Task.encounter [
     fhir:link <http://prostatecancerspec.org/Encounter/RadicalProstatectomyEncounter> ;
     fhir:Reference.reference [ fhir:value "Encounter/RadicalProstatectomyEncounter" ]
  ] ;
  fhir:Task.executionPeriod [
     fhir:Period.start [ fhir:value "2024-03-15T14:00:00+01:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2024-03-21T08:00:00+01:00"^^xsd:dateTime ]
  ] ;
  fhir:Task.authoredOn [ fhir:value "2024-03-15T10:30:00+01:00"^^xsd:dateTime] ;
  fhir:Task.lastModified [ fhir:value "2024-03-21T08:00:00+01:00"^^xsd:dateTime] ;
  fhir:Task.requester [
     fhir:link <http://prostatecancerspec.org/Practitioner/UrologistPractitioner> ;
     fhir:Reference.reference [ fhir:value "Practitioner/UrologistPractitioner" ]
  ] ;
  fhir:Task.owner [
     fhir:link <http://prostatecancerspec.org/Practitioner/PathologistPractitioner> ;
     fhir:Reference.reference [ fhir:value "Practitioner/PathologistPractitioner" ]
  ] ;
  fhir:Task.input [
     fhir:index 0 ;
     fhir:Task.input.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:123038009 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "123038009" ] ;
         fhir:Coding.display [ fhir:value "Specimen (specimen)" ]
       ]
     ] ;
     fhir:Task.input.valueReference [
       fhir:link <http://prostatecancerspec.org/Specimen/RadicalProstatectomySpecimenPart> ;
       fhir:Reference.reference [ fhir:value "Specimen/RadicalProstatectomySpecimenPart" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Task.input.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:123038009 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "123038009" ] ;
         fhir:Coding.display [ fhir:value "Specimen (specimen)" ]
       ]
     ] ;
     fhir:Task.input.valueReference [
       fhir:link <http://prostatecancerspec.org/Specimen/RadicalProstatectomySpecimenLymphNodeRight> ;
       fhir:Reference.reference [ fhir:value "Specimen/RadicalProstatectomySpecimenLymphNodeRight" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Task.input.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:123038009 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "123038009" ] ;
         fhir:Coding.display [ fhir:value "Specimen (specimen)" ]
       ]
     ] ;
     fhir:Task.input.valueReference [
       fhir:link <http://prostatecancerspec.org/Specimen/RadicalProstatectomySpecimenLymphNodeLeft> ;
       fhir:Reference.reference [ fhir:value "Specimen/RadicalProstatectomySpecimenLymphNodeLeft" ]
     ]
  ] ;
  fhir:Task.output [
     fhir:index 0 ;
     fhir:Task.output.type [
       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:Coding.display [ fhir:value "Pathology Synoptic report" ]
       ]
     ] ;
     fhir:Task.output.valueReference [
       fhir:link <http://prostatecancerspec.org/DiagnosticReport/RadicalProstatectomyReport> ;
       fhir:Reference.reference [ fhir:value "DiagnosticReport/RadicalProstatectomyReport" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://prostatecancerspec.org/Task/RadicalProstatectomyTask.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

