"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get getCompletedDate () {
        return getCompletedDate;
    },
    get getDateOfSwab () {
        return getDateOfSwab;
    },
    get getLabMethod () {
        return getLabMethod;
    },
    get getLaboratory () {
        return getLaboratory;
    },
    get getRequestId () {
        return getRequestId;
    },
    get getTimeOfSwab () {
        return getTimeOfSwab;
    }
});
const getCompletedDate = ({ completedDate }, getSetting, { formatShortExplicit })=>completedDate ? formatShortExplicit(completedDate) : 'Unknown';
const getDateOfSwab = ({ sampleTime }, getSetting, { formatShortExplicit })=>sampleTime ? formatShortExplicit(sampleTime) : 'Unknown';
const getTimeOfSwab = ({ sampleTime }, getSetting, { formatTime })=>sampleTime ? formatTime(sampleTime) : 'Unknown';
const getLaboratory = ({ laboratory }, getSetting)=>laboratory?.name || getSetting('templates.covidTestCertificate.laboratoryName');
const getLabMethod = ({ labTestMethod })=>(labTestMethod || {}).name || 'Unknown';
const getRequestId = ({ displayId })=>displayId || 'Unknown';

//# sourceMappingURL=labRequestAccessors.js.map