lib/neutrino/gateway/patient_document.rb
# Gets a list of ingestion errors
#
# @param [Hash] params specify which root to get `:root` (optional)
# @param [Hash] options specify query values
# @return [Array] the ingestion erros
# @raise [Exceptions::BadRequestError] when NEUTRINO returns a 4xx status
Gets a list of ingestion errors
Gets a list of ingestion errors
def ingestion_errors(params, options = {})
          path = "#{api(options)}/patient_document/ingestion_errors"
          path << "/#{params[:root]}" if params[:root]
          request(path, options)
              .if_400_raise(Neutrino::Gateway::Exceptions::BadRequestError)
              .if_403_raise(Neutrino::Gateway::Exceptions::InvalidTenantOperation)
              .to_hash
        end
def ingestion_errors ( params , options = { } ) path = "#{api(options)}/patient_document/ingestion_errors" path << "/#{params[:root]}" if params [ :root ] request ( path , options ) . if_400_raise ( Neutrino :: Gateway :: Exceptions :: BadRequestError ) . if_403_raise ( Neutrino :: Gateway :: Exceptions :: InvalidTenantOperation ) . to_hash end
Gets a list of ingestion errors
Gets a list of ingestion errors
the ingestion erros
the ingestion erros
Array
[Exceptions::BadRequestError] when NEUTRINO returns a 4xx status
[ Exceptions :: BadRequestError ] when NEUTRINO returns a 4xx status
params
<not_specific>
options
<not_specific>
<not_specific>
options specify query values
options specify query values