gdc-common-utils-ts 2.9.19 → 2.9.21
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.
|
@@ -2,37 +2,102 @@
|
|
|
2
2
|
* Canonical claims keys for Task (FHIR-oriented claims-first payloads).
|
|
3
3
|
* These keys are the source of truth for GW/SDK Task claim mapping.
|
|
4
4
|
*/
|
|
5
|
-
export declare
|
|
6
|
-
Id
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
5
|
+
export declare const TaskClaim: Readonly<{
|
|
6
|
+
readonly Id: "Task.id";
|
|
7
|
+
readonly Identifier: "Task.identifier";
|
|
8
|
+
readonly GroupIdentifier: "Task.group-identifier";
|
|
9
|
+
readonly Status: "Task.status";
|
|
10
|
+
readonly StatusReason: "Task.status-reason";
|
|
11
|
+
readonly BusinessStatus: "Task.business-status";
|
|
12
|
+
readonly Intent: "Task.intent";
|
|
13
|
+
readonly Code: "Task.code";
|
|
14
|
+
readonly Description: "Task.description";
|
|
15
|
+
readonly Subject: "Task.subject";
|
|
16
|
+
readonly For: "Task.for";
|
|
17
|
+
readonly Requester: "Task.requester";
|
|
18
|
+
readonly Owner: "Task.owner";
|
|
19
|
+
readonly Focus: "Task.focus";
|
|
20
|
+
readonly PartOf: "Task.part-of";
|
|
21
|
+
readonly BasedOn: "Task.based-on";
|
|
22
|
+
readonly BasedOnDisplay: "Task.based-on-display";
|
|
23
|
+
readonly Language: "Task.language";
|
|
24
|
+
readonly Channel: "Task.channel";
|
|
25
|
+
readonly AuthoredOn: "Task.authored-on";
|
|
26
|
+
readonly LastModified: "Task.last-modified";
|
|
27
|
+
readonly ScheduledAt: "Task.scheduled-at";
|
|
28
|
+
readonly RetryIntervalMinutes: "Task.retry-interval-minutes";
|
|
29
|
+
readonly MaxAttempts: "Task.max-attempts";
|
|
30
|
+
readonly TriggerType: "Task.trigger-type";
|
|
31
|
+
readonly Attempt: "Task.attempt";
|
|
32
|
+
readonly WindowStart: "Task.window-start";
|
|
33
|
+
readonly WindowEnd: "Task.window-end";
|
|
34
|
+
readonly AutoCloseAt: "Task.auto-close-at";
|
|
35
|
+
readonly EscalationRecipient: "Task.escalation-recipient";
|
|
36
|
+
readonly Confirmed: "Task.confirmed";
|
|
37
|
+
readonly ConfirmedAt: "Task.confirmed-at";
|
|
38
|
+
readonly Repetitions: "Task.repetitions";
|
|
39
|
+
readonly DaysOfWeek: "Task.days-of-week";
|
|
40
|
+
readonly RepeatCount: "Task.repeat-count";
|
|
41
|
+
readonly RepeatDurationValue: "Task.repeat-duration-value";
|
|
42
|
+
readonly RepeatDurationUnit: "Task.repeat-duration-unit";
|
|
43
|
+
readonly Modified: "Task.modified";
|
|
44
|
+
readonly Priority: "Task.priority";
|
|
45
|
+
readonly RestrictionPeriodStart: "Task.restriction-period-start";
|
|
46
|
+
readonly RestrictionPeriodEnd: "Task.restriction-period-end";
|
|
47
|
+
readonly ExecutionPeriodStart: "Task.execution-period-start";
|
|
48
|
+
readonly ExecutionPeriodEnd: "Task.execution-period-end";
|
|
49
|
+
readonly OutputType: "Task.output-type";
|
|
50
|
+
readonly OutputValueReference: "Task.output-value-reference";
|
|
51
|
+
readonly OutputValueString: "Task.output-value-string";
|
|
52
|
+
readonly UserSelected: "Task.user-selected";
|
|
53
|
+
}>;
|
|
54
|
+
/** @deprecated Use the canonical, generator-compatible `TaskClaim` object. */
|
|
55
|
+
export declare const TaskClaimsFhirApi: Readonly<{
|
|
56
|
+
readonly Id: "Task.id";
|
|
57
|
+
readonly Identifier: "Task.identifier";
|
|
58
|
+
readonly GroupIdentifier: "Task.group-identifier";
|
|
59
|
+
readonly Status: "Task.status";
|
|
60
|
+
readonly StatusReason: "Task.status-reason";
|
|
61
|
+
readonly BusinessStatus: "Task.business-status";
|
|
62
|
+
readonly Intent: "Task.intent";
|
|
63
|
+
readonly Code: "Task.code";
|
|
64
|
+
readonly Description: "Task.description";
|
|
65
|
+
readonly Subject: "Task.subject";
|
|
66
|
+
readonly For: "Task.for";
|
|
67
|
+
readonly Requester: "Task.requester";
|
|
68
|
+
readonly Owner: "Task.owner";
|
|
69
|
+
readonly Focus: "Task.focus";
|
|
70
|
+
readonly PartOf: "Task.part-of";
|
|
71
|
+
readonly BasedOn: "Task.based-on";
|
|
72
|
+
readonly BasedOnDisplay: "Task.based-on-display";
|
|
73
|
+
readonly Language: "Task.language";
|
|
74
|
+
readonly Channel: "Task.channel";
|
|
75
|
+
readonly AuthoredOn: "Task.authored-on";
|
|
76
|
+
readonly LastModified: "Task.last-modified";
|
|
77
|
+
readonly ScheduledAt: "Task.scheduled-at";
|
|
78
|
+
readonly RetryIntervalMinutes: "Task.retry-interval-minutes";
|
|
79
|
+
readonly MaxAttempts: "Task.max-attempts";
|
|
80
|
+
readonly TriggerType: "Task.trigger-type";
|
|
81
|
+
readonly Attempt: "Task.attempt";
|
|
82
|
+
readonly WindowStart: "Task.window-start";
|
|
83
|
+
readonly WindowEnd: "Task.window-end";
|
|
84
|
+
readonly AutoCloseAt: "Task.auto-close-at";
|
|
85
|
+
readonly EscalationRecipient: "Task.escalation-recipient";
|
|
86
|
+
readonly Confirmed: "Task.confirmed";
|
|
87
|
+
readonly ConfirmedAt: "Task.confirmed-at";
|
|
88
|
+
readonly Repetitions: "Task.repetitions";
|
|
89
|
+
readonly DaysOfWeek: "Task.days-of-week";
|
|
90
|
+
readonly RepeatCount: "Task.repeat-count";
|
|
91
|
+
readonly RepeatDurationValue: "Task.repeat-duration-value";
|
|
92
|
+
readonly RepeatDurationUnit: "Task.repeat-duration-unit";
|
|
93
|
+
readonly Modified: "Task.modified";
|
|
94
|
+
readonly Priority: "Task.priority";
|
|
95
|
+
readonly RestrictionPeriodStart: "Task.restriction-period-start";
|
|
96
|
+
readonly RestrictionPeriodEnd: "Task.restriction-period-end";
|
|
97
|
+
readonly ExecutionPeriodStart: "Task.execution-period-start";
|
|
98
|
+
readonly ExecutionPeriodEnd: "Task.execution-period-end";
|
|
99
|
+
readonly OutputType: "Task.output-type";
|
|
100
|
+
readonly OutputValueReference: "Task.output-value-reference";
|
|
101
|
+
readonly OutputValueString: "Task.output-value-string";
|
|
102
|
+
readonly UserSelected: "Task.user-selected";
|
|
103
|
+
}>;
|
|
@@ -4,38 +4,54 @@
|
|
|
4
4
|
* Canonical claims keys for Task (FHIR-oriented claims-first payloads).
|
|
5
5
|
* These keys are the source of truth for GW/SDK Task claim mapping.
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
7
|
+
export const TaskClaim = Object.freeze({
|
|
8
|
+
Id: 'Task.id',
|
|
9
|
+
Identifier: 'Task.identifier',
|
|
10
|
+
GroupIdentifier: 'Task.group-identifier',
|
|
11
|
+
Status: 'Task.status',
|
|
12
|
+
StatusReason: 'Task.status-reason',
|
|
13
|
+
BusinessStatus: 'Task.business-status',
|
|
14
|
+
Intent: 'Task.intent',
|
|
15
|
+
Code: 'Task.code',
|
|
16
|
+
Description: 'Task.description',
|
|
17
|
+
Subject: 'Task.subject',
|
|
18
|
+
For: 'Task.for',
|
|
19
|
+
Requester: 'Task.requester',
|
|
20
|
+
Owner: 'Task.owner',
|
|
21
|
+
Focus: 'Task.focus',
|
|
22
|
+
PartOf: 'Task.part-of',
|
|
23
|
+
BasedOn: 'Task.based-on',
|
|
24
|
+
BasedOnDisplay: 'Task.based-on-display',
|
|
25
|
+
Language: 'Task.language',
|
|
26
|
+
Channel: 'Task.channel',
|
|
27
|
+
AuthoredOn: 'Task.authored-on',
|
|
28
|
+
LastModified: 'Task.last-modified',
|
|
29
|
+
ScheduledAt: 'Task.scheduled-at',
|
|
30
|
+
RetryIntervalMinutes: 'Task.retry-interval-minutes',
|
|
31
|
+
MaxAttempts: 'Task.max-attempts',
|
|
32
|
+
TriggerType: 'Task.trigger-type',
|
|
33
|
+
Attempt: 'Task.attempt',
|
|
34
|
+
WindowStart: 'Task.window-start',
|
|
35
|
+
WindowEnd: 'Task.window-end',
|
|
36
|
+
AutoCloseAt: 'Task.auto-close-at',
|
|
37
|
+
EscalationRecipient: 'Task.escalation-recipient',
|
|
38
|
+
Confirmed: 'Task.confirmed',
|
|
39
|
+
ConfirmedAt: 'Task.confirmed-at',
|
|
40
|
+
Repetitions: 'Task.repetitions',
|
|
41
|
+
DaysOfWeek: 'Task.days-of-week',
|
|
42
|
+
RepeatCount: 'Task.repeat-count',
|
|
43
|
+
RepeatDurationValue: 'Task.repeat-duration-value',
|
|
44
|
+
RepeatDurationUnit: 'Task.repeat-duration-unit',
|
|
45
|
+
Modified: 'Task.modified',
|
|
46
|
+
Priority: 'Task.priority',
|
|
47
|
+
RestrictionPeriodStart: 'Task.restriction-period-start',
|
|
48
|
+
RestrictionPeriodEnd: 'Task.restriction-period-end',
|
|
49
|
+
ExecutionPeriodStart: 'Task.execution-period-start',
|
|
50
|
+
ExecutionPeriodEnd: 'Task.execution-period-end',
|
|
51
|
+
OutputType: 'Task.output-type',
|
|
52
|
+
OutputValueReference: 'Task.output-value-reference',
|
|
53
|
+
OutputValueString: 'Task.output-value-string',
|
|
54
|
+
UserSelected: 'Task.user-selected',
|
|
55
|
+
});
|
|
56
|
+
/** @deprecated Use the canonical, generator-compatible `TaskClaim` object. */
|
|
57
|
+
export const TaskClaimsFhirApi = TaskClaim;
|
|
@@ -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. */
|