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.55 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.54 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.53 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.52 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.51 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.50 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.48 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.47 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.46 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.45 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.44 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.43 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.42 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.41 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.40 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.39 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder
renalware-core-2.0.38 app/views/renalware/api/ukrdc/patients/_social_histories.xml.builder