| Title: |
IMMZD5DTMeaslesEncounterElements |
| Id: |
IMMZD5DTMeaslesEncounterElements |
| Version: |
0.2.0 |
| Url: |
IMMZD5DTMeaslesEncounterElements |
| Status: |
draft |
| Type: |
system: http://terminology.hl7.org/CodeSystem/library-type
code: logic-library
|
| Date: |
2025-11-07 22:20:12+0000 |
| Publisher: |
WHO |
| Description: |
This library defines encounter-based elements for Measles 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 MCV dose | MedicationRequest | 0 | * | Out |
| The client is pregnant | boolean | 0 | 1 | Out |
| The client has history of anaphylactic reactions | boolean | 0 | 1 | Out |
| The client has history of severe allergic reactions | boolean | 0 | 1 | Out |
| The client is severely immunosuppressed | boolean | 0 | 1 | Out |
| The client has a symptomatic HIV infection | boolean | 0 | 1 | Out |
|
| Content: text/cql |
/*
* Library: IMMZD5DTMeaslesEncounterElements
*/
library IMMZD5DTMeaslesEncounterElements
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 IMMZD5DTMeaslesElements called MeaslesElements
parameter Today Date default Today()
parameter EncounterId String
context Patient
/*
@internal: Draft Medication Request for MCV dose
*/
define "Draft Medication Request for MCV dose":
Encounter."Draft Medication Request for Patient" MR
where MR.medication in Concepts."Measles-containing vaccines"
/*
@input: The client is pregnant
@pseudocode: "Potential contraindications" = "Currently pregnant"
*/
define "The client is pregnant":
Encounter."The client is pregnant"
/*
@input: The client has history of anaphylactic reactions
@pseudocode: "Potential contraindications" = "History of anaphylactic reactions"
*/
define "The client has history of anaphylactic reactions":
Encounter."The client has history of anaphylactic reactions"
/*
@input: The client has history of severe allergic reactions
@pseudocode: "Potential contraindications" = "Severe allergic reactions"
*/
define "The client has history of severe allergic reactions":
Encounter."The client has history of severe allergic reactions"
/*
@input: The client is severely immunosuppressed
@pseudocode: "Potential contraindications" = "Severely immunosuppressed"
*/
define "The client is severely immunosuppressed":
Encounter."The client is severely immunosuppressed"
/*
@input: The client has a symptomatic HIV infection
@pseudocode: "Potential contraindications" = "Symptomatic HIV infection"
*/
define "The client has a symptomatic HIV infection":
Encounter."The client has a symptomatic HIV infection"
|
|
| Content: application/elm+xml |
Encoded data (21016 characters)
|
|