Sha256: a5ad96af7254fe52f87fae83128353ec4e38a35fb495ec31cecf06facdbb40cb

Contents?: true

Size: 843 Bytes

Versions: 2

Compression:

Stored size: 843 Bytes

Contents

<entry>
  <observation classCode="OBS" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.24.3.101"/>
    <id root="<%= entry.id %>"/>
    <code code="57036006" 
          codeSystem="2.16.840.1.113883.6.96" 
          codeSystemName="SNOMED-CT" 
          displayName="length of gestation"/>

    <statusCode code="completed"/>
    <effectiveTime <%= value_or_null_flavor(entry.as_point_in_time) %>/>
    <!-- ?Note: valueSet of PQ "d" and "wk"-->
    <value xsi:type="PQ" 
    <% if entry.codes['SNOMED-CT'].include?('80487005')-%>
           value="39"
    <% elsif entry.codes['SNOMED-CT'].include?('931004')-%>
           value="36"
    <% elsif entry.codes['SNOMED-CT'].include?('43697006')-%>
           value="37"
    <% else -%>
           nullFlavor="UNK"
    <% end -%>
           unit="wk"/>   
  </observation>
</entry>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qrda_generator-1.0.1 templates/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
qrda_generator-1.0.0 templates/_2.16.840.1.113883.10.20.24.3.101.cat1.erb