FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: PlanDefinition/ANCDT33

Packagesmart.who.int.anc
TypePlanDefinition
IdANCDT33
FHIR VersionR4
Sourcehttp://smart.who.int/anc/https://build.fhir.org/ig/WorldHealthOrganization/smart-anc/PlanDefinition-ANCDT33.html
URLhttp://smart.who.int/anc/PlanDefinition/ANCDT33
Version0.3.0
Statusactive
Date2025-06-24T13:58:48-06:00
NameANCDT33
TitleANC.DT.33 Breastfeeding counselling
Realmuv
Authoritywho
DescriptionGeneral counselling to be provided/reviewed at every contact

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Id: ANCDT33
Url: ANC.DT.33 Breastfeeding counselling
Version: 0.3.0
Official

ANC.DT.33

Title: ANC.DT.33 Breastfeeding counselling
Type:

system: http://terminology.hl7.org/CodeSystem/plan-definition-type

code: eca-rule

Date: 2025-06-24 13:58:48-0600
Publisher: World Health Organization (WHO)
Description:

General counselling to be provided/reviewed at every contact

Use Context:
code value
task
Jurisdiction: 001
Libraries:
ANC.DT.33 Breastfeeding counselling
Actions:
ANC.DT.33 Breastfeeding counselling:
When: Named Event: ANC.B10. Counselling, in-facility management & treatment
Then:
To enable mothers to establish and sustain exclusive breastfeeding for 6 months, WHO and UNICEF recommend: – Initiation of breastfeeding within the first hour of life – Exclusive breastfeeding – that is, the infant receives only breast milk without any additional food or drink, not even water – Breastfeeding on demand – that is, as often as the child wants food, day and night – No use of bottles, teats or pacifiers
If: Applicability: "Pregnancy confirmed" = "TRUE" (Should Provide counselling on breastfeeding)

Source

