const mongoose = require("mongoose");
const {
    Extension
} = require("../FHIRDataTypesSchemaExport/allTypeSchemaTopDef");
const {
    CodeableConcept
} = require("../FHIRDataTypesSchemaExport/allTypeSchemaTopDef");
const { Money } = require("../FHIRDataTypesSchemaExport/allTypeSchemaTopDef");
const date = require("../FHIRDataTypesSchema/date");
const {
    Identifier
} = require("../FHIRDataTypesSchemaExport/allTypeSchemaTopDef");

const {
    ClaimResponse_Payment
} = require("../FHIRDataTypesSchemaExport/allTypeSchemaTopDef");
ClaimResponse_Payment.add({
    extension: {
        type: [Extension],
        default: void 0
    },
    modifierExtension: {
        type: [Extension],
        default: void 0
    },
    type: {
        type: CodeableConcept,
        required: true,
        default: void 0
    },
    adjustment: {
        type: Money,
        default: void 0
    },
    adjustmentReason: {
        type: CodeableConcept,
        default: void 0
    },
    date: date,
    amount: {
        type: Money,
        required: true,
        default: void 0
    },
    identifier: {
        type: Identifier,
        default: void 0
    }
});
module.exports.ClaimResponse_Payment = ClaimResponse_Payment;
