Title: |
IMMZD5DTRubellaEncounterElements |
Id: |
IMMZD5DTRubellaEncounterElements |
Version: |
0.2.0 |
Url: |
IMMZD5DTRubellaEncounterElements |
Status: |
draft |
Type: |
system: http://terminology.hl7.org/CodeSystem/library-type
code: logic-library
|
Date: |
2025-08-08 19:12:11+0000 |
Publisher: |
WHO |
Description: |
This library defines encounter-based elements for Rubella 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 Rubella dose | MedicationRequest | 0 | * | Out |
The client is currently pregnant | boolean | 0 | 1 | Out |
The client is planning to get pregnant in next month | boolean | 0 | 1 | Out |
The client is receiving blood products | boolean | 0 | 1 | Out |
The client has history of severe allergic reactions | boolean | 0 | 1 | Out |
The client has symptomatic HIV infection | boolean | 0 | 1 | Out |
The client has TB disease | boolean | 0 | 1 | Out |
The client has immunodeficiency syndromes | boolean | 0 | 1 | Out |
The client is exposed to immunosuppressive treatment | boolean | 0 | 1 | Out |
|
Content: text/cql |
/*
* Library: IMMZD5DTRubellaEncounterElements
*/
library IMMZD5DTRubellaEncounterElements
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 IMMZD5DTRubellaElements called RubellaElements
parameter Today Date default Today()
parameter EncounterId String
context Patient
/*
@internal: Draft Medication Request for Rubella dose
*/
define "Draft Medication Request for Rubella dose":
Encounter."Draft Medication Request for Patient" MR
where MR.medication in Concepts."Rubella-containing vaccines"
/*
@input: The client is currently pregnant
@pseudocode: "Potential contraindications" = "Currently pregnant"
@decision: Potential contraindications
*/
define "The client is currently pregnant":
Encounter."The client is pregnant"
/*
@input: The client is planning to get pregnant in next month
@pseudocode: "Potential contraindications" = "Planning to get pregnant in the next month"
@decision: Potential contraindications
*/
define "The client is planning to get pregnant in next month":
Encounter."The client is planning to get pregnant in next month"
/*
@input: The client is receiving blood products
@pseudocode: "Potential contraindications" = "Receiving blood products"
@decision: Potential contraindications
*/
define "The client is receiving blood products":
Encounter."The client is receiving blood products"
/*
@input: The client has history of severe allergic reactions
@pseudocode: "Potential contraindications" = "Severe allergic reactions"
@decision: Potential contraindications
*/
define "The client has history of severe allergic reactions":
Encounter."The client has history of severe allergic reactions"
/*
@input: The client has symptomatic HIV infection
@pseudocode: "Potential contraindications" = "Symptomatic HIV infection"
@decision: Potential contraindications
*/
define "The client has symptomatic HIV infection":
Encounter."The client has a symptomatic HIV infection"
/*
@input: The client has TB disease
@pseudocode: "Potential contraindications" = "TB disease"
@decision: Potential contraindications
*/
define "The client has TB disease":
Encounter."The client has TB disease"
/*
@input: The client has immunodeficiency syndromes
@pseudocode: "Potential contraindications" = "Immunodeficiency syndromes"
@decision: Potential contraindications
*/
define "The client has immunodeficiency syndromes":
Encounter."The client has immunodeficiency syndromes"
/*
@input: The client is exposed to immunosuppressive treatment
@pseudocode: "Potential contraindications" = "Exposed to immunosuppressive treatment"
@decision: Potential contraindications
*/
define "The client is exposed to immunosuppressive treatment":
Encounter."The client is exposed to immunosuppressive treatment"
|
|
Content: application/elm+xml |
Encoded data (27012 characters)
|
|