| 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-11-25 20:07:03+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"
@code: The client is currently pregnant-52
@decision: IMMZ.D5.DT.Rubella 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"
@code: The client is planning to get pregnant in next month-76
@decision: IMMZ.D5.DT.Rubella 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"
@code: The client is receiving blood products-58
@decision: IMMZ.D5.DT.Rubella 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"
@code: The client has history of severe allergic reactions-59
@decision: IMMZ.D5.DT.Rubella 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"
@code: The client has symptomatic HIV infection-59
@decision: IMMZ.D5.DT.Rubella 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"
@code: The client has TB disease-44
@decision: IMMZ.D5.DT.Rubella contraindications
*/
define "The client has TB disease":
Encounter."The client has TB disease"
/*
@input: The client has immunodeficiency syndromes
@pseudocode: "Potential contraindications" = "Immunodeficiency syndromes"
@code: The client has immunodeficiency syndromes-60
@decision: IMMZ.D5.DT.Rubella 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"
@code: The client is exposed to immunosuppressive treatment-72
@decision: IMMZ.D5.DT.Rubella contraindications
*/
define "The client is exposed to immunosuppressive treatment":
Encounter."The client is exposed to immunosuppressive treatment"
|
|
| Content: application/elm+xml |
Encoded data (28668 characters)
|
|