Table of Contents
Hospital Pharmacy
The Pharmacy database -- part of the Hospital database -- is updated with consumption of medicines being administered to patients arriving at the front-office.

There is a need to order new medicines from pharmaceutical distributors.
To order new medicines, a ordering policy must be defined.
Business rules can be used to improve the solution.
See also: "Getting Started" book - Chapter 9
Purchase Orders
A format must be selected for the purchase orders.
Some suppliers support UBL format,
others expected HDMA format.
Study the available information, and select the desired invoice format.
Place the purchase orders in a specific directory. The documents must be well-formed and comply with the specified format.
Saphety Invoice Management
Saphety is a company that provides an invoice management solution, accessible using multiple communication protocols, including FTP.
- Create a Saphety Adapter that connects to the Saphety server and submits the invoice request
- (requests are polled in 15 minute intervals)
- Later, the adapter collects the status response
- The documents (and status) can be viewed using a NetDocs account.
FTP library suggestions:
ERP
- Finally, the purchase must be registered in the hospital Enterprise Resources Planning (ERP) system
- The Back-Office communicates with the ERP using asynchronous messages, delivered using Web Logic Message Queues
- Use the SOA Suite JMS Adapter to send the notification
See also: "Getting Started" book: Configuration section (pp 77) and Chapter 10