Sha256: 47746afd5838f80be9ef8f6a192e1b2f7f652e0a14a5542326ba0f9f4a6d32d0
Contents?: true
Size: 595 Bytes
Versions: 89
Compression:
Stored size: 595 Bytes
Contents
# frozen_string_literal: true module Renalware module UKRDC class PathologyObservationRequestPresenter < SimpleDelegator # Note that we can't just use requestor_order_number as some OBR # segments arrive with a blank one. We need put something in the XML # that is unique per observation_request, but will still _be_ something # when requestor_order is blank def placer_id [ requestor_order_number, requested_at.strftime("%Y%m%d%H%M%S%L"), description_id ].reject(&:blank?).join("-") end end end end
Version data entries
89 entries across 89 versions & 1 rubygems