Sha256: 7ae88adb0e739ddc3ea58f9b6e1a85c4b41aa71bc397a09753c142eaa93823fb

Contents?: true

Size: 1.13 KB

Versions: 21

Compression:

Stored size: 1.13 KB

Contents

    <definition typeCode="INST">
      <measureObservationDefinition classCode="OBS" moodCode="DEF">
        <typeId root="2.16.840.1.113883.3.100.1" extension="<%= observation.hqmf_id%>"/>
        <code code="AGGREGATE" codeSystem="2.16.840.1.113883.5.4"> </code>
        <value xsi:type="PQ">
          <expression value="<%= expression_for_observation(doc,observation) %>"/>
        </value>
        <methodCode>
            <item code="<%= observation.aggregator %>" codeSystem="2.16.840.1.113883.5.84" />
        </methodCode>
       <%- if observation.preconditions.present? && observation.preconditions.length > 0 -%>
            <%- observation.preconditions.each do |precondition| -%>
          <%= xml_for_precondition_cv(precondition) %>
            <%- end -%>
          <%- end -%>
        <precondition typeCode="PRCN">
          <join moodCode="DEF" classCode="OBS">
            <templateId>
              <item root="c75181d0-73eb-11de-8a39-0800200c9a66" extension="<%= msrpopl.hqmf_id %>"/>
            </templateId>
            <value/>
          </join>
        </precondition>
      </measureObservationDefinition>
    </definition>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
health-data-standards-4.3.5 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.3.4 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.3.3 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.3.2 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.3.1 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.3.0 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.2.0 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.1.0 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.0.6 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.0.5 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.0.4 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.0.3 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.0.2 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.0.1 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-4.0.0 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-3.7.0 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-3.6.1 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-3.5.3 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-3.5.2 lib/hqmf-generator/measure_observation_definition.xml.erb
health-data-standards-3.5.1 lib/hqmf-generator/measure_observation_definition.xml.erb