Sha256: 10a06db13172a9139d9e02fa561869c04d25f1963177b4f2feda084437653662

Contents?: true

Size: 400 Bytes

Versions: 49

Compression:

Stored size: 400 Bytes

Contents

# https://github.com/renalreg/ukrdc/blob/6d95e364dd8de857839fe6cdbd4e7fc3fb4c1d42/Schema/Diagnoses/Diagnosis.xsd
# This is snomed-based, so might not be possible?
xml = builder
xml.Diagnoses do
  if patient.dead?
    [patient.first_cause, patient.second_cause].compact.each do |cause|
      render "renalware/api/ukrdc/patients/diagnoses/cause_of_death", builder: xml, cause: cause
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
renalware-core-2.0.37 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.36 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.35 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.34 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.33 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.32 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.31 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.30 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.28 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.27 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.26 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.25 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.24 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.23 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.22 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.21 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.20 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.18 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.17 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder
renalware-core-2.0.16 app/views/renalware/api/ukrdc/patients/_diagnoses.xml.builder