| Title: |
IMMZD5DTMumpsEncounterElements |
| Id: |
IMMZD5DTMumpsEncounterElements |
| Version: |
0.2.0 |
| Url: |
IMMZD5DTMumpsEncounterElements |
| Status: |
draft |
| Type: |
system: http://terminology.hl7.org/CodeSystem/library-type
code: logic-library
|
| Date: |
2025-11-25 20:07:03+0000 |
| Publisher: |
WHO |
| Description: |
This library defines encounter-based elements for Mumps used throughout the Immunization CPG
|
| Related Artifacts: |
Dependencies
|
| Parameters: |
| Name | Type | Min | Max | In/Out |
| Today | date | 0 | 1 | In |
| EncounterId | string | 0 | 1 | In |
| Patient | Patient | 0 | 1 | Out |
| Draft Medication Request for Mumps dose | MedicationRequest | 0 | * | Out |
| The client is currently pregnant | boolean | 0 | 1 | Out |
| The client has allergy to vaccine components | boolean | 0 | 1 | Out |
| The client has immune deficiency | boolean | 0 | 1 | Out |
| The client is severely immunosuppressed | boolean | 0 | 1 | Out |
|
| Content: text/cql |
/*
* Library: IMMZD5DTMumpsEncounterElements
*/
library IMMZD5DTMumpsEncounterElements
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include WHOConcepts
include WHOCommon called WC
include WHOElements called WE
include IMMZCommon called Common
include IMMZConcepts called Concepts
include IMMZEncounterElements called Encounter
include IMMZD5DTMumpsElements called MumpsElements
parameter Today Date default Today()
parameter EncounterId String
context Patient
/*
@internal: Draft Medication Request for Mumps dose
*/
define "Draft Medication Request for Mumps dose":
Encounter."Draft Medication Request for Patient" MR
where MR.medication in Concepts."Mumps-containing vaccines"
/*
@input: The client is currently pregnant
@pseudocode: "Potential contraindications" = "Currently pregnant"
@code: The client is currently pregnant-52
@decision: IMMZ.D5.DT.Mumps contraindications
*/
define "The client is currently pregnant":
Encounter."The client is pregnant"
/*
@input: The client has allergy to vaccine components
@pseudocode: '"Potential contraindications" = "Severe allergic reactions"
@code: The client has allergy to vaccine components-60
@decision: IMMZ.D5.DT.Mumps contraindications
*/
define "The client has allergy to vaccine components":
Encounter."The client has history of severe allergic reactions"
/*
@input: The client has immune deficiency
@pseudocode: "Potential contraindications" = "Immunodeficiency syndromes"
@code: The client has immune deficiency-60
@decision: IMMZ.D5.DT.Mumps contraindications
*/
define "The client has immune deficiency":
Encounter."The client has immunodeficiency syndromes"
/*
@input: The client is severely immunosuppressed
@pseudocode: "Potential contraindications" = "Severely immunosuppressed"
@code: The client is severely immunosuppressed-59
@decision: IMMZ.D5.DT.Mumps contraindications
*/
define "The client is severely immunosuppressed":
Encounter."The client is severely immunosuppressed"
|
|
| Content: application/elm+xml |
Encoded data (20644 characters)
|
|