UNPKG

covid-certificate

Version:

Parse and verify a european digital covid certificate (dcc)

20 lines (19 loc) 907 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VaccineTypeJSON = exports.TargetJSON = exports.TestResultJSON = void 0; // see: https://github.com/ehn-dcc-development/ehn-dcc-valuesets var TestResultJSON; (function (TestResultJSON) { TestResultJSON["Detected"] = "260373001"; TestResultJSON["Undetected"] = "260415000"; })(TestResultJSON = exports.TestResultJSON || (exports.TestResultJSON = {})); var TargetJSON; (function (TargetJSON) { TargetJSON["COVID-19"] = "840539006"; })(TargetJSON = exports.TargetJSON || (exports.TargetJSON = {})); var VaccineTypeJSON; (function (VaccineTypeJSON) { VaccineTypeJSON["SARS-CoV-2 mRNA vaccine"] = "1119349007"; VaccineTypeJSON["SARS-CoV-2 antigen vaccine"] = "1119305005"; VaccineTypeJSON["covid-19 vaccines"] = "J07BX03"; })(VaccineTypeJSON = exports.VaccineTypeJSON || (exports.VaccineTypeJSON = {}));