Your User Friendly Name for MyContentIG Here
0.5.1-cibuild - CI Build International flag

Your User Friendly Name for MyContentIG Here, published by HL7 International - [Some] Work Group. This guide is not an authorized publication; it is the continuous build for version 0.5.1-cibuild built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/sample-content-ig/ and changes regularly. See the Directory of published versions

Library: FirstExample

Official URL: http://somewhere.org/fhir/uv/mycontentig/Library/FirstExample Version: 0.5.1-cibuild
Draft as of 2025-09-07 Computable Name: FirstExample
Metadata
Version 0.5.1-cibuild
Status Draft
Jurisdiction 001 from http://unstats.un.org/unsd/methods/m49/m49.htm
Steward (Publisher) HL7 International - [Some] Work Group
Type logic-library from http://terminology.hl7.org/CodeSystem/library-type
Parameter Name: Patient
Use: Out
Min Cardinality: 0
Max Cardinality: 1
Type: Patient
Parameter Name: PatientExample
Use: Out
Min Cardinality: 0
Max Cardinality: 1
Type: Patient
Data Requirement Type: Patient
Profile(s): Patient
Must Support Elements: gender, active, birthDate, deceased, maritalStatus
Library Content
CQL Content
library FirstExample version '0.5.0-cibuild'

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

valueset "Marital Status": 'http://hl7.org/fhir/ValueSet/marital-status'

context Patient

define PatientExample:
  Patient P
    where P.gender = 'male'
      and P.active is true
      and P.birthDate 30 years or more before Today()
      and not(P.deceased)
      and P.maritalStatus in "Marital Status"
ELM XML Content
Encoded data (16160 characters)
ELM JSON Content
Encoded data (30632 characters)
Generated using version 0.5.1-cibuild of the sample-content-ig Liquid templates