Vaccination
struct Vaccination : Hashable
extension EUDCC.Vaccination: Codable
The EUDCC Vaccination Entry
-
Disease or agent targeted
Declaration
Swift
public let diseaseAgentTargeted: DiseaseAgentTargeted
-
Type of the vaccine or prophylaxis used.
Declaration
Swift
public let vaccineOrProphylaxis: VaccineOrProphylaxis
-
Medicinal product used for this specific dose of vaccination
Declaration
Swift
public let vaccineMedicinalProduct: VaccineMedicinalProduct
-
Vaccine marketing authorisation holder or manufacturer
Declaration
Swift
public let vaccineMarketingAuthorizationHolder: VaccineMarketingAuthorizationHolder
-
Number in a series of doses
Declaration
Swift
public let doseNumber: Int
-
The overall number of doses in the series
Declaration
Swift
public let totalSeriesOfDoses: Int
-
Date of Vaccination
Declaration
Swift
public let dateOfVaccination: Date
-
Member State or third country in which the vaccine was administered
Declaration
Swift
public let countryOfVaccination: Country
-
Certificate Issuer
Declaration
Swift
public let certificateIssuer: String
-
Unique Certificate Identifier (UVCI)
Declaration
Swift
public let certificateIdentifier: String
-
init(diseaseAgentTargeted:
vaccineOrProphylaxis: vaccineMedicinalProduct: vaccineMarketingAuthorizationHolder: doseNumber: totalSeriesOfDoses: dateOfVaccination: countryOfVaccination: certificateIssuer: certificateIdentifier: ) Creates a new instance of
EUDCC.Vaccination
Declaration
Swift
public init( diseaseAgentTargeted: DiseaseAgentTargeted, vaccineOrProphylaxis: VaccineOrProphylaxis, vaccineMedicinalProduct: VaccineMedicinalProduct, vaccineMarketingAuthorizationHolder: VaccineMarketingAuthorizationHolder, doseNumber: Int, totalSeriesOfDoses: Int, dateOfVaccination: Date, countryOfVaccination: Country, certificateIssuer: String, certificateIdentifier: String )
Parameters
diseaseAgentTargeted
Disease or agent targeted
vaccineOrProphylaxis
Vaccine or prophylaxis
vaccineMedicinalProduct
Medicinal product used for this specific dose of vaccination
vaccineMarketingAuthorizationHolder
Vaccine marketing authorisation holder or manufacturer
doseNumber
Number in a series of doses
totalSeriesOfDoses
The overall number of doses in the series
dateOfVaccination
Date of Vaccination
countryOfVaccination
Member State or third country in which the vaccine was administered
certificateIssuer
Certificate Issuer
certificateIdentifier
Unique Certificate Identifier (UVCI)
-
The EUDCC vaccination vaccine marketing authorisation holder or manufacturer
See moreDeclaration
Swift
struct VaccineMarketingAuthorizationHolder : Hashable
extension EUDCC.Vaccination.VaccineMarketingAuthorizationHolder: Codable
-
The EUDCC vaccination medicinal product used for this specific dose of vaccination
See moreDeclaration
Swift
struct VaccineMedicinalProduct : Hashable
extension EUDCC.Vaccination.VaccineMedicinalProduct: Codable
-
The EUDCC vaccination type of the vaccine or prophylaxis used.
See moreDeclaration
Swift
struct VaccineOrProphylaxis : Hashable
extension EUDCC.Vaccination.VaccineOrProphylaxis: Codable
-
Creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder
The decoder to read data from.
-
Encodes this value into the given encoder.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
The encoder to write data to.