Sha256: 10c6f99184da3e7f4df403e963d517c5d95145b4a39ec5c4dc051ab801e7a6f6

Contents?: true

Size: 1.05 KB

Versions: 31

Compression:

Stored size: 1.05 KB

Contents

      <component typeCode="COMP">
        <<%= population_element_prefix(criteria_id) %>Criteria  classCode="OBS" moodCode="EVN">
          <id root="c75181d0-73eb-11de-8a39-0800200c9a66"
            extension="<%= population_criteria.hqmf_id %>"/>
          <code codeSystem="2.16.840.1.113883.5.1063"
              codeSystemName="HL7 Observation Value"
              code="<%= population_criteria.type %>">
            <displayName value="<%= population_criteria.title %>"/>
          </code>
          <isCriterionInd value="true"/>
          <%- if population_criteria.preconditions.present? && population_criteria.preconditions.length > 0 -%>
            <%- population_criteria.preconditions.each do |precondition| -%>
          <%= xml_for_precondition(precondition) %>
            <%- end -%>
          <%- else -%>
          <precondition typeCode="PRCN" nullFlavor="NA">
            <allTrue>
              <id/>
            </allTrue>
          </precondition>
          <%- end -%>
        </<%= population_element_prefix(criteria_id) %>Criteria>
      </component>

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
health-data-standards-3.1.1 lib/hqmf-generator/population_criteria.xml.erb
health-data-standards-3.1.0 lib/hqmf-generator/population_criteria.xml.erb
health-data-standards-3.0.6 lib/hqmf-generator/population_criteria.xml.erb
health-data-standards-3.0.5 lib/hqmf-generator/population_criteria.xml.erb
health-data-standards-3.0.4 lib/hqmf-generator/population_criteria.xml.erb
health-data-standards-3.0.3 lib/hqmf-generator/population_criteria.xml.erb
hqmf-parser-1.1.0 lib/hqmf-generator/population_criteria.xml.erb
hqmf-parser-1.0.6 lib/hqmf-generator/population_criteria.xml.erb
hqmf-parser-1.0.5 lib/hqmf-generator/population_criteria.xml.erb
hqmf-parser-1.0.4 lib/hqmf-generator/population_criteria.xml.erb
hqmf-parser-1.0.3 lib/hqmf-generator/population_criteria.xml.erb