diff --git a/src/DCC.ts b/src/DCC.ts index d7226bbeb0de64544a87b00e7f332a2f096e08e0..767ca96362634677997544e33ddbdf5580c71bcb 100644 --- a/src/DCC.ts +++ b/src/DCC.ts @@ -248,11 +248,17 @@ export class ItemListType extends DCCXMLElement { export class CalibrationLaboratoryType extends DCCXMLElement { calibrationLaboratoryCode?: DCCXMLElement; contact: ContactType; + cryptElectronicSeal?: DCCXMLBoolean; + cryptElectronicSignature?: DCCXMLBoolean; + cryptElectronicTimeStamp?: DCCXMLBoolean; constructor(el: Partial<CalibrationLaboratoryType> = {}) { super(el); if (el.calibrationLaboratoryCode) this.calibrationLaboratoryCode = new DCCXMLElement(el.calibrationLaboratoryCode); this.contact = new ContactType(el.contact); + if (el.cryptElectronicSeal) this.cryptElectronicSeal = new DCCXMLBoolean(el.cryptElectronicSeal); + if (el.cryptElectronicSignature) this.cryptElectronicSignature = new DCCXMLBoolean(el.cryptElectronicSignature); + if (el.cryptElectronicTimeStamp) this.cryptElectronicTimeStamp = new DCCXMLBoolean(el.cryptElectronicTimeStamp); } }