Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJWSPayload ¶
func NewJWSPayload(fb FHIRBundle, issuer string) jwsPayload
Types ¶
type FHIRBundle ¶
type FHIRBundle struct { Patient Immunizations []Immunization }
func (FHIRBundle) MarshalJSON ¶
func (f FHIRBundle) MarshalJSON() ([]byte, error)
type Immunization ¶
type Immunization struct { DatePerformed time.Time Performer string LotNumber string VaccineType }
type VaccineType ¶
type VaccineType string
const ( Pfizer VaccineType = "Pfizer" Moderna VaccineType = "Moderna" JohnsonAndJohnson VaccineType = "JohnsonAndJohnson" AstraZeneca VaccineType = "AstraZeneca" Sinopharm VaccineType = "Sinopharm" COVAXIN VaccineType = "COVAXIN" )
Click to show internal directories.
Click to hide internal directories.