"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.claimSchema = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
const zod_1 = require("zod");
const reference_zod_1 = require("./reference.zod");
exports.claimSchema = zod_1.z.object({
    resourceType: zod_1.z.literal('Claim'),
    status: zod_1.z.string(),
    type: zod_1.z.record(zod_1.z.string(), zod_1.z.any()),
    use: zod_1.z.string(),
    patient: zod_1.z.object({
        reference: (0, reference_zod_1.createReferenceSchema)('Patient'),
    }),
    created: extensions_core_1.DateOnlySchema,
    priority: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
    provider: zod_1.z.record(zod_1.z.string(), zod_1.z.any()),
    supportingInfo: zod_1.z.array(zod_1.z.any()).optional(),
    diagnosis: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.any())),
    insurance: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.any())),
    item: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.any())),
});
//# sourceMappingURL=claim.js.map