gdc-common-utils-ts 2.3.26 → 2.3.27
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/README.md +5 -0
- package/dist/convert/convert-care-plan.js +25 -1
- package/dist/convert/convert-condition.js +12 -0
- package/dist/convert/convert-consent.js +59 -13
- package/dist/convert/convert-device-use-statement.js +3 -1
- package/dist/convert/convert-immunization.js +12 -2
- package/dist/convert/convert-medication-statement.js +35 -1
- package/dist/convert/convert-observation.js +43 -2
- package/dist/convert/convert-practitioner-role.d.ts +1 -1
- package/dist/convert/convert-practitioner-role.js +41 -13
- package/dist/convert/convert-shared.js +1 -1
- package/dist/models/consent-rule.d.ts +7 -0
- package/dist/models/consent-rule.js +7 -0
- package/dist/models/indexing.d.ts +4 -4
- package/dist/models/interoperable-claims/appointment-claims.d.ts +54 -54
- package/dist/models/interoperable-claims/appointment-claims.js +28 -29
- package/dist/models/interoperable-claims/appointment-response-claims.d.ts +11 -11
- package/dist/models/interoperable-claims/appointment-response-claims.js +11 -11
- package/dist/models/interoperable-claims/care-plan-claims.d.ts +11 -0
- package/dist/models/interoperable-claims/care-plan-claims.js +11 -0
- package/dist/models/interoperable-claims/condition-claims.d.ts +2 -0
- package/dist/models/interoperable-claims/condition-claims.js +2 -0
- package/dist/models/interoperable-claims/device-use-statement-claims.d.ts +3 -2
- package/dist/models/interoperable-claims/device-use-statement-claims.js +3 -2
- package/dist/models/interoperable-claims/immunization-claims.d.ts +4 -0
- package/dist/models/interoperable-claims/immunization-claims.js +4 -0
- package/dist/models/interoperable-claims/medication-statement-claims.d.ts +6 -0
- package/dist/models/interoperable-claims/medication-statement-claims.js +6 -0
- package/dist/models/interoperable-claims/observation-claims.d.ts +12 -4
- package/dist/models/interoperable-claims/observation-claims.js +10 -2
- package/dist/models/interoperable-claims/practitioner-role-claims.d.ts +9 -0
- package/dist/models/interoperable-claims/practitioner-role-claims.js +9 -0
- package/dist/models/params.d.ts +1 -1
- package/dist/utils/bundle-document-builder.js +37 -16
- package/dist/utils/bundle-entry-editor.d.ts +13 -0
- package/dist/utils/bundle-entry-editor.js +18 -0
- package/dist/utils/clinical-resource-converters.js +6 -4
- package/dist/utils/clinical-resource-view.d.ts +55 -0
- package/dist/utils/clinical-resource-view.js +137 -1
- package/dist/utils/communication-bundle-document-request.js +1 -1
- package/dist/utils/communication-fhir-r4.js +1 -1
- package/dist/utils/fhir-api-claim-helpers.d.ts +2 -0
- package/dist/utils/fhir-api-claim-helpers.js +16 -0
- package/dist/utils/ips-bundle-claims.d.ts +3 -4
- package/dist/utils/ips-bundle-claims.js +7 -7
- package/dist/utils/medication-statement-entry-editor.js +10 -10
- package/dist/utils/observation-component-entry-editor.d.ts +2 -2
- package/dist/utils/observation-component-entry-editor.js +2 -2
- package/package.json +1 -1
|
@@ -7,38 +7,38 @@
|
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* @deprecated Claims are never version-specific. Kept as a source-compatible
|
|
11
|
+
* alias whose values now use the expanded `org.hl7.fhir.api` vocabulary.
|
|
12
12
|
*
|
|
13
13
|
* @basedon https://www.hl7.org/fhir/R4/appointment.html
|
|
14
14
|
*/
|
|
15
15
|
export declare enum AppointmentClaimsFhirR4Core {
|
|
16
|
-
Identifier = "org.hl7.fhir.
|
|
17
|
-
Status = "org.hl7.fhir.
|
|
18
|
-
CancelationReason = "org.hl7.fhir.
|
|
19
|
-
ServiceCategory = "org.hl7.fhir.
|
|
20
|
-
ServiceType = "org.hl7.fhir.
|
|
21
|
-
Specialty = "org.hl7.fhir.
|
|
22
|
-
AppointmentType = "org.hl7.fhir.
|
|
23
|
-
ReasonCode = "org.hl7.fhir.
|
|
24
|
-
ReasonReference = "org.hl7.fhir.
|
|
25
|
-
Priority = "org.hl7.fhir.
|
|
26
|
-
Description = "org.hl7.fhir.
|
|
27
|
-
SupportingInformation = "org.hl7.fhir.
|
|
28
|
-
Start = "org.hl7.fhir.
|
|
29
|
-
End = "org.hl7.fhir.
|
|
30
|
-
MinutesDuration = "org.hl7.fhir.
|
|
31
|
-
Slot = "org.hl7.fhir.
|
|
32
|
-
Created = "org.hl7.fhir.
|
|
33
|
-
NoteText = "org.hl7.fhir.
|
|
34
|
-
PatientInstruction = "org.hl7.fhir.
|
|
35
|
-
BasedOn = "org.hl7.fhir.
|
|
36
|
-
ParticipantActor = "org.hl7.fhir.
|
|
37
|
-
ParticipantRequired = "org.hl7.fhir.
|
|
38
|
-
ParticipantStatus = "org.hl7.fhir.
|
|
39
|
-
ParticipantType = "org.hl7.fhir.
|
|
40
|
-
RequestedPeriod = "org.hl7.fhir.
|
|
41
|
-
ResourceId = "org.hl7.fhir.
|
|
16
|
+
Identifier = "org.hl7.fhir.api.Appointment.identifier",
|
|
17
|
+
Status = "org.hl7.fhir.api.Appointment.status",
|
|
18
|
+
CancelationReason = "org.hl7.fhir.api.Appointment.cancelation-reason",
|
|
19
|
+
ServiceCategory = "org.hl7.fhir.api.Appointment.service-category",
|
|
20
|
+
ServiceType = "org.hl7.fhir.api.Appointment.service-type",
|
|
21
|
+
Specialty = "org.hl7.fhir.api.Appointment.specialty",
|
|
22
|
+
AppointmentType = "org.hl7.fhir.api.Appointment.appointment-type",
|
|
23
|
+
ReasonCode = "org.hl7.fhir.api.Appointment.reason-code",
|
|
24
|
+
ReasonReference = "org.hl7.fhir.api.Appointment.reason-reference",
|
|
25
|
+
Priority = "org.hl7.fhir.api.Appointment.priority",
|
|
26
|
+
Description = "org.hl7.fhir.api.Appointment.description",
|
|
27
|
+
SupportingInformation = "org.hl7.fhir.api.Appointment.supporting-information",
|
|
28
|
+
Start = "org.hl7.fhir.api.Appointment.start",
|
|
29
|
+
End = "org.hl7.fhir.api.Appointment.end",
|
|
30
|
+
MinutesDuration = "org.hl7.fhir.api.Appointment.minutes-duration",
|
|
31
|
+
Slot = "org.hl7.fhir.api.Appointment.slot",
|
|
32
|
+
Created = "org.hl7.fhir.api.Appointment.created",
|
|
33
|
+
NoteText = "org.hl7.fhir.api.Appointment.note-text",
|
|
34
|
+
PatientInstruction = "org.hl7.fhir.api.Appointment.patient-instruction",
|
|
35
|
+
BasedOn = "org.hl7.fhir.api.Appointment.based-on",
|
|
36
|
+
ParticipantActor = "org.hl7.fhir.api.Appointment.participant-actor",
|
|
37
|
+
ParticipantRequired = "org.hl7.fhir.api.Appointment.participant-required",
|
|
38
|
+
ParticipantStatus = "org.hl7.fhir.api.Appointment.participant-status",
|
|
39
|
+
ParticipantType = "org.hl7.fhir.api.Appointment.participant-type",
|
|
40
|
+
RequestedPeriod = "org.hl7.fhir.api.Appointment.requested-period",
|
|
41
|
+
ResourceId = "org.hl7.fhir.api.Appointment.resource-id"
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Contains claims representing the standard, version-agnostic API search parameters for an Appointment.
|
|
@@ -93,32 +93,32 @@ export declare enum AppointmentClaimsFhirApiExtended {
|
|
|
93
93
|
NoteText = "org.hl7.fhir.api.Appointment.note-text"
|
|
94
94
|
}
|
|
95
95
|
export declare const AppointmentClaimsFhirR4CoreMap: {
|
|
96
|
-
"org.hl7.fhir.
|
|
97
|
-
"org.hl7.fhir.
|
|
98
|
-
"org.hl7.fhir.
|
|
99
|
-
"org.hl7.fhir.
|
|
100
|
-
"org.hl7.fhir.
|
|
101
|
-
"org.hl7.fhir.
|
|
102
|
-
"org.hl7.fhir.
|
|
103
|
-
"org.hl7.fhir.
|
|
104
|
-
"org.hl7.fhir.
|
|
105
|
-
"org.hl7.fhir.
|
|
106
|
-
"org.hl7.fhir.
|
|
107
|
-
"org.hl7.fhir.
|
|
108
|
-
"org.hl7.fhir.
|
|
109
|
-
"org.hl7.fhir.
|
|
110
|
-
"org.hl7.fhir.
|
|
111
|
-
"org.hl7.fhir.
|
|
112
|
-
"org.hl7.fhir.
|
|
113
|
-
"org.hl7.fhir.
|
|
114
|
-
"org.hl7.fhir.
|
|
115
|
-
"org.hl7.fhir.
|
|
116
|
-
"org.hl7.fhir.
|
|
117
|
-
"org.hl7.fhir.
|
|
118
|
-
"org.hl7.fhir.
|
|
119
|
-
"org.hl7.fhir.
|
|
120
|
-
"org.hl7.fhir.
|
|
121
|
-
"org.hl7.fhir.
|
|
96
|
+
"org.hl7.fhir.api.Appointment.identifier": StringConstructor;
|
|
97
|
+
"org.hl7.fhir.api.Appointment.status": StringConstructor;
|
|
98
|
+
"org.hl7.fhir.api.Appointment.cancelation-reason": StringConstructor;
|
|
99
|
+
"org.hl7.fhir.api.Appointment.service-category": StringConstructor;
|
|
100
|
+
"org.hl7.fhir.api.Appointment.service-type": StringConstructor;
|
|
101
|
+
"org.hl7.fhir.api.Appointment.specialty": StringConstructor;
|
|
102
|
+
"org.hl7.fhir.api.Appointment.appointment-type": StringConstructor;
|
|
103
|
+
"org.hl7.fhir.api.Appointment.reason-code": StringConstructor;
|
|
104
|
+
"org.hl7.fhir.api.Appointment.reason-reference": StringConstructor;
|
|
105
|
+
"org.hl7.fhir.api.Appointment.priority": NumberConstructor;
|
|
106
|
+
"org.hl7.fhir.api.Appointment.description": StringConstructor;
|
|
107
|
+
"org.hl7.fhir.api.Appointment.supporting-information": StringConstructor;
|
|
108
|
+
"org.hl7.fhir.api.Appointment.start": StringConstructor;
|
|
109
|
+
"org.hl7.fhir.api.Appointment.end": StringConstructor;
|
|
110
|
+
"org.hl7.fhir.api.Appointment.minutes-duration": NumberConstructor;
|
|
111
|
+
"org.hl7.fhir.api.Appointment.slot": StringConstructor;
|
|
112
|
+
"org.hl7.fhir.api.Appointment.created": StringConstructor;
|
|
113
|
+
"org.hl7.fhir.api.Appointment.note-text": StringConstructor;
|
|
114
|
+
"org.hl7.fhir.api.Appointment.patient-instruction": StringConstructor;
|
|
115
|
+
"org.hl7.fhir.api.Appointment.based-on": StringConstructor;
|
|
116
|
+
"org.hl7.fhir.api.Appointment.participant-actor": StringConstructor;
|
|
117
|
+
"org.hl7.fhir.api.Appointment.participant-required": StringConstructor;
|
|
118
|
+
"org.hl7.fhir.api.Appointment.participant-status": StringConstructor;
|
|
119
|
+
"org.hl7.fhir.api.Appointment.participant-type": StringConstructor;
|
|
120
|
+
"org.hl7.fhir.api.Appointment.requested-period": StringConstructor;
|
|
121
|
+
"org.hl7.fhir.api.Appointment.resource-id": StringConstructor;
|
|
122
122
|
};
|
|
123
123
|
export declare const AppointmentClaimsFhirApiMap: {
|
|
124
124
|
"org.hl7.fhir.api.Appointment.actor": StringConstructor;
|
|
@@ -8,40 +8,39 @@
|
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* @deprecated Claims are never version-specific. Kept as a source-compatible
|
|
12
|
+
* alias whose values now use the expanded `org.hl7.fhir.api` vocabulary.
|
|
13
13
|
*
|
|
14
14
|
* @basedon https://www.hl7.org/fhir/R4/appointment.html
|
|
15
15
|
*/
|
|
16
16
|
export var AppointmentClaimsFhirR4Core;
|
|
17
17
|
(function (AppointmentClaimsFhirR4Core) {
|
|
18
|
-
AppointmentClaimsFhirR4Core["Identifier"] = "org.hl7.fhir.
|
|
19
|
-
AppointmentClaimsFhirR4Core["Status"] = "org.hl7.fhir.
|
|
20
|
-
AppointmentClaimsFhirR4Core["CancelationReason"] = "org.hl7.fhir.
|
|
21
|
-
AppointmentClaimsFhirR4Core["ServiceCategory"] = "org.hl7.fhir.
|
|
22
|
-
AppointmentClaimsFhirR4Core["ServiceType"] = "org.hl7.fhir.
|
|
23
|
-
AppointmentClaimsFhirR4Core["Specialty"] = "org.hl7.fhir.
|
|
24
|
-
AppointmentClaimsFhirR4Core["AppointmentType"] = "org.hl7.fhir.
|
|
25
|
-
AppointmentClaimsFhirR4Core["ReasonCode"] = "org.hl7.fhir.
|
|
26
|
-
AppointmentClaimsFhirR4Core["ReasonReference"] = "org.hl7.fhir.
|
|
27
|
-
AppointmentClaimsFhirR4Core["Priority"] = "org.hl7.fhir.
|
|
28
|
-
AppointmentClaimsFhirR4Core["Description"] = "org.hl7.fhir.
|
|
29
|
-
AppointmentClaimsFhirR4Core["SupportingInformation"] = "org.hl7.fhir.
|
|
30
|
-
AppointmentClaimsFhirR4Core["Start"] = "org.hl7.fhir.
|
|
31
|
-
AppointmentClaimsFhirR4Core["End"] = "org.hl7.fhir.
|
|
32
|
-
AppointmentClaimsFhirR4Core["MinutesDuration"] = "org.hl7.fhir.
|
|
33
|
-
AppointmentClaimsFhirR4Core["Slot"] = "org.hl7.fhir.
|
|
34
|
-
AppointmentClaimsFhirR4Core["Created"] = "org.hl7.fhir.
|
|
35
|
-
|
|
36
|
-
AppointmentClaimsFhirR4Core["
|
|
37
|
-
AppointmentClaimsFhirR4Core["
|
|
38
|
-
AppointmentClaimsFhirR4Core["
|
|
39
|
-
AppointmentClaimsFhirR4Core["
|
|
40
|
-
AppointmentClaimsFhirR4Core["
|
|
41
|
-
AppointmentClaimsFhirR4Core["
|
|
42
|
-
AppointmentClaimsFhirR4Core["
|
|
43
|
-
AppointmentClaimsFhirR4Core["
|
|
44
|
-
AppointmentClaimsFhirR4Core["ResourceId"] = "org.hl7.fhir.r4.core.Appointment.resource.id";
|
|
18
|
+
AppointmentClaimsFhirR4Core["Identifier"] = "org.hl7.fhir.api.Appointment.identifier";
|
|
19
|
+
AppointmentClaimsFhirR4Core["Status"] = "org.hl7.fhir.api.Appointment.status";
|
|
20
|
+
AppointmentClaimsFhirR4Core["CancelationReason"] = "org.hl7.fhir.api.Appointment.cancelation-reason";
|
|
21
|
+
AppointmentClaimsFhirR4Core["ServiceCategory"] = "org.hl7.fhir.api.Appointment.service-category";
|
|
22
|
+
AppointmentClaimsFhirR4Core["ServiceType"] = "org.hl7.fhir.api.Appointment.service-type";
|
|
23
|
+
AppointmentClaimsFhirR4Core["Specialty"] = "org.hl7.fhir.api.Appointment.specialty";
|
|
24
|
+
AppointmentClaimsFhirR4Core["AppointmentType"] = "org.hl7.fhir.api.Appointment.appointment-type";
|
|
25
|
+
AppointmentClaimsFhirR4Core["ReasonCode"] = "org.hl7.fhir.api.Appointment.reason-code";
|
|
26
|
+
AppointmentClaimsFhirR4Core["ReasonReference"] = "org.hl7.fhir.api.Appointment.reason-reference";
|
|
27
|
+
AppointmentClaimsFhirR4Core["Priority"] = "org.hl7.fhir.api.Appointment.priority";
|
|
28
|
+
AppointmentClaimsFhirR4Core["Description"] = "org.hl7.fhir.api.Appointment.description";
|
|
29
|
+
AppointmentClaimsFhirR4Core["SupportingInformation"] = "org.hl7.fhir.api.Appointment.supporting-information";
|
|
30
|
+
AppointmentClaimsFhirR4Core["Start"] = "org.hl7.fhir.api.Appointment.start";
|
|
31
|
+
AppointmentClaimsFhirR4Core["End"] = "org.hl7.fhir.api.Appointment.end";
|
|
32
|
+
AppointmentClaimsFhirR4Core["MinutesDuration"] = "org.hl7.fhir.api.Appointment.minutes-duration";
|
|
33
|
+
AppointmentClaimsFhirR4Core["Slot"] = "org.hl7.fhir.api.Appointment.slot";
|
|
34
|
+
AppointmentClaimsFhirR4Core["Created"] = "org.hl7.fhir.api.Appointment.created";
|
|
35
|
+
AppointmentClaimsFhirR4Core["NoteText"] = "org.hl7.fhir.api.Appointment.note-text";
|
|
36
|
+
AppointmentClaimsFhirR4Core["PatientInstruction"] = "org.hl7.fhir.api.Appointment.patient-instruction";
|
|
37
|
+
AppointmentClaimsFhirR4Core["BasedOn"] = "org.hl7.fhir.api.Appointment.based-on";
|
|
38
|
+
AppointmentClaimsFhirR4Core["ParticipantActor"] = "org.hl7.fhir.api.Appointment.participant-actor";
|
|
39
|
+
AppointmentClaimsFhirR4Core["ParticipantRequired"] = "org.hl7.fhir.api.Appointment.participant-required";
|
|
40
|
+
AppointmentClaimsFhirR4Core["ParticipantStatus"] = "org.hl7.fhir.api.Appointment.participant-status";
|
|
41
|
+
AppointmentClaimsFhirR4Core["ParticipantType"] = "org.hl7.fhir.api.Appointment.participant-type";
|
|
42
|
+
AppointmentClaimsFhirR4Core["RequestedPeriod"] = "org.hl7.fhir.api.Appointment.requested-period";
|
|
43
|
+
AppointmentClaimsFhirR4Core["ResourceId"] = "org.hl7.fhir.api.Appointment.resource-id";
|
|
45
44
|
})(AppointmentClaimsFhirR4Core || (AppointmentClaimsFhirR4Core = {}));
|
|
46
45
|
/**
|
|
47
46
|
* Contains claims representing the standard, version-agnostic API search parameters for an Appointment.
|
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
* @basedon https://www.hl7.org/fhir/appointmentresponse.html
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* @deprecated Claims are never version-specific. Kept as a source-compatible
|
|
8
|
+
* alias whose keys now use the expanded `org.hl7.fhir.api` vocabulary.
|
|
9
9
|
*
|
|
10
10
|
* @basedon https://www.hl7.org/fhir/R4/appointmentresponse.html
|
|
11
11
|
*/
|
|
12
12
|
export declare const AppointmentResponseClaimsFhirR4: {
|
|
13
|
-
'org.hl7.fhir.
|
|
14
|
-
'org.hl7.fhir.
|
|
15
|
-
'org.hl7.fhir.
|
|
16
|
-
'org.hl7.fhir.
|
|
17
|
-
'org.hl7.fhir.
|
|
18
|
-
'org.hl7.fhir.
|
|
19
|
-
'org.hl7.fhir.
|
|
20
|
-
'org.hl7.fhir.
|
|
21
|
-
'org.hl7.fhir.
|
|
13
|
+
'org.hl7.fhir.api.AppointmentResponse.actor': StringConstructor;
|
|
14
|
+
'org.hl7.fhir.api.AppointmentResponse.appointment': StringConstructor;
|
|
15
|
+
'org.hl7.fhir.api.AppointmentResponse.comment': StringConstructor;
|
|
16
|
+
'org.hl7.fhir.api.AppointmentResponse.identifier': StringConstructor;
|
|
17
|
+
'org.hl7.fhir.api.AppointmentResponse.start': StringConstructor;
|
|
18
|
+
'org.hl7.fhir.api.AppointmentResponse.end': StringConstructor;
|
|
19
|
+
'org.hl7.fhir.api.AppointmentResponse.participant-type': StringConstructor;
|
|
20
|
+
'org.hl7.fhir.api.AppointmentResponse.participant-status': StringConstructor;
|
|
21
|
+
'org.hl7.fhir.api.AppointmentResponse.resource-id': StringConstructor;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Contains claims representing the standard, version-agnostic API search parameters for an AppointmentResponse.
|
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
* @basedon https://www.hl7.org/fhir/appointmentresponse.html
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
8
|
+
* @deprecated Claims are never version-specific. Kept as a source-compatible
|
|
9
|
+
* alias whose keys now use the expanded `org.hl7.fhir.api` vocabulary.
|
|
10
10
|
*
|
|
11
11
|
* @basedon https://www.hl7.org/fhir/R4/appointmentresponse.html
|
|
12
12
|
*/
|
|
13
13
|
export const AppointmentResponseClaimsFhirR4 = {
|
|
14
|
-
'org.hl7.fhir.
|
|
15
|
-
'org.hl7.fhir.
|
|
16
|
-
'org.hl7.fhir.
|
|
17
|
-
'org.hl7.fhir.
|
|
18
|
-
'org.hl7.fhir.
|
|
19
|
-
'org.hl7.fhir.
|
|
20
|
-
'org.hl7.fhir.
|
|
21
|
-
'org.hl7.fhir.
|
|
22
|
-
'org.hl7.fhir.
|
|
14
|
+
'org.hl7.fhir.api.AppointmentResponse.actor': String,
|
|
15
|
+
'org.hl7.fhir.api.AppointmentResponse.appointment': String,
|
|
16
|
+
'org.hl7.fhir.api.AppointmentResponse.comment': String,
|
|
17
|
+
'org.hl7.fhir.api.AppointmentResponse.identifier': String,
|
|
18
|
+
'org.hl7.fhir.api.AppointmentResponse.start': String,
|
|
19
|
+
'org.hl7.fhir.api.AppointmentResponse.end': String,
|
|
20
|
+
'org.hl7.fhir.api.AppointmentResponse.participant-type': String,
|
|
21
|
+
'org.hl7.fhir.api.AppointmentResponse.participant-status': String,
|
|
22
|
+
'org.hl7.fhir.api.AppointmentResponse.resource-id': String,
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* Contains claims representing the standard, version-agnostic API search parameters for an AppointmentResponse.
|
|
@@ -21,6 +21,17 @@ export declare const CarePlanClaim: {
|
|
|
21
21
|
readonly Status: "CarePlan.status";
|
|
22
22
|
readonly Subject: "CarePlan.subject";
|
|
23
23
|
readonly Note: "CarePlan.note";
|
|
24
|
+
readonly Description: "CarePlan.description";
|
|
25
|
+
readonly PeriodStart: "CarePlan.period-start";
|
|
26
|
+
readonly PeriodEnd: "CarePlan.period-end";
|
|
27
|
+
readonly ActivityStatus: "CarePlan.activity-status";
|
|
28
|
+
readonly ActivityStatusReason: "CarePlan.activity-status-reason";
|
|
29
|
+
readonly ActivityDoNotPerform: "CarePlan.activity-do-not-perform";
|
|
30
|
+
readonly ActivityOutcome: "CarePlan.activity-outcome";
|
|
31
|
+
readonly ActivityLocationDisplay: "CarePlan.activity-location-display";
|
|
32
|
+
readonly ActivityTimingFrequency: "CarePlan.activity-timing-frequency";
|
|
33
|
+
readonly ActivityTimingPeriod: "CarePlan.activity-timing-period";
|
|
34
|
+
readonly ActivityTimingPeriodUnit: "CarePlan.activity-timing-period-unit";
|
|
24
35
|
};
|
|
25
36
|
export type CarePlanClaimKey = typeof CarePlanClaim[keyof typeof CarePlanClaim];
|
|
26
37
|
export declare const CarePlanClaimSpecs: ClaimSpec[];
|
|
@@ -22,6 +22,17 @@ export const CarePlanClaim = {
|
|
|
22
22
|
Status: 'CarePlan.status',
|
|
23
23
|
Subject: 'CarePlan.subject',
|
|
24
24
|
Note: 'CarePlan.note',
|
|
25
|
+
Description: 'CarePlan.description',
|
|
26
|
+
PeriodStart: 'CarePlan.period-start',
|
|
27
|
+
PeriodEnd: 'CarePlan.period-end',
|
|
28
|
+
ActivityStatus: 'CarePlan.activity-status',
|
|
29
|
+
ActivityStatusReason: 'CarePlan.activity-status-reason',
|
|
30
|
+
ActivityDoNotPerform: 'CarePlan.activity-do-not-perform',
|
|
31
|
+
ActivityOutcome: 'CarePlan.activity-outcome',
|
|
32
|
+
ActivityLocationDisplay: 'CarePlan.activity-location-display',
|
|
33
|
+
ActivityTimingFrequency: 'CarePlan.activity-timing-frequency',
|
|
34
|
+
ActivityTimingPeriod: 'CarePlan.activity-timing-period',
|
|
35
|
+
ActivityTimingPeriodUnit: 'CarePlan.activity-timing-period-unit',
|
|
25
36
|
};
|
|
26
37
|
export const CarePlanClaimSpecs = [
|
|
27
38
|
{ key: CarePlanClaim.ActivityCode, meaning: 'Planned activity code token.', example: 'http://snomed.info/sct|229065009' },
|
|
@@ -30,6 +30,8 @@ export declare const ConditionClaim: {
|
|
|
30
30
|
readonly AttachmentContentIds: "Condition.attachment-content-ids";
|
|
31
31
|
readonly Severity: "Condition.severity";
|
|
32
32
|
readonly OnsetDateTime: "Condition.onset-datetime";
|
|
33
|
+
readonly RecordedDate: "Condition.recorded-date";
|
|
34
|
+
readonly Asserter: "Condition.asserter";
|
|
33
35
|
readonly Recorder: "Condition.recorder";
|
|
34
36
|
};
|
|
35
37
|
export type ConditionClaimKey = typeof ConditionClaim[keyof typeof ConditionClaim];
|
|
@@ -32,6 +32,8 @@ export const ConditionClaim = {
|
|
|
32
32
|
AttachmentContentIds: 'Condition.attachment-content-ids',
|
|
33
33
|
Severity: 'Condition.severity',
|
|
34
34
|
OnsetDateTime: 'Condition.onset-datetime',
|
|
35
|
+
RecordedDate: 'Condition.recorded-date',
|
|
36
|
+
Asserter: 'Condition.asserter',
|
|
35
37
|
Recorder: 'Condition.recorder',
|
|
36
38
|
};
|
|
37
39
|
export var ConditionClaimsFhirApi;
|
|
@@ -5,9 +5,10 @@ export declare const DeviceUseStatementClaim: {
|
|
|
5
5
|
readonly Status: "DeviceUseStatement.status";
|
|
6
6
|
readonly Device: "DeviceUseStatement.device";
|
|
7
7
|
readonly DeviceDisplay: "DeviceUseStatement.device-display";
|
|
8
|
-
readonly RecordedOn: "DeviceUseStatement.
|
|
8
|
+
readonly RecordedOn: "DeviceUseStatement.recorded-on";
|
|
9
9
|
readonly TimingDateTime: "DeviceUseStatement.timing-datetime";
|
|
10
|
-
readonly
|
|
10
|
+
readonly TimingAbsentReason: "DeviceUseStatement.timing-absent-reason";
|
|
11
|
+
readonly ReasonCode: "DeviceUseStatement.reason-code";
|
|
11
12
|
readonly Source: "DeviceUseStatement.source";
|
|
12
13
|
};
|
|
13
14
|
export type DeviceUseStatementClaimKey = typeof DeviceUseStatementClaim[keyof typeof DeviceUseStatementClaim];
|
|
@@ -7,9 +7,10 @@ export const DeviceUseStatementClaim = {
|
|
|
7
7
|
Status: 'DeviceUseStatement.status',
|
|
8
8
|
Device: 'DeviceUseStatement.device',
|
|
9
9
|
DeviceDisplay: 'DeviceUseStatement.device-display',
|
|
10
|
-
RecordedOn: 'DeviceUseStatement.
|
|
10
|
+
RecordedOn: 'DeviceUseStatement.recorded-on',
|
|
11
11
|
TimingDateTime: 'DeviceUseStatement.timing-datetime',
|
|
12
|
-
|
|
12
|
+
TimingAbsentReason: 'DeviceUseStatement.timing-absent-reason',
|
|
13
|
+
ReasonCode: 'DeviceUseStatement.reason-code',
|
|
13
14
|
Source: 'DeviceUseStatement.source',
|
|
14
15
|
};
|
|
15
16
|
export const DeviceUseStatementClaimSpecs = [
|
|
@@ -20,6 +20,10 @@ export declare const ImmunizationClaim: {
|
|
|
20
20
|
readonly DoseSequence: "Immunization.dose-sequence";
|
|
21
21
|
readonly Subject: "Immunization.subject";
|
|
22
22
|
readonly Note: "Immunization.note";
|
|
23
|
+
readonly Route: "Immunization.route";
|
|
24
|
+
readonly RouteDisplay: "Immunization.route-display";
|
|
25
|
+
readonly Site: "Immunization.site";
|
|
26
|
+
readonly SiteDisplay: "Immunization.site-display";
|
|
23
27
|
};
|
|
24
28
|
export type ImmunizationClaimKey = typeof ImmunizationClaim[keyof typeof ImmunizationClaim];
|
|
25
29
|
export declare const ImmunizationClaimSpecs: ClaimSpec[];
|
|
@@ -21,6 +21,10 @@ export const ImmunizationClaim = {
|
|
|
21
21
|
DoseSequence: 'Immunization.dose-sequence',
|
|
22
22
|
Subject: 'Immunization.subject',
|
|
23
23
|
Note: 'Immunization.note',
|
|
24
|
+
Route: 'Immunization.route',
|
|
25
|
+
RouteDisplay: 'Immunization.route-display',
|
|
26
|
+
Site: 'Immunization.site',
|
|
27
|
+
SiteDisplay: 'Immunization.site-display',
|
|
24
28
|
};
|
|
25
29
|
export const ImmunizationClaimSpecs = [
|
|
26
30
|
{ key: ImmunizationClaim.Date, meaning: 'Administration date/time.', example: '2026-06-01T10:00:00Z' },
|
|
@@ -61,6 +61,12 @@ export declare const MedicationStatementClaim: {
|
|
|
61
61
|
readonly MedicationIdentifier: "MedicationStatement.medication-identifier";
|
|
62
62
|
readonly MedicationSerialNumber: "MedicationStatement.medication-serial-number";
|
|
63
63
|
readonly MedicationExpirationDate: "MedicationStatement.medication-expiration-date";
|
|
64
|
+
readonly DoseQuantityValue: "MedicationStatement.dose-quantity-value";
|
|
65
|
+
readonly DoseQuantityUnit: "MedicationStatement.dose-quantity-unit";
|
|
66
|
+
readonly DosageRoute: "MedicationStatement.dosage-route";
|
|
67
|
+
readonly TimingFrequency: "MedicationStatement.timing-frequency";
|
|
68
|
+
readonly TimingPeriod: "MedicationStatement.timing-period";
|
|
69
|
+
readonly TimingPeriodUnit: "MedicationStatement.timing-period-unit";
|
|
64
70
|
};
|
|
65
71
|
/**
|
|
66
72
|
* Flat claims contract for MedicationStatement using FHIR API-like search params.
|
|
@@ -63,6 +63,12 @@ export const MedicationStatementClaim = {
|
|
|
63
63
|
MedicationIdentifier: 'MedicationStatement.medication-identifier',
|
|
64
64
|
MedicationSerialNumber: 'MedicationStatement.medication-serial-number',
|
|
65
65
|
MedicationExpirationDate: 'MedicationStatement.medication-expiration-date',
|
|
66
|
+
DoseQuantityValue: 'MedicationStatement.dose-quantity-value',
|
|
67
|
+
DoseQuantityUnit: 'MedicationStatement.dose-quantity-unit',
|
|
68
|
+
DosageRoute: 'MedicationStatement.dosage-route',
|
|
69
|
+
TimingFrequency: 'MedicationStatement.timing-frequency',
|
|
70
|
+
TimingPeriod: 'MedicationStatement.timing-period',
|
|
71
|
+
TimingPeriodUnit: 'MedicationStatement.timing-period-unit',
|
|
66
72
|
};
|
|
67
73
|
/**
|
|
68
74
|
* Flat claims contract for MedicationStatement using FHIR API-like search params.
|
|
@@ -100,6 +100,14 @@ export declare const ObservationClaim: {
|
|
|
100
100
|
readonly ValueQuantityNumber: "Observation.value-quantity-number";
|
|
101
101
|
/** Human-readable quantity unit. Example: `/min`, `mmHg`, `Cel`. */
|
|
102
102
|
readonly ValueQuantityUnit: "Observation.value-quantity-unit";
|
|
103
|
+
readonly ReferenceRangeLowNumber: "Observation.reference-range-low-number";
|
|
104
|
+
readonly ReferenceRangeHighNumber: "Observation.reference-range-high-number";
|
|
105
|
+
readonly ReferenceRangeUnit: "Observation.reference-range-unit";
|
|
106
|
+
readonly ReferenceRangeText: "Observation.reference-range-text";
|
|
107
|
+
readonly ComponentCode: "Observation.component-code";
|
|
108
|
+
readonly ComponentCodeDisplay: "Observation.component-code-display";
|
|
109
|
+
readonly ComponentValueQuantityNumber: "Observation.component-value-quantity-number";
|
|
110
|
+
readonly ComponentValueQuantityUnit: "Observation.component-value-quantity-unit";
|
|
103
111
|
/** Aggregated score total for composite assessment observations when present. Example: `8`. */
|
|
104
112
|
readonly ScoreTotalNumber: "Observation.score-total-number";
|
|
105
113
|
/** Indexed systolic scalar copied onto the parent blood pressure observation. Example: `120`. */
|
|
@@ -110,8 +118,8 @@ export declare const ObservationClaim: {
|
|
|
110
118
|
readonly ValueString: "Observation.value-string";
|
|
111
119
|
/** User-authored note. Example: `Measured after resting 5 minutes.` */
|
|
112
120
|
readonly Note: "Observation.note";
|
|
113
|
-
/** FHIR-compatible explicit `effectiveDateTime` fallback. Example: `2026-06-01T10:00:00Z`. */
|
|
114
|
-
readonly EffectiveDateTime: "Observation.
|
|
121
|
+
/** FHIR-compatible explicit `effectiveDateTime` fallback using the canonical kebab-case claim name. Example: `2026-06-01T10:00:00Z`. */
|
|
122
|
+
readonly EffectiveDateTime: "Observation.effective-datetime";
|
|
115
123
|
};
|
|
116
124
|
export type ObservationClaimKey = typeof ObservationClaim[keyof typeof ObservationClaim];
|
|
117
125
|
export type SplitCodingClaims = Readonly<{
|
|
@@ -259,14 +267,14 @@ export type ClaimsVitalSign = ClaimsObservationVitalSigns;
|
|
|
259
267
|
* Free-text or UI-only fields may exist here even when they must stay out of
|
|
260
268
|
* blind-query/search indexes.
|
|
261
269
|
*/
|
|
262
|
-
export declare const ObservationGeneralClaimsList: readonly ["Observation.based-on", "Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code-text", "Observation.code-display", "Observation.code", "Observation.date", "Observation.device", "Observation.encounter", "Observation.
|
|
270
|
+
export declare const ObservationGeneralClaimsList: readonly ["Observation.based-on", "Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code-text", "Observation.code-display", "Observation.code", "Observation.date", "Observation.device", "Observation.encounter", "Observation.effective-datetime", "Observation.focus", "Observation.has-member", "Observation.component-tags", "Observation.component-code-values", "Observation.component-names", "Observation.identifier", "Observation.language", "Observation.method", "Observation.note", "Observation.patient", "Observation.performer", "Observation.specimen", "Observation.status", "Observation.subject", "Observation.value-concept-system", "Observation.value-concept-value", "Observation.value-concept-text", "Observation.value-concept-display", "Observation.value-concept", "Observation.value-date", "Observation.value-quantity-comparator", "Observation.value-quantity-number", "Observation.value-quantity-unit", "Observation.score-total-number", "Observation.bp-systolic-number", "Observation.bp-diastolic-number", "Observation.value-string"];
|
|
263
271
|
/**
|
|
264
272
|
* Full persisted claim surface for visible/searchable Vital Signs rows.
|
|
265
273
|
*
|
|
266
274
|
* This keeps the claims-first authoring fields but still avoids introducing
|
|
267
275
|
* fields that only belong to broader Observation families.
|
|
268
276
|
*/
|
|
269
|
-
export declare const ObservationVitalSignsClaimsList: readonly ["Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code-text", "Observation.code-display", "Observation.code", "Observation.date", "Observation.
|
|
277
|
+
export declare const ObservationVitalSignsClaimsList: readonly ["Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code-text", "Observation.code-display", "Observation.code", "Observation.date", "Observation.effective-datetime", "Observation.has-member", "Observation.component-tags", "Observation.component-code-values", "Observation.component-names", "Observation.identifier", "Observation.language", "Observation.method", "Observation.note", "Observation.patient", "Observation.status", "Observation.subject", "Observation.value-concept-system", "Observation.value-concept-value", "Observation.value-concept-text", "Observation.value-concept-display", "Observation.value-concept", "Observation.value-date", "Observation.value-quantity-comparator", "Observation.value-quantity-number", "Observation.value-quantity-unit", "Observation.score-total-number", "Observation.bp-systolic-number", "Observation.bp-diastolic-number", "Observation.value-string"];
|
|
270
278
|
export declare const ObservationClaimSpecs: ClaimSpec[];
|
|
271
279
|
/**
|
|
272
280
|
* Returns `true` when the flat claims represent one visible/searchable vital
|
|
@@ -102,6 +102,14 @@ export const ObservationClaim = {
|
|
|
102
102
|
ValueQuantityNumber: 'Observation.value-quantity-number',
|
|
103
103
|
/** Human-readable quantity unit. Example: `/min`, `mmHg`, `Cel`. */
|
|
104
104
|
ValueQuantityUnit: 'Observation.value-quantity-unit',
|
|
105
|
+
ReferenceRangeLowNumber: 'Observation.reference-range-low-number',
|
|
106
|
+
ReferenceRangeHighNumber: 'Observation.reference-range-high-number',
|
|
107
|
+
ReferenceRangeUnit: 'Observation.reference-range-unit',
|
|
108
|
+
ReferenceRangeText: 'Observation.reference-range-text',
|
|
109
|
+
ComponentCode: 'Observation.component-code',
|
|
110
|
+
ComponentCodeDisplay: 'Observation.component-code-display',
|
|
111
|
+
ComponentValueQuantityNumber: 'Observation.component-value-quantity-number',
|
|
112
|
+
ComponentValueQuantityUnit: 'Observation.component-value-quantity-unit',
|
|
105
113
|
/** Aggregated score total for composite assessment observations when present. Example: `8`. */
|
|
106
114
|
ScoreTotalNumber: 'Observation.score-total-number',
|
|
107
115
|
/** Indexed systolic scalar copied onto the parent blood pressure observation. Example: `120`. */
|
|
@@ -112,8 +120,8 @@ export const ObservationClaim = {
|
|
|
112
120
|
ValueString: 'Observation.value-string',
|
|
113
121
|
/** User-authored note. Example: `Measured after resting 5 minutes.` */
|
|
114
122
|
Note: 'Observation.note',
|
|
115
|
-
/** FHIR-compatible explicit `effectiveDateTime` fallback. Example: `2026-06-01T10:00:00Z`. */
|
|
116
|
-
EffectiveDateTime: 'Observation.
|
|
123
|
+
/** FHIR-compatible explicit `effectiveDateTime` fallback using the canonical kebab-case claim name. Example: `2026-06-01T10:00:00Z`. */
|
|
124
|
+
EffectiveDateTime: 'Observation.effective-datetime',
|
|
117
125
|
};
|
|
118
126
|
/**
|
|
119
127
|
* Builds the legacy compact `system|code` token from split claims.
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import type { ClaimSpec } from './types';
|
|
2
2
|
/** Canonical claims used to preserve the primary coded PractitionerRole label. */
|
|
3
3
|
export declare const PractitionerRoleClaim: {
|
|
4
|
+
readonly Identifier: "PractitionerRole.identifier";
|
|
5
|
+
readonly Active: "PractitionerRole.active";
|
|
6
|
+
readonly Practitioner: "PractitionerRole.practitioner";
|
|
7
|
+
readonly Organization: "PractitionerRole.organization";
|
|
8
|
+
readonly Location: "PractitionerRole.location";
|
|
9
|
+
readonly Service: "PractitionerRole.service";
|
|
10
|
+
readonly Specialty: "PractitionerRole.specialty";
|
|
11
|
+
readonly PeriodStart: "PractitionerRole.period-start";
|
|
12
|
+
readonly PeriodEnd: "PractitionerRole.period-end";
|
|
4
13
|
readonly Code: "PractitionerRole.code";
|
|
5
14
|
readonly CodeText: "PractitionerRole.code-text";
|
|
6
15
|
readonly CodeDisplay: "PractitionerRole.code-display";
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
// Copyright 2026 Conéctate Soluciones y Aplicaciones SL under the Apache License, Version 2.0.
|
|
2
2
|
/** Canonical claims used to preserve the primary coded PractitionerRole label. */
|
|
3
3
|
export const PractitionerRoleClaim = {
|
|
4
|
+
Identifier: 'PractitionerRole.identifier',
|
|
5
|
+
Active: 'PractitionerRole.active',
|
|
6
|
+
Practitioner: 'PractitionerRole.practitioner',
|
|
7
|
+
Organization: 'PractitionerRole.organization',
|
|
8
|
+
Location: 'PractitionerRole.location',
|
|
9
|
+
Service: 'PractitionerRole.service',
|
|
10
|
+
Specialty: 'PractitionerRole.specialty',
|
|
11
|
+
PeriodStart: 'PractitionerRole.period-start',
|
|
12
|
+
PeriodEnd: 'PractitionerRole.period-end',
|
|
4
13
|
Code: 'PractitionerRole.code',
|
|
5
14
|
CodeText: 'PractitionerRole.code-text',
|
|
6
15
|
CodeDisplay: 'PractitionerRole.code-display',
|
package/dist/models/params.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface ClaimInteroperable {
|
|
5
5
|
/**
|
|
6
|
-
* Key name of the interoperable claim in reverse-DNS (e.g., 'org.hl7.fhir.
|
|
6
|
+
* Key name of the interoperable FHIR API claim in reverse-DNS (e.g., 'org.hl7.fhir.api.Immunization.vaccine-code').
|
|
7
7
|
*/
|
|
8
8
|
name: string;
|
|
9
9
|
/**
|