Your User Friendly Name for MyContentIG Here
0.5.3 - CI Build

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.3 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.3
Draft as of 2025-12-10 | Computable Name: FirstExample

Metadata
Version | 0.5.3
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
Dependency | Description: Library FHIRHelpers Resource: `http://somewhere.org/fhir/uv/mycontentig/Library/FHIRHelpers|4.0.1` Canonical URL: `http://somewhere.org/fhir/uv/mycontentig/Library/FHIRHelpers|4.0.1`
Dependency | Description: Value set Marital Status Resource: MaritalStatus Canonical URL: `http://hl7.org/fhir/ValueSet/marital-status`
Data Requirement | Type: Patient Profile(s): Patient Must Support Elements: gender, active, birthDate, deceased, maritalStatus
Parameters
Name | Use | Card. | Type | Documentation
Patient | Out | 0..1 | Patient |
PatientExample | Out | 0..1 | Patient |
Library Content
CQL Content |
    library FirstExample version '0.5.3-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
ELM JSON Content |
    Encoded data
Generated using version 0.5.3 of the sample-content-ig Liquid templates