diff --git a/hapi-fhir-structures-dstu2/src/main/java/ca/uhn/fhir/model/dstu2/composite/MoneyDt.java b/hapi-fhir-structures-dstu2/src/main/java/ca/uhn/fhir/model/dstu2/composite/MoneyDt.java index 5ea69260d74..3be11fb3f8e 100644 --- a/hapi-fhir-structures-dstu2/src/main/java/ca/uhn/fhir/model/dstu2/composite/MoneyDt.java +++ b/hapi-fhir-structures-dstu2/src/main/java/ca/uhn/fhir/model/dstu2/composite/MoneyDt.java @@ -26,4 +26,29 @@ import ca.uhn.fhir.model.dstu2.composite.QuantityDt; @DatatypeDef(name="Money", profileOf=QuantityDt.class) public class MoneyDt extends QuantityDt { + private static final long serialVersionUID = 1L; + + /** + * Constructor + */ + public MoneyDt() { + // nothing + } + + /** + * Constructor + */ + @SimpleSetter + public MoneyDt(@SimpleSetter.Parameter(name = "theValue") double theValue) { + setValue(theValue); + } + + /** + * Constructor + */ + @SimpleSetter + public MoneyDt(@SimpleSetter.Parameter(name = "theValue") long theValue) { + setValue(theValue); + } + }