Use case 1: create order
Flow
- Physician does a POST to openmrs/order.form.
- a DICOM request is made to create an order1 in dcm4chee
- to do this we could use dcm4che toolkit2
- if dcm4chee answers with success. (I don't know how to know that there a successful response in code) -----can this just be an Ajax request, and we can check the response??
- OpenMRS saves order in its database ----the order(s) can be part of an encounter with encountertype RADIOLOGY to be easily searchable
- else, dcm4chee answers with failure
- OpenMRS doesn't save anything
- OpenMRS sends success/failure to Physician
Notes
- Order in dcm4chee is an item in a modality worklist (worklist is the DICOM name for a list of orders)
- dcm4che toolkit (different from dcm4chee) has a command line utility called dcmmwl that creates entries in modality worklist (MWL)
Â