lib/neutrino/gateway/patient_document.rb
# Gets a list of a hl7 document ids
#
# @param [Hash] params specify which documents to get, must specify `:root`
# @param [Hash] options specify query values
# @return [Array] the hl7 documents ids
# @raise [Exceptions::BadRequestError] when NEUTRINO returns a 4xx status
Gets a list of a hl7 document ids
Gets a list of a hl7 document ids
def hl7_document_ids(params, options = {})
          params.merge!(options)
          path = "#{api(options)}/patient_document/ids/hl7"
          request(path, params)
              .if_400_raise(Neutrino::Gateway::Exceptions::BadRequestError)
              .if_403_raise(Neutrino::Gateway::Exceptions::InvalidTenantOperation)
              .to_hash
        end
def hl7_document_ids ( params , options = { } ) params . merge! ( options ) path = "#{api(options)}/patient_document/ids/hl7" request ( path , params ) . if_400_raise ( Neutrino :: Gateway :: Exceptions :: BadRequestError ) . if_403_raise ( Neutrino :: Gateway :: Exceptions :: InvalidTenantOperation ) . to_hash end
Gets a list of a hl7 document ids
Gets a list of a hl7 document ids
the hl7 documents ids
the hl7 documents ids
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