Quality Measure Implementation Guide
1.0.0 - STU 1

Quality Measure Implementation Guide - Downloaded Version null See the Directory of published versions

## : Example Logic Library - Module Definition - XML Representation

Page standards status: Informative

Raw xml | Download

    <Library xmlns="http://hl7.org/fhir">
      <id value="EXMLogic-ModuleDefinition"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-moduledefinitionlibrary"/>
      </meta>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
      <table class="narrative-table">
        <tbody>
    <tr>

    <th colspan="2" scope="row" class="row-header">Metadata</th>

    </tr>

    <tr>

    <th scope="row" class="row-header">Title</th>

    <td class="content-container">Example Logic Library - Module Definition</td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Version</th>

    <td class="content-container">2.0.0</td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Identifier</th>

    <td class="content-container">EXMLogic-ModuleDefinition</td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Identifier</th>

    <td class="content-container">urn:oid:2.16.840.1.113883.4.642.40.61.28.18</td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Experimental</th>

    <td class="content-container">true</td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Jurisdiction</th>

    <td class="content-container"><span title="Codes:{http://unstats.un.org/unsd/methods/m49/m49.htm 001}">Global (Whole world)</span></td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Steward (Publisher)</th>

    <td class="content-container">HL7 International / Clinical Quality Information</td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Description</th>

    <td class="content-container"><div><p>This library is used as an example module definition in the FHIR Quality Measure Implementation Guide</p>
    </div></td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Type</th>

    <td class="content-container"><span title="Codes:{http://terminology.hl7.org/CodeSystem/library-type module-definition}">Module Definition</span></td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: Measurement Period

        <br/>

        <em>Use</em>: In

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: 1

        <br/>

        <em>Type</em>: Period

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: Patient

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: 1

        <br/>

        <em>Type</em>: Patient

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: Inpatient Encounter

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: *

        <br/>

        <em>Type</em>: Encounter

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: Initial Population

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: *

        <br/>

        <em>Type</em>: Encounter

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: Measure Population

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: *

        <br/>

        <em>Type</em>: Encounter

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: Stratifier 1

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: *

        <br/>

        <em>Type</em>: Encounter

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: Stratifier 2

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: *

        <br/>

        <em>Type</em>: Encounter

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: Stratifier 3

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: *

        <br/>

        <em>Type</em>: Encounter

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: Stratifier 4

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: *

        <br/>

        <em>Type</em>: Encounter

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: SDE Ethnicity

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: *

        <br/>

        <em>Type</em>: Coding

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: SDE Payer

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: *

        <br/>

        <em>Type</em>: Resource

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: SDE Race

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: *

        <br/>

        <em>Type</em>: Coding

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Parameter</th>

      <td class="content-container">

        <em>Name</em>: SDE Sex

        <br/>

        <em>Use</em>: Out

        <br/>

        <em>Min Cardinality</em>: 0

        <br/>

        <em>Max Cardinality</em>: 1

        <br/>

        <em>Type</em>: Coding

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Patient
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/patient.html">Patient</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Encounter
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Encounter
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a>
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: type</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion">Emergency Department Visit</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Condition
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/condition.html">Condition</a>
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: id</span>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Coverage
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/coverage.html">Coverage</a>
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: type</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion">Payer Type</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th colspan="2" scope="row" class="row-header">Generated using version 0.4.9 of the sample-content-ig Liquid templates</th>
    </tr>

        </tbody>
      </table>
    </div>
      </text>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
        <valueCode value="cqi"/>
      </extension>
      <url value="http://hl7.org/fhir/uv/cqm/Library/EXMLogic-ModuleDefinition"/>
      <identifier>
        <use value="official"/>
        <system value="http://example.org/fhir/cqi/ecqm/Library/Identifier"/>
        <value value="EXMLogic-ModuleDefinition"/>
      </identifier>
      <identifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:oid:2.16.840.1.113883.4.642.40.61.28.18"/>
      </identifier>
      <version value="2.0.0"/>
      <name value="ModuleDefinitionEXMLogic"/>
      <title value="Example Logic Library - Module Definition"/>
      <status value="active"/>
      <experimental value="true"/>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
          <code value="module-definition"/>
        </coding>
      </type>
      <date value="2019-09-03"/>
      <publisher value="HL7 International / Clinical Quality Information"/>
      <contact>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/cqi"/>
        </telecom>
      </contact>
      <description
                   value="This library is used as an example module definition in the FHIR Quality Measure Implementation Guide"/>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="001"/>
        </coding>
      </jurisdiction>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="FHIR model information"/>
        <resource
                  value="http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource value="http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Code system Diagnosis Role"/>
        <resource value="http://terminology.hl7.org/CodeSystem/diagnosis-role"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Emergency Department Visit"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Psychiatric/Mental Health Patient"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.299"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Hospital Settings"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.126"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Chronic Liver Disease Legacy Example"/>
        <resource
                  value="http://hl7.org/fhir/uv/cqm/ValueSet/chronic-liver-disease-legacy-example"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set ONC Administrative Sex"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Race"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Ethnicity"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Payer"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
      </relatedArtifact>
      <parameter>
        <name value="Measurement Period"/>
        <use value="in"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Period"/>
      </parameter>
      <parameter>
        <name value="Patient"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Patient"/>
      </parameter>
      <parameter>
        <name value="Inpatient Encounter"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Encounter"/>
      </parameter>
      <parameter>
        <name value="Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Encounter"/>
      </parameter>
      <parameter>
        <name value="Measure Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Encounter"/>
      </parameter>
      <parameter>
        <name value="Stratifier 1"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Encounter"/>
      </parameter>
      <parameter>
        <name value="Stratifier 2"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Encounter"/>
      </parameter>
      <parameter>
        <name value="Stratifier 3"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Encounter"/>
      </parameter>
      <parameter>
        <name value="Stratifier 4"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Encounter"/>
      </parameter>
      <parameter>
        <name value="SDE Ethnicity"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Coding"/>
      </parameter>
      <parameter>
        <name value="SDE Payer"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Resource"/>
      </parameter>
      <parameter>
        <name value="SDE Race"/>
        <use value="out"/>
        <min value="0"/>
        <max value="*"/>
        <type value="Coding"/>
      </parameter>
      <parameter>
        <name value="SDE Sex"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Coding"/>
      </parameter>
      <dataRequirement>
        <type value="Patient"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Condition"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
        <codeFilter>
          <path value="id"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Coverage"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Coverage"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"/>
        </codeFilter>
      </dataRequirement>
    </Library>