Skip to content

Commit

Permalink
U4X-250: Change sample id generation api to require uuid instead of O…
Browse files Browse the repository at this point in the history
…rderNumber (#359)
  • Loading branch information
slubwama authored Nov 6, 2023
1 parent 0b9f2bd commit 56eb89b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ public SampleId save(SampleId bedPatientAssignment) {

@Override
protected PageableResult doSearch(RequestContext context) {
String orderNumber = context.getRequest().getParameter("orderNumber");
String orderNumber = context.getRequest().getParameter("uuid");

UgandaEMRService ugandaEMRService = Context.getService(UgandaEMRService.class);
ObjectMapper objectMapper = new ObjectMapper();
Order order = Context.getOrderService().getOrderByOrderNumber(orderNumber);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy -MM-dd");
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
String date = sdf.format(new Date());
String letter = order.getConcept().getConceptId().toString();
String defaultSampleId = "";
Expand Down

0 comments on commit 56eb89b

Please sign in to comment.