Using CQL with FHIR
2.0.0-ballot - STU2Ballot International flag

Using CQL with FHIR, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cql-ig/ and changes regularly. See the Directory of published versions

CodeSystem: CQL IG Example Code System (Experimental)

Official URL: http://hl7.org/fhir/uv/cql/CodeSystem/example Version: 2.0.0-ballot
Draft as of 2024-12-16 Computable Name: CQLIGExampleCodeSystem
Other Identifiers: OID:2.16.840.1.113883.4.642.40.37.16.1

This code system contains example content used to support examples in the Using CQL IG

This Code system is referenced in the content logical definition of the following value sets:

Generated Narrative: CodeSystem example

This case-sensitive code system http://hl7.org/fhir/uv/cql/CodeSystem/example defines the following codes:

CodeDisplayDefinition
example-code Example Code
ANC.A Registration
ANC.A4 Gather client details
ANC.A7 Create client record?OR?ANC.A8. Validate client details
ANC.B5 Quick check
ANC.B4 Confirm pregnancy
ANC.End End
ANC.A.DE1 Unique identification Unique identification
ANC.A.DE2 First name First name
ANC.A.DE3 Last name Last name
ANC.A.DE4 Contact date Contact date
ANC.A.DE5 Date of birth Date of birth
ANC.A.DE6 Age Age
ANC.A.DE7 Address Address
ANC.A.DE8 Mobile phone number Mobile phone number
ANC.A.DE9 Woman wants to receive reminders during pregnancy Woman wants to receive reminders during pregnancy
ANC.A.DE10 Alternative contact's name Alternative contact's name
ANC.A.DE11 Alternative contact's phone number Alternative contact's phone number
ANC.A.DE12 ANC contact number ANC contact number
ANC.A.DE13 Co-habitants Co-habitants
ANC.A.DE14 Parents Co-habitants - Parents
ANC.A.DE15 Siblings Co-habitants - Siblings
ANC.A.DE16 Extended family Co-habitants - Extended family
ANC.A.DE17 Partner Co-habitants - Partner
ANC.A.DE18 Friend(s) Co-habitants - Friend(s)
ANC.A.DE19 No one Co-habitants - No one
ANC.B4.DE1 Pregnancy confirmed Pregnancy confirmed
ANC.B5.DE1 Reason for coming to facility Reason for coming to facility
ANC.B5.DE2 First antenatal care contact Reason for coming to facility - First antenatal care contact
ANC.B5.DE3 Scheduled antenatal care contact Reason for coming to facility - Scheduled antenatal care contact
ANC.B5.DE4 Specific complaint related to antenatal care Reason for coming to facility - Specific complaint related to antenatal care
ANC.B5.DE5 Specific health concern(s) Specific health concern(s)
ANC.B5.DE6 Abnormal vaginal discharge (physiological) (foul smelling) (curd like) Specific health concern(s) - Abnormal vaginal discharge (physiological) (foul smelling) (curd like)
ANC.B5.DE7 Change in blood pressure - up (hypertension) Specific health concern(s) - Change in blood pressure - up (hypertension)
ANC.B5.DE8 Change in blood pressure - down (hypotension) Specific health concern(s) - Change in blood pressure - down (hypotension)
ANC.B5.DE9 Constipation Specific health concern(s) - Constipation
ANC.B5.DE10 Contractions Specific health concern(s) - Contractions
ANC.B5.DE11 Cough Specific health concern(s) - Cough
ANC.B5.DE12 Diarrhoea Specific health concern(s) - Diarrhoea
ANC.B5.DE13 Dizziness Specific health concern(s) - Dizziness
ANC.B5.DE14 Intimate partner violence Specific health concern(s) - Intimate partner violence
ANC.B5.DE15 Fetal movements - none Specific health concern(s) - Fetal movements - none
ANC.B5.DE16 Fetal movements - reduced/poor Specific health concern(s) - Fetal movements - reduced/poor
ANC.B5.DE17 Fever Specific health concern(s) - Fever
ANC.B5.DE18 Flu symptoms Specific health concern(s) - Flu symptoms
ANC.B5.DE19 Fluid loss (leaking) Specific health concern(s) - Fluid loss (leaking)
ANC.B5.DE20 Headache Specific health concern(s) - Headache
ANC.B5.DE21 Heartburn Specific health concern(s) - Heartburn
ANC.B5.DE22 Injury Specific health concern(s) - Injury
ANC.B5.DE23 Jaundice Specific health concern(s) - Jaundice
ANC.B5.DE24 Leg cramps Specific health concern(s) - Leg cramps
ANC.B5.DE25 Leg redness Specific health concern(s) - Leg redness
ANC.B5.DE26 Mental health - Anxiety Specific health concern(s) - Mental health - Anxiety
ANC.B5.DE27 Mental health - Depression Specific health concern(s) - Mental health - Depression
ANC.B5.DE28 Mental health - Other psychological symptoms Specific health concern(s) - Mental health - Other psychological symptoms
ANC.B5.DE29 Nausea Specific health concern(s) - Nausea
ANC.B5.DE30 Oedema Specific health concern(s) - Oedema
ANC.B5.DE31 Pain - Abdominal Specific health concern(s) - Pain - Abdominal
ANC.B5.DE32 Pain - During urination (dysuria) Specific health concern(s) - Pain - During urination (dysuria)
ANC.B5.DE33 Pain - Leg Specific health concern(s) - Pain - Leg
ANC.B5.DE34 Pain - Low back Specific health concern(s) - Pain - Low back
ANC.B5.DE35 Pain - Pelvic Specific health concern(s) - Pain - Pelvic
ANC.B5.DE36 Pain - Extreme pelvic pain/cannot walk (symphysis pubis dysfunction) Specific health concern(s) - Pain - Extreme pelvic pain/cannot walk (symphysis pubis dysfunction)
ANC.B5.DE37 Pain - Other Specific health concern(s) - Pain - Other
ANC.B5.DE38 Pruritus Specific health concern(s) - Pruritus
ANC.B5.DE39 Shortness of breath Specific health concern(s) - Shortness of breath
ANC.B5.DE40 Tiredness Specific health concern(s) - Tiredness
ANC.B5.DE41 Vaginal bleeding Specific health concern(s) - Vaginal bleeding
ANC.B5.DE42 Visual disturbance Specific health concern(s) - Visual disturbance
ANC.B5.DE43 Vomiting Specific health concern(s) - Vomiting
ANC.B5.DE44 Other bleeding Specific health concern(s) - Other bleeding
ANC.B5.DE45 Other skin disorder Specific health concern(s) - Other skin disorder
ANC.B5.DE46 Other types of violence Specific health concern(s) - Other types of violence
ANC.B5.DE47 Other complaint (specify) Specific health concern(s) - Other complaint (specify)
ANC.B5.DE48 Danger signs Danger signs
ANC.B5.DE49 No danger signs Danger signs - No danger signs
ANC.B5.DE50 Bleeding vaginally Danger signs - Bleeding vaginally
ANC.B5.DE51 Central cyanosis Danger signs - Central cyanosis
ANC.B5.DE52 Convulsing Danger signs - Convulsing
ANC.B5.DE53 Fever Danger signs - Fever
ANC.B5.DE54 Imminent delivery Danger signs - Imminent delivery
ANC.B5.DE55 Labour Danger signs - Labour
ANC.B5.DE56 Looks very ill Danger signs - Looks very ill
ANC.B5.DE57 Severe headache Danger signs - Severe headache
ANC.B5.DE58 Severe pain Danger signs - Severe pain
ANC.B5.DE59 Severe vomiting Danger signs - Severe vomiting
ANC.B5.DE60 Severe abdominal pain Danger signs - Severe abdominal pain
ANC.B5.DE61 Unconscious Danger signs - Unconscious
ANC.B5.DE62 Visual disturbance Danger signs - Visual disturbance
ANC.End.1 Reason for closing ANC record Reason for closing ANC record
ANC.End.2 Live birth Reason for closing ANC record - Live birth
ANC.End.3 Stillbirth Reason for closing ANC record - Stillbirth
ANC.End.4 Miscarriage Reason for closing ANC record - Miscarriage
ANC.End.5 Abortion Reason for closing ANC record - Abortion
ANC.End.6 Death Reason for closing ANC record - Death
ANC.End.7 Lost to follow-up Reason for closing ANC record - Lost to follow-up
ANC.End.8 Moved away Reason for closing ANC record - Moved away
ANC.End.9 False pregnancy Reason for closing ANC record - False pregnancy
ANC.End.10 Wrong entry Reason for closing ANC record - Wrong entry
ANC.End.11 Other (specify) Reason for closing ANC record - Other (specify)
ANC.End.12 Delivery date Delivery date
ANC.End.13 Place of delivery Place of delivery
ANC.End.14 Health-care facility Place of delivery - Health-care facility
ANC.End.15 Home Place of delivery - Home
ANC.End.16 Other (specify) Place of delivery - Other (specify)
ANC.End.17 Preterm Birth Preterm Birth
ANC.End.18 Delivery mode Delivery mode
ANC.End.19 Normal Delivery mode - Normal
ANC.End.20 Forceps Delivery mode - Forceps
ANC.End.21 Vacuum Delivery mode - Vacuum
ANC.End.22 C-section Delivery mode - C-section
ANC.End.23 Birth weight Birth weight