PCMaternal
type: Library
node role: treeRoot
id:
  v: PCMaternal
meta:
  profile:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-library-cqfm
    l: computable-library-cqfm
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Id: 64b84d66774bb523d9a14578 Url: http://ecqi.healthit.gov/ecqms/Library/PCMaternal Version: 5.10.000 Identifier: value: 64b84d66774bb523d9a14578 Name: PCMaternal Title: PCMaternal Status: active Experimental: false Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2023-08-21T20:21:27+00:00 Publisher: The Joint Commission Description: This library specifies common data elements used by PC01, PC02, PC07. Related Artifacts: Dependencies Data Requirements: Type Profile MS Code Filter Procedure code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.59 Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307 Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143 Encounter code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369 Observation code filter: path: code system: http://loinc.org code: 11778-8 display: Delivery date Estimated Observation code filter: path: code value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.26 Observation code filter: path: code system: http://loinc.org code: 93857-1 display: Date and time of obstetric delivery Content: text/cql library PCMaternal version '5.10.000' /*@update: @@Created from QDM v2.1 to FHIR, then updated 041922 after annual update to QDM v2.21.000 @@*/ using QICore version '4.1.1' include FHIRHelpers version '4.3.000' called FHIRHelpers include CQMCommon version '1.4.000' called Global include QICoreCommon version '1.5.000' called QICoreCommon codesystem "LOINC": 'http://loinc.org' valueset "Delivery Procedures": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.59' valueset "ED Visit and OB Triage": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369' valueset "Encounter Inpatient": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.…
extension:
  url:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
    l: cqfm-softwaresystem
  value: Reference
    l: cqf-tooling
    reference:
      v: Device/cqf-tooling
url:
  v: http://ecqi.healthit.gov/ecqms/Library/PCMaternal
  l: PCMaternal
identifier:
  use:
    v: official
  system:
    v: https://madie.cms.gov/login
    l: login
  value:
    v: 64b84d66774bb523d9a14578
version:
  v: 5.10.000
name:
  v: PCMaternal
title:
  v: PCMaternal
status:
  v: active
experimental:
  v: false
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2023-08-21T20:21:27+00:00
publisher:
  v: The Joint Commission
description:
  v: This library specifies common data elements used by PC01, PC02, PC07.
related artifact:
  id:
    v: 93857-1
  display:
    v: Date and time of obstetric delivery
  url:
    v: http://loinc.org
    l: loinc.org
  document:
    url:
      v: http://loinc.org
      l: loinc.org
related artifact:
  id:
    v: 11778-8
  display:
    v: Delivery date Estimated
  url:
    v: http://loinc.org
    l: loinc.org
  document:
    url:
      v: http://loinc.org
      l: loinc.org
related artifact:
  type:
    v: depends-on
  display:
    v: QICore model information
  resource:
    v: http://hl7.org/fhir/Library/QICore-ModelInfo
    l: QICore-ModelInfo
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers|4.3.000
    l: http://ecqi.healthit.gov/ecqms/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Library Global
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/CQMCommon|1.4.000
    l: http://ecqi.healthit.gov/ecqms/Library/CQMCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library QICoreCommon
  resource:
    v: http://ecqi.healthit.gov/ecqms/Library/QICoreCommon|1.5.000
    l: http://ecqi.healthit.gov/ecqms/Library/QICoreCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Code system LOINC
  resource:
    v: http://loinc.org
    l: loinc.org
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Delivery Procedures
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.59
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.59
related artifact:
  type:
    v: depends-on
  display:
    v: Value set ED Visit and OB Triage
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Encounter Inpatient
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Estimated Gestational Age at Delivery
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.26
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.26
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Observation Services
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143
parameter:
  name:
    v: Measurement Period
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: Period
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Resource
parameter:
  name:
    v: Encounter with Age Range
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Resource
parameter:
  name:
    v: Delivery Encounter with Age Range
  use:
    v: out
  min:
    v: 0

v: *

v: Resource

name:
  v: Variable Calculated Gestational Age
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

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

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
must support:
  v: status.value
must support:
  v: id
must support:
  v: id.value
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143
code filter:
  path:
    v: status.value
  code:
    code:
      v: finished

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
must support:
  v: status.value
must support:
  v: id
must support:
  v: id.value
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1029.369
code filter:
  path:
    v: status.value
  code:
    code:
      v: finished
date filter:
  path:
    v: period
  value: Period
    extension:
      url:
        v: http://hl7.org/fhir/uv/crmi-analysisException
        l: crmi-analysisException
      value: String
        v: Error attempting to determine filter value: toFhirValue not implemented for Subtract

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter
  l: qicore-encounter
must support:
  v: type
must support:
  v: status
must support:
  v: status.value
must support:
  v: period
must support:
  v: id
must support:
  v: id.value
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307
code filter:
  path:
    v: status.value
  code:
    code:
      v: finished
date filter:
  path:
    v: period
  value: Period
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-expression
        l: cqf-expression
      value: Expression

v: text/cql-identifier

v: Measurement Period

type:
  v: Procedure
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure
  l: qicore-procedure
must support:
  v: code
must support:
  v: status
must support:
  v: status.value
must support:
  v: performed
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.59
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.59
code filter:
  path:
    v: status.value
  code:
    code:
      v: completed

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation
  l: qicore-observation
must support:
  v: code
must support:
  v: value
must support:
  v: status
must support:
  v: status.value
must support:
  v: effective
code filter:
  path:
    v: code
  code: https://loinc.org/rdf/93857-1
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 93857-1
    display:
      v: Date and time of obstetric delivery

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation
  l: qicore-observation
must support:
  v: code
must support:
  v: value
must support:
  v: status
must support:
  v: status.value
must support:
  v: effective
code filter:
  path:
    v: code
  code: https://loinc.org/rdf/11778-8
    system:
      v: http://loinc.org
      l: loinc.org
    code:
      v: 11778-8
    display:
      v: Delivery date Estimated

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation
  l: qicore-observation
must support:
  v: code
must support:
  v: value
must support:
  v: status
must support:
  v: status.value
must support:
  v: effective
code filter:
  path:
    v: code
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.26
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1045.26

content type:
  v: text/cql

content type:
  v: application/elm+xml