Class Repetition
java.lang.Object
org.projecthusky.fhir.emed.ch.epr.model.emediplan.chmed23a.repetition.Repetition
- All Implemented Interfaces:
EMediplanObject
- Direct Known Subclasses:
RepetitionDuration,RepetitionNumber,RepetitionNumberAndDuration
Indicates how often a prescription can be repeated or how long the prescription is valid.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasExtensions(boolean inDepth) Whether the eMediplan object has any extension or not.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanObject
getFieldValidationPath, getFieldValidationPath, getIgnoredFieldValidationIssue, getRequiredFieldValidationIssue, getValidationIssue, trim, validate, validate
-
Field Details
-
type
-
-
Constructor Details
-
Repetition
public Repetition()
-
-
Method Details
-
hasExtensions
public boolean hasExtensions(boolean inDepth) Description copied from interface:EMediplanObjectWhether the eMediplan object has any extension or not.- Specified by:
hasExtensionsin interfaceEMediplanObject- Parameters:
inDepth- Iftrue, the called object, and all its children objects, are subject to the check. Iffalse, only the called object is checked for extensions.- Returns:
trueif the object contains any extensions;falseotherwise.
-