lib/neutrino/gateway/patient.rb
# Gets a list of a patient's document ids
#
# @param [Hash] params specify what patient to get, must specify `:root` and `:extension`
# @param [Hash] options specify query values
# @return [Array] the patient's documents ids
# @raise [Exceptions::BadRequestError] when NEUTRINO returns a 400 status
Gets a list of a patient's document ids
Gets a list of a patient ' s document ids
def patient_document_ids(params, options = {})
          path = "#{base_uri(params)}/ids"
          path << "/#{params[:precedence]}" if params[:precedence]
          request(path, options)
              .if_400_raise(Neutrino::Gateway::Exceptions::BadRequestError)
              .if_403_raise(Neutrino::Gateway::Exceptions::InvalidTenantOperation)
              .to_hash
        end
def patient_document_ids ( params , options = { } ) path = "#{base_uri(params)}/ids" path << "/#{params[:precedence]}" if params [ :precedence ] request ( path , options ) . if_400_raise ( Neutrino :: Gateway :: Exceptions :: BadRequestError ) . if_403_raise ( Neutrino :: Gateway :: Exceptions :: InvalidTenantOperation ) . to_hash end
Gets a list of a patient's document ids
Gets a list of a patient ' s document ids
the patient's documents ids
the patient ' s documents ids
Array
[Exceptions::BadRequestError] when NEUTRINO returns a 400 status
[ Exceptions :: BadRequestError ] when NEUTRINO returns a 400 status
params
<not_specific>
options
<not_specific>
<not_specific>
options specify query values
options specify query values