@Controller public class Hl7InQueueListController extends Object
| Constructor and Description |
|---|
Hl7InQueueListController() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getHL7InQueueBatchAsJson(int iDisplayStart,
int iDisplayLength,
String sSearch,
int sEcho,
int messageState)
method for returning a batch of HL7s from the queue based on datatable parameters
|
String |
listPendingHL7s(org.springframework.ui.ModelMap modelMap)
Render the pending HL7 queue messages page
|
String |
listSuspendedHL7s(org.springframework.ui.ModelMap modelMap)
Render the suspended HL7 queue messages page
|
Map<String,Object> |
toggleHL7InQueue(int id)
suspends or restores a HL7InQueue based on current status
|
@RequestMapping(value="/admin/hl7/hl7InQueuePending.htm") public String listPendingHL7s(org.springframework.ui.ModelMap modelMap)
modelMap - @RequestMapping(value="/admin/hl7/hl7InQueueHeld.htm") public String listSuspendedHL7s(org.springframework.ui.ModelMap modelMap)
modelMap - @RequestMapping(value="/admin/hl7/toggleHL7InQueue.json") @ResponseBody public Map<String,Object> toggleHL7InQueue(@RequestParam(value="hl7InQueueId") int id) throws Exception
id - HL7InQueueId for identifying the HL7 messageException@RequestMapping(value="/admin/hl7/hl7InQueueList.json") @ResponseBody public Map<String,Object> getHL7InQueueBatchAsJson(@RequestParam(value="iDisplayStart") int iDisplayStart, @RequestParam(value="iDisplayLength") int iDisplayLength, @RequestParam(value="sSearch") String sSearch, @RequestParam(value="sEcho") int sEcho, @RequestParam(value="messageState") int messageState) throws IOException
iDisplayStart - start index for searchiDisplayLength - amount of terms to returnsSearch - search term(s)sEcho - check digit for datatablesmessageState - HL7InQueue state to look upIOExceptionCopyright © 2018 OpenMRS LLC.. All Rights Reserved.