Sha256: bb5706f9eea9f2e496c4a39bbafb34fb6f00cef523dce4c399c4db3a466e974b
Contents?: true
Size: 1.16 KB
Versions: 17
Compression:
Stored size: 1.16 KB
Contents
# frozen_string_literal: true # 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
17 entries across 17 versions & 1 rubygems