Class DoseQuantityR4
java.lang.Object
io.github.jy95.fds.r4.translators.DoseQuantityR4
- All Implemented Interfaces:
Translator<org.hl7.fhir.r4.model.Dosage>
R4 class for translating "doseAndRate.doseQuantity"
- Author:
- jy95
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DoseQuantityR4
public DoseQuantityR4()
-
-
Method Details
-
convert
Converts a dosage field into a human-readable string representation asynchronously.- Specified by:
convertin interfaceTranslator<org.hl7.fhir.r4.model.Dosage>- Parameters:
dosage- the dosage field to be converted- Returns:
- a
CompletableFuturethat will complete with the human-readable string
-
isPresent
public boolean isPresent(org.hl7.fhir.r4.model.Dosage dosage) Checks whether a dosage field is present and can be converted to a string.- Specified by:
isPresentin interfaceTranslator<org.hl7.fhir.r4.model.Dosage>- Parameters:
dosage- the dosage field to check- Returns:
trueif the dosage field is present,falseotherwise
-