gdc-common-utils-ts 1.4.4 → 1.4.7

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.
package/dist/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './AesManager';
2
2
  export * from './CryptographyService';
3
3
  export * from './hmac';
4
4
  export * from './storage';
5
+ export * from './utils';
package/dist/index.js CHANGED
@@ -2,3 +2,4 @@ export * from './AesManager.js';
2
2
  export * from './CryptographyService.js';
3
3
  export * from './hmac.js';
4
4
  export * from './storage/index.js';
5
+ export * from './utils/index.js';
@@ -0,0 +1,205 @@
1
+ /**
2
+ * Defines the flat claims structure for a FHIR Appointment resource, separating
3
+ * version-specific data model fields from version-agnostic API search parameters.
4
+ *
5
+ * This model aligns with FHIR R5 conventions (using `note.text` instead of `comment`)
6
+ * for forward compatibility and consistency with other resources like Communication.
7
+ *
8
+ * @basedon https://github.com/Universal-Health-Chain/uhc-fhir-utils-typescript/blob/main/src/models/templates/Appointment.template.model.ts
9
+ */
10
+ /**
11
+ * Contains claims representing fields specific to the FHIR R4/R5 data model for an Appointment.
12
+ * Use this when constructing the `credentialSubject` of a Verifiable Credential or the `resource` object.
13
+ *
14
+ * @basedon https://www.hl7.org/fhir/R4/appointment.html
15
+ */
16
+ export declare enum AppointmentClaimsFhirR4Core {
17
+ Identifier = "org.hl7.fhir.r4.core.Appointment.identifier",
18
+ Status = "org.hl7.fhir.r4.core.Appointment.status",
19
+ CancelationReason = "org.hl7.fhir.r4.core.Appointment.cancelation-reason",
20
+ ServiceCategory = "org.hl7.fhir.r4.core.Appointment.service-category",
21
+ ServiceType = "org.hl7.fhir.r4.core.Appointment.service-type",
22
+ Specialty = "org.hl7.fhir.r4.core.Appointment.specialty",
23
+ AppointmentType = "org.hl7.fhir.r4.core.Appointment.appointment-type",
24
+ ReasonCode = "org.hl7.fhir.r4.core.Appointment.reason-code",
25
+ ReasonReference = "org.hl7.fhir.r4.core.Appointment.reason-reference",
26
+ Priority = "org.hl7.fhir.r4.core.Appointment.priority",
27
+ Description = "org.hl7.fhir.r4.core.Appointment.description",
28
+ SupportingInformation = "org.hl7.fhir.r4.core.Appointment.supporting-information",
29
+ Start = "org.hl7.fhir.r4.core.Appointment.start",
30
+ End = "org.hl7.fhir.r4.core.Appointment.end",
31
+ MinutesDuration = "org.hl7.fhir.r4.core.Appointment.minutes-duration",
32
+ Slot = "org.hl7.fhir.r4.core.Appointment.slot",
33
+ Created = "org.hl7.fhir.r4.core.Appointment.created",
34
+ NoteText = "org.hl7.fhir.r4.core.Appointment.note.text",
35
+ PatientInstruction = "org.hl7.fhir.r4.core.Appointment.patient-instruction",
36
+ BasedOn = "org.hl7.fhir.r4.core.Appointment.based-on",
37
+ ParticipantActor = "org.hl7.fhir.r4.core.Appointment.participant.actor",
38
+ ParticipantRequired = "org.hl7.fhir.r4.core.Appointment.participant.required",
39
+ ParticipantStatus = "org.hl7.fhir.r4.core.Appointment.participant.status",
40
+ ParticipantType = "org.hl7.fhir.r4.core.Appointment.participant.type",
41
+ RequestedPeriod = "org.hl7.fhir.r4.core.Appointment.requested-period",
42
+ ResourceId = "org.hl7.fhir.r4.core.Appointment.resource.id"
43
+ }
44
+ /**
45
+ * Contains claims representing the standard, version-agnostic API search parameters for an Appointment.
46
+ *
47
+ * @basedon https://www.hl7.org/fhir/appointment.html#search
48
+ */
49
+ export declare enum AppointmentClaimsFhirApi {
50
+ Actor = "org.hl7.fhir.api.Appointment.actor",
51
+ AppointmentType = "org.hl7.fhir.api.Appointment.appointment-type",
52
+ BasedOn = "org.hl7.fhir.api.Appointment.based-on",
53
+ Date = "org.hl7.fhir.api.Appointment.date",
54
+ Identifier = "org.hl7.fhir.api.Appointment.identifier",
55
+ Location = "org.hl7.fhir.api.Appointment.location",
56
+ PartStatus = "org.hl7.fhir.api.Appointment.part-status",
57
+ Patient = "org.hl7.fhir.api.Appointment.patient",
58
+ Practitioner = "org.hl7.fhir.api.Appointment.practitioner",
59
+ ReasonCode = "org.hl7.fhir.api.Appointment.reason-code",
60
+ ReasonReference = "org.hl7.fhir.api.Appointment.reason-reference",
61
+ ServiceCategory = "org.hl7.fhir.api.Appointment.service-category",
62
+ ServiceType = "org.hl7.fhir.api.Appointment.service-type",
63
+ Slot = "org.hl7.fhir.api.Appointment.slot",
64
+ Specialty = "org.hl7.fhir.api.Appointment.specialty",
65
+ Status = "org.hl7.fhir.api.Appointment.status",
66
+ SupportingInfo = "org.hl7.fhir.api.Appointment.supporting-info"
67
+ }
68
+ /**
69
+ * Extends the standard API search parameters with custom parameters derived from core data model fields.
70
+ */
71
+ export declare enum AppointmentClaimsFhirApiExtended {
72
+ Actor = "org.hl7.fhir.api.Appointment.actor",
73
+ AppointmentType = "org.hl7.fhir.api.Appointment.appointment-type",
74
+ BasedOn = "org.hl7.fhir.api.Appointment.based-on",
75
+ Date = "org.hl7.fhir.api.Appointment.date",
76
+ Identifier = "org.hl7.fhir.api.Appointment.identifier",
77
+ Location = "org.hl7.fhir.api.Appointment.location",
78
+ PartStatus = "org.hl7.fhir.api.Appointment.part-status",
79
+ Patient = "org.hl7.fhir.api.Appointment.patient",
80
+ Practitioner = "org.hl7.fhir.api.Appointment.practitioner",
81
+ ReasonCode = "org.hl7.fhir.api.Appointment.reason-code",
82
+ ReasonReference = "org.hl7.fhir.api.Appointment.reason-reference",
83
+ ServiceCategory = "org.hl7.fhir.api.Appointment.service-category",
84
+ ServiceType = "org.hl7.fhir.api.Appointment.service-type",
85
+ Slot = "org.hl7.fhir.api.Appointment.slot",
86
+ Specialty = "org.hl7.fhir.api.Appointment.specialty",
87
+ Status = "org.hl7.fhir.api.Appointment.status",
88
+ SupportingInfo = "org.hl7.fhir.api.Appointment.supporting-info",
89
+ CancelationReason = "org.hl7.fhir.api.Appointment.cancelation-reason",
90
+ MinutesDuration = "org.hl7.fhir.api.Appointment.minutes-duration",
91
+ Priority = "org.hl7.fhir.api.Appointment.priority",
92
+ Created = "org.hl7.fhir.api.Appointment.created",
93
+ Description = "org.hl7.fhir.api.Appointment.description",
94
+ NoteText = "org.hl7.fhir.api.Appointment.note-text"
95
+ }
96
+ export declare const AppointmentClaimsFhirR4CoreMap: {
97
+ "org.hl7.fhir.r4.core.Appointment.identifier": StringConstructor;
98
+ "org.hl7.fhir.r4.core.Appointment.status": StringConstructor;
99
+ "org.hl7.fhir.r4.core.Appointment.cancelation-reason": StringConstructor;
100
+ "org.hl7.fhir.r4.core.Appointment.service-category": StringConstructor;
101
+ "org.hl7.fhir.r4.core.Appointment.service-type": StringConstructor;
102
+ "org.hl7.fhir.r4.core.Appointment.specialty": StringConstructor;
103
+ "org.hl7.fhir.r4.core.Appointment.appointment-type": StringConstructor;
104
+ "org.hl7.fhir.r4.core.Appointment.reason-code": StringConstructor;
105
+ "org.hl7.fhir.r4.core.Appointment.reason-reference": StringConstructor;
106
+ "org.hl7.fhir.r4.core.Appointment.priority": NumberConstructor;
107
+ "org.hl7.fhir.r4.core.Appointment.description": StringConstructor;
108
+ "org.hl7.fhir.r4.core.Appointment.supporting-information": StringConstructor;
109
+ "org.hl7.fhir.r4.core.Appointment.start": StringConstructor;
110
+ "org.hl7.fhir.r4.core.Appointment.end": StringConstructor;
111
+ "org.hl7.fhir.r4.core.Appointment.minutes-duration": NumberConstructor;
112
+ "org.hl7.fhir.r4.core.Appointment.slot": StringConstructor;
113
+ "org.hl7.fhir.r4.core.Appointment.created": StringConstructor;
114
+ "org.hl7.fhir.r4.core.Appointment.note.text": StringConstructor;
115
+ "org.hl7.fhir.r4.core.Appointment.patient-instruction": StringConstructor;
116
+ "org.hl7.fhir.r4.core.Appointment.based-on": StringConstructor;
117
+ "org.hl7.fhir.r4.core.Appointment.participant.actor": StringConstructor;
118
+ "org.hl7.fhir.r4.core.Appointment.participant.required": StringConstructor;
119
+ "org.hl7.fhir.r4.core.Appointment.participant.status": StringConstructor;
120
+ "org.hl7.fhir.r4.core.Appointment.participant.type": StringConstructor;
121
+ "org.hl7.fhir.r4.core.Appointment.requested-period": StringConstructor;
122
+ "org.hl7.fhir.r4.core.Appointment.resource.id": StringConstructor;
123
+ };
124
+ export declare const AppointmentClaimsFhirApiMap: {
125
+ "org.hl7.fhir.api.Appointment.actor": StringConstructor;
126
+ "org.hl7.fhir.api.Appointment.appointment-type": StringConstructor;
127
+ "org.hl7.fhir.api.Appointment.based-on": StringConstructor;
128
+ "org.hl7.fhir.api.Appointment.date": StringConstructor;
129
+ "org.hl7.fhir.api.Appointment.identifier": StringConstructor;
130
+ "org.hl7.fhir.api.Appointment.location": StringConstructor;
131
+ "org.hl7.fhir.api.Appointment.part-status": StringConstructor;
132
+ "org.hl7.fhir.api.Appointment.patient": StringConstructor;
133
+ "org.hl7.fhir.api.Appointment.practitioner": StringConstructor;
134
+ "org.hl7.fhir.api.Appointment.reason-code": StringConstructor;
135
+ "org.hl7.fhir.api.Appointment.reason-reference": StringConstructor;
136
+ "org.hl7.fhir.api.Appointment.service-category": StringConstructor;
137
+ "org.hl7.fhir.api.Appointment.service-type": StringConstructor;
138
+ "org.hl7.fhir.api.Appointment.slot": StringConstructor;
139
+ "org.hl7.fhir.api.Appointment.specialty": StringConstructor;
140
+ "org.hl7.fhir.api.Appointment.status": StringConstructor;
141
+ "org.hl7.fhir.api.Appointment.supporting-info": StringConstructor;
142
+ };
143
+ export declare const AppointmentClaimsFhirApiExtendedMap: {
144
+ "org.hl7.fhir.api.Appointment.cancelation-reason": StringConstructor;
145
+ "org.hl7.fhir.api.Appointment.minutes-duration": NumberConstructor;
146
+ "org.hl7.fhir.api.Appointment.priority": NumberConstructor;
147
+ "org.hl7.fhir.api.Appointment.created": StringConstructor;
148
+ "org.hl7.fhir.api.Appointment.description": StringConstructor;
149
+ "org.hl7.fhir.api.Appointment.note-text": StringConstructor;
150
+ "org.hl7.fhir.api.Appointment.actor": StringConstructor;
151
+ "org.hl7.fhir.api.Appointment.appointment-type": StringConstructor;
152
+ "org.hl7.fhir.api.Appointment.based-on": StringConstructor;
153
+ "org.hl7.fhir.api.Appointment.date": StringConstructor;
154
+ "org.hl7.fhir.api.Appointment.identifier": StringConstructor;
155
+ "org.hl7.fhir.api.Appointment.location": StringConstructor;
156
+ "org.hl7.fhir.api.Appointment.part-status": StringConstructor;
157
+ "org.hl7.fhir.api.Appointment.patient": StringConstructor;
158
+ "org.hl7.fhir.api.Appointment.practitioner": StringConstructor;
159
+ "org.hl7.fhir.api.Appointment.reason-code": StringConstructor;
160
+ "org.hl7.fhir.api.Appointment.reason-reference": StringConstructor;
161
+ "org.hl7.fhir.api.Appointment.service-category": StringConstructor;
162
+ "org.hl7.fhir.api.Appointment.service-type": StringConstructor;
163
+ "org.hl7.fhir.api.Appointment.slot": StringConstructor;
164
+ "org.hl7.fhir.api.Appointment.specialty": StringConstructor;
165
+ "org.hl7.fhir.api.Appointment.status": StringConstructor;
166
+ "org.hl7.fhir.api.Appointment.supporting-info": StringConstructor;
167
+ };
168
+ /**
169
+ * Defines the possible values for the `status` field on a FHIR Appointment resource.
170
+ * @basedon http://hl7.org/fhir/R4/appointment.html#status
171
+ * @basedon http://hl7.org/fhir/valueset-appointmentstatus.html
172
+ */
173
+ export declare enum AppointmentStatus {
174
+ Proposed = "proposed",
175
+ Pending = "pending",
176
+ Booked = "booked",
177
+ Arrived = "arrived",
178
+ Fulfilled = "fulfilled",
179
+ Cancelled = "cancelled",
180
+ NoShow = "noshow",
181
+ EnteredInError = "entered-in-error",
182
+ CheckedIn = "checked-in",
183
+ Waitlist = "waitlist"
184
+ }
185
+ /**
186
+ * Defines the possible values for the `participant.required` field on a FHIR Appointment resource.
187
+ * @basedon http://hl7.org/fhir/R4/appointment.html#participant
188
+ * @basedon http://hl7.org/fhir/valueset-participantrequired.html
189
+ */
190
+ export declare enum AppointmentParticipantRequired {
191
+ Required = "required",
192
+ Optional = "optional",
193
+ InformationOnly = "information-only"
194
+ }
195
+ /**
196
+ * Defines the possible values for the `participant.status` field on a FHIR Appointment resource.
197
+ * @basedon http://hl7.org/fhir/R4/appointment.html#participant
198
+ * @basedon http://hl7.org/fhir/valueset-participationstatus.html
199
+ */
200
+ export declare enum AppointmentParticipantStatus {
201
+ Accepted = "accepted",
202
+ Declined = "declined",
203
+ Tentative = "tentative",
204
+ NeedsAction = "needs-action"
205
+ }
@@ -0,0 +1,199 @@
1
+ // src/models/fhir/Appointment.claims.ts
2
+ /**
3
+ * Defines the flat claims structure for a FHIR Appointment resource, separating
4
+ * version-specific data model fields from version-agnostic API search parameters.
5
+ *
6
+ * This model aligns with FHIR R5 conventions (using `note.text` instead of `comment`)
7
+ * for forward compatibility and consistency with other resources like Communication.
8
+ *
9
+ * @basedon https://github.com/Universal-Health-Chain/uhc-fhir-utils-typescript/blob/main/src/models/templates/Appointment.template.model.ts
10
+ */
11
+ /**
12
+ * Contains claims representing fields specific to the FHIR R4/R5 data model for an Appointment.
13
+ * Use this when constructing the `credentialSubject` of a Verifiable Credential or the `resource` object.
14
+ *
15
+ * @basedon https://www.hl7.org/fhir/R4/appointment.html
16
+ */
17
+ export var AppointmentClaimsFhirR4Core;
18
+ (function (AppointmentClaimsFhirR4Core) {
19
+ AppointmentClaimsFhirR4Core["Identifier"] = "org.hl7.fhir.r4.core.Appointment.identifier";
20
+ AppointmentClaimsFhirR4Core["Status"] = "org.hl7.fhir.r4.core.Appointment.status";
21
+ AppointmentClaimsFhirR4Core["CancelationReason"] = "org.hl7.fhir.r4.core.Appointment.cancelation-reason";
22
+ AppointmentClaimsFhirR4Core["ServiceCategory"] = "org.hl7.fhir.r4.core.Appointment.service-category";
23
+ AppointmentClaimsFhirR4Core["ServiceType"] = "org.hl7.fhir.r4.core.Appointment.service-type";
24
+ AppointmentClaimsFhirR4Core["Specialty"] = "org.hl7.fhir.r4.core.Appointment.specialty";
25
+ AppointmentClaimsFhirR4Core["AppointmentType"] = "org.hl7.fhir.r4.core.Appointment.appointment-type";
26
+ AppointmentClaimsFhirR4Core["ReasonCode"] = "org.hl7.fhir.r4.core.Appointment.reason-code";
27
+ AppointmentClaimsFhirR4Core["ReasonReference"] = "org.hl7.fhir.r4.core.Appointment.reason-reference";
28
+ AppointmentClaimsFhirR4Core["Priority"] = "org.hl7.fhir.r4.core.Appointment.priority";
29
+ AppointmentClaimsFhirR4Core["Description"] = "org.hl7.fhir.r4.core.Appointment.description";
30
+ AppointmentClaimsFhirR4Core["SupportingInformation"] = "org.hl7.fhir.r4.core.Appointment.supporting-information";
31
+ AppointmentClaimsFhirR4Core["Start"] = "org.hl7.fhir.r4.core.Appointment.start";
32
+ AppointmentClaimsFhirR4Core["End"] = "org.hl7.fhir.r4.core.Appointment.end";
33
+ AppointmentClaimsFhirR4Core["MinutesDuration"] = "org.hl7.fhir.r4.core.Appointment.minutes-duration";
34
+ AppointmentClaimsFhirR4Core["Slot"] = "org.hl7.fhir.r4.core.Appointment.slot";
35
+ AppointmentClaimsFhirR4Core["Created"] = "org.hl7.fhir.r4.core.Appointment.created";
36
+ // Comment = 'org.hl7.fhir.r4.core.Appointment.comment', // Deprecated in R5, using note.text for forward compatibility
37
+ AppointmentClaimsFhirR4Core["NoteText"] = "org.hl7.fhir.r4.core.Appointment.note.text";
38
+ AppointmentClaimsFhirR4Core["PatientInstruction"] = "org.hl7.fhir.r4.core.Appointment.patient-instruction";
39
+ AppointmentClaimsFhirR4Core["BasedOn"] = "org.hl7.fhir.r4.core.Appointment.based-on";
40
+ AppointmentClaimsFhirR4Core["ParticipantActor"] = "org.hl7.fhir.r4.core.Appointment.participant.actor";
41
+ AppointmentClaimsFhirR4Core["ParticipantRequired"] = "org.hl7.fhir.r4.core.Appointment.participant.required";
42
+ AppointmentClaimsFhirR4Core["ParticipantStatus"] = "org.hl7.fhir.r4.core.Appointment.participant.status";
43
+ AppointmentClaimsFhirR4Core["ParticipantType"] = "org.hl7.fhir.r4.core.Appointment.participant.type";
44
+ AppointmentClaimsFhirR4Core["RequestedPeriod"] = "org.hl7.fhir.r4.core.Appointment.requested-period";
45
+ AppointmentClaimsFhirR4Core["ResourceId"] = "org.hl7.fhir.r4.core.Appointment.resource.id";
46
+ })(AppointmentClaimsFhirR4Core || (AppointmentClaimsFhirR4Core = {}));
47
+ /**
48
+ * Contains claims representing the standard, version-agnostic API search parameters for an Appointment.
49
+ *
50
+ * @basedon https://www.hl7.org/fhir/appointment.html#search
51
+ */
52
+ export var AppointmentClaimsFhirApi;
53
+ (function (AppointmentClaimsFhirApi) {
54
+ AppointmentClaimsFhirApi["Actor"] = "org.hl7.fhir.api.Appointment.actor";
55
+ AppointmentClaimsFhirApi["AppointmentType"] = "org.hl7.fhir.api.Appointment.appointment-type";
56
+ AppointmentClaimsFhirApi["BasedOn"] = "org.hl7.fhir.api.Appointment.based-on";
57
+ AppointmentClaimsFhirApi["Date"] = "org.hl7.fhir.api.Appointment.date";
58
+ AppointmentClaimsFhirApi["Identifier"] = "org.hl7.fhir.api.Appointment.identifier";
59
+ AppointmentClaimsFhirApi["Location"] = "org.hl7.fhir.api.Appointment.location";
60
+ AppointmentClaimsFhirApi["PartStatus"] = "org.hl7.fhir.api.Appointment.part-status";
61
+ AppointmentClaimsFhirApi["Patient"] = "org.hl7.fhir.api.Appointment.patient";
62
+ AppointmentClaimsFhirApi["Practitioner"] = "org.hl7.fhir.api.Appointment.practitioner";
63
+ AppointmentClaimsFhirApi["ReasonCode"] = "org.hl7.fhir.api.Appointment.reason-code";
64
+ AppointmentClaimsFhirApi["ReasonReference"] = "org.hl7.fhir.api.Appointment.reason-reference";
65
+ AppointmentClaimsFhirApi["ServiceCategory"] = "org.hl7.fhir.api.Appointment.service-category";
66
+ AppointmentClaimsFhirApi["ServiceType"] = "org.hl7.fhir.api.Appointment.service-type";
67
+ AppointmentClaimsFhirApi["Slot"] = "org.hl7.fhir.api.Appointment.slot";
68
+ AppointmentClaimsFhirApi["Specialty"] = "org.hl7.fhir.api.Appointment.specialty";
69
+ AppointmentClaimsFhirApi["Status"] = "org.hl7.fhir.api.Appointment.status";
70
+ AppointmentClaimsFhirApi["SupportingInfo"] = "org.hl7.fhir.api.Appointment.supporting-info";
71
+ })(AppointmentClaimsFhirApi || (AppointmentClaimsFhirApi = {}));
72
+ /**
73
+ * Extends the standard API search parameters with custom parameters derived from core data model fields.
74
+ */
75
+ export var AppointmentClaimsFhirApiExtended;
76
+ (function (AppointmentClaimsFhirApiExtended) {
77
+ AppointmentClaimsFhirApiExtended["Actor"] = "org.hl7.fhir.api.Appointment.actor";
78
+ AppointmentClaimsFhirApiExtended["AppointmentType"] = "org.hl7.fhir.api.Appointment.appointment-type";
79
+ AppointmentClaimsFhirApiExtended["BasedOn"] = "org.hl7.fhir.api.Appointment.based-on";
80
+ AppointmentClaimsFhirApiExtended["Date"] = "org.hl7.fhir.api.Appointment.date";
81
+ AppointmentClaimsFhirApiExtended["Identifier"] = "org.hl7.fhir.api.Appointment.identifier";
82
+ AppointmentClaimsFhirApiExtended["Location"] = "org.hl7.fhir.api.Appointment.location";
83
+ AppointmentClaimsFhirApiExtended["PartStatus"] = "org.hl7.fhir.api.Appointment.part-status";
84
+ AppointmentClaimsFhirApiExtended["Patient"] = "org.hl7.fhir.api.Appointment.patient";
85
+ AppointmentClaimsFhirApiExtended["Practitioner"] = "org.hl7.fhir.api.Appointment.practitioner";
86
+ AppointmentClaimsFhirApiExtended["ReasonCode"] = "org.hl7.fhir.api.Appointment.reason-code";
87
+ AppointmentClaimsFhirApiExtended["ReasonReference"] = "org.hl7.fhir.api.Appointment.reason-reference";
88
+ AppointmentClaimsFhirApiExtended["ServiceCategory"] = "org.hl7.fhir.api.Appointment.service-category";
89
+ AppointmentClaimsFhirApiExtended["ServiceType"] = "org.hl7.fhir.api.Appointment.service-type";
90
+ AppointmentClaimsFhirApiExtended["Slot"] = "org.hl7.fhir.api.Appointment.slot";
91
+ AppointmentClaimsFhirApiExtended["Specialty"] = "org.hl7.fhir.api.Appointment.specialty";
92
+ AppointmentClaimsFhirApiExtended["Status"] = "org.hl7.fhir.api.Appointment.status";
93
+ AppointmentClaimsFhirApiExtended["SupportingInfo"] = "org.hl7.fhir.api.Appointment.supporting-info";
94
+ // Extended
95
+ AppointmentClaimsFhirApiExtended["CancelationReason"] = "org.hl7.fhir.api.Appointment.cancelation-reason";
96
+ AppointmentClaimsFhirApiExtended["MinutesDuration"] = "org.hl7.fhir.api.Appointment.minutes-duration";
97
+ AppointmentClaimsFhirApiExtended["Priority"] = "org.hl7.fhir.api.Appointment.priority";
98
+ AppointmentClaimsFhirApiExtended["Created"] = "org.hl7.fhir.api.Appointment.created";
99
+ AppointmentClaimsFhirApiExtended["Description"] = "org.hl7.fhir.api.Appointment.description";
100
+ AppointmentClaimsFhirApiExtended["NoteText"] = "org.hl7.fhir.api.Appointment.note-text";
101
+ })(AppointmentClaimsFhirApiExtended || (AppointmentClaimsFhirApiExtended = {}));
102
+ export const AppointmentClaimsFhirR4CoreMap = {
103
+ [AppointmentClaimsFhirR4Core.Identifier]: String,
104
+ [AppointmentClaimsFhirR4Core.Status]: String,
105
+ [AppointmentClaimsFhirR4Core.CancelationReason]: String,
106
+ [AppointmentClaimsFhirR4Core.ServiceCategory]: String,
107
+ [AppointmentClaimsFhirR4Core.ServiceType]: String,
108
+ [AppointmentClaimsFhirR4Core.Specialty]: String,
109
+ [AppointmentClaimsFhirR4Core.AppointmentType]: String,
110
+ [AppointmentClaimsFhirR4Core.ReasonCode]: String,
111
+ [AppointmentClaimsFhirR4Core.ReasonReference]: String,
112
+ [AppointmentClaimsFhirR4Core.Priority]: Number,
113
+ [AppointmentClaimsFhirR4Core.Description]: String,
114
+ [AppointmentClaimsFhirR4Core.SupportingInformation]: String,
115
+ [AppointmentClaimsFhirR4Core.Start]: String,
116
+ [AppointmentClaimsFhirR4Core.End]: String,
117
+ [AppointmentClaimsFhirR4Core.MinutesDuration]: Number,
118
+ [AppointmentClaimsFhirR4Core.Slot]: String,
119
+ [AppointmentClaimsFhirR4Core.Created]: String,
120
+ [AppointmentClaimsFhirR4Core.NoteText]: String,
121
+ [AppointmentClaimsFhirR4Core.PatientInstruction]: String,
122
+ [AppointmentClaimsFhirR4Core.BasedOn]: String,
123
+ [AppointmentClaimsFhirR4Core.ParticipantActor]: String,
124
+ [AppointmentClaimsFhirR4Core.ParticipantRequired]: String,
125
+ [AppointmentClaimsFhirR4Core.ParticipantStatus]: String,
126
+ [AppointmentClaimsFhirR4Core.ParticipantType]: String,
127
+ [AppointmentClaimsFhirR4Core.RequestedPeriod]: String,
128
+ [AppointmentClaimsFhirR4Core.ResourceId]: String,
129
+ };
130
+ export const AppointmentClaimsFhirApiMap = {
131
+ [AppointmentClaimsFhirApi.Actor]: String,
132
+ [AppointmentClaimsFhirApi.AppointmentType]: String,
133
+ [AppointmentClaimsFhirApi.BasedOn]: String,
134
+ [AppointmentClaimsFhirApi.Date]: String,
135
+ [AppointmentClaimsFhirApi.Identifier]: String,
136
+ [AppointmentClaimsFhirApi.Location]: String,
137
+ [AppointmentClaimsFhirApi.PartStatus]: String,
138
+ [AppointmentClaimsFhirApi.Patient]: String,
139
+ [AppointmentClaimsFhirApi.Practitioner]: String,
140
+ [AppointmentClaimsFhirApi.ReasonCode]: String,
141
+ [AppointmentClaimsFhirApi.ReasonReference]: String,
142
+ [AppointmentClaimsFhirApi.ServiceCategory]: String,
143
+ [AppointmentClaimsFhirApi.ServiceType]: String,
144
+ [AppointmentClaimsFhirApi.Slot]: String,
145
+ [AppointmentClaimsFhirApi.Specialty]: String,
146
+ [AppointmentClaimsFhirApi.Status]: String,
147
+ [AppointmentClaimsFhirApi.SupportingInfo]: String,
148
+ };
149
+ export const AppointmentClaimsFhirApiExtendedMap = {
150
+ ...AppointmentClaimsFhirApiMap,
151
+ [AppointmentClaimsFhirApiExtended.CancelationReason]: String,
152
+ [AppointmentClaimsFhirApiExtended.MinutesDuration]: Number,
153
+ [AppointmentClaimsFhirApiExtended.Priority]: Number,
154
+ [AppointmentClaimsFhirApiExtended.Created]: String,
155
+ [AppointmentClaimsFhirApiExtended.Description]: String,
156
+ [AppointmentClaimsFhirApiExtended.NoteText]: String,
157
+ };
158
+ // src/models/fhir/Appointment.values.ts
159
+ /**
160
+ * Defines the possible values for the `status` field on a FHIR Appointment resource.
161
+ * @basedon http://hl7.org/fhir/R4/appointment.html#status
162
+ * @basedon http://hl7.org/fhir/valueset-appointmentstatus.html
163
+ */
164
+ export var AppointmentStatus;
165
+ (function (AppointmentStatus) {
166
+ AppointmentStatus["Proposed"] = "proposed";
167
+ AppointmentStatus["Pending"] = "pending";
168
+ AppointmentStatus["Booked"] = "booked";
169
+ AppointmentStatus["Arrived"] = "arrived";
170
+ AppointmentStatus["Fulfilled"] = "fulfilled";
171
+ AppointmentStatus["Cancelled"] = "cancelled";
172
+ AppointmentStatus["NoShow"] = "noshow";
173
+ AppointmentStatus["EnteredInError"] = "entered-in-error";
174
+ AppointmentStatus["CheckedIn"] = "checked-in";
175
+ AppointmentStatus["Waitlist"] = "waitlist";
176
+ })(AppointmentStatus || (AppointmentStatus = {}));
177
+ /**
178
+ * Defines the possible values for the `participant.required` field on a FHIR Appointment resource.
179
+ * @basedon http://hl7.org/fhir/R4/appointment.html#participant
180
+ * @basedon http://hl7.org/fhir/valueset-participantrequired.html
181
+ */
182
+ export var AppointmentParticipantRequired;
183
+ (function (AppointmentParticipantRequired) {
184
+ AppointmentParticipantRequired["Required"] = "required";
185
+ AppointmentParticipantRequired["Optional"] = "optional";
186
+ AppointmentParticipantRequired["InformationOnly"] = "information-only";
187
+ })(AppointmentParticipantRequired || (AppointmentParticipantRequired = {}));
188
+ /**
189
+ * Defines the possible values for the `participant.status` field on a FHIR Appointment resource.
190
+ * @basedon http://hl7.org/fhir/R4/appointment.html#participant
191
+ * @basedon http://hl7.org/fhir/valueset-participationstatus.html
192
+ */
193
+ export var AppointmentParticipantStatus;
194
+ (function (AppointmentParticipantStatus) {
195
+ AppointmentParticipantStatus["Accepted"] = "accepted";
196
+ AppointmentParticipantStatus["Declined"] = "declined";
197
+ AppointmentParticipantStatus["Tentative"] = "tentative";
198
+ AppointmentParticipantStatus["NeedsAction"] = "needs-action";
199
+ })(AppointmentParticipantStatus || (AppointmentParticipantStatus = {}));
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Defines the flat claims structure for a FHIR AppointmentResponse resource.
3
+ *
4
+ * @basedon https://www.hl7.org/fhir/appointmentresponse.html
5
+ */
6
+ /**
7
+ * Contains claims representing fields specific to the FHIR R4 data model for an AppointmentResponse.
8
+ * Use this when constructing the `credentialSubject` of a Verifiable Credential or the `resource` object.
9
+ *
10
+ * @basedon https://www.hl7.org/fhir/R4/appointmentresponse.html
11
+ */
12
+ export declare const AppointmentResponseClaimsFhirR4: {
13
+ 'org.hl7.fhir.r4.core.AppointmentResponse.actor': StringConstructor;
14
+ 'org.hl7.fhir.r4.core.AppointmentResponse.appointment': StringConstructor;
15
+ 'org.hl7.fhir.r4.core.AppointmentResponse.comment': StringConstructor;
16
+ 'org.hl7.fhir.r4.core.AppointmentResponse.identifier': StringConstructor;
17
+ 'org.hl7.fhir.r4.core.AppointmentResponse.start': StringConstructor;
18
+ 'org.hl7.fhir.r4.core.AppointmentResponse.end': StringConstructor;
19
+ 'org.hl7.fhir.r4.core.AppointmentResponse.participant-type': StringConstructor;
20
+ 'org.hl7.fhir.r4.core.AppointmentResponse.participant-status': StringConstructor;
21
+ 'org.hl7.fhir.r4.core.AppointmentResponse.resource.id': StringConstructor;
22
+ };
23
+ /**
24
+ * Contains claims representing the standard, version-agnostic API search parameters for an AppointmentResponse.
25
+ *
26
+ * @basedon https://www.hl7.org/fhir/appointmentresponse.html#search
27
+ */
28
+ export declare const AppointmentResponseClaimsFhirApi: {
29
+ 'org.hl7.fhir.api.AppointmentResponse.actor': StringConstructor;
30
+ 'org.hl7.fhir.api.AppointmentResponse.appointment': StringConstructor;
31
+ 'org.hl7.fhir.api.AppointmentResponse.identifier': StringConstructor;
32
+ 'org.hl7.fhir.api.AppointmentResponse.location': StringConstructor;
33
+ 'org.hl7.fhir.api.AppointmentResponse.part-status': StringConstructor;
34
+ 'org.hl7.fhir.api.AppointmentResponse.patient': StringConstructor;
35
+ 'org.hl7.fhir.api.AppointmentResponse.practitioner': StringConstructor;
36
+ };
37
+ /**
38
+ * Extends the standard API search parameters with custom parameters derived from core data model fields.
39
+ * In this case, there are no common extended parameters, so it mirrors the base API claims.
40
+ */
41
+ export declare const AppointmentResponseClaimsFhirApiExtended: {
42
+ 'org.hl7.fhir.api.AppointmentResponse.actor': StringConstructor;
43
+ 'org.hl7.fhir.api.AppointmentResponse.appointment': StringConstructor;
44
+ 'org.hl7.fhir.api.AppointmentResponse.identifier': StringConstructor;
45
+ 'org.hl7.fhir.api.AppointmentResponse.location': StringConstructor;
46
+ 'org.hl7.fhir.api.AppointmentResponse.part-status': StringConstructor;
47
+ 'org.hl7.fhir.api.AppointmentResponse.patient': StringConstructor;
48
+ 'org.hl7.fhir.api.AppointmentResponse.practitioner': StringConstructor;
49
+ };
@@ -0,0 +1,45 @@
1
+ // src/models/fhir/AppointmentResponse.claims.ts
2
+ /**
3
+ * Defines the flat claims structure for a FHIR AppointmentResponse resource.
4
+ *
5
+ * @basedon https://www.hl7.org/fhir/appointmentresponse.html
6
+ */
7
+ /**
8
+ * Contains claims representing fields specific to the FHIR R4 data model for an AppointmentResponse.
9
+ * Use this when constructing the `credentialSubject` of a Verifiable Credential or the `resource` object.
10
+ *
11
+ * @basedon https://www.hl7.org/fhir/R4/appointmentresponse.html
12
+ */
13
+ export const AppointmentResponseClaimsFhirR4 = {
14
+ 'org.hl7.fhir.r4.core.AppointmentResponse.actor': String,
15
+ 'org.hl7.fhir.r4.core.AppointmentResponse.appointment': String, // Reference to Appointment
16
+ 'org.hl7.fhir.r4.core.AppointmentResponse.comment': String,
17
+ 'org.hl7.fhir.r4.core.AppointmentResponse.identifier': String,
18
+ 'org.hl7.fhir.r4.core.AppointmentResponse.start': String,
19
+ 'org.hl7.fhir.r4.core.AppointmentResponse.end': String,
20
+ 'org.hl7.fhir.r4.core.AppointmentResponse.participant-type': String,
21
+ 'org.hl7.fhir.r4.core.AppointmentResponse.participant-status': String,
22
+ 'org.hl7.fhir.r4.core.AppointmentResponse.resource.id': String,
23
+ };
24
+ /**
25
+ * Contains claims representing the standard, version-agnostic API search parameters for an AppointmentResponse.
26
+ *
27
+ * @basedon https://www.hl7.org/fhir/appointmentresponse.html#search
28
+ */
29
+ export const AppointmentResponseClaimsFhirApi = {
30
+ 'org.hl7.fhir.api.AppointmentResponse.actor': String,
31
+ 'org.hl7.fhir.api.AppointmentResponse.appointment': String,
32
+ 'org.hl7.fhir.api.AppointmentResponse.identifier': String,
33
+ 'org.hl7.fhir.api.AppointmentResponse.location': String,
34
+ 'org.hl7.fhir.api.AppointmentResponse.part-status': String,
35
+ 'org.hl7.fhir.api.AppointmentResponse.patient': String,
36
+ 'org.hl7.fhir.api.AppointmentResponse.practitioner': String,
37
+ };
38
+ /**
39
+ * Extends the standard API search parameters with custom parameters derived from core data model fields.
40
+ * In this case, there are no common extended parameters, so it mirrors the base API claims.
41
+ */
42
+ export const AppointmentResponseClaimsFhirApiExtended = {
43
+ ...AppointmentResponseClaimsFhirApi,
44
+ // No additional extended claims for AppointmentResponse at this time.
45
+ };
@@ -2,3 +2,6 @@ export * from './types';
2
2
  export * from './composition-claims';
