lib/neutrino/gateway/patient_document.rb
def patient_demographics(params, options = {})
          path = "#{base_uri(params)}/patient_demographics"
          request(path, options).
            if_404_raise(Neutrino::Gateway::Exceptions::PatientDocumentNotFoundError).
            to_hash
        end
# Gets a patient's demographics by patient document id
#
# @param [Hash] params specify what patient document to get, must specify either `:id` or `:root` and `extension`
# @param [Hash] options specify query values
# @return [String] the patient document's data
# @raise [Exceptions::PatientDocumentNotFoundError] when NEUTRINO returns a 404 status code
Gets a patient's demographics by patient document id
Gets a patient ' s demographics by patient document id
def patient_demographics(params, options = {})
          path = "#{base_uri(params)}/patient_demographics"
          request(path, options).
            if_404_raise(Neutrino::Gateway::Exceptions::PatientDocumentNotFoundError).
            to_hash
        end
def patient_demographics ( params , options = { } ) path = "#{base_uri(params)}/patient_demographics" request ( path , options ) . if_404_raise ( Neutrino :: Gateway :: Exceptions :: PatientDocumentNotFoundError ) . to_hash end
Gets a patient's demographics by patient document id
Gets a patient ' s demographics by patient document id
the patient document's data
the patient document ' s data
String
[Exceptions::PatientDocumentNotFoundError] when NEUTRINO returns a 404 status code
[ Exceptions :: PatientDocumentNotFoundError ] when NEUTRINO returns a 404 status code
params
options
options specify query values
options specify query values