use of org.hl7.fhir.dstu2.model.Enumerations.RemittanceOutcomeEnumFactory in project org.hl7.fhir.core by hapifhir.
the class ClaimResponse method setProperty.
@Override
public void setProperty(String name, Base value) throws FHIRException {
if (name.equals("identifier"))
this.getIdentifier().add(castToIdentifier(value));
else if (name.equals("request[x]"))
// Type
this.request = (Type) value;
else if (name.equals("ruleset"))
// Coding
this.ruleset = castToCoding(value);
else if (name.equals("originalRuleset"))
// Coding
this.originalRuleset = castToCoding(value);
else if (name.equals("created"))
// DateTimeType
this.created = castToDateTime(value);
else if (name.equals("organization[x]"))
// Type
this.organization = (Type) value;
else if (name.equals("requestProvider[x]"))
// Type
this.requestProvider = (Type) value;
else if (name.equals("requestOrganization[x]"))
// Type
this.requestOrganization = (Type) value;
else if (name.equals("outcome"))
// Enumeration<RemittanceOutcome>
this.outcome = new RemittanceOutcomeEnumFactory().fromType(value);
else if (name.equals("disposition"))
// StringType
this.disposition = castToString(value);
else if (name.equals("payeeType"))
// Coding
this.payeeType = castToCoding(value);
else if (name.equals("item"))
this.getItem().add((ItemsComponent) value);
else if (name.equals("addItem"))
this.getAddItem().add((AddedItemComponent) value);
else if (name.equals("error"))
this.getError().add((ErrorsComponent) value);
else if (name.equals("totalCost"))
// Money
this.totalCost = castToMoney(value);
else if (name.equals("unallocDeductable"))
// Money
this.unallocDeductable = castToMoney(value);
else if (name.equals("totalBenefit"))
// Money
this.totalBenefit = castToMoney(value);
else if (name.equals("paymentAdjustment"))
// Money
this.paymentAdjustment = castToMoney(value);
else if (name.equals("paymentAdjustmentReason"))
// Coding
this.paymentAdjustmentReason = castToCoding(value);
else if (name.equals("paymentDate"))
// DateType
this.paymentDate = castToDate(value);
else if (name.equals("paymentAmount"))
// Money
this.paymentAmount = castToMoney(value);
else if (name.equals("paymentRef"))
// Identifier
this.paymentRef = castToIdentifier(value);
else if (name.equals("reserved"))
// Coding
this.reserved = castToCoding(value);
else if (name.equals("form"))
// Coding
this.form = castToCoding(value);
else if (name.equals("note"))
this.getNote().add((NotesComponent) value);
else if (name.equals("coverage"))
this.getCoverage().add((CoverageComponent) value);
else
super.setProperty(name, value);
}
use of org.hl7.fhir.dstu2.model.Enumerations.RemittanceOutcomeEnumFactory in project org.hl7.fhir.core by hapifhir.
the class ExplanationOfBenefit method setProperty.
@Override
public void setProperty(String name, Base value) throws FHIRException {
if (name.equals("identifier"))
this.getIdentifier().add(castToIdentifier(value));
else if (name.equals("request"))
// Reference
this.request = castToReference(value);
else if (name.equals("outcome"))
// Enumeration<RemittanceOutcome>
this.outcome = new RemittanceOutcomeEnumFactory().fromType(value);
else if (name.equals("disposition"))
// StringType
this.disposition = castToString(value);
else if (name.equals("ruleset"))
// Coding
this.ruleset = castToCoding(value);
else if (name.equals("originalRuleset"))
// Coding
this.originalRuleset = castToCoding(value);
else if (name.equals("created"))
// DateTimeType
this.created = castToDateTime(value);
else if (name.equals("organization"))
// Reference
this.organization = castToReference(value);
else if (name.equals("requestProvider"))
// Reference
this.requestProvider = castToReference(value);
else if (name.equals("requestOrganization"))
// Reference
this.requestOrganization = castToReference(value);
else
super.setProperty(name, value);
}
use of org.hl7.fhir.dstu2.model.Enumerations.RemittanceOutcomeEnumFactory in project org.hl7.fhir.core by hapifhir.
the class EnrollmentResponse method setProperty.
@Override
public void setProperty(String name, Base value) throws FHIRException {
if (name.equals("identifier"))
this.getIdentifier().add(castToIdentifier(value));
else if (name.equals("request"))
// Reference
this.request = castToReference(value);
else if (name.equals("outcome"))
// Enumeration<RemittanceOutcome>
this.outcome = new RemittanceOutcomeEnumFactory().fromType(value);
else if (name.equals("disposition"))
// StringType
this.disposition = castToString(value);
else if (name.equals("ruleset"))
// Coding
this.ruleset = castToCoding(value);
else if (name.equals("originalRuleset"))
// Coding
this.originalRuleset = castToCoding(value);
else if (name.equals("created"))
// DateTimeType
this.created = castToDateTime(value);
else if (name.equals("organization"))
// Reference
this.organization = castToReference(value);
else if (name.equals("requestProvider"))
// Reference
this.requestProvider = castToReference(value);
else if (name.equals("requestOrganization"))
// Reference
this.requestOrganization = castToReference(value);
else
super.setProperty(name, value);
}
use of org.hl7.fhir.dstu2.model.Enumerations.RemittanceOutcomeEnumFactory in project org.hl7.fhir.core by hapifhir.
the class ClaimResponse method setProperty.
@Override
public void setProperty(String name, Base value) throws FHIRException {
if (name.equals("identifier"))
this.getIdentifier().add(castToIdentifier(value));
else if (name.equals("request"))
// Reference
this.request = castToReference(value);
else if (name.equals("ruleset"))
// Coding
this.ruleset = castToCoding(value);
else if (name.equals("originalRuleset"))
// Coding
this.originalRuleset = castToCoding(value);
else if (name.equals("created"))
// DateTimeType
this.created = castToDateTime(value);
else if (name.equals("organization"))
// Reference
this.organization = castToReference(value);
else if (name.equals("requestProvider"))
// Reference
this.requestProvider = castToReference(value);
else if (name.equals("requestOrganization"))
// Reference
this.requestOrganization = castToReference(value);
else if (name.equals("outcome"))
// Enumeration<RemittanceOutcome>
this.outcome = new RemittanceOutcomeEnumFactory().fromType(value);
else if (name.equals("disposition"))
// StringType
this.disposition = castToString(value);
else if (name.equals("payeeType"))
// Coding
this.payeeType = castToCoding(value);
else if (name.equals("item"))
this.getItem().add((ItemsComponent) value);
else if (name.equals("addItem"))
this.getAddItem().add((AddedItemComponent) value);
else if (name.equals("error"))
this.getError().add((ErrorsComponent) value);
else if (name.equals("totalCost"))
// Money
this.totalCost = castToMoney(value);
else if (name.equals("unallocDeductable"))
// Money
this.unallocDeductable = castToMoney(value);
else if (name.equals("totalBenefit"))
// Money
this.totalBenefit = castToMoney(value);
else if (name.equals("paymentAdjustment"))
// Money
this.paymentAdjustment = castToMoney(value);
else if (name.equals("paymentAdjustmentReason"))
// Coding
this.paymentAdjustmentReason = castToCoding(value);
else if (name.equals("paymentDate"))
// DateType
this.paymentDate = castToDate(value);
else if (name.equals("paymentAmount"))
// Money
this.paymentAmount = castToMoney(value);
else if (name.equals("paymentRef"))
// Identifier
this.paymentRef = castToIdentifier(value);
else if (name.equals("reserved"))
// Coding
this.reserved = castToCoding(value);
else if (name.equals("form"))
// Coding
this.form = castToCoding(value);
else if (name.equals("note"))
this.getNote().add((NotesComponent) value);
else if (name.equals("coverage"))
this.getCoverage().add((CoverageComponent) value);
else
super.setProperty(name, value);
}
use of org.hl7.fhir.dstu2.model.Enumerations.RemittanceOutcomeEnumFactory in project org.hl7.fhir.core by hapifhir.
the class EnrollmentResponse method setProperty.
@Override
public void setProperty(String name, Base value) throws FHIRException {
if (name.equals("identifier"))
this.getIdentifier().add(castToIdentifier(value));
else if (name.equals("request"))
// Reference
this.request = castToReference(value);
else if (name.equals("outcome"))
// Enumeration<RemittanceOutcome>
this.outcome = new RemittanceOutcomeEnumFactory().fromType(value);
else if (name.equals("disposition"))
// StringType
this.disposition = castToString(value);
else if (name.equals("ruleset"))
// Coding
this.ruleset = castToCoding(value);
else if (name.equals("originalRuleset"))
// Coding
this.originalRuleset = castToCoding(value);
else if (name.equals("created"))
// DateTimeType
this.created = castToDateTime(value);
else if (name.equals("organization"))
// Reference
this.organization = castToReference(value);
else if (name.equals("requestProvider"))
// Reference
this.requestProvider = castToReference(value);
else if (name.equals("requestOrganization"))
// Reference
this.requestOrganization = castToReference(value);
else
super.setProperty(name, value);
}
Aggregations