lib/neutrino/gateway/patient_document.rb
# Gets the information originally ingested for the desired patient document
#
# @param [Hash] params specify what patient document to get, must specify either `:id` or `:root` and `extension`
# @param [Hash] options options specify query values
# @return [Hash] the original ingestion information
Gets the information originally ingested for the desired patient document
Gets the information originally ingested for the desired patient document
def original_metadata(params, options = {})
          path = "#{base_uri(params)}/original_metadata"
          request(path, options).
            if_404_raise(Neutrino::Gateway::Exceptions::PatientDocumentNotFoundError).
            to_hash
        end
def original_metadata ( params , options = { } ) path = "#{base_uri(params)}/original_metadata" request ( path , options ) . if_404_raise ( Neutrino :: Gateway :: Exceptions :: PatientDocumentNotFoundError ) . to_hash end
Gets the information originally ingested for the desired patient document
Gets the information originally ingested for the desired patient document
the original ingestion information
the original ingestion information
Hash
params
<not_specific>
options
<not_specific>
<not_specific>
options options specify query values
options options specify query values