Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new vaxcodes #58

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
21 changes: 14 additions & 7 deletions src/decode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,27 @@ export async function decodedStringToReceipt(decoded: object) : Promise<SHCRecei
// All of the vaccines below are listed as CVX codes, but we haven't seen them yet in our data - adding for completeness
'501': 'QAZCOVID-IN',
'503': 'COVIVAC',
// '500': 'UNKNOWN',
'500': 'MODERNA BIVALENT',
'213': 'UNKNOWN',
'509': 'EPIVACCORONA',
'508': 'CHOCELL',
'211': 'NOVAVAX',
'504': 'SPUTNIK LIGHT',

// new codes for booster shots
'300': 'PFIZER BIVALENT BOOSTER (PRE-FDA)',
'301': 'PFIZER BIVALENT BOOSTER',
'309': 'PFIZER XBB.1.5 BOOSTER',
'229': 'MODERNA BIVALENT BOOSTER',
'228': 'MODERNA YOUTH',
'519': 'MODERNA BA.1 BIVALENT',
'300': 'PFIZER BA.4/5 BIVALENT',
'301': 'PFIZER BA.4/5 YOUTH',
'302': 'PFIZER BA.4/5 PEDIATRIC',
'308': 'PFIZER XBB.1.5 PEDIATRIC',
'309': 'PFIZER XBB.1.5',
'310': 'PFIZER XBB.1.5 YOUTH',
'311': 'MODERNA XBB.1.5 YOUTH',
'312': 'MODERNA XBB.1.5',
'229': 'MODERNA BA.4/5 BIVALENT',
'230': 'MODERNA BA.4/5 YOUTH',
'227': 'MODERNA PEDIATRIC',
'228': 'MODERNA PEDIATRIC',
'313': 'NOVAVAX XBB.1.5',
}

// Track whether the SHC code is validated - if it is not, we will record it so that we can
Expand Down