public class FreeTextDosingInstructions extends BaseDosingInstructions
Constructor and Description |
---|
FreeTextDosingInstructions() |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getInstructions() |
void |
setDosingInstructions(DrugOrder order)
Serialize dosing instructions into order
|
void |
setInstructions(String instructions) |
void |
validate(DrugOrder order,
org.springframework.validation.Errors errors) |
getAutoExpireDate
public String getDosingInstructionsAsString(Locale locale)
DosingInstructions
DosingInstructions.getDosingInstructions(DrugOrder)
public void setDosingInstructions(DrugOrder order)
DosingInstructions
order
- DrugOrder to set dosing instructionsDosingInstructions.setDosingInstructions(DrugOrder)
public DosingInstructions getDosingInstructions(DrugOrder order)
DosingInstructions
order
- DrugOrder to get dosing instructionsDosingInstructions.getDosingInstructions(DrugOrder)
public void validate(DrugOrder order, org.springframework.validation.Errors errors)
public String getInstructions()
public void setInstructions(String instructions)
Copyright © 2024 OpenMRS Inc.. All rights reserved.