ExamplePatientAndCoverageInitialExpressions
type: Library
node role: treeRoot
id:
  v: ExamplePatientAndCoverageInitialExpressions
text:
  status:
    v: extensions
  div:
    v: Metadata Title Expression Library for the Example Patient And Coverage Questionnaire Version 2.0.0-ballot Status Draft Experimental true Jurisdiction United States of America Steward (Publisher) HL7 International / Clinical Decision Support Description This library defines initial expressions for use in populating answers to questions in the Example Patient And Coverage questionnaire. Type logic-library from http://terminology.hl7.org/CodeSystem/library-type Dependency Description: Library FHIRHelpers Resource: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1 Canonical URL: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1 Dependency Description: Library UC Resource: US Core Commonversion: null2.0.0-ballot) Canonical URL: http://hl7.org/fhir/us/cql/Library/USCoreCommon|2.0.0-ballot Dependency Description: Library UCE Resource: US Core Elementsversion: null2.0.0-ballot) Canonical URL: http://hl7.org/fhir/us/cql/Library/USCoreElements|2.0.0-ballot Dependency Description: Code System Identifier Type Resource: identifierType Canonical URL: http://terminology.hl7.org/CodeSystem/v2-0203 Data Requirement Type: ServiceRequest Profile(s): ServiceRequest Data Requirement Type: Coverage Profile(s): Coverage Parameters Name Use Card. Type Documentation Coverage In 0..1 Coverage ServiceRequest In 0..1 ServiceRequest Patient Out 0..1 Resource Retrieve Service Request test parameter Out 0..1 ServiceRequest Service Request Out 0..1 ServiceRequest Retrieve Coverage test parameter Out 0..1 Coverage Member Coverage Out 0..1 Coverage Patient Name Out 0..1 HumanName Date of Birth Out 0..1 date Birth Sex Out 0..1 code Medical Record Number Out 0..1 string Phone Number Out 0..1 string Email Address Out 0..1 string Address Out 0..1 Address City Out 0..1 string State Out 0..1 string Postal Code Out 0..1 string Member ID Out 0..1 string Policy Number Out 0..1 string Requesting Provider Out 0..* Resource Requesting Provider Name Out 0..* string Requesting Provider Phone Out 0..1 string…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 3
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: cds
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: informative
url:
  v: http://hl7.org/fhir/us/cql/Library/ExamplePatientAndCoverageInitialExpressions
  l: ExamplePatientAndCoverageInitialExpressions
version:
  v: 2.0.0-ballot
name:
  v: ExamplePatientAndCoverageInitialExpressions
title:
  v: Expression Library for the Example Patient And Coverage Questionnaire
status:
  v: draft
experimental:
  v: true
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2026-04-03T00:32:37+11:00
publisher:
  v: HL7 International / Clinical Decision Support
contact:
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/dss
description:
  v: This library defines initial expressions for use in populating answers to questions in the Example Patient And Coverage questionnaire.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: US
    display:
      v: United States of America
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
    l: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Library UC
  resource:
    v: http://hl7.org/fhir/us/cql/Library/USCoreCommon|2.0.0-ballot
    l: http://hl7.org/fhir/us/cql/Library/USCoreCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library UCE
  resource:
    v: http://hl7.org/fhir/us/cql/Library/USCoreElements|2.0.0-ballot
    l: http://hl7.org/fhir/us/cql/Library/USCoreElements
related artifact:
  type:
    v: depends-on
  display:
    v: Code System Identifier Type
  resource:
    v: http://terminology.hl7.org/CodeSystem/v2-0203
    l: v2-0203
parameter:
  name:
    v: Coverage
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: Coverage
parameter:
  name:
    v: ServiceRequest
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: ServiceRequest
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Resource
parameter:
  name:
    v: Retrieve Service Request test parameter
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: ServiceRequest
parameter:
  name:
    v: Service Request
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: ServiceRequest
parameter:
  name:
    v: Retrieve Coverage test parameter
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Coverage
parameter:
  name:
    v: Member Coverage
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Coverage
parameter:
  name:
    v: Patient Name
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: HumanName
parameter:
  name:
    v: Date of Birth
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: Birth Sex

v: out

v: 0

v: 1

v: code

name:
  v: Medical Record Number
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Phone Number
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Email Address
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Address
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Address

name:
  v: City
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: State
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Postal Code
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Member ID
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Policy Number
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Requesting Provider
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Requesting Provider Name
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: string

name:
  v: Requesting Provider Phone
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Requesting Provider Address
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: string

name:
  v: Requesting Provider NPI
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: string

name:
  v: Requesting Provider Fax
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Servicing Provider
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Servicing Provider Name
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: HumanName

name:
  v: Servicing Provider Phone
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Servicing Provider Address
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Servicing Provider NPI
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: string

name:
  v: Servicing Provider Fax
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

type:
  v: ServiceRequest
profile:
  v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
  l: ServiceRequest

type:
  v: Coverage
profile:
  v: http://hl7.org/fhir/StructureDefinition/Coverage
  l: Coverage

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json