Sha256: 55064b52cf87cce91f90decdb074f49eaeecfb908a488d55b252ab0e1b8f0f5a

Contents?: true

Size: 345 Bytes

Versions: 37

Compression:

Stored size: 345 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.present?
    xml.SocialHistory do
      xml.SocialHabit do
        xml.CodingStandard "RRSMOKE"
        xml.Code patient.smoking_history
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
renalware-core-2.0.78 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.77 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.76 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.75 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.74 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.73 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.72 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.71 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.70 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.69 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.68 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.67 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.64 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.63 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.62 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.61 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.60 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.58 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.57 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.56 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder