@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Measure/hiv-indicators> a fhir:Measure ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "hiv-indicators"] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "cqi"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://ohie.org/Measure/hiv-indicators"^^xsd:anyURI ;
     fhir:l <http://ohie.org/Measure/hiv-indicators>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.28.2" ]
  ] [
     fhir:system [
       fhir:v "http://ohie.org/Measure/"^^xsd:anyURI ;
       fhir:l <http://ohie.org/Measure/>
     ] ;
     fhir:value [ fhir:v "hiv-indicators" ]
  ] ) ; # 
  fhir:version [ fhir:v "0.0.0"] ; # 
  fhir:name [ fhir:v "HIV"] ; # 
  fhir:title [ fhir:v "HIV Indicators"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2018-03-08"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Clinical Quality Information"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/cqi" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This ADX-HIV measure defines a common set of HIV core indicators with data elements and associated stratifiers along with instructions regarding how to leverage these to generate and exchange conformant XML messages. Interoperable message exchange will be valuable to jurisdictions such as Ministries of Health, and WHO, and to health initiatives such as the U.S. President’s Emergency Plan for AIDS Relief (PEPFAR), the Global Fund, UNAIDS, and others."] ; # 
  fhir:relatedArtifact ( [
     fhir:type [ fhir:v "derived-from" ] ;
     fhir:document [
       fhir:url [
         fhir:v "http://wiki.ihe.net/index.php/Aggregate_Data_Exchange_-_HIV"^^xsd:anyURI ;
         fhir:l <http://wiki.ihe.net/index.php/Aggregate_Data_Exchange_-_HIV>
       ]
     ]
  ] ) ; # 
  fhir:library ( [
     fhir:v "http://ohie.org/Library/hiv-indicators"^^xsd:anyURI ;
     fhir:l <http://ohie.org/Library/hiv-indicators>
  ] ) ; # 
  fhir:group ( [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_ART1_N" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of adults and children newly enrolled on antiretroviral therapy (ART) in the reporting period" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Newly enrolled on antiretroviral therapy (ART) during measurement period" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
             fhir:l <http://ihe.net/qrph/adx/>
           ] ;
           fhir:code [ fhir:v "AGE_GROUP:SEX" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Age Group/Sex" ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_ART1_N_PREG_BF" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of adults and children newly enrolled on ART in the reporting period_pregnant and breastfeeding" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Newly enrolled on antiretroviral therapy (ART) during measurement period (pregnant and breastfeeding)" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
             fhir:l <http://ihe.net/qrph/adx/>
           ] ;
           fhir:code [ fhir:v "PREG_BF" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Pregnant/Breastfeeding" ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_ART5_N" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of adults and children who are still on treatment at 12 months after initiating ART" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Receiving antiretroviral therapy (ART) at 12 months after initiating" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:component ( [
         fhir:code [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
               fhir:l <http://ihe.net/qrph/adx/>
             ] ;
             fhir:code [ fhir:v "AGE_GROUP" ]
           ] )
         ] ;
         fhir:criteria [
           fhir:language [ fhir:v "text/cql-identifier" ] ;
           fhir:expression [ fhir:v "Age Group" ]
         ]
       ] [
         fhir:code [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
               fhir:l <http://ihe.net/qrph/adx/>
             ] ;
             fhir:code [ fhir:v "SEX" ]
           ] )
         ] ;
         fhir:criteria [
           fhir:language [ fhir:v "text/cql-identifier" ] ;
           fhir:expression [ fhir:v "Sex" ]
         ]
       ] )
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_ART5_N_PREG_BF" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of adults and children who are still on treatment at 12 months after initiating ART-pregnant and breastfeeding" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Receiving antiretroviral therapy (ART) at 12 months after initiating (pregnant and breastfeeding)" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
             fhir:l <http://ihe.net/qrph/adx/>
           ] ;
           fhir:code [ fhir:v "PREG_BF" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Pregnant/Breastfeeding" ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_ART5_D" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of adults and children who initiated ART in the 12 months prior to the beginning of the reporting period" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Initiated antiretroviral therapy (ART) in the 12 months prior to measurement period" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:component ( [
         fhir:code [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
               fhir:l <http://ihe.net/qrph/adx/>
             ] ;
             fhir:code [ fhir:v "AGE_GROUP" ]
           ] )
         ] ;
         fhir:criteria [
           fhir:language [ fhir:v "text/cql-identifier" ] ;
           fhir:expression [ fhir:v "Age Group" ]
         ] ;
         fhir:valueSet [
           fhir:v "http://hl7.org/fhir/ValueSet/measure-stratifier-age-range-example"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/ValueSet/measure-stratifier-age-range-example>
         ]
       ] [
         fhir:code [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
               fhir:l <http://ihe.net/qrph/adx/>
             ] ;
             fhir:code [ fhir:v "SEX" ]
           ] )
         ] ;
         fhir:criteria [
           fhir:language [ fhir:v "text/cql-identifier" ] ;
           fhir:expression [ fhir:v "Sex" ]
         ]
       ] )
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_MTCT1_D" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of pregnant women who attended ANC or had a facility-based delivery in the reporting period" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Antenatal Care Visit or Live Birth during the Measurement Period" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
             fhir:l <http://ihe.net/qrph/adx/>
           ] ;
           fhir:code [ fhir:v "PMTCT_HIV_STATUS" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "PMTCT HIV Status" ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_MTCT2_D" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of HIV positive pregnant women who attended ANC or had a facility-based delivery within the reporting period" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Antenatal Care Visit or Live Birth during Measurement Period (HIV Positive)" ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_MTCT2_N" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of HIV-positive pregnant women who received ART to reduce the risk of mother-to-child-transmission during pregnancy" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "HIV-positive, pregnant, and receiving antiretroviral therapy (ART) to reduce the risk of mother-to-child-transmission during pregnancy" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
             fhir:l <http://ihe.net/qrph/adx/>
           ] ;
           fhir:code [ fhir:v "PMTCT_ART_STATUS" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "PMTCT ART Status" ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_VLS3_N" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of people living with HIV and on ART who have a suppressed viral load results (<1000 copies/mL)" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Living with HIV and on ART with suppressed viral load results (<1000 copies/mL)" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
             fhir:l <http://ihe.net/qrph/adx/>
           ] ;
           fhir:code [ fhir:v "AGE_GROUP:SEX" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Age Group/Sex" ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_HTS2_N" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of individuals who received HIV Testing Services (HTS) and received their test results" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Received HIV Testing Services (HTS) and Recevied Test Results" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
             fhir:l <http://ihe.net/qrph/adx/>
           ] ;
           fhir:code [ fhir:v "AGE_GROUP:SEX:HIV_TEST_RESULTS" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Age Group/Sex/HIV Test Results" ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_MTCT1_N" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of pregnant women with known HIV status at first antenatal care visit" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "HIV Status Known at First Antenatal Care Visit" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
             fhir:l <http://ihe.net/qrph/adx/>
           ] ;
           fhir:code [ fhir:v "PMTCT_HIV_STATUS" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "PMTCT HIV Status" ]
       ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
           fhir:l <http://ihe.net/qrph/adx/>
         ] ;
         fhir:code [ fhir:v "QRPH_ADX_VLS3_D" ]
       ] )
     ] ;
     fhir:description [ fhir:v "Number of people on ART who had a VL measurement in the past 12 months" ] ;
     fhir:population ( [
       fhir:code [
         fhir:text [ fhir:v "cohort" ]
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Receiving antiretroviral therapty (ART) and Viral Load Measurement in the past 12 months" ]
       ]
     ] ) ;
     fhir:stratifier ( [
       fhir:code [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://ihe.net/qrph/adx/"^^xsd:anyURI ;
             fhir:l <http://ihe.net/qrph/adx/>
           ] ;
           fhir:code [ fhir:v "AGE_GROUP:SEX" ]
         ] )
       ] ;
       fhir:criteria [
         fhir:language [ fhir:v "text/cql-identifier" ] ;
         fhir:expression [ fhir:v "Age Group/Sex" ]
       ]
     ] )
  ] ) . # Option 1: Mashup

# -------------------------------------------------------------------------------------

