Sha256: 2626f649fbb3f8a19839168d39e4aac8c1dd3e5563f47696741e016a1c051eb8

Contents?: true

Size: 314 Bytes

Versions: 54

Compression:

Stored size: 314 Bytes

Contents

xml = builder

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

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
renalware-core-2.0.15 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.14 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.13 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.12 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.11 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.9 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.8 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.7 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.5 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.4 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.3 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.2 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.1 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.0 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.0.pre.rc13 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.0.pre.rc11 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.0.pre.rc10 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.0.pre.rc9 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.0.pre.rc8 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.0.pre.rc7 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder