Sha256: 27c361715b47afef115696c2c2f3b493ac44d2a512bf9b6165970c79518f8897
Contents?: true
Size: 431 Bytes
Versions: 13
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true # 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
13 entries across 13 versions & 1 rubygems