Sha256: 98db99b2861e00342173f6a2e1d6738a926500814e5014f307261467560b2b4a

Contents?: true

Size: 1.13 KB

Versions: 40

Compression:

Stored size: 1.13 KB

Contents

# See
# https://www.ukrdc.org/2015/09/15/ukrdc-schema/
# https://github.com/renalreg/ukrdc
xml.instruct! :xml, version: "1.0", encoding: "UTF-8"

namespace_and_schema = {
  "xmlns:ukrdc" => "http://www.rixg.org.uk/",
  "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance"
}

# Start of <ukrdc:Patient>
xml.ukrdc(:PatientRecord, namespace_and_schema) do
  render "sending_facility", builder: xml, patient: patient
  render "patient", builder: xml, patient: patient
  render "lab_orders", builder: xml, patient: patient
  render "social_histories", builder: xml, patient: patient
  render "family_histories", builder: xml, patient: patient
  render "observations", builder: xml, patient: patient
  render "allergies", builder: xml, patient: patient
  render "diagnoses", builder: xml, patient: patient
  render "medications", builder: xml, patient: patient
  render "documents", builder: xml, patient: patient
  render "encounters", builder: xml, patient: patient
  render "program_memberships", builder: xml, patient: patient
  render "clinical_relationships", builder: xml, patient: patient
  render "surveys", builder: xml, patient: patient
end

Version data entries

40 entries across 40 versions & 1 rubygems

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