Sha256: 14f40f0cfee9b7a92b16225c5bb4c55d85b994c69c99db23c1a8c9330bda346a

Contents?: true

Size: 1.95 KB

Versions: 2

Compression:

Stored size: 1.95 KB

Contents

<entry typeCode="DRIV">
  <organizer moodCode="EVN" classCode="CLUSTER">
    <templateId root="2.16.840.1.113883.10.20.22.4.45"/>
    <!--    Family history organizer template   -->
    <templateId root="2.16.840.1.113883.10.20.24.3.12"/>
    <statusCode code="completed"/>
    <effectiveTime>
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.end_time) %>/>
    </effectiveTime>
    <!-- The subject is currently hardcoded to father -->
    <subject>
      <relatedSubject classCode="PRS">
        <code code="FTH" displayName="Father" 
              codeSystemName="HL7RoleCode" 
              codeSystem="2.16.840.1.113883.5.111">
          <translation code="9947008" 
                displayName="Biological father" 
                codeSystemName="SNOMED CT" 
                codeSystem="2.16.840.1.113883.6.96"/>
        </code>
        <subject>
          <administrativeGenderCode 
               code="M" codeSystem="2.16.840.1.113883.5.1"
               codeSystemName="HL7AdministrativeGender" 
               displayName="Male"/>
            <birthTime value="1912"/>
        </subject>
      </relatedSubject>
    </subject>
    <component>
      <observation classCode="OBS" moodCode="EVN">
        <templateId root="2.16.840.1.113883.10.20.22.4.46"/>
        <id root="<%= entry.id %>"/>
        <code code="55607006" displayName="Problem" 
              codeSystemName="SNOMED CT" 
              codeSystem="2.16.840.1.113883.6.96"/>
        <statusCode code="completed"/>
        <effectiveTime>
          <low <%= value_or_null_flavor(entry.start_time) %>/>
          <high <%= value_or_null_flavor(entry.end_time) %>/>
        </effectiveTime>
        <%== code_display(entry, 'preferred_code_sets' => ['SNOMED-CT'],
                         'tag_name' => 'value',
                         'extra_content' => "xsi:type=\"CD\" sdtc:valueSet=\"#{value_set_oid}\"") %>
      </observation>
    </component>
  </organizer>
</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.12.cat1.erb
qrda_generator-1.0.0 templates/_2.16.840.1.113883.10.20.24.3.12.cat1.erb