@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 -------------------------------------------------------------------

<https://icr.healthcampaigns.org/Task/example-hfr-fulfilment> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-hfr-fulfilment"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://icr.healthcampaigns.org/StructureDefinition/ICRReferralFulfilment" ;
       fhir:index 0 ;
       fhir:link <https://icr.healthcampaigns.org/StructureDefinition/ICRReferralFulfilment>
     ] ;
     fhir:Meta.tag [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-project-tag-cs" ] ;
       fhir:Coding.code [ fhir:value "mr-sia" ] ;
       fhir:Coding.display [ fhir:value "MR SIA (Sierra Leone)" ]
     ]
  ] ;
  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 example-hfr-fulfilment</b></p><a name=\"example-hfr-fulfilment\"> </a><a name=\"hcexample-hfr-fulfilment\"> </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-ICRReferralFulfilment.html\">ICR Referral Fulfilment</a></p><p style=\"margin-bottom: 0px\">Tag: <a href=\"CodeSystem-icr-project-tag-cs.html\">MR SIA (Sierra Leone) (Details: ICR Project Tag code mr-sia = 'MR SIA (Sierra Leone)')</a></p></div><p><b>identifier</b>: <code>https://example.org/digit/hf-referral</code>/HFR-0042</p><p><b>status</b>: Completed</p><p><b>businessStatus</b>: <span title=\"Codes:\">Arrived and seen</span></p><p><b>intent</b>: order</p><p><b>focus</b>: <a href=\"ServiceRequest-example-hfr-referral.html\">ServiceRequest: identifier = https://example.org/digit/hf-referral#HFR-0042; status = completed; intent = order; category = Campaign referral; authoredOn = 2026-06-22 14:10:00+0000; reasonCode = Fever; note = Created from the facility referral record; no field referral was received.</a></p><p><b>for</b>: <a href=\"Patient-example-sibling.html\">Fatmata Kamara  Female, DoB: 2019-08-21 ( https://icr.healthcampaigns.org/identifiers/national-id#SL-2019-08-0071554)</a></p><p><b>executionPeriod</b>: 2026-06-22 14:10:00+0000 --&gt; 2026-06-22 14:40:00+0000</p><p><b>owner</b>: <a href=\"Organization-example-facility-org.html\">Organization Rokupr Community Health Centre</a></p><p><b>location</b>: <a href=\"Location-example-facility.html\">Location Rokupr Community Health Centre</a></p></div>"
  ] ;
  fhir:Task.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://example.org/digit/hf-referral" ] ;
     fhir:Identifier.value [ fhir:value "HFR-0042" ]
  ] ;
  fhir:Task.status [ fhir:value "completed"] ;
  fhir:Task.businessStatus [
     fhir:CodeableConcept.text [ fhir:value "Arrived and seen" ]
  ] ;
  fhir:Task.intent [ fhir:value "order"] ;
  fhir:Task.focus [
     fhir:link <https://icr.healthcampaigns.org/ServiceRequest/example-hfr-referral> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/example-hfr-referral" ]
  ] ;
  fhir:Task.for [
     fhir:link <https://icr.healthcampaigns.org/Patient/example-sibling> ;
     fhir:Reference.reference [ fhir:value "Patient/example-sibling" ]
  ] ;
  fhir:Task.executionPeriod [
     fhir:Period.start [ fhir:value "2026-06-22T14:10:00Z"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2026-06-22T14:40:00Z"^^xsd:dateTime ]
  ] ;
  fhir:Task.owner [
     fhir:link <https://icr.healthcampaigns.org/Organization/example-facility-org> ;
     fhir:Reference.reference [ fhir:value "Organization/example-facility-org" ]
  ] ;
  fhir:Task.location [
     fhir:link <https://icr.healthcampaigns.org/Location/example-facility> ;
     fhir:Reference.reference [ fhir:value "Location/example-facility" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://icr.healthcampaigns.org/Task/example-hfr-fulfilment.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

