/prescribeit_gem

Gem for PrescribeIt

Primary LanguageRuby

openapi_client

OpenapiClient - the Ruby gem for the PrescribeIT SDK REST API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 5.0.27
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build openapi_client.gemspec

Then either install the gem locally:

gem install ./openapi_client-1.0.0.gem

(for development, run gem install --dev ./openapi_client-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'openapi_client', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'openapi_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'openapi_client'

api_instance = OpenapiClient::DefaultApi.new
opts = {
  body: 'body_example' # String | 
}

begin
  result = api_instance.emr_acknowledge_post(opts)
  p result
rescue OpenapiClient::ApiError => e
  puts "Exception when calling DefaultApi->emr_acknowledge_post: #{e}"
end

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
OpenapiClient::DefaultApi emr_acknowledge_post POST /emr/acknowledge
OpenapiClient::DefaultApi emr_attachment_upload_post POST /emr/attachment-upload
OpenapiClient::DefaultApi emr_formulary_request_post POST /emr/formulary-request
OpenapiClient::DefaultApi emr_poll_inbox_get GET /emr/poll-inbox
OpenapiClient::DefaultApi emr_registry_search_organization_bulk_by_fax_post POST /emr/registry-search/organization-bulk-by-fax
OpenapiClient::DefaultApi emr_registry_search_organization_bulk_by_ids_post POST /emr/registry-search/organization-bulk-by-ids
OpenapiClient::DefaultApi emr_registry_search_organization_by_id_post POST /emr/registry-search/organization-by-id
OpenapiClient::DefaultApi emr_registry_search_organization_discrete_post POST /emr/registry-search/organization-discrete
OpenapiClient::DefaultApi emr_registry_search_organization_elastic_post POST /emr/registry-search/organization-elastic
OpenapiClient::DefaultApi emr_registry_search_practitioner_by_id_post POST /emr/registry-search/practitioner-by-id
OpenapiClient::DefaultApi emr_registry_search_practitioner_discrete_post POST /emr/registry-search/practitioner-discrete
OpenapiClient::DefaultApi emr_registry_search_practitioner_elastic_post POST /emr/registry-search/practitioner-elastic
OpenapiClient::DefaultApi emr_request_otp_post POST /emr/request-otp
OpenapiClient::DefaultApi emr_request_saml_token_post POST /emr/request-saml-token
OpenapiClient::DefaultApi emr_request_saml_token_with_ext_token_post POST /emr/request-saml-token-with-ext-token
OpenapiClient::DefaultApi emr_submit_to_inbox_post POST /emr/submit-to-inbox
OpenapiClient::DefaultApi emr_transform_from_xml_formulary_post POST /emr/transform-from-xml/formulary
OpenapiClient::DefaultApi emr_transform_from_xml_notification_post POST /emr/transform-from-xml/notification
OpenapiClient::DefaultApi emr_transform_from_xml_post POST /emr/transform-from-xml
OpenapiClient::DefaultApi emr_transform_from_xml_search_post POST /emr/transform-from-xml/search
OpenapiClient::DefaultApi emr_transform_to_xml_acknowledgment_post POST /emr/transform-to-xml/acknowledgment
OpenapiClient::DefaultApi emr_transform_to_xml_clinician_communication_post POST /emr/transform-to-xml/clinician-communication
OpenapiClient::DefaultApi emr_transform_to_xml_emr_cancel_request_post POST /emr/transform-to-xml/emr-cancel-request
OpenapiClient::DefaultApi emr_transform_to_xml_emr_deferred_request_post POST /emr/transform-to-xml/emr-deferred-request
OpenapiClient::DefaultApi emr_transform_to_xml_emr_request_post POST /emr/transform-to-xml/emr-request
OpenapiClient::DefaultApi emr_transform_to_xml_notification_message_post POST /emr/transform-to-xml/notification-message
OpenapiClient::DefaultApi pms_acknowledge_deferred_post POST /pms/acknowledge-deferred
OpenapiClient::DefaultApi pms_acknowledge_post POST /pms/acknowledge
OpenapiClient::DefaultApi pms_attachment_upload_post POST /pms/attachment-upload
OpenapiClient::DefaultApi pms_poll_inbox_get GET /pms/poll-inbox
OpenapiClient::DefaultApi pms_receive_deferred_post POST /pms/receive-deferred
OpenapiClient::DefaultApi pms_registry_search_organization_by_id_post POST /pms/registry-search/organization-by-id
OpenapiClient::DefaultApi pms_registry_search_organization_discrete_post POST /pms/registry-search/organization-discrete
OpenapiClient::DefaultApi pms_registry_search_organization_elastic_post POST /pms/registry-search/organization-elastic
OpenapiClient::DefaultApi pms_registry_search_practitioner_by_id_post POST /pms/registry-search/practitioner-by-id
OpenapiClient::DefaultApi pms_registry_search_search_practitioner_discrete_post POST /pms/registry-search/search-practitioner-discrete
OpenapiClient::DefaultApi pms_registry_search_search_practitioner_elastic_post POST /pms/registry-search/search-practitioner-elastic
OpenapiClient::DefaultApi pms_submit_to_inbox_post POST /pms/submit-to-inbox
OpenapiClient::DefaultApi pms_transform_from_xml_notification_post POST /pms/transform-from-xml/notification
OpenapiClient::DefaultApi pms_transform_from_xml_post POST /pms/transform-from-xml
OpenapiClient::DefaultApi pms_transform_from_xml_search_post POST /pms/transform-from-xml/search
OpenapiClient::DefaultApi pms_transform_to_xml_acknowledgment_post POST /pms/transform-to-xml/acknowledgment
OpenapiClient::DefaultApi pms_transform_to_xml_clinician_communication_post POST /pms/transform-to-xml/clinician-communication
OpenapiClient::DefaultApi pms_transform_to_xml_notification_message_post POST /pms/transform-to-xml/notification-message
OpenapiClient::DefaultApi pms_transform_to_xml_pms_adapt_request_post POST /pms/transform-to-xml/pms-adapt-request
OpenapiClient::DefaultApi pms_transform_to_xml_pms_cancel_response_post POST /pms/transform-to-xml/pms-cancel-response
OpenapiClient::DefaultApi pms_transform_to_xml_pms_dispense_cancel_notification_post POST /pms/transform-to-xml/pms-dispense-cancel-notification
OpenapiClient::DefaultApi pms_transform_to_xml_pms_dispense_notification_post POST /pms/transform-to-xml/pms-dispense-notification
OpenapiClient::DefaultApi pms_transform_to_xml_pms_prescribe_request_post POST /pms/transform-to-xml/pms-prescribe-request
OpenapiClient::DefaultApi pms_transform_to_xml_pms_renewal_request_post POST /pms/transform-to-xml/pms-renewal-request

Documentation for Models

Documentation for Authorization

Endpoints do not require authorization.