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