"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MetriportWebhookType = void 0;
/**
 * The type of Metriport real-time patient notification.
 *
 * Metriport delivers HL7v2 ADT notifications under the `patient.*` family and
 * document/data notifications under the `medical.*` family. See:
 * https://docs.metriport.com/medical-api/handling-data/realtime-patient-notifications
 */
var MetriportWebhookType;
(function (MetriportWebhookType) {
    MetriportWebhookType["Ping"] = "ping";
    /** HL7 ADT^A01 admit notification (Encounter Bundle via a pre-signed URL). */
    MetriportWebhookType["PatientAdmit"] = "patient.admit";
    /** HL7 ADT^A03 discharge notification. */
    MetriportWebhookType["PatientDischarge"] = "patient.discharge";
    /** HL7 ADT^A02 transfer notification. */
    MetriportWebhookType["PatientTransfer"] = "patient.transfer";
    /**
     * Discharge summary notification. Currently undocumented by Metriport but
     * modelled on the published `medical.*` webhook family (a `patients` array).
     */
    MetriportWebhookType["DischargeSummary"] = "medical.discharge-summary";
})(MetriportWebhookType || (exports.MetriportWebhookType = MetriportWebhookType = {}));
//# sourceMappingURL=types.js.map