Medication Ordering

This API creates an encounterid to use for order groups. If you are making changes to orders in an order group, use the encounterid returned by this API.

  • Get an 'ordergroup' encounterid by using POST /chart/{patientid}/ordergroups with the patient & department ids as inputs. If successful, the call will return an encounter id and a success message.
  • GET /configuration/ordertype returns available order types given the search terms given. For example, an ordertype you could search for could be "acetaminophen 325 mg tablet" or "X-RAY, LEFT HAND.” You can filter based on name and facility availability.
  • To filter by imaging facility id & lab facility id, use GET /chart/configuration/facilities to retrieve the available facilities based on search term and order type. For example, you can search for available pharmacies by specifying that the ordertype is “Pharmacy” and the search term is “CVS.”
  • POST /encounter/{encounterid}/order allows you to add an order to an encounter. You can add to an existing diagnosis, or add without a diagnosis. This will fill in default information configured by the provider/practice.
  • To add an order without an attached diagnosis use the ordertypeid you chose from GET /configuration/ordertype as the ordertype identifier
  • To add an order to an existing diagnosis, use an ordertypeid you chose from GET /configuration/ordertype as the ordertype identifier. Associate your order with the appropriate SNOMED code from GET /chart/encounter/{encounterid}/diagnoses.
  • If your diagnosis/SNOMED does not exist, you must add it first by using POST /chart/encounter/{encounterid}/diagnoses and edit it using PUT /chart/encounter/{encounterid}/diagnoses. Your SNOMED code goes under “reasons.”
  • Use DELETE /chart/encounter/{encounterid}/orders/{orderid} to delete an order from a diagnosis, based on orderid. You cannot delete a signed order.
  • Use GET /chart/configuration/snomed to retrieve the SNOMED codes associated with diagnoses. You use these to attach diagnoses to your encounter.
  • Use POST /chart/encounter/{encounterid}/diagnoses to add a diagnosis/reason to an encounter (you’ll need to provide a valid SNOMED code to make the call).
  • Use GET /chart/encounter/{encounterid}/diagnoses to return the diagnoses associated with this encounter.
Was this information helpful? Yes | No Thank you for your feedback! What went wrong? Incomplete or incorrect information | Irrelevant Content | Others