...
Code Block |
---|
OrderExtensionService extends OpenmrsService { OrderSet getOrderSet(Integer id); OrderSet getOrderSetByUuid(String uuid); List<OrderSet> getNamedOrderSets(boolean includeRetired); List<OrderSet> findAvailableOrderSets(String partialName, Concept indication); OrderSet saveOrderSet(OrderSet orderSet); void purgeOrderSet(OrderSet orderSet); OrderSetMember getOrderSetMember(Integer id); List<OrderSet> getParentOrderSets(OrderSet orderSet); <T extends OrderGroup> T saveOrderGroup(T orderGroup); <T extends OrderGroup> List<T> getOrderGroups(Patient patient, Class<T> type); void addOrdersForPatient(Patient patient, OrderSet orderSet, Date startDate, Integer numCycles); OrderGroup getOrderGroup(Integer id); DrugRegimen getDrugRegimen(Integer id); Integer getMaxNumberOfCyclesForRegimen(Patient patient, DrugRegimen regimen); List<ExtendedDrugOrder> getFutureDrugOrdersOfSameOrderSet(Patient patient, OrderSet orderSet, Date startDate); List<DrugRegimen> getFutureDrugRegimensOfSameOrderSet(Patient patient, DrugRegimen drugRegimen, Date startDate); List<ExtendedDrugOrder> getExtendedDrugOrders(Patient patient, Concept indication, Date startDateAfter, Date startDateBefore); } |
Screenshots