{
  "resourceType": "PlanDefinition",
  "id": "ANCDT33",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "contained": [
    {
      "resourceType": "Library",
      "id": "effective-data-requirements",
      "name": "EffectiveDataRequirements",
      "status": "active",
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/library-type",
            "code": "module-definition"
          }
        ]
      },
      "relatedArtifact": [
        {
          "type": "depends-on",
          "display": "Library FHIRHelpers",
          "resource": "http://smart.who.int/anc/Library/FHIRHelpers|4.0.1"
        },
        {
          "type": "depends-on",
          "display": "Library ContactData",
          "resource": "http://smart.who.int/anc/Library/ANCContactDataElements"
        },
        {
          "type": "depends-on",
          "display": "Library WC",
          "resource": "http://smart.who.int/anc/Library/WHOCommon"
        },
        {
          "type": "depends-on",
          "display": "Library Cx",
          "resource": "http://smart.who.int/anc/Library/ANCConcepts"
        },
        {
          "type": "depends-on",
          "display": "Value set Pregnancy confirmed",
          "resource": "http://smart.who.int/anc/ValueSet/anc-b4-de1"
        }
      ],
      "parameter": [
        {
          "name": "encounter",
          "use": "in",
          "min": 0,
          "max": "1",
          "type": "string"
        },
        {
          "name": "Should Provide counselling on breastfeeding",
          "use": "out",
          "min": 0,
          "max": "1",
          "type": "boolean"
        }
      ],
      "dataRequirement": [
        {
          "type": "Observation",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport": [
            "code",
            "status",
            "encounter",
            "encounter.reference"
          ],
          "codeFilter": [
            {
              "path": "code",
              "valueSet": "http://smart.who.int/anc/ValueSet/anc-b4-de1"
            }
          ]
        }
      ]
    }
  ],
  "extension": [
    {
      "extension": [
        {
          "url": "libraryName",
          "valueString": "ANCContactDataElements"
        },
        {
          "url": "name",
          "valueString": "Pregnancy confirmed"
        },
        {
          "url": "statement",
          "valueString": "/*\n  @dataElement: ANC.B4.DE1 Pregnancy confirmed\n  @activity: ANC.B4 Confirm pregnancy\n  @description: Pregnancy has been confirmed\n*/\ndefine \"Pregnancy confirmed\":\n  WC.Only(\n  [Observation: Cx.\"Pregnancy confirmed\"] O\n    where O.status in { 'final', 'amended', 'corrected' }\n      and Coalesce(WC.ModifierExtension(O, 'who-notDone').value, false) is false\n      and Last(Split(O.encounter.reference, '/')) = Last(Split(encounter, '/'))\n  ).value as FHIR.boolean"
        },
        {
          "url": "displaySequence",
          "valueInteger": 0
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension": [
        {
          "url": "libraryName",
          "valueString": "ANCDT33"
        },
        {
          "url": "name",
          "valueString": "Should Provide counselling on breastfeeding"
        },
        {
          "url": "statement",
          "valueString": "/*\n\"Pregnancy confirmed\" = \"TRUE\"\n*/\ndefine \"Should Provide counselling on breastfeeding\":\n  ContactData.\"Pregnancy confirmed\" is true"
        },
        {
          "url": "displaySequence",
          "valueInteger": 1
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension": [
        {
          "url": "libraryName",
          "valueString": "FHIRHelpers"
        },
        {
          "url": "name",
          "valueString": "ToBoolean"
        },
        {
          "url": "statement",
          "valueString": "define function ToBoolean(value boolean): value.value"
        },
        {
          "url": "displaySequence",
          "valueInteger": 2
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension": [
        {
          "url": "libraryName",
          "valueString": "WHOCommon"
        },
        {
          "url": "name",
          "valueString": "Only"
        },
        {
          "url": "statement",
          "valueString": "define function Only(observations List<Observation>):\n  singleton from observations"
        },
        {
          "url": "displaySequence",
          "valueInteger": 3
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension": [
        {
          "url": "libraryName",
          "valueString": "FHIRHelpers"
        },
        {
          "url": "name",
          "valueString": "ToString"
        },
        {
          "url": "statement",
          "valueString": "define function ToString(value ObservationStatus): value.value"
        },
        {
          "url": "displaySequence",
          "valueInteger": 4
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension": [
        {
          "url": "libraryName",
          "valueString": "WHOCommon"
        },
        {
          "url": "name",
          "valueString": "ModifierExtension"
        },
        {
          "url": "statement",
          "valueString": "/*\n@description: Returns the single WHO core modifier extension (if present) on the given resource with the specified id.\n@comment: This function uses singleton from to ensure that a run-time exception is thrown if there\nis more than one extension on the given resource with the specified url.\n*/\ndefine function ModifierExtension(domainResource DomainResource, id String):\n  singleton from ModifierExtensions(domainResource, id)"
        },
        {
          "url": "displaySequence",
          "valueInteger": 5
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension": [
        {
          "url": "libraryName",
          "valueString": "WHOCommon"
        },
        {
          "url": "name",
          "valueString": "ModifierExtensions"
        },
        {
          "url": "statement",
          "valueString": "/*\n@description: Returns any WHO core modifier extensions defined on the given resource with the specified id.\n@comment: NOTE: Extensions are not the preferred approach, but are used as a way to access\ncontent that is defined by extensions but not yet surfaced in the\nCQL model info.\n*/\ndefine function ModifierExtensions(domainResource DomainResource, id String):\n  domainResource.modifierExtension E\n\t  where E.url = ('http://fhir.org/guides/who/core/StructureDefinition/' + id)\n\t\treturn E"
        },
        {
          "url": "displaySequence",
          "valueInteger": 6
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension": [
        {
          "url": "libraryName",
          "valueString": "FHIRHelpers"
        },
        {
          "url": "name",
          "valueString": "ToString"
        },
        {
          "url": "statement",
          "valueString": "define function ToString(value uri): value.value"
        },
        {
          "url": "displaySequence",
          "valueInteger": 7
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension": [
        {
          "url": "libraryName",
          "valueString": "FHIRHelpers"
        },
        {
          "url": "name",
          "valueString": "ToString"
        },
        {
          "url": "statement",
          "valueString": "define function ToString(value string): value.value"
        },
        {
          "url": "displaySequence",
          "valueInteger": 8
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "id": "effective-data-requirements",
      "url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
      "valueCanonical": "#effective-data-requirements"
    },
    {
      "url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem",
      "valueReference": {
        "reference": "Device/cqf-tooling"
      }
    }
  ],
  "url": "http://smart.who.int/anc/PlanDefinition/ANCDT33",
  "identifier": [
    {
      "use": "official",
      "value": "ANC.DT.33"
    }
  ],
  "version": "0.3.0",
  "name": "ANCDT33",
  "title": "ANC.DT.33 Breastfeeding counselling",
  "type": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/plan-definition-type",
        "code": "eca-rule"
      }
    ]
  },
  "status": "active",
  "experimental": false,
  "date": "2025-06-24T13:58:48-06:00",
  "publisher": "World Health Organization (WHO)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "https://www.who.int"
        }
      ]
    }
  ],
  "description": "General counselling to be provided/reviewed at every contact",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "task",
        "display": "Workflow Task"
      },
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://smart.who.int/anc/CodeSystem/activity-codes",
            "code": "ANC.B10.",
            "display": "Counselling, in-facility management & treatment"
          }
        ]
      }
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "library": [
    "http://smart.who.int/anc/Library/ANCDT33"
  ],
  "action": [
    {
      "title": "ANC.DT.33 Breastfeeding counselling",
      "trigger": [
        {
          "type": "named-event",
          "name": "ANC.B10. Counselling, in-facility management & treatment"
        }
      ],
      "action": [
        {
          "id": "1",
          "title": "Provide counselling on breastfeeding",
          "description": "Provide counselling on breastfeeding",
          "textEquivalent": "To enable mothers to establish and sustain exclusive breastfeeding for 6 months, WHO and UNICEF recommend:\n\n– Initiation of breastfeeding within the first hour of life\n– Exclusive breastfeeding – that is, the infant receives only breast milk without any additional food or drink, not even water\n– Breastfeeding on demand – that is, as often as the child wants food, day and night\n– No use of bottles, teats or pacifiers",
          "documentation": [
            {
              "type": "citation",
              "label": "Managing complications guide (IMPAC) (2017): Sections S-11, S-15 (5)"
            }
          ],
          "condition": [
            {
              "kind": "applicability",
              "expression": {
                "description": "\"Pregnancy confirmed\" = \"TRUE\"",
                "language": "text/cql-identifier",
                "expression": "Should Provide counselling on breastfeeding"
              }
            }
          ]
        }
      ]
    }
  ]
}