Sha256: 2103986875cccc54450ec12be3a3962589bb6f079a694e631b9cf4643026a899

Contents?: true

Size: 661 Bytes

Versions: 31

Compression:

Stored size: 661 Bytes

Contents

<precondition typeCode="PRCN">
  <%- if precondition.conjunction? -%>
  <<%= precondition.conjunction_code_with_negation %>>
    <id/>
    <%- precondition.preconditions.each do |child| -%>
    <%= xml_for_precondition(child) %>
    <%- end -%>
  </<%= precondition.conjunction_code_with_negation %>>
  <%- else -%>
    <<%= reference_element_name(precondition.reference.id) %>Reference moodCode="EVN" classCode="<%= reference_type_name(precondition.reference.id) %>">
      <id root="2.16.840.1.113883.3.100.1" extension="<%= precondition.reference.id %>"/>
    </<%= reference_element_name(precondition.reference.id) %>Reference>
  <%- end -%>
</precondition>

Version data entries

31 entries across 31 versions & 2 rubygems

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