Sha256: 82efabe35a780e7622e03f9c8f79811b4098ac3ee5c836823f0cf7e4006e280a

Contents?: true

Size: 1.03 KB

Versions: 16

Compression:

Stored size: 1.03 KB

Contents

<entry>
  <observation classCode="OBS" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.24.3.101" <% if !r2_compatibility %>extension="2014-12-01"<%end%>/>
    <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

16 entries across 16 versions & 1 rubygems

Version Path
health-data-standards-4.3.5 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.3.4 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.3.3 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.3.2 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.3.1 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.3.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.2.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.1.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.0.6 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.0.5 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.0.4 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.0.3 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.0.2 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.0.1 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-4.0.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb
health-data-standards-3.7.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb