Sha256: 5bfd45869f5c85c1bc8469f96ddedff6b4d4567f1ca1cb733031017f755399b6

Contents?: true

Size: 997 Bytes

Versions: 12

Compression:

Stored size: 997 Bytes

Contents

<entry>
  <observation classCode="OBS" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.24.3.101"/>
    <id root="1.3.6.1.4.1.115" extension="<%= 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?('13798002')-%>
           value="38"
    <% elsif entry.codes['SNOMED-CT'].include?('43697006')-%>
           value="37"
    <% elsif entry.codes['SNOMED-CT'].include?('931004')-%>
           value="36"
    <% else -%>
           nullFlavor="UNK"
    <% end -%>
           unit="wk"/>
    <text><%= entry.description %></text>   
  </observation>
</entry>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
health-data-standards-3.6.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.5.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.5.2 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.5.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.5.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.4.6 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.4.5 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.4.4 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.4.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.4.2 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.4.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.4.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.101.cat1.erb