Skip to content
Snippets Groups Projects
Verified Commit 2d5deb37 authored by Jan Loewe's avatar Jan Loewe :speech_balloon:
Browse files

feat(hashType): add description, inValidityRange and traceable

parent b290b6ee
Branches
Tags
1 merge request!4Update to DCC Schema V3.2
...@@ -485,6 +485,9 @@ export class HashType extends DCCXMLElement { ...@@ -485,6 +485,9 @@ export class HashType extends DCCXMLElement {
referralID: DCCXMLElement; referralID: DCCXMLElement;
procedure: DCCXMLElement; procedure: DCCXMLElement;
value: DCCXMLElement; value: DCCXMLElement;
description?: RichContentType;
inValidityRange?: DCCXMLBoolean;
traceable?: DCCXMLBoolean;
linkedReport?: HashType; linkedReport?: HashType;
constructor(el: Partial<HashType> = {}) { constructor(el: Partial<HashType> = {}) {
...@@ -493,6 +496,9 @@ export class HashType extends DCCXMLElement { ...@@ -493,6 +496,9 @@ export class HashType extends DCCXMLElement {
this.referralID = new DCCXMLElement(el.referralID); this.referralID = new DCCXMLElement(el.referralID);
this.procedure = new DCCXMLElement(el.procedure); this.procedure = new DCCXMLElement(el.procedure);
this.value = new DCCXMLElement(el.value); this.value = new DCCXMLElement(el.value);
if (el.description) this.description = new RichContentType(el.description);
if (el.inValidityRange) this.inValidityRange = new DCCXMLBoolean(el.inValidityRange);
if (el.traceable) this.traceable = new DCCXMLBoolean(el.traceable);
if (el.linkedReport) this.linkedReport = new HashType(el.linkedReport); if (el.linkedReport) this.linkedReport = new HashType(el.linkedReport);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment