use of org.hl7.fhir.r4.model.ExplanationOfBenefit.PaymentComponent in project beneficiary-fhir-data by CMSgov.
the class HospiceClaimTransformerV2Test method shouldHavePaymentTotal.
@Test
public void shouldHavePaymentTotal() {
PaymentComponent expected = eob.getPayment();
PaymentComponent compare = new PaymentComponent().setAmount(new Money().setValueElement(new DecimalType("130.32")).setCurrency(TransformerConstants.CODED_MONEY_USD));
assertTrue(compare.equalsDeep(expected));
}
use of org.hl7.fhir.r4.model.ExplanationOfBenefit.PaymentComponent in project beneficiary-fhir-data by CMSgov.
the class InpatientClaimTransformerV2Test method shouldHavePayment.
/**
* Payment
*/
@Test
public void shouldHavePayment() {
PaymentComponent compare = new PaymentComponent().setAmount(new Money().setValue(7699.48).setCurrency(TransformerConstants.CODED_MONEY_USD));
assertTrue(compare.equalsDeep(eob.getPayment()));
}
Aggregations