@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/Measure/icr-campaign-cost> a fhir:Measure ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "icr-campaign-cost"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <table class=\"narrative-table\">\n    <tbody>\n<tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Knowledge Artifact Metadata</th>\n\n</tr>\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Name (machine-readable)</th>\n\n<td class=\"content-container\">ICRCampaignCost</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Title (human-readable)</th>\n\n<td class=\"content-container\">ICR Campaign Cost</td>\n</tr>\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Status</th>\n\n<td class=\"content-container\">Active</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n<td class=\"content-container\">false</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n<td class=\"content-container\"><div><p>Total cost of a campaign (round) and its unit costs — per person targeted (÷ planning denominator), per person reached (÷ the administrative-coverage numerator for the same round, geography and data lineage) and per dose/treatment delivered — one group per figure (ICRCostFigureCS). Inputs are ICRCampaignCost line items filtered by the report's lineage, perspective, scope and allocation basis; the divisors are the same resources coverage already uses, so a unit cost never invents a denominator. Continuous-variable scoring: the money is the measureScore, the divisor sits in the group's denominator population. Placeholder CQL pending executable logic (cost-v1).</p>\n</div></td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Measure Steward</th>\n\n<td class=\"content-container\">UNICEF</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Steward Contact Details</th>\n\n<td class=\"content-container\">UNICEF: <a href=\"https://www.unicef.org\">https://www.unicef.org</a></td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Metadata</th>\n\n</tr>\n\n\n\n\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Version Number</th>\n\n<td class=\"content-container\">0.1.0</td>\n</tr>\n\n\n<tr>\n\n<th scope=\"row\" class=\"row-header\">Measure Scoring</th>\n\n<td class=\"content-container\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-scoring continuous-variable}\">Continuous Variable</span></td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n  \n    <tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Population Criteria</th>\n\n</tr>\n  \n  \n  \n  \n    <tr>\n      \n        \n<th scope=\"row\" class=\"row-header\">Measure Population</th>\n\n      \n      <td class=\"content-container\">\n        \n        \n          <em>Description</em>: No description provided\n        \n        \n          \n        \n      </td>\n    </tr>\n  \n\n  \n<tr>\n  \n<th scope=\"row\" class=\"row-header\">Stratifier</th>\n\n  <td class=\"content-container\">\n    \n    \n      \n        <em>Code</em>: Cost category\n      \n      \n    \n    \n  </td>\n</tr>\n\n<tr>\n  \n<th scope=\"row\" class=\"row-header\">Stratifier</th>\n\n  <td class=\"content-container\">\n    \n    \n      \n        <em>Code</em>: Funding source\n      \n      \n    \n    \n  </td>\n</tr>\n\n<tr>\n  \n<th scope=\"row\" class=\"row-header\">Stratifier</th>\n\n  <td class=\"content-container\">\n    \n    \n      \n        <em>Code</em>: Geography\n      \n      \n    \n    \n  </td>\n</tr>\n\n  \n\n\n\n\n\n\n\n\n\n\n  \n    <tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Population Criteria</th>\n\n</tr>\n  \n  \n  \n  \n    <tr>\n      \n        \n<th scope=\"row\" class=\"row-header\">Denominator</th>\n\n      \n      <td class=\"content-container\">\n        \n        \n          <em>Description</em>: No description provided\n        \n        \n          \n        \n      </td>\n    </tr>\n  \n\n  \n<tr>\n  \n<th scope=\"row\" class=\"row-header\">Stratifier</th>\n\n  <td class=\"content-container\">\n    \n    \n      \n        <em>Code</em>: Geography\n      \n      \n    \n    \n  </td>\n</tr>\n\n  \n\n\n\n\n\n\n\n\n\n\n  \n    <tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Population Criteria</th>\n\n</tr>\n  \n  \n  \n  \n    <tr>\n      \n        \n<th scope=\"row\" class=\"row-header\">Denominator</th>\n\n      \n      <td class=\"content-container\">\n        \n        \n          <em>Description</em>: No description provided\n        \n        \n          \n        \n      </td>\n    </tr>\n  \n\n  \n<tr>\n  \n<th scope=\"row\" class=\"row-header\">Stratifier</th>\n\n  <td class=\"content-container\">\n    \n    \n      \n        <em>Code</em>: Delivery strategy\n      \n      \n    \n    \n  </td>\n</tr>\n\n<tr>\n  \n<th scope=\"row\" class=\"row-header\">Stratifier</th>\n\n  <td class=\"content-container\">\n    \n    \n      \n        <em>Code</em>: Geography\n      \n      \n    \n    \n  </td>\n</tr>\n\n  \n\n\n\n\n\n\n\n\n\n\n  \n    <tr>\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Population Criteria</th>\n\n</tr>\n  \n  \n  \n  \n    <tr>\n      \n        \n<th scope=\"row\" class=\"row-header\">Denominator</th>\n\n      \n      <td class=\"content-container\">\n        \n        \n          <em>Description</em>: No description provided\n        \n        \n          \n        \n      </td>\n    </tr>\n  \n\n  \n  \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n  <th colspan=\"2\" scope=\"row\" class=\"row-header\">Generated using version 0.4.6 of the sample-content-ig Liquid templates</th>\n</tr>\n    </tbody>\n  </table>\n</div>"
  ] ;
  fhir:Measure.url [ fhir:value "https://icr.healthcampaigns.org/Measure/icr-campaign-cost"] ;
  fhir:Measure.version [ fhir:value "0.1.0"] ;
  fhir:Measure.name [ fhir:value "ICRCampaignCost"] ;
  fhir:Measure.title [ fhir:value "ICR Campaign Cost"] ;
  fhir:Measure.status [ fhir:value "active"] ;
  fhir:Measure.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:Measure.date [ fhir:value "2026-09-05T12:33:07+00:00"^^xsd:dateTime] ;
  fhir:Measure.publisher [ fhir:value "UNICEF"] ;
  fhir:Measure.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "UNICEF" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://www.unicef.org" ]
     ]
  ] ;
  fhir:Measure.description [ fhir:value "Total cost of a campaign (round) and its unit costs — per person targeted (÷ planning denominator), per person reached (÷ the administrative-coverage numerator for the same round, geography and data lineage) and per dose/treatment delivered — one group per figure (ICRCostFigureCS). Inputs are ICRCampaignCost line items filtered by the report's lineage, perspective, scope and allocation basis; the divisors are the same resources coverage already uses, so a unit cost never invents a denominator. Continuous-variable scoring: the money is the measureScore, the divisor sits in the group's denominator population. Placeholder CQL pending executable logic (cost-v1)."] ;
  fhir:Measure.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:Coding.code [ fhir:value "001" ] ;
       fhir:Coding.display [ fhir:value "World" ]
     ]
  ] ;
  fhir:Measure.scoring [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-scoring" ] ;
       fhir:Coding.code [ fhir:value "continuous-variable" ] ;
       fhir:Coding.display [ fhir:value "Continuous Variable" ]
     ]
  ] ;
  fhir:Measure.group [
     fhir:index 0 ;
     fhir:Measure.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-cost-figure-cs" ] ;
         fhir:Coding.code [ fhir:value "total-cost" ] ;
         fhir:Coding.display [ fhir:value "Total cost" ]
       ]
     ] ;
     fhir:Measure.group.population [
       fhir:index 0 ;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ] ;
           fhir:Coding.code [ fhir:value "measure-population" ] ;
           fhir:Coding.display [ fhir:value "Measure Population" ]
         ]
       ] ;
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql" ] ;
         fhir:Expression.expression [ fhir:value "ICRCampaignCost line items for the campaign whose subject is in the report geography's subtree (plus apportioned umbrella lines when fully-loaded), matching lineage / perspective / scope" ]
       ]
     ] ;
     fhir:Measure.group.stratifier [
       fhir:index 0 ;
       fhir:Measure.group.stratifier.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs" ] ;
           fhir:Coding.code [ fhir:value "cost-category" ] ;
           fhir:Coding.display [ fhir:value "Cost category" ]
         ]
       ] ;
       fhir:Measure.group.stratifier.criteria [
         fhir:Expression.language [ fhir:value "text/cql" ] ;
         fhir:Expression.expression [ fhir:value "ICRCampaignCost.code" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Measure.group.stratifier.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs" ] ;
           fhir:Coding.code [ fhir:value "funding-source" ] ;
           fhir:Coding.display [ fhir:value "Funding source" ]
         ]
       ] ;
       fhir:Measure.group.stratifier.criteria [
         fhir:Expression.language [ fhir:value "text/cql" ] ;
         fhir:Expression.expression [ fhir:value "ICRCampaignCost.funding-source" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:Measure.group.stratifier.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs" ] ;
           fhir:Coding.code [ fhir:value "geography" ] ;
           fhir:Coding.display [ fhir:value "Geography" ]
         ]
       ] ;
       fhir:Measure.group.stratifier.criteria [
         fhir:Expression.language [ fhir:value "text/cql" ] ;
         fhir:Expression.expression [ fhir:value "ICRCampaignCost.subject (admin level)" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Measure.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-cost-figure-cs" ] ;
         fhir:Coding.code [ fhir:value "per-person-targeted" ] ;
         fhir:Coding.display [ fhir:value "Cost per person targeted" ]
       ]
     ] ;
     fhir:Measure.group.population [
       fhir:index 0 ;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ] ;
           fhir:Coding.code [ fhir:value "denominator" ] ;
           fhir:Coding.display [ fhir:value "Denominator" ]
         ]
       ] ;
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql" ] ;
         fhir:Expression.expression [ fhir:value "Planning denominator (the flagged ICRTargetPopulation for the geography; denominator-type as declared)" ]
       ]
     ] ;
     fhir:Measure.group.stratifier [
       fhir:index 0 ;
       fhir:Measure.group.stratifier.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs" ] ;
           fhir:Coding.code [ fhir:value "geography" ] ;
           fhir:Coding.display [ fhir:value "Geography" ]
         ]
       ] ;
       fhir:Measure.group.stratifier.criteria [
         fhir:Expression.language [ fhir:value "text/cql" ] ;
         fhir:Expression.expression [ fhir:value "Reporting Location" ]
       ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Measure.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-cost-figure-cs" ] ;
         fhir:Coding.code [ fhir:value "per-person-reached" ] ;
         fhir:Coding.display [ fhir:value "Cost per person reached" ]
       ]
     ] ;
     fhir:Measure.group.population [
       fhir:index 0 ;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ] ;
           fhir:Coding.code [ fhir:value "denominator" ] ;
           fhir:Coding.display [ fhir:value "Denominator" ]
         ]
       ] ;
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql" ] ;
         fhir:Expression.expression [ fhir:value "icr-admin-coverage numerator for the same round, geography and data lineage" ]
       ]
     ] ;
     fhir:Measure.group.stratifier [
       fhir:index 0 ;
       fhir:Measure.group.stratifier.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs" ] ;
           fhir:Coding.code [ fhir:value "delivery-strategy" ] ;
           fhir:Coding.display [ fhir:value "Delivery strategy" ]
         ]
       ] ;
       fhir:Measure.group.stratifier.criteria [
         fhir:Expression.language [ fhir:value "text/cql" ] ;
         fhir:Expression.expression [ fhir:value "Task.delivery-strategy" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Measure.group.stratifier.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs" ] ;
           fhir:Coding.code [ fhir:value "geography" ] ;
           fhir:Coding.display [ fhir:value "Geography" ]
         ]
       ] ;
       fhir:Measure.group.stratifier.criteria [
         fhir:Expression.language [ fhir:value "text/cql" ] ;
         fhir:Expression.expression [ fhir:value "Reporting Location" ]
       ]
     ]
  ], [
     fhir:index 3 ;
     fhir:Measure.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-cost-figure-cs" ] ;
         fhir:Coding.code [ fhir:value "per-dose-delivered" ] ;
         fhir:Coding.display [ fhir:value "Cost per dose / treatment delivered" ]
       ]
     ] ;
     fhir:Measure.group.population [
       fhir:index 0 ;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ] ;
           fhir:Coding.code [ fhir:value "denominator" ] ;
           fhir:Coding.display [ fhir:value "Denominator" ]
         ]
       ] ;
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql" ] ;
         fhir:Expression.expression [ fhir:value "Immunization / MedicationAdministration count in the round (record-origin = campaign)" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://icr.healthcampaigns.org/Measure/icr-campaign-cost.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

