"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "TestProvider", {
    enumerable: true,
    get: function() {
        return TestProvider;
    }
});
const _Provider = require("./Provider");
let TestProvider = class TestProvider extends _Provider.Provider {
    getUrlForResult(result) {
        const { description, externalCode, id } = result;
        if (/external/i.test(description) || externalCode) {
            return `https://test.tamanu.io/${id}`;
        }
        return null;
    }
};

//# sourceMappingURL=TestProvider.js.map