@prefix fhir: <http://hl7.org/fhir/> .
@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 -------------------------------------------------------------------

<http://ltc-ig.fhir.tw/Task/hn-getlog-task-example> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "hn-getlog-task-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://ltc-ig.fhir.tw/StructureDefinition/HNAPITask" ;
       fhir:index 0 ;
       fhir:link <http://ltc-ig.fhir.tw/StructureDefinition/HNAPITask>
     ]
  ] ;
  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 hn-getlog-task-example</b></p><a name=\"hn-getlog-task-example\"> </a><a name=\"hchn-getlog-task-example\"> </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-HNAPITask.html\">居家護理－介接作業</a></p></div><p><b>status</b>: Requested</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://ltc-ig.fhir.tw/CodeSystem/hn-workflow GetLog}\">依日期查詢處理結果</span></p><p><b>requester</b>: <a href=\"Organization-hn-organization-example.html\">Organization 示範居家護理所</a></p><h3>Inputs</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://ltc-ig.fhir.tw/CodeSystem/hn-workflow start-date}\">查詢起始日</span></td><td>2025-12-08</td></tr></table></div>"
  ] ;
  fhir:Task.status [ fhir:value "requested"] ;
  fhir:Task.intent [ fhir:value "order"] ;
  fhir:Task.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow" ] ;
       fhir:Coding.code [ fhir:value "GetLog" ]
     ]
  ] ;
  fhir:Task.requester [
     fhir:link <http://ltc-ig.fhir.tw/Organization/hn-organization-example> ;
     fhir:Reference.reference [ fhir:value "Organization/hn-organization-example" ]
  ] ;
  fhir:Task.input [
     fhir:index 0 ;
     fhir:Task.input.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://ltc-ig.fhir.tw/CodeSystem/hn-workflow" ] ;
         fhir:Coding.code [ fhir:value "start-date" ]
       ]
     ] ;
     fhir:Task.input.valueDate [ fhir:value "2025-12-08"^^xsd:date ]
  ] .

# - ontology header ------------------------------------------------------------

<http://ltc-ig.fhir.tw/Task/hn-getlog-task-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

