@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-hfr-referral> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-hfr-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 "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest example-hfr-referral</b></p><a name=\"example-hfr-referral\"> </a><a name=\"hcexample-hfr-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>identifier</b>: <code>https://example.org/digit/hf-referral</code>/HFR-0042</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>subject</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>authoredOn</b>: 2026-06-22 14:10:00+0000</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 fever}\">Fever</span></p><p><b>note</b>: </p><blockquote><div><p>Created from the facility referral record; no field referral was received.</p>\n</div></blockquote></div>"
  ] ;
  fhir:ServiceRequest.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://example.org/digit/hf-referral" ] ;
     fhir:Identifier.value [ fhir:value "HFR-0042" ]
  ] ;
  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.subject [
     fhir:link <https://icr.healthcampaigns.org/Patient/example-sibling> ;
     fhir:Reference.reference [ fhir:value "Patient/example-sibling" ]
  ] ;
  fhir:ServiceRequest.authoredOn [ fhir:value "2026-06-22T14:10:00Z"^^xsd:dateTime] ;
  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 "fever" ] ;
       fhir:Coding.display [ fhir:value "Fever" ]
     ]
  ] ;
  fhir:ServiceRequest.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "Created from the facility referral record; no field referral was received." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://icr.healthcampaigns.org/ServiceRequest/example-hfr-referral.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

