public class KnownMedicationImpl extends Object implements KnownMedication
| Constructor and Description |
|---|
KnownMedicationImpl(AMTv3Code medicine,
String directions)
Convenience constructor with only mandatory fields
|
KnownMedicationImpl(AMTv3Code medicine,
String directions,
String clinicalIndication,
String comment) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClinicalIndication()
Optional.
|
String |
getComment()
Optional.
|
String |
getDirections()
A complete narrative description of how much, when and how to use the
medicine, vaccine or other therapeutic good.
|
UniqueIdentifier |
getID()
A random UUID unless explicitly set.
|
Coded |
getMedicine()
The medicine or other therapeutic good being 1..1 ordered, administered
to or used by the subject of care.
|
void |
setClinicalIndication(String clinicalIndication) |
void |
setComment(String comment) |
void |
setDirections(String directions) |
void |
setID(UniqueIdentifier id)
A random UUID unless explicitly set
|
void |
setMedicine(Coded medicine) |
public KnownMedicationImpl(AMTv3Code medicine, String directions, String clinicalIndication, String comment)
public Coded getMedicine()
Should be an AMT v3 code.
getMedicine in interface KnownMedicationpublic String getDirections()
getDirections in interface KnownMedicationpublic String getClinicalIndication()
getClinicalIndication in interface KnownMedicationpublic String getComment()
getComment in interface KnownMedicationpublic UniqueIdentifier getID()
getID in interface KnownMedicationpublic void setID(UniqueIdentifier id)
public void setMedicine(Coded medicine)
public void setDirections(String directions)
public void setClinicalIndication(String clinicalIndication)
public void setComment(String comment)
Copyright © 2021. All rights reserved.