"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractResourceId = void 0;
const extractResourceId = (input, resource) => {
    const match = input.match(/(?:Patient\/)?([a-zA-Z0-9-]+)$/);
    return match != null ? match[1] : null;
};
exports.extractResourceId = extractResourceId;
//# sourceMappingURL=extractResourceId.js.map