gdc-common-utils-ts 2.9.19 → 2.9.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -50,10 +50,17 @@ export declare class AllergyIntoleranceEntryEditor extends ClinicalResourceEntry
|
|
|
50
50
|
setCriticality(criticality?: AllergyIntoleranceCriticality | null): this;
|
|
51
51
|
/** Reads the allergy criticality. */
|
|
52
52
|
getCriticality(): AllergyIntoleranceCriticality | undefined;
|
|
53
|
-
/** Writes the clinical manifestation required for a reaction event. */
|
|
53
|
+
/** Writes the clinical manifestation required for a reaction event. Prefer separate coding-system and code-value arguments. */
|
|
54
54
|
setReactionManifestation(manifestation?: string | null): this;
|
|
55
|
-
|
|
55
|
+
setReactionManifestation(codingSystem: string, codeValue: string): this;
|
|
56
|
+
/** Reads the complete compatibility token for the reaction manifestation. */
|
|
56
57
|
getReactionManifestation(): string | undefined;
|
|
58
|
+
/** Reads the reaction-manifestation coding system without requiring callers to parse a token. */
|
|
59
|
+
getReactionManifestationSystem(): string | undefined;
|
|
60
|
+
/** Reads the reaction-manifestation code value without requiring callers to parse a token. */
|
|
61
|
+
getReactionManifestationCode(): string | undefined;
|
|
62
|
+
/** Reads the complete `system|code` manifestation token used by canonical flat claims. */
|
|
63
|
+
getReactionManifestationSystemAndCode(): string | undefined;
|
|
57
64
|
/** Writes reaction-event severity, which is distinct from potential future-risk criticality. */
|
|
58
65
|
setReactionSeverity(severity?: AllergyIntoleranceReactionSeverity | null): this;
|
|
59
66
|
/** Reads reaction-event severity. */
|
|
@@ -50,10 +50,19 @@ export class AllergyIntoleranceEntryEditor extends ClinicalResourceEntryEditor {
|
|
|
50
50
|
setCriticality(criticality) { return this.setScalarClaim(AllergyIntoleranceClaim.Criticality, criticality); }
|
|
51
51
|
/** Reads the allergy criticality. */
|
|
52
52
|
getCriticality() { return this.getScalarClaim(AllergyIntoleranceClaim.Criticality); }
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
setReactionManifestation(manifestationOrCodingSystem, codeValue) {
|
|
54
|
+
return codeValue === undefined
|
|
55
|
+
? this.setCodingTokenCode(AllergyIntoleranceClaim.Manifestation, manifestationOrCodingSystem)
|
|
56
|
+
: this.setCodingTokenSystemAndCode(AllergyIntoleranceClaim.Manifestation, manifestationOrCodingSystem, codeValue);
|
|
57
|
+
}
|
|
58
|
+
/** Reads the complete compatibility token for the reaction manifestation. */
|
|
59
|
+
getReactionManifestation() { return this.getCodingTokenSystemAndCode(AllergyIntoleranceClaim.Manifestation); }
|
|
60
|
+
/** Reads the reaction-manifestation coding system without requiring callers to parse a token. */
|
|
61
|
+
getReactionManifestationSystem() { return this.getCodingTokenSystem(AllergyIntoleranceClaim.Manifestation); }
|
|
62
|
+
/** Reads the reaction-manifestation code value without requiring callers to parse a token. */
|
|
63
|
+
getReactionManifestationCode() { return this.getCodingTokenCode(AllergyIntoleranceClaim.Manifestation); }
|
|
64
|
+
/** Reads the complete `system|code` manifestation token used by canonical flat claims. */
|
|
65
|
+
getReactionManifestationSystemAndCode() { return this.getCodingTokenSystemAndCode(AllergyIntoleranceClaim.Manifestation); }
|
|
57
66
|
/** Writes reaction-event severity, which is distinct from potential future-risk criticality. */
|
|
58
67
|
setReactionSeverity(severity) { return this.setScalarClaim(AllergyIntoleranceClaim.Severity, severity); }
|
|
59
68
|
/** Reads reaction-event severity. */
|