Sha256: 0e06c193231f77310ba9c55a20321d013aef239b53da15c5bbff1835cb569320

Contents?: true

Size: 340 Bytes

Versions: 55

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

xml = builder

# Currently only used for smoking for which CodingStandard=RRSMOKE Code=YES/NO/EX
xml.SocialHistories do
  if patient.smoking_history?
    xml.SocialHistory do
      xml.SocialHabit do
        xml.CodingStandard "RRSMOKE"
        xml.Code patient.rr_smoking_history
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
renalware-core-2.0.136 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.135 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.134 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.133 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.132 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.131 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.130 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.129 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.128 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.127 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.126 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.125 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.124 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.123 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.121 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.120 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.119 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.118 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.117 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.116 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder