@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/ServiceRequest/example-referral> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-referral"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://icr.healthcampaigns.org/StructureDefinition/ICRReferral" ;
       fhir:index 0 ;
       fhir:link <https://icr.healthcampaigns.org/StructureDefinition/ICRReferral>
     ] ;
     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 "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest example-referral</b></p><a name=\"example-referral\"> </a><a name=\"hcexample-referral\"> </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-ICRReferral.html\">ICR Referral</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>Referring Task</b>: <a href=\"Task-example-mopup-task.html\">Task </a></p><p><b>basedOn</b>: <a href=\"CarePlan-example-mr-sia-2026.html\">CarePlan Measles–rubella SIA, Kambia District, June 2026 (round 1)</a></p><p><b>status</b>: Completed</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{https://icr.healthcampaigns.org/CodeSystem/icr-referral-category-cs campaign-referral}\">Campaign referral</span></p><p><b>priority</b>: Routine</p><p><b>subject</b>: <a href=\"Patient-example-child.html\">Aminata Kamara  Female, DoB: 2023-04-12 ( https://icr.healthcampaigns.org/identifiers/national-id#SL-2023-04-0099812)</a></p><p><b>occurrence</b>: 2026-07-01</p><p><b>authoredOn</b>: 2026-06-24 09:45:00+0000</p><p><b>requester</b>: Fatmata Sesay (vaccinator, mop-up team 4)</p><p><b>performer</b>: <a href=\"Organization-example-facility-org.html\">Organization Rokupr Community Health Centre</a></p><p><b>locationReference</b>: <a href=\"Location-example-facility.html\">Location Rokupr Community Health Centre</a></p><p><b>reasonCode</b>: <span title=\"Codes:{https://icr.healthcampaigns.org/CodeSystem/icr-referral-reason-cs zero-dose-to-routine}\">Zero-dose child, to routine immunization</span></p><p><b>supportingInfo</b>: <a href=\"Immunization-example-mcv-dose.html\">Immunization: extension = campaign,-&gt;CarePlan Measles–rubella SIA, Kambia District, June 2026 (round 1),zero-dose; status = completed; vaccineCode = measles virus vaccine; occurrence[x] = 2026-06-24 09:40:00+0000; lotNumber = MRV-2026-0412</a></p><p><b>note</b>: </p><blockquote><div><p>Child had never been vaccinated; MCV given at the mop-up visit. Caregiver asked to bring the child for the routine schedule.</p>\n</div></blockquote></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://icr.healthcampaigns.org/StructureDefinition/referring-task" ] ;
     fhir:Extension.valueReference [
       fhir:link <https://icr.healthcampaigns.org/Task/example-mopup-task> ;
       fhir:Reference.reference [ fhir:value "Task/example-mopup-task" ]
     ]
  ] ;
  fhir:ServiceRequest.basedOn [
     fhir:index 0 ;
     fhir:link <https://icr.healthcampaigns.org/CarePlan/example-mr-sia-2026> ;
     fhir:Reference.reference [ fhir:value "CarePlan/example-mr-sia-2026" ]
  ] ;
  fhir:ServiceRequest.status [ fhir:value "completed"] ;
  fhir:ServiceRequest.intent [ fhir:value "order"] ;
  fhir:ServiceRequest.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-referral-category-cs" ] ;
       fhir:Coding.code [ fhir:value "campaign-referral" ] ;
       fhir:Coding.display [ fhir:value "Campaign referral" ]
     ]
  ] ;
  fhir:ServiceRequest.priority [ fhir:value "routine"] ;
  fhir:ServiceRequest.subject [
     fhir:link <https://icr.healthcampaigns.org/Patient/example-child> ;
     fhir:Reference.reference [ fhir:value "Patient/example-child" ]
  ] ;
  fhir:ServiceRequest.occurrenceDateTime [ fhir:value "2026-07-01"^^xsd:date] ;
  fhir:ServiceRequest.authoredOn [ fhir:value "2026-06-24T09:45:00Z"^^xsd:dateTime] ;
  fhir:ServiceRequest.requester [
     fhir:Reference.display [ fhir:value "Fatmata Sesay (vaccinator, mop-up team 4)" ]
  ] ;
  fhir:ServiceRequest.performer [
     fhir:index 0 ;
     fhir:link <https://icr.healthcampaigns.org/Organization/example-facility-org> ;
     fhir:Reference.reference [ fhir:value "Organization/example-facility-org" ]
  ] ;
  fhir:ServiceRequest.locationReference [
     fhir:index 0 ;
     fhir:link <https://icr.healthcampaigns.org/Location/example-facility> ;
     fhir:Reference.reference [ fhir:value "Location/example-facility" ]
  ] ;
  fhir:ServiceRequest.reasonCode [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-referral-reason-cs" ] ;
       fhir:Coding.code [ fhir:value "zero-dose-to-routine" ] ;
       fhir:Coding.display [ fhir:value "Zero-dose child, to routine immunization" ]
     ]
  ] ;
  fhir:ServiceRequest.supportingInfo [
     fhir:index 0 ;
     fhir:link <https://icr.healthcampaigns.org/Immunization/example-mcv-dose> ;
     fhir:Reference.reference [ fhir:value "Immunization/example-mcv-dose" ]
  ] ;
  fhir:ServiceRequest.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "Child had never been vaccinated; MCV given at the mop-up visit. Caregiver asked to bring the child for the routine schedule." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://icr.healthcampaigns.org/ServiceRequest/example-referral.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

