"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "fakeCreateEncounterRequestBody", {
    enumerable: true,
    get: function() {
        return fakeCreateEncounterRequestBody;
    }
});
const _zocker = require("zocker");
const _utils = require("./utils");
const _createEncounterschema = require("@tamanu/shared/schemas/facility/requests/createEncounter.schema");
const fakeCreateEncounterRequestBody = (options)=>{
    const { required, excludedFields = [], overrides = {} } = options;
    const mock = (0, _zocker.zocker)(_createEncounterschema.createEncounterSchema).generate();
    const final = {
        ...(0, _utils.processMock)({
            schema: _createEncounterschema.createEncounterSchema,
            mock,
            excludedFields
        }),
        ...overrides,
        ...required
    };
    return final;
};

//# sourceMappingURL=createEncounter.js.map