lib/neutrino/gateway/patient_document.rb
# Gets a patient document's text
#
# @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 text
Gets a patient document's text
Gets a patient document ' s text
def text(params, options = {})
          path = "#{base_uri(params)}/text"
          request(path, options).if_404_raise(Neutrino::Gateway::Exceptions::PatientDocumentTextNotFoundError)
                                .to_s
        end
def text ( params , options = { } ) path = "#{base_uri(params)}/text" request ( path , options ) . if_404_raise ( Neutrino :: Gateway :: Exceptions :: PatientDocumentTextNotFoundError ) . to_s end
Gets a patient document's text
Gets a patient document ' s text
the patient document's text
the patient document ' s text
String
params
<not_specific>
options
<not_specific>
<not_specific>
options specify query values
options specify query values