Class TimingModifierExtensionR5
java.lang.Object
io.github.jy95.fds.r5.translators.TimingModifierExtensionR5
- All Implemented Interfaces:
Translator<org.hl7.fhir.r5.model.Timing>,TranslatorExtension<org.hl7.fhir.r5.model.Timing,org.hl7.fhir.r5.model.Extension, FDSConfigR5>
public class TimingModifierExtensionR5
extends Object
implements TranslatorExtension<org.hl7.fhir.r5.model.Timing,org.hl7.fhir.r5.model.Extension,FDSConfigR5>
R5 class for translating "timing.modifierExtension"
- Author:
- jy95
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.hl7.fhir.r5.model.Extension> getExtension(org.hl7.fhir.r5.model.Timing data) Return a list of extension contained in the databooleanisPresent(org.hl7.fhir.r5.model.Timing data) Checks whether a field is present and can be converted to a string.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.jy95.fds.common.types.TranslatorExtension
convert, getTranslationService
-
Constructor Details
-
TimingModifierExtensionR5
public TimingModifierExtensionR5()
-
-
Method Details
-
isPresent
public boolean isPresent(org.hl7.fhir.r5.model.Timing data) Checks whether a field is present and can be converted to a string.- Specified by:
isPresentin interfaceTranslator<org.hl7.fhir.r5.model.Timing>- Parameters:
data- the fhir element containing field to check- Returns:
trueif the field is present,falseotherwise
-
getExtension
Return a list of extension contained in the data- Specified by:
getExtensionin interfaceTranslatorExtension<org.hl7.fhir.r5.model.Timing,org.hl7.fhir.r5.model.Extension, FDSConfigR5> - Parameters:
data- the data to be converted- Returns:
- The list of extension
-