3
3
  export * from './communication-claims';
4
4
  export * from './document-reference-claims';
5
+ export * from './medication-statement-claims';
6
+ export * from './appointment-claims';
7
+ export * from './appointment-response-claims';
@@ -4,3 +4,6 @@ export * from './types.js';
4
4
  export * from './composition-claims.js';
5
5
  export * from './communication-claims.js';
6
6
  export * from './document-reference-claims.js';
7
+ export * from './medication-statement-claims.js';
8
+ export * from './appointment-claims.js';
9
+ export * from './appointment-response-claims.js';
@@ -0,0 +1,319 @@
1
+ /**
2
+ * Flat claims contract for MedicationStatement using FHIR API-like search params.
3
+ *
4
+ * Convention:
5
+ * - Key format: `org.hl7.fhir.api.MedicationStatement.<concrete-parameter>`
6
+ * - `<concrete-parameter>` in kebab-case (no nested dots).
7
+ * - Keep values scalar/string-friendly so they can be persisted as tabular columns.
8
+ */
9
+ /**
10
+ * Standard FHIR search parameters for MedicationStatement.
11
+ * @basedon https://hl7.org/fhir/medicationstatement.html#search
12
+ */
13
+ export declare enum MedicationStatementClaimsFhirApi {
14
+ Category = "org.hl7.fhir.api.MedicationStatement.category",
15
+ Code = "org.hl7.fhir.api.MedicationStatement.code",
16
+ Effective = "org.hl7.fhir.api.MedicationStatement.effective",
17
+ Identifier = "org.hl7.fhir.api.MedicationStatement.identifier",
18
+ Medication = "org.hl7.fhir.api.MedicationStatement.medication",
19
+ PartOf = "org.hl7.fhir.api.MedicationStatement.part-of",
20
+ Patient = "org.hl7.fhir.api.MedicationStatement.patient",
21
+ Source = "org.hl7.fhir.api.MedicationStatement.source",
22
+ Status = "org.hl7.fhir.api.MedicationStatement.status",
23
+ Subject = "org.hl7.fhir.api.MedicationStatement.subject"
24
+ }
25
+ /**
26
+ * Extended flat parameters used for dosage/timing and operational indexing.
27
+ * These are intentionally scalarized to map cleanly to SQL columns.
28
+ */
29
+ export declare enum MedicationStatementClaimsFhirApiExtended {
30
+ Category = "org.hl7.fhir.api.MedicationStatement.category",
31
+ Code = "org.hl7.fhir.api.MedicationStatement.code",
32
+ Effective = "org.hl7.fhir.api.MedicationStatement.effective",
33
+ Identifier = "org.hl7.fhir.api.MedicationStatement.identifier",
34
+ Medication = "org.hl7.fhir.api.MedicationStatement.medication",
35
+ PartOf = "org.hl7.fhir.api.MedicationStatement.part-of",
36
+ Patient = "org.hl7.fhir.api.MedicationStatement.patient",
37
+ Source = "org.hl7.fhir.api.MedicationStatement.source",
38
+ Status = "org.hl7.fhir.api.MedicationStatement.status",
39
+ Subject = "org.hl7.fhir.api.MedicationStatement.subject",
40
+ DoseQuantity = "org.hl7.fhir.api.MedicationStatement.dose-quantity",
41
+ DoseQuantityValue = "org.hl7.fhir.api.MedicationStatement.dose-quantity-value",
42
+ DoseQuantityUnit = "org.hl7.fhir.api.MedicationStatement.dose-quantity-unit",
43
+ RateQuantity = "org.hl7.fhir.api.MedicationStatement.rate-quantity",
44
+ RateQuantityValue = "org.hl7.fhir.api.MedicationStatement.rate-quantity-value",
45
+ RateQuantityUnit = "org.hl7.fhir.api.MedicationStatement.rate-quantity-unit",
46
+ RateRangeLowQuantity = "org.hl7.fhir.api.MedicationStatement.rate-range-low-quantity",
47
+ RateRangeLowQuantityValue = "org.hl7.fhir.api.MedicationStatement.rate-range-low-quantity-value",
48
+ RateRangeLowQuantityUnit = "org.hl7.fhir.api.MedicationStatement.rate-range-low-quantity-unit",
49
+ RateRangeHighQuantity = "org.hl7.fhir.api.MedicationStatement.rate-range-high-quantity",
50
+ RateRangeHighQuantityValue = "org.hl7.fhir.api.MedicationStatement.rate-range-high-quantity-value",
51
+ RateRangeHighQuantityUnit = "org.hl7.fhir.api.MedicationStatement.rate-range-high-quantity-unit",
52
+ RateRatioNumeratorQuantity = "org.hl7.fhir.api.MedicationStatement.rate-ratio-numerator-quantity",
53
+ RateRatioNumeratorQuantityValue = "org.hl7.fhir.api.MedicationStatement.rate-ratio-numerator-quantity-value",
54
+ RateRatioNumeratorQuantityUnit = "org.hl7.fhir.api.MedicationStatement.rate-ratio-numerator-quantity-unit",
55
+ RateDenominatorQuantity = "org.hl7.fhir.api.MedicationStatement.rate-denominator-quantity",
56
+ RateDenominatorQuantityValue = "org.hl7.fhir.api.MedicationStatement.rate-denominator-quantity-value",
57
+ RateDenominatorQuantityUnit = "org.hl7.fhir.api.MedicationStatement.rate-denominator-quantity-unit",
58
+ DoseType = "org.hl7.fhir.api.MedicationStatement.dose-type",
59
+ DosageMethod = "org.hl7.fhir.api.MedicationStatement.dosage-method",
60
+ DosageMethodText = "org.hl7.fhir.api.MedicationStatement.dosage-method-text",
61
+ DosageRoute = "org.hl7.fhir.api.MedicationStatement.dosage-route",
62
+ DosageRouteText = "org.hl7.fhir.api.MedicationStatement.dosage-route-text",
63
+ DosageSite = "org.hl7.fhir.api.MedicationStatement.dosage-site",
64
+ DosageSiteText = "org.hl7.fhir.api.MedicationStatement.dosage-site-text",
65
+ DosageCondition = "org.hl7.fhir.api.MedicationStatement.dosage-condition",
66
+ DosageAsNeeded = "org.hl7.fhir.api.MedicationStatement.dosage-asneeded",
67
+ DosagePatientInstructionText = "org.hl7.fhir.api.MedicationStatement.dosage-patientinstruction-text",
68
+ DoseMaxPerPeriod = "org.hl7.fhir.api.MedicationStatement.dose-maxperperiod",
69
+ DoseMaxPerAdministration = "org.hl7.fhir.api.MedicationStatement.dose-maxperadministration",
70
+ DoseMaxPerLifetime = "org.hl7.fhir.api.MedicationStatement.dose-maxperlifetime",
71
+ TimingDescription = "org.hl7.fhir.api.MedicationStatement.timing-description",
72
+ TimingCount = "org.hl7.fhir.api.MedicationStatement.timing-count",
73
+ TimingCountMax = "org.hl7.fhir.api.MedicationStatement.timing-countmax",
74
+ TimingDuration = "org.hl7.fhir.api.MedicationStatement.timing-duration",
75
+ TimingDurationMax = "org.hl7.fhir.api.MedicationStatement.timing-durationmax",
76
+ TimingDurationUnit = "org.hl7.fhir.api.MedicationStatement.timing-duration-unit",
77
+ TimingFrequency = "org.hl7.fhir.api.MedicationStatement.timing-frequency",
78
+ TimingFrequencyMax = "org.hl7.fhir.api.MedicationStatement.timing-frequencymax",
79
+ TimingPeriod = "org.hl7.fhir.api.MedicationStatement.timing-period",
80
+ TimingPeriodMax = "org.hl7.fhir.api.MedicationStatement.timing-periodmax",
81
+ TimingPeriodUnit = "org.hl7.fhir.api.MedicationStatement.timing-period-unit",
82
+ TimingDayOfWeek = "org.hl7.fhir.api.MedicationStatement.timing-dayofweek",
83
+ TimingTimeOfDay = "org.hl7.fhir.api.MedicationStatement.timing-timeofday",
84
+ TimingWhen = "org.hl7.fhir.api.MedicationStatement.timing-when",
85
+ TimingOffset = "org.hl7.fhir.api.MedicationStatement.timing-offset",
86
+ TimingStartOffset = "org.hl7.fhir.api.MedicationStatement.timing-startoffset",
87
+ TimingEndOffset = "org.hl7.fhir.api.MedicationStatement.timing-endoffset",
88
+ TimingBoundsType = "org.hl7.fhir.api.MedicationStatement.timing-bounds-type",
89
+ TimingBoundsPeriodStart = "org.hl7.fhir.api.MedicationStatement.timing-bounds-period-start",
90
+ TimingBoundsPeriodEnd = "org.hl7.fhir.api.MedicationStatement.timing-bounds-period-end",
91
+ TimingBoundsDuration = "org.hl7.fhir.api.MedicationStatement.timing-bounds-duration",
92
+ TimingBoundsDurationValue = "org.hl7.fhir.api.MedicationStatement.timing-bounds-duration-value",
93
+ TimingBoundsDurationUnit = "org.hl7.fhir.api.MedicationStatement.timing-bounds-duration-unit",
94
+ TimingBoundsRangeLow = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-low",
95
+ TimingBoundsRangeLowValue = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-low-value",
96
+ TimingBoundsRangeLowUnit = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-low-unit",
97
+ TimingBoundsRangeHigh = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-high",
98
+ TimingBoundsRangeHighValue = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-high-value",
99
+ TimingBoundsRangeHighUnit = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-high-unit"
100
+ }
101
+ export declare const MedicationStatementClaimsFhirApiMap: {
102
+ "org.hl7.fhir.api.MedicationStatement.category": StringConstructor;
103
+ "org.hl7.fhir.api.MedicationStatement.code": StringConstructor;
104
+ "org.hl7.fhir.api.MedicationStatement.effective": StringConstructor;
105
+ "org.hl7.fhir.api.MedicationStatement.identifier": StringConstructor;
106
+ "org.hl7.fhir.api.MedicationStatement.medication": StringConstructor;
107
+ "org.hl7.fhir.api.MedicationStatement.part-of": StringConstructor;
108
+ "org.hl7.fhir.api.MedicationStatement.patient": StringConstructor;
109
+ "org.hl7.fhir.api.MedicationStatement.source": StringConstructor;
110
+ "org.hl7.fhir.api.MedicationStatement.status": StringConstructor;
111
+ "org.hl7.fhir.api.MedicationStatement.subject": StringConstructor;
112
+ };
113
+ export declare const MedicationStatementClaimsFhirApiExtendedMap: {
114
+ "org.hl7.fhir.api.MedicationStatement.dose-quantity": StringConstructor;
115
+ "org.hl7.fhir.api.MedicationStatement.dose-quantity-value": NumberConstructor;
116
+ "org.hl7.fhir.api.MedicationStatement.dose-quantity-unit": StringConstructor;
117
+ "org.hl7.fhir.api.MedicationStatement.rate-quantity": StringConstructor;
118
+ "org.hl7.fhir.api.MedicationStatement.rate-quantity-value": NumberConstructor;
119
+ "org.hl7.fhir.api.MedicationStatement.rate-quantity-unit": StringConstructor;
120
+ "org.hl7.fhir.api.MedicationStatement.rate-range-low-quantity": StringConstructor;
121
+ "org.hl7.fhir.api.MedicationStatement.rate-range-low-quantity-value": NumberConstructor;
122
+ "org.hl7.fhir.api.MedicationStatement.rate-range-low-quantity-unit": StringConstructor;
123
+ "org.hl7.fhir.api.MedicationStatement.rate-range-high-quantity": StringConstructor;
124
+ "org.hl7.fhir.api.MedicationStatement.rate-range-high-quantity-value": NumberConstructor;
125
+ "org.hl7.fhir.api.MedicationStatement.rate-range-high-quantity-unit": StringConstructor;
126
+ "org.hl7.fhir.api.MedicationStatement.rate-ratio-numerator-quantity": StringConstructor;
127
+ "org.hl7.fhir.api.MedicationStatement.rate-ratio-numerator-quantity-value": NumberConstructor;
128
+ "org.hl7.fhir.api.MedicationStatement.rate-ratio-numerator-quantity-unit": StringConstructor;
129
+ "org.hl7.fhir.api.MedicationStatement.rate-denominator-quantity": StringConstructor;
130
+ "org.hl7.fhir.api.MedicationStatement.rate-denominator-quantity-value": NumberConstructor;
131
+ "org.hl7.fhir.api.MedicationStatement.rate-denominator-quantity-unit": StringConstructor;
132
+ "org.hl7.fhir.api.MedicationStatement.dose-type": StringConstructor;
133
+ "org.hl7.fhir.api.MedicationStatement.dosage-method": StringConstructor;
134
+ "org.hl7.fhir.api.MedicationStatement.dosage-method-text": StringConstructor;
135
+ "org.hl7.fhir.api.MedicationStatement.dosage-route": StringConstructor;
136
+ "org.hl7.fhir.api.MedicationStatement.dosage-route-text": StringConstructor;
137
+ "org.hl7.fhir.api.MedicationStatement.dosage-site": StringConstructor;
138
+ "org.hl7.fhir.api.MedicationStatement.dosage-site-text": StringConstructor;
139
+ "org.hl7.fhir.api.MedicationStatement.dosage-condition": StringConstructor;
140
+ "org.hl7.fhir.api.MedicationStatement.dosage-asneeded": BooleanConstructor;
141
+ "org.hl7.fhir.api.MedicationStatement.dosage-patientinstruction-text": StringConstructor;
142
+ "org.hl7.fhir.api.MedicationStatement.dose-maxperperiod": StringConstructor;
143
+ "org.hl7.fhir.api.MedicationStatement.dose-maxperadministration": StringConstructor;
144
+ "org.hl7.fhir.api.MedicationStatement.dose-maxperlifetime": StringConstructor;
145
+ "org.hl7.fhir.api.MedicationStatement.timing-description": StringConstructor;
146
+ "org.hl7.fhir.api.MedicationStatement.timing-count": NumberConstructor;
147
+ "org.hl7.fhir.api.MedicationStatement.timing-countmax": NumberConstructor;
148
+ "org.hl7.fhir.api.MedicationStatement.timing-duration": NumberConstructor;
149
+ "org.hl7.fhir.api.MedicationStatement.timing-durationmax": NumberConstructor;
150
+ "org.hl7.fhir.api.MedicationStatement.timing-duration-unit": StringConstructor;
151
+ "org.hl7.fhir.api.MedicationStatement.timing-frequency": NumberConstructor;
152
+ "org.hl7.fhir.api.MedicationStatement.timing-frequencymax": NumberConstructor;
153
+ "org.hl7.fhir.api.MedicationStatement.timing-period": NumberConstructor;
154
+ "org.hl7.fhir.api.MedicationStatement.timing-periodmax": NumberConstructor;
155
+ "org.hl7.fhir.api.MedicationStatement.timing-period-unit": StringConstructor;
156
+ "org.hl7.fhir.api.MedicationStatement.timing-dayofweek": StringConstructor;
157
+ "org.hl7.fhir.api.MedicationStatement.timing-timeofday": StringConstructor;
158
+ "org.hl7.fhir.api.MedicationStatement.timing-when": StringConstructor;
159
+ "org.hl7.fhir.api.MedicationStatement.timing-offset": NumberConstructor;
160
+ "org.hl7.fhir.api.MedicationStatement.timing-startoffset": NumberConstructor;
161
+ "org.hl7.fhir.api.MedicationStatement.timing-endoffset": NumberConstructor;
162
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-type": StringConstructor;
163
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-period-start": StringConstructor;
164
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-period-end": StringConstructor;
165
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-duration": StringConstructor;
166
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-duration-value": NumberConstructor;
167
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-duration-unit": StringConstructor;
168
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-low": StringConstructor;
169
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-low-value": NumberConstructor;
170
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-low-unit": StringConstructor;
171
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-high": StringConstructor;
172
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-high-value": NumberConstructor;
173
+ "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-high-unit": StringConstructor;
174
+ "org.hl7.fhir.api.MedicationStatement.category": StringConstructor;
175
+ "org.hl7.fhir.api.MedicationStatement.code": StringConstructor;
176
+ "org.hl7.fhir.api.MedicationStatement.effective": StringConstructor;
177
+ "org.hl7.fhir.api.MedicationStatement.identifier": StringConstructor;
178
+ "org.hl7.fhir.api.MedicationStatement.medication": StringConstructor;
179
+ "org.hl7.fhir.api.MedicationStatement.part-of": StringConstructor;
180
+ "org.hl7.fhir.api.MedicationStatement.patient": StringConstructor;
181
+ "org.hl7.fhir.api.MedicationStatement.source": StringConstructor;
182
+ "org.hl7.fhir.api.MedicationStatement.status": StringConstructor;
183
+ "org.hl7.fhir.api.MedicationStatement.subject": StringConstructor;
184
+ };
185
+ /**
186
+ * Flat interface for `meta.claims` payload authoring.
187
+ * Values remain scalar (or CSV string for multi-value params) so they can map to SQL columns.
188
+ */
189
+ export interface MedicationStatementClaimsFlat {
190
+ '@context'?: 'org.hl7.fhir.api';
191
+ [MedicationStatementClaimsFhirApi.Category]?: string;
192
+ [MedicationStatementClaimsFhirApi.Code]?: string;
193
+ [MedicationStatementClaimsFhirApi.Effective]?: string;
194
+ [MedicationStatementClaimsFhirApi.Identifier]?: string;
195
+ [MedicationStatementClaimsFhirApi.Medication]?: string;
196
+ [MedicationStatementClaimsFhirApi.PartOf]?: string;
197
+ [MedicationStatementClaimsFhirApi.Patient]?: string;
198
+ [MedicationStatementClaimsFhirApi.Source]?: string;
199
+ [MedicationStatementClaimsFhirApi.Status]?: string;
200
+ [MedicationStatementClaimsFhirApi.Subject]?: string;
201
+ [MedicationStatementClaimsFhirApiExtended.DoseQuantity]?: string;
202
+ [MedicationStatementClaimsFhirApiExtended.DoseQuantityValue]?: number;
203
+ [MedicationStatementClaimsFhirApiExtended.DoseQuantityUnit]?: string;
204
+ [MedicationStatementClaimsFhirApiExtended.RateQuantity]?: string;
205
+ [MedicationStatementClaimsFhirApiExtended.DoseType]?: string;
206
+ [MedicationStatementClaimsFhirApiExtended.DosageMethod]?: string;
207
+ [MedicationStatementClaimsFhirApiExtended.DosageMethodText]?: string;
208
+ [MedicationStatementClaimsFhirApiExtended.DosageRoute]?: string;
209
+ [MedicationStatementClaimsFhirApiExtended.DosageRouteText]?: string;
210
+ [MedicationStatementClaimsFhirApiExtended.DosageSite]?: string;
211
+ [MedicationStatementClaimsFhirApiExtended.DosageSiteText]?: string;
212
+ [MedicationStatementClaimsFhirApiExtended.DosageCondition]?: string;
213
+ [MedicationStatementClaimsFhirApiExtended.DosageAsNeeded]?: boolean;
214
+ [MedicationStatementClaimsFhirApiExtended.DosagePatientInstructionText]?: string;
215
+ [MedicationStatementClaimsFhirApiExtended.TimingDescription]?: string;
216
+ [MedicationStatementClaimsFhirApiExtended.TimingDuration]?: number;
217
+ [MedicationStatementClaimsFhirApiExtended.TimingDurationUnit]?: string;
218
+ [MedicationStatementClaimsFhirApiExtended.TimingFrequency]?: number;
219
+ [MedicationStatementClaimsFhirApiExtended.TimingFrequencyMax]?: number;
220
+ [MedicationStatementClaimsFhirApiExtended.TimingPeriod]?: number;
221
+ [MedicationStatementClaimsFhirApiExtended.TimingPeriodUnit]?: string;
222
+ [MedicationStatementClaimsFhirApiExtended.TimingPeriodMax]?: number;
223
+ [MedicationStatementClaimsFhirApiExtended.TimingDayOfWeek]?: string;
224
+ [MedicationStatementClaimsFhirApiExtended.TimingTimeOfDay]?: string;
225
+ [MedicationStatementClaimsFhirApiExtended.TimingWhen]?: string;
226
+ [MedicationStatementClaimsFhirApiExtended.TimingOffset]?: number;
227
+ [MedicationStatementClaimsFhirApiExtended.TimingStartOffset]?: number;
228
+ [MedicationStatementClaimsFhirApiExtended.TimingEndOffset]?: number;
229
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsType]?: string;
230
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsPeriodStart]?: string;
231
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsPeriodEnd]?: string;
232
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsDuration]?: string;
233
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsDurationValue]?: number;
234
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsDurationUnit]?: string;
235
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeLow]?: string;
236
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeLowValue]?: number;
237
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeLowUnit]?: string;
238
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeHigh]?: string;
239
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeHighValue]?: number;
240
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeHighUnit]?: string;
241
+ }
242
+ /**
243
+ * Contextualized payload shape used by current `meta.claims` bodies:
244
+ * - `@context: org.hl7.fhir.api`
245
+ * - keys as `MedicationStatement.<concrete-parameter>`
246
+ */
247
+ export interface MedicationStatementClaimsContextualized {
248
+ '@context': 'org.hl7.fhir.api';
249
+ 'MedicationStatement.category'?: string;
250
+ 'MedicationStatement.code'?: string;
251
+ 'MedicationStatement.effective'?: string;
252
+ 'MedicationStatement.identifier'?: string;
253
+ 'MedicationStatement.medication'?: string;
254
+ 'MedicationStatement.part-of'?: string;
255
+ 'MedicationStatement.patient'?: string;
256
+ 'MedicationStatement.source'?: string;
257
+ 'MedicationStatement.status'?: string;
258
+ 'MedicationStatement.subject'?: string;
259
+ 'MedicationStatement.dose-quantity'?: string;
260
+ 'MedicationStatement.dose-quantity-value'?: number;
261
+ 'MedicationStatement.dose-quantity-unit'?: string;
262
+ 'MedicationStatement.rate-quantity'?: string;
263
+ 'MedicationStatement.rate-quantity-value'?: number;
264
+ 'MedicationStatement.rate-quantity-unit'?: string;
265
+ 'MedicationStatement.rate-range-low-quantity'?: string;
266
+ 'MedicationStatement.rate-range-low-quantity-value'?: number;
267
+ 'MedicationStatement.rate-range-low-quantity-unit'?: string;
268
+ 'MedicationStatement.rate-range-high-quantity'?: string;
269
+ 'MedicationStatement.rate-range-high-quantity-value'?: number;
270
+ 'MedicationStatement.rate-range-high-quantity-unit'?: string;
271
+ 'MedicationStatement.rate-ratio-numerator-quantity'?: string;
272
+ 'MedicationStatement.rate-ratio-numerator-quantity-value'?: number;
273
+ 'MedicationStatement.rate-ratio-numerator-quantity-unit'?: string;
274
+ 'MedicationStatement.rate-denominator-quantity'?: string;
275
+ 'MedicationStatement.rate-denominator-quantity-value'?: number;
276
+ 'MedicationStatement.rate-denominator-quantity-unit'?: string;
277
+ 'MedicationStatement.dose-type'?: string;
278
+ 'MedicationStatement.dosage-method'?: string;
279
+ 'MedicationStatement.dosage-method-text'?: string;
280
+ 'MedicationStatement.dosage-route'?: string;
281
+ 'MedicationStatement.dosage-route-text'?: string;
282
+ 'MedicationStatement.dosage-site'?: string;
283
+ 'MedicationStatement.dosage-site-text'?: string;
284
+ 'MedicationStatement.dosage-condition'?: string;
285
+ 'MedicationStatement.dosage-asneeded'?: boolean;
286
+ 'MedicationStatement.dosage-patientinstruction-text'?: string;
287
+ 'MedicationStatement.dose-maxperperiod'?: string;
288
+ 'MedicationStatement.dose-maxperadministration'?: string;
289
+ 'MedicationStatement.dose-maxperlifetime'?: string;
290
+ 'MedicationStatement.timing-description'?: string;
291
+ 'MedicationStatement.timing-count'?: number;
292
+ 'MedicationStatement.timing-countmax'?: number;
293
+ 'MedicationStatement.timing-duration'?: number;
294
+ 'MedicationStatement.timing-durationmax'?: number;
295
+ 'MedicationStatement.timing-duration-unit'?: string;
296
+ 'MedicationStatement.timing-frequency'?: number;
297
+ 'MedicationStatement.timing-frequencymax'?: number;
298
+ 'MedicationStatement.timing-period'?: number;
299
+ 'MedicationStatement.timing-periodmax'?: number;
300
+ 'MedicationStatement.timing-period-unit'?: string;
301
+ 'MedicationStatement.timing-dayofweek'?: string;
302
+ 'MedicationStatement.timing-timeofday'?: string;
303
+ 'MedicationStatement.timing-when'?: string;
304
+ 'MedicationStatement.timing-offset'?: number;
305
+ 'MedicationStatement.timing-startoffset'?: number;
306
+ 'MedicationStatement.timing-endoffset'?: number;
307
+ 'MedicationStatement.timing-bounds-type'?: string;
308
+ 'MedicationStatement.timing-bounds-period-start'?: string;
309
+ 'MedicationStatement.timing-bounds-period-end'?: string;
310
+ 'MedicationStatement.timing-bounds-duration'?: string;
311
+ 'MedicationStatement.timing-bounds-duration-value'?: number;
312
+ 'MedicationStatement.timing-bounds-duration-unit'?: string;
313
+ 'MedicationStatement.timing-bounds-range-low'?: string;
314
+ 'MedicationStatement.timing-bounds-range-low-value'?: number;
315
+ 'MedicationStatement.timing-bounds-range-low-unit'?: string;
316
+ 'MedicationStatement.timing-bounds-range-high'?: string;
317
+ 'MedicationStatement.timing-bounds-range-high-value'?: number;
318
+ 'MedicationStatement.timing-bounds-range-high-unit'?: string;
319
+ }
@@ -0,0 +1,181 @@
1
+ // src/models/fhir/MedicationStatement.claims.ts
2
+ /**
3
+ * Flat claims contract for MedicationStatement using FHIR API-like search params.
4
+ *
5
+ * Convention:
6
+ * - Key format: `org.hl7.fhir.api.MedicationStatement.<concrete-parameter>`
7
+ * - `<concrete-parameter>` in kebab-case (no nested dots).
8
+ * - Keep values scalar/string-friendly so they can be persisted as tabular columns.
9
+ */
10
+ /**
11
+ * Standard FHIR search parameters for MedicationStatement.
12
+ * @basedon https://hl7.org/fhir/medicationstatement.html#search
13
+ */
14
+ export var MedicationStatementClaimsFhirApi;
15
+ (function (MedicationStatementClaimsFhirApi) {
16
+ MedicationStatementClaimsFhirApi["Category"] = "org.hl7.fhir.api.MedicationStatement.category";
17
+ MedicationStatementClaimsFhirApi["Code"] = "org.hl7.fhir.api.MedicationStatement.code";
18
+ MedicationStatementClaimsFhirApi["Effective"] = "org.hl7.fhir.api.MedicationStatement.effective";
19
+ MedicationStatementClaimsFhirApi["Identifier"] = "org.hl7.fhir.api.MedicationStatement.identifier";
20
+ MedicationStatementClaimsFhirApi["Medication"] = "org.hl7.fhir.api.MedicationStatement.medication";
21
+ MedicationStatementClaimsFhirApi["PartOf"] = "org.hl7.fhir.api.MedicationStatement.part-of";
22
+ MedicationStatementClaimsFhirApi["Patient"] = "org.hl7.fhir.api.MedicationStatement.patient";
23
+ MedicationStatementClaimsFhirApi["Source"] = "org.hl7.fhir.api.MedicationStatement.source";
24
+ MedicationStatementClaimsFhirApi["Status"] = "org.hl7.fhir.api.MedicationStatement.status";
25
+ MedicationStatementClaimsFhirApi["Subject"] = "org.hl7.fhir.api.MedicationStatement.subject";
26
+ })(MedicationStatementClaimsFhirApi || (MedicationStatementClaimsFhirApi = {}));
27
+ /**
28
+ * Extended flat parameters used for dosage/timing and operational indexing.
29
+ * These are intentionally scalarized to map cleanly to SQL columns.
30
+ */
31
+ export var MedicationStatementClaimsFhirApiExtended;
32
+ (function (MedicationStatementClaimsFhirApiExtended) {
33
+ MedicationStatementClaimsFhirApiExtended["Category"] = "org.hl7.fhir.api.MedicationStatement.category";
34
+ MedicationStatementClaimsFhirApiExtended["Code"] = "org.hl7.fhir.api.MedicationStatement.code";
35
+ MedicationStatementClaimsFhirApiExtended["Effective"] = "org.hl7.fhir.api.MedicationStatement.effective";
36
+ MedicationStatementClaimsFhirApiExtended["Identifier"] = "org.hl7.fhir.api.MedicationStatement.identifier";
37
+ MedicationStatementClaimsFhirApiExtended["Medication"] = "org.hl7.fhir.api.MedicationStatement.medication";
38
+ MedicationStatementClaimsFhirApiExtended["PartOf"] = "org.hl7.fhir.api.MedicationStatement.part-of";
39
+ MedicationStatementClaimsFhirApiExtended["Patient"] = "org.hl7.fhir.api.MedicationStatement.patient";
40
+ MedicationStatementClaimsFhirApiExtended["Source"] = "org.hl7.fhir.api.MedicationStatement.source";
41
+ MedicationStatementClaimsFhirApiExtended["Status"] = "org.hl7.fhir.api.MedicationStatement.status";
42
+ MedicationStatementClaimsFhirApiExtended["Subject"] = "org.hl7.fhir.api.MedicationStatement.subject";
43
+ // Dosage-level quantities
44
+ MedicationStatementClaimsFhirApiExtended["DoseQuantity"] = "org.hl7.fhir.api.MedicationStatement.dose-quantity";
45
+ MedicationStatementClaimsFhirApiExtended["DoseQuantityValue"] = "org.hl7.fhir.api.MedicationStatement.dose-quantity-value";
46
+ MedicationStatementClaimsFhirApiExtended["DoseQuantityUnit"] = "org.hl7.fhir.api.MedicationStatement.dose-quantity-unit";
47
+ MedicationStatementClaimsFhirApiExtended["RateQuantity"] = "org.hl7.fhir.api.MedicationStatement.rate-quantity";
48
+ MedicationStatementClaimsFhirApiExtended["RateQuantityValue"] = "org.hl7.fhir.api.MedicationStatement.rate-quantity-value";
49
+ MedicationStatementClaimsFhirApiExtended["RateQuantityUnit"] = "org.hl7.fhir.api.MedicationStatement.rate-quantity-unit";
50
+ MedicationStatementClaimsFhirApiExtended["RateRangeLowQuantity"] = "org.hl7.fhir.api.MedicationStatement.rate-range-low-quantity";
51
+ MedicationStatementClaimsFhirApiExtended["RateRangeLowQuantityValue"] = "org.hl7.fhir.api.MedicationStatement.rate-range-low-quantity-value";
52
+ MedicationStatementClaimsFhirApiExtended["RateRangeLowQuantityUnit"] = "org.hl7.fhir.api.MedicationStatement.rate-range-low-quantity-unit";
53
+ MedicationStatementClaimsFhirApiExtended["RateRangeHighQuantity"] = "org.hl7.fhir.api.MedicationStatement.rate-range-high-quantity";
54
+ MedicationStatementClaimsFhirApiExtended["RateRangeHighQuantityValue"] = "org.hl7.fhir.api.MedicationStatement.rate-range-high-quantity-value";
55
+ MedicationStatementClaimsFhirApiExtended["RateRangeHighQuantityUnit"] = "org.hl7.fhir.api.MedicationStatement.rate-range-high-quantity-unit";
56
+ MedicationStatementClaimsFhirApiExtended["RateRatioNumeratorQuantity"] = "org.hl7.fhir.api.MedicationStatement.rate-ratio-numerator-quantity";
57
+ MedicationStatementClaimsFhirApiExtended["RateRatioNumeratorQuantityValue"] = "org.hl7.fhir.api.MedicationStatement.rate-ratio-numerator-quantity-value";
58
+ MedicationStatementClaimsFhirApiExtended["RateRatioNumeratorQuantityUnit"] = "org.hl7.fhir.api.MedicationStatement.rate-ratio-numerator-quantity-unit";
59
+ MedicationStatementClaimsFhirApiExtended["RateDenominatorQuantity"] = "org.hl7.fhir.api.MedicationStatement.rate-denominator-quantity";
60
+ MedicationStatementClaimsFhirApiExtended["RateDenominatorQuantityValue"] = "org.hl7.fhir.api.MedicationStatement.rate-denominator-quantity-value";
61
+ MedicationStatementClaimsFhirApiExtended["RateDenominatorQuantityUnit"] = "org.hl7.fhir.api.MedicationStatement.rate-denominator-quantity-unit";
62
+ MedicationStatementClaimsFhirApiExtended["DoseType"] = "org.hl7.fhir.api.MedicationStatement.dose-type";
63
+ MedicationStatementClaimsFhirApiExtended["DosageMethod"] = "org.hl7.fhir.api.MedicationStatement.dosage-method";
64
+ MedicationStatementClaimsFhirApiExtended["DosageMethodText"] = "org.hl7.fhir.api.MedicationStatement.dosage-method-text";
65
+ MedicationStatementClaimsFhirApiExtended["DosageRoute"] = "org.hl7.fhir.api.MedicationStatement.dosage-route";
66
+ MedicationStatementClaimsFhirApiExtended["DosageRouteText"] = "org.hl7.fhir.api.MedicationStatement.dosage-route-text";
67
+ MedicationStatementClaimsFhirApiExtended["DosageSite"] = "org.hl7.fhir.api.MedicationStatement.dosage-site";
68
+ MedicationStatementClaimsFhirApiExtended["DosageSiteText"] = "org.hl7.fhir.api.MedicationStatement.dosage-site-text";
69
+ MedicationStatementClaimsFhirApiExtended["DosageCondition"] = "org.hl7.fhir.api.MedicationStatement.dosage-condition";
70
+ MedicationStatementClaimsFhirApiExtended["DosageAsNeeded"] = "org.hl7.fhir.api.MedicationStatement.dosage-asneeded";
71
+ MedicationStatementClaimsFhirApiExtended["DosagePatientInstructionText"] = "org.hl7.fhir.api.MedicationStatement.dosage-patientinstruction-text";
72
+ MedicationStatementClaimsFhirApiExtended["DoseMaxPerPeriod"] = "org.hl7.fhir.api.MedicationStatement.dose-maxperperiod";
73
+ MedicationStatementClaimsFhirApiExtended["DoseMaxPerAdministration"] = "org.hl7.fhir.api.MedicationStatement.dose-maxperadministration";
74
+ MedicationStatementClaimsFhirApiExtended["DoseMaxPerLifetime"] = "org.hl7.fhir.api.MedicationStatement.dose-maxperlifetime";
75
+ // Timing.repeat scalarization
76
+ MedicationStatementClaimsFhirApiExtended["TimingDescription"] = "org.hl7.fhir.api.MedicationStatement.timing-description";
77
+ MedicationStatementClaimsFhirApiExtended["TimingCount"] = "org.hl7.fhir.api.MedicationStatement.timing-count";
78
+ MedicationStatementClaimsFhirApiExtended["TimingCountMax"] = "org.hl7.fhir.api.MedicationStatement.timing-countmax";
79
+ MedicationStatementClaimsFhirApiExtended["TimingDuration"] = "org.hl7.fhir.api.MedicationStatement.timing-duration";
80
+ MedicationStatementClaimsFhirApiExtended["TimingDurationMax"] = "org.hl7.fhir.api.MedicationStatement.timing-durationmax";
81
+ MedicationStatementClaimsFhirApiExtended["TimingDurationUnit"] = "org.hl7.fhir.api.MedicationStatement.timing-duration-unit";
82
+ MedicationStatementClaimsFhirApiExtended["TimingFrequency"] = "org.hl7.fhir.api.MedicationStatement.timing-frequency";
83
+ MedicationStatementClaimsFhirApiExtended["TimingFrequencyMax"] = "org.hl7.fhir.api.MedicationStatement.timing-frequencymax";
84
+ MedicationStatementClaimsFhirApiExtended["TimingPeriod"] = "org.hl7.fhir.api.MedicationStatement.timing-period";
85
+ MedicationStatementClaimsFhirApiExtended["TimingPeriodMax"] = "org.hl7.fhir.api.MedicationStatement.timing-periodmax";
86
+ MedicationStatementClaimsFhirApiExtended["TimingPeriodUnit"] = "org.hl7.fhir.api.MedicationStatement.timing-period-unit";
87
+ MedicationStatementClaimsFhirApiExtended["TimingDayOfWeek"] = "org.hl7.fhir.api.MedicationStatement.timing-dayofweek";
88
+ MedicationStatementClaimsFhirApiExtended["TimingTimeOfDay"] = "org.hl7.fhir.api.MedicationStatement.timing-timeofday";
89
+ MedicationStatementClaimsFhirApiExtended["TimingWhen"] = "org.hl7.fhir.api.MedicationStatement.timing-when";
90
+ MedicationStatementClaimsFhirApiExtended["TimingOffset"] = "org.hl7.fhir.api.MedicationStatement.timing-offset";
91
+ MedicationStatementClaimsFhirApiExtended["TimingStartOffset"] = "org.hl7.fhir.api.MedicationStatement.timing-startoffset";
92
+ MedicationStatementClaimsFhirApiExtended["TimingEndOffset"] = "org.hl7.fhir.api.MedicationStatement.timing-endoffset";
93
+ // Timing.repeat.bounds[x]
94
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsType"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-type";
95
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsPeriodStart"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-period-start";
96
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsPeriodEnd"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-period-end";
97
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsDuration"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-duration";
98
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsDurationValue"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-duration-value";
99
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsDurationUnit"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-duration-unit";
100
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsRangeLow"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-low";
101
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsRangeLowValue"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-low-value";
102
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsRangeLowUnit"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-low-unit";
103
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsRangeHigh"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-high";
104
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsRangeHighValue"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-high-value";
105
+ MedicationStatementClaimsFhirApiExtended["TimingBoundsRangeHighUnit"] = "org.hl7.fhir.api.MedicationStatement.timing-bounds-range-high-unit";
106
+ })(MedicationStatementClaimsFhirApiExtended || (MedicationStatementClaimsFhirApiExtended = {}));
107
+ export const MedicationStatementClaimsFhirApiMap = {
108
+ [MedicationStatementClaimsFhirApi.Category]: String,
109
+ [MedicationStatementClaimsFhirApi.Code]: String,
110
+ [MedicationStatementClaimsFhirApi.Effective]: String,
111
+ [MedicationStatementClaimsFhirApi.Identifier]: String,
112
+ [MedicationStatementClaimsFhirApi.Medication]: String,
113
+ [MedicationStatementClaimsFhirApi.PartOf]: String,
114
+ [MedicationStatementClaimsFhirApi.Patient]: String,
115
+ [MedicationStatementClaimsFhirApi.Source]: String,
116
+ [MedicationStatementClaimsFhirApi.Status]: String,
117
+ [MedicationStatementClaimsFhirApi.Subject]: String,
118
+ };
119
+ export const MedicationStatementClaimsFhirApiExtendedMap = {
120
+ ...MedicationStatementClaimsFhirApiMap,
121
+ [MedicationStatementClaimsFhirApiExtended.DoseQuantity]: String,
122
+ [MedicationStatementClaimsFhirApiExtended.DoseQuantityValue]: Number,
123
+ [MedicationStatementClaimsFhirApiExtended.DoseQuantityUnit]: String,
124
+ [MedicationStatementClaimsFhirApiExtended.RateQuantity]: String,
125
+ [MedicationStatementClaimsFhirApiExtended.RateQuantityValue]: Number,
126
+ [MedicationStatementClaimsFhirApiExtended.RateQuantityUnit]: String,
127
+ [MedicationStatementClaimsFhirApiExtended.RateRangeLowQuantity]: String,
128
+ [MedicationStatementClaimsFhirApiExtended.RateRangeLowQuantityValue]: Number,
129
+ [MedicationStatementClaimsFhirApiExtended.RateRangeLowQuantityUnit]: String,
130
+ [MedicationStatementClaimsFhirApiExtended.RateRangeHighQuantity]: String,
131
+ [MedicationStatementClaimsFhirApiExtended.RateRangeHighQuantityValue]: Number,
132
+ [MedicationStatementClaimsFhirApiExtended.RateRangeHighQuantityUnit]: String,
133
+ [MedicationStatementClaimsFhirApiExtended.RateRatioNumeratorQuantity]: String,
134
+ [MedicationStatementClaimsFhirApiExtended.RateRatioNumeratorQuantityValue]: Number,
135
+ [MedicationStatementClaimsFhirApiExtended.RateRatioNumeratorQuantityUnit]: String,
136
+ [MedicationStatementClaimsFhirApiExtended.RateDenominatorQuantity]: String,
137
+ [MedicationStatementClaimsFhirApiExtended.RateDenominatorQuantityValue]: Number,
138
+ [MedicationStatementClaimsFhirApiExtended.RateDenominatorQuantityUnit]: String,
139
+ [MedicationStatementClaimsFhirApiExtended.DoseType]: String,
140
+ [MedicationStatementClaimsFhirApiExtended.DosageMethod]: String,
141
+ [MedicationStatementClaimsFhirApiExtended.DosageMethodText]: String,
142
+ [MedicationStatementClaimsFhirApiExtended.DosageRoute]: String,
143
+ [MedicationStatementClaimsFhirApiExtended.DosageRouteText]: String,
144
+ [MedicationStatementClaimsFhirApiExtended.DosageSite]: String,
145
+ [MedicationStatementClaimsFhirApiExtended.DosageSiteText]: String,
146
+ [MedicationStatementClaimsFhirApiExtended.DosageCondition]: String,
147
+ [MedicationStatementClaimsFhirApiExtended.DosageAsNeeded]: Boolean,
148
+ [MedicationStatementClaimsFhirApiExtended.DosagePatientInstructionText]: String,
149
+ [MedicationStatementClaimsFhirApiExtended.DoseMaxPerPeriod]: String,
150
+ [MedicationStatementClaimsFhirApiExtended.DoseMaxPerAdministration]: String,
151
+ [MedicationStatementClaimsFhirApiExtended.DoseMaxPerLifetime]: String,
152
+ [MedicationStatementClaimsFhirApiExtended.TimingDescription]: String,
153
+ [MedicationStatementClaimsFhirApiExtended.TimingCount]: Number,
154
+ [MedicationStatementClaimsFhirApiExtended.TimingCountMax]: Number,
155
+ [MedicationStatementClaimsFhirApiExtended.TimingDuration]: Number,
156
+ [MedicationStatementClaimsFhirApiExtended.TimingDurationMax]: Number,
157
+ [MedicationStatementClaimsFhirApiExtended.TimingDurationUnit]: String,
158
+ [MedicationStatementClaimsFhirApiExtended.TimingFrequency]: Number,
159
+ [MedicationStatementClaimsFhirApiExtended.TimingFrequencyMax]: Number,
160
+ [MedicationStatementClaimsFhirApiExtended.TimingPeriod]: Number,
161
+ [MedicationStatementClaimsFhirApiExtended.TimingPeriodMax]: Number,
162
+ [MedicationStatementClaimsFhirApiExtended.TimingPeriodUnit]: String,
163
+ [MedicationStatementClaimsFhirApiExtended.TimingDayOfWeek]: String,
164
+ [MedicationStatementClaimsFhirApiExtended.TimingTimeOfDay]: String,
165
+ [MedicationStatementClaimsFhirApiExtended.TimingWhen]: String,
166
+ [MedicationStatementClaimsFhirApiExtended.TimingOffset]: Number,
167
+ [MedicationStatementClaimsFhirApiExtended.TimingStartOffset]: Number,
168
+ [MedicationStatementClaimsFhirApiExtended.TimingEndOffset]: Number,
169
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsType]: String,
170
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsPeriodStart]: String,
171
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsPeriodEnd]: String,
172
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsDuration]: String,
173
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsDurationValue]: Number,
174
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsDurationUnit]: String,
175
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeLow]: String,
176
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeLowValue]: Number,
177
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeLowUnit]: String,
178
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeHigh]: String,
179
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeHighValue]: Number,
180
+ [MedicationStatementClaimsFhirApiExtended.TimingBoundsRangeHighUnit]: String,
181
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdc-common-utils-ts",
3
- "version": "1.4.4",
3
+ "version": "1.4.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },