@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/Observation/example-cost-vaccine-national> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-cost-vaccine-national"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://icr.healthcampaigns.org/StructureDefinition/ICRCampaignCost" ;
       fhir:index 0 ;
       fhir:link <https://icr.healthcampaigns.org/StructureDefinition/ICRCampaignCost>
     ] ;
     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: Observation example-cost-vaccine-national</b></p><a name=\"example-cost-vaccine-national\"> </a><a name=\"hcexample-cost-vaccine-national\"> </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-ICRCampaignCost.html\">ICR Campaign Cost</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>Cost Lineage</b>: actual</p><p><b>Cost Perspective</b>: financial</p><p><b>Funding Source</b>: <span title=\"Codes:{https://icr.healthcampaigns.org/CodeSystem/icr-funding-source-cs gavi}\">Gavi</span></p><p><b>basedOn</b>: <a href=\"CarePlan-example-mr-sia-national.html\">CarePlan Measles–rubella SIA, Sierra Leone, 2026</a></p><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{https://icr.healthcampaigns.org/CodeSystem/icr-cost-category-cs commodities}\">Commodities</span></p><p><b>subject</b>: <a href=\"Location-example-country.html\">Location Sierra Leone</a></p><p><b>effective</b>: 2026-04-01 --&gt; 2026-06-14</p><p><b>performer</b>: UNICEF Sierra Leone Country Office</p><p><b>value</b>: 30000 USD<span style=\"background: LightGoldenRodYellow\"> (Details: unknown  codeUSD = 'United States dollar')</span></p><p><b>note</b>: </p><blockquote><div><p>MR vaccine for the Kambia round incl. freight and insurance; 50,000 doses procured against 48,250 targeted (wastage allowance). A NATIONAL line: apportioned to district reports only when fully-loaded.</p>\n</div></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{https://icr.healthcampaigns.org/CodeSystem/icr-cost-component-cs units}\">Driver units</span></p><p><b>value</b>: 50000 doses<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{dose} = '{dose}')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{https://icr.healthcampaigns.org/CodeSystem/icr-cost-component-cs unit-cost}\">Unit cost</span></p><p><b>value</b>: 0.6 USD per dose<span style=\"background: LightGoldenRodYellow\"> (Details: unknown  codeUSD = 'United States dollar')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{https://icr.healthcampaigns.org/CodeSystem/icr-cost-component-cs amount-usd}\">Amount (USD)</span></p><p><b>value</b>: 30000 USD<span style=\"background: LightGoldenRodYellow\"> (Details: unknown  codeUSD = 'United States dollar')</span></p></blockquote></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://icr.healthcampaigns.org/StructureDefinition/cost-lineage" ] ;
     fhir:Extension.valueCode [ fhir:value "actual" ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "https://icr.healthcampaigns.org/StructureDefinition/cost-perspective" ] ;
     fhir:Extension.valueCode [ fhir:value "financial" ]
  ], [
     fhir:index 2 ;
     fhir:Extension.url [ fhir:value "https://icr.healthcampaigns.org/StructureDefinition/funding-source" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-funding-source-cs" ] ;
         fhir:Coding.code [ fhir:value "gavi" ] ;
         fhir:Coding.display [ fhir:value "Gavi" ]
       ]
     ]
  ] ;
  fhir:Observation.basedOn [
     fhir:index 0 ;
     fhir:link <https://icr.healthcampaigns.org/CarePlan/example-mr-sia-national> ;
     fhir:Reference.reference [ fhir:value "CarePlan/example-mr-sia-national" ]
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-cost-category-cs" ] ;
       fhir:Coding.code [ fhir:value "commodities" ] ;
       fhir:Coding.display [ fhir:value "Commodities" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://icr.healthcampaigns.org/Location/example-country> ;
     fhir:Reference.reference [ fhir:value "Location/example-country" ]
  ] ;
  fhir:Observation.effectivePeriod [
     fhir:Period.start [ fhir:value "2026-04-01"^^xsd:date ] ;
     fhir:Period.end [ fhir:value "2026-06-14"^^xsd:date ]
  ] ;
  fhir:Observation.performer [
     fhir:index 0 ;
     fhir:Reference.display [ fhir:value "UNICEF Sierra Leone Country Office" ]
  ] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "30000"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "USD" ] ;
     fhir:Quantity.system [ fhir:value "urn:iso:std:iso:4217" ] ;
     fhir:Quantity.code [ fhir:value "USD" ]
  ] ;
  fhir:Observation.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "MR vaccine for the Kambia round incl. freight and insurance; 50,000 doses procured against 48,250 targeted (wastage allowance). A NATIONAL line: apportioned to district reports only when fully-loaded." ]
  ] ;
  fhir:Observation.component [
     fhir:index 0 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-cost-component-cs" ] ;
         fhir:Coding.code [ fhir:value "units" ]
       ]
     ] ;
     fhir:Observation.component.valueQuantity [
       fhir:Quantity.value [ fhir:value "50000"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "doses" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "{dose}" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-cost-component-cs" ] ;
         fhir:Coding.code [ fhir:value "unit-cost" ]
       ]
     ] ;
     fhir:Observation.component.valueQuantity [
       fhir:Quantity.value [ fhir:value "0.6"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "USD per dose" ] ;
       fhir:Quantity.system [ fhir:value "urn:iso:std:iso:4217" ] ;
       fhir:Quantity.code [ fhir:value "USD" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-cost-component-cs" ] ;
         fhir:Coding.code [ fhir:value "amount-usd" ]
       ]
     ] ;
     fhir:Observation.component.valueQuantity [
       fhir:Quantity.value [ fhir:value "30000"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "USD" ] ;
       fhir:Quantity.system [ fhir:value "urn:iso:std:iso:4217" ] ;
       fhir:Quantity.code [ fhir:value "USD" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://icr.healthcampaigns.org/Observation/example-cost-vaccine-national.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

