public interface DosingInstructions
Modifier and Type | Method and Description |
---|---|
Date |
getAutoExpireDate(DrugOrder order)
Implementations of this interface may be able to infer the auto-expiration date from other
fields on the DrugOrder.
|
DosingInstructions |
getDosingInstructions(DrugOrder order)
Get dosing instructions from order
|
String |
getDosingInstructionsAsString(Locale locale)
Get human-readable version of dosing instructions for a particular locale All dosing
instructions can be localized, so the result, especially any free text may remain in the
original language.
|
void |
setDosingInstructions(DrugOrder order)
Serialize dosing instructions into order
|
void |
validate(DrugOrder order,
org.springframework.validation.Errors errors) |
String getDosingInstructionsAsString(Locale locale)
void setDosingInstructions(DrugOrder order)
order
- DrugOrder to set dosing instructionsDosingInstructions getDosingInstructions(DrugOrder order)
order
- DrugOrder to get dosing instructionsAPIException
- if dosing type of passing order is not matched with dosing type of
implementing dosing instructionvoid validate(DrugOrder order, org.springframework.validation.Errors errors)
Date getAutoExpireDate(DrugOrder order)
Copyright © 2024 OpenMRS Inc.. All rights reserved.