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.VaccinationDeclaration
Swift
public init( diseaseAgentTargeted: DiseaseAgentTargeted, vaccineOrProphylaxis: VaccineOrProphylaxis, vaccineMedicinalProduct: VaccineMedicinalProduct, vaccineMarketingAuthorizationHolder: VaccineMarketingAuthorizationHolder, doseNumber: Int, totalSeriesOfDoses: Int, dateOfVaccination: Date, countryOfVaccination: Country, certificateIssuer: String, certificateIdentifier: String )Parameters
diseaseAgentTargetedDisease or agent targeted
vaccineOrProphylaxisVaccine or prophylaxis
vaccineMedicinalProductMedicinal product used for this specific dose of vaccination
vaccineMarketingAuthorizationHolderVaccine marketing authorisation holder or manufacturer
doseNumberNumber in a series of doses
totalSeriesOfDosesThe overall number of doses in the series
dateOfVaccinationDate of Vaccination
countryOfVaccinationMember State or third country in which the vaccine was administered
certificateIssuerCertificate Issuer
certificateIdentifierUnique Certificate Identifier (UVCI)
-
The EUDCC vaccination vaccine marketing authorisation holder or manufacturer
See moreDeclaration
Swift
struct VaccineMarketingAuthorizationHolder : Hashableextension EUDCC.Vaccination.VaccineMarketingAuthorizationHolder: Codable
-
The EUDCC vaccination medicinal product used for this specific dose of vaccination
See moreDeclaration
Swift
struct VaccineMedicinalProduct : Hashableextension EUDCC.Vaccination.VaccineMedicinalProduct: Codable
-
The EUDCC vaccination type of the vaccine or prophylaxis used.
See moreDeclaration
Swift
struct VaccineOrProphylaxis : Hashableextension EUDCC.Vaccination.VaccineOrProphylaxis: Codable
-
Creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder to read data from.
-
Encodes this value into the given encoder.
Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderThe encoder to write data to.
Vaccination Structure Reference