USCoreTests
type: Library
node role: treeRoot
id:
  v: USCoreTests
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Metadata Title US Core Tests Version 2.0.0-cibuild Experimental true Jurisdiction United States of America Topic FHIR Topic CQL Topic Unit Tests Steward (Publisher) HL7 International / Clinical Decision Support Description This is a testing library used to validate capability of the CQL-to-ELM translator using the US Core model info. 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: Code System Marital Status Codes Resource: MaritalStatus Canonical URL: http://terminology.hl7.org/CodeSystem/v3-MaritalStatus Dependency Description: Code System CDC Race and Ethnicity Codes Resource: CDC Race and Ethnicity Canonical URL: urn:oid:2.16.840.1.113883.6.238 Dependency Description: Value Set Marital Status Resource: MaritalStatus Canonical URL: http://hl7.org/fhir/ValueSet/marital-status Data Requirement Type: AllergyIntolerance Profile(s): US Core AllergyIntolerance Profile Data Requirement Type: Observation Profile(s): US Core BMI Profile Data Requirement Type: Observation Profile(s): US Core Blood Pressure Profile Data Requirement Type: Observation Profile(s): US Core Body Height Profile Data Requirement Type: Observation Profile(s): US Core Body Temperature Profile Data Requirement Type: Observation Profile(s): US Core Body Weight Profile Data Requirement Type: CarePlan Profile(s): US Core CarePlan Profile Data Requirement Type: CareTeam Profile(s): US Core CareTeam Profile Data Requirement Type: Condition Profile(s): US Core Condition Encounter Diagnosis Profile Data Requirement Type: Condition Profile(s): US Core Condition Problems and Health Concerns Profile Data Requirement Type: Coverage Profile(s): US Core Coverage Profile Data Requirement Type: DiagnosticReport Profile(s): US Core DiagnosticReport Profile for Laboratory Results Reporting Data R…
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/USCoreTests
  l: USCoreTests
version:
  v: 2.0.0-cibuild
name:
  v: USCoreTests
title:
  v: US Core Tests
status:
  v: active
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-03T16:14:32+00: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 is a testing library used to validate capability of the CQL-to-ELM translator using the US Core model info.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: US
    display:
      v: United States of America
topic:
  text:
    v: FHIR
topic:
  text:
    v: CQL
topic:
  text:
    v: Unit Tests
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: Code System Marital Status Codes
  resource:
    v: http://terminology.hl7.org/CodeSystem/v3-MaritalStatus
    l: v3-MaritalStatus
related artifact:
  type:
    v: depends-on
  display:
    v: Code System CDC Race and Ethnicity Codes
  resource:
    v: urn:oid:2.16.840.1.113883.6.238
    l: 2.16.840.1.113883.6.238
related artifact:
  type:
    v: depends-on
  display:
    v: Value Set Marital Status
  resource:
    v: http://hl7.org/fhir/ValueSet/marital-status
    l: marital-status
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Test AllergyIntolerance Profile
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Resource
parameter:
  name:
    v: Test BMI Profile
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Resource
parameter:
  name:
    v: Test Blood Pressure Profile
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Resource
parameter:
  name:
    v: Test Body Height Profile
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Resource
parameter:
  name:
    v: Test Body Temperature Profile
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Resource
parameter:
  name:
    v: Test Body Weight Profile
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Resource
parameter:
  name:
    v: Test CarePlan Profile
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Resource
parameter:
  name:
    v: Test CareTeam Profile

v: out

v: 0

v: *

v: Resource

name:
  v: Test Condition Encounter Diagnosis Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Condition Problems and Health Concerns Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Coverage Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test DiagnosticReport Profile for Laboratory Results Reporting
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test DiagnosticReport Profile for Report and Note Exchange
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test DocumentReference Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Encounter Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Goal Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Head Circumference Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Heart Rate Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Immunization Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Implantable Device Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Laboratory Result Observation Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Location Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Medication Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test MedicationDispense Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test MedicationRequest Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Observation Clinical Result Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Observation Occupation Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Observation Pregnancy Intent Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Observation Pregnancy Status Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Observation Screening Assessment Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Observation Sexual Orientation Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Organization Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Patient Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Pediatric BMI for Age Observation Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Pediatric Head Occipital Frontal Circumference Percentile Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Pediatric Weight for Height Observation Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Practitioner Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test PractitionerRole Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Procedure Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Provenance Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Pulse Oximetry Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test QuestionnaireResponse Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test RelatedPerson Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Respiratory Rate Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test ServiceRequest Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Simple Observation Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Smoking Status Observation Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Specimen Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Test Vital Signs Profile
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: TestPrimitives
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Patient

name:
  v: TestChoice
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Patient

type:
  v: AllergyIntolerance
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance
  l: us-core-allergyintolerance

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi
  l: us-core-bmi

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure
  l: us-core-blood-pressure

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height
  l: us-core-body-height

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature
  l: us-core-body-temperature

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight
  l: us-core-body-weight

type:
  v: CarePlan
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan
  l: us-core-careplan

type:
  v: CareTeam
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam
  l: us-core-careteam

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis
  l: us-core-condition-encounter-diagnosis

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns
  l: us-core-condition-problems-health-concerns

type:
  v: Coverage
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage
  l: us-core-coverage

type:
  v: DiagnosticReport
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab
  l: us-core-diagnosticreport-lab

type:
  v: DiagnosticReport
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note
  l: us-core-diagnosticreport-note

type:
  v: DocumentReference
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference
  l: us-core-documentreference

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
  l: us-core-encounter

type:
  v: Goal
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal
  l: us-core-goal

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference
  l: us-core-head-circumference

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate
  l: us-core-heart-rate

type:
  v: Immunization
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization
  l: us-core-immunization

type:
  v: Device
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device
  l: us-core-implantable-device

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
  l: us-core-observation-lab

type:
  v: Location
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-location
  l: us-core-location

type:
  v: Medication
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication
  l: us-core-medication

type:
  v: MedicationDispense
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense
  l: us-core-medicationdispense

type:
  v: MedicationRequest
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest
  l: us-core-medicationrequest

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result
  l: us-core-observation-clinical-result

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation
  l: us-core-observation-occupation

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent
  l: us-core-observation-pregnancyintent

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus
  l: us-core-observation-pregnancystatus

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment
  l: us-core-observation-screening-assessment

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation
  l: us-core-observation-sexual-orientation

type:
  v: Organization
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
  l: us-core-organization

type:
  v: Patient
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
  l: us-core-patient

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age
  l: pediatric-bmi-for-age

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile
  l: head-occipital-frontal-circumference-percentile

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height
  l: pediatric-weight-for-height

type:
  v: Practitioner
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
  l: us-core-practitioner

type:
  v: PractitionerRole
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole
  l: us-core-practitionerrole

type:
  v: Procedure
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
  l: us-core-procedure

type:
  v: Provenance
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance
  l: us-core-provenance

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry
  l: us-core-pulse-oximetry

type:
  v: QuestionnaireResponse
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse
  l: us-core-questionnaireresponse

type:
  v: RelatedPerson
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson
  l: us-core-relatedperson

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate
  l: us-core-respiratory-rate

type:
  v: ServiceRequest
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest
  l: us-core-servicerequest

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation
  l: us-core-simple-observation

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus
  l: us-core-smokingstatus

type:
  v: Specimen
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen
  l: us-core-specimen

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs
  l: us-core-vital-signs

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json