gdc-common-utils-ts 2.3.26 → 2.3.28
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/claims/claims-helpers-related-person.js +0 -1
- 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/examples/communication-didcomm-payload.d.ts +2 -2
- package/dist/examples/related-person.d.ts +9 -9
- package/dist/models/consent-rule.d.ts +8 -1
- package/dist/models/consent-rule.js +8 -1
- package/dist/models/indexing.d.ts +5 -5
- package/dist/models/interoperable-claims/appointment-claims.d.ts +57 -57
- package/dist/models/interoperable-claims/appointment-claims.js +31 -32
- 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/clinical-impression-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/clinical-impression-claims.js +1 -1
- 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/document-reference-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/document-reference-claims.js +1 -1
- 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/interoperable-claims/related-person-claims.d.ts +3 -2
- package/dist/models/interoperable-claims/related-person-claims.js +3 -2
- 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
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
export var ClaimConsent;
|
|
3
3
|
(function (ClaimConsent) {
|
|
4
4
|
ClaimConsent["decision"] = "Consent.decision";
|
|
5
|
+
ClaimConsent["status"] = "Consent.status";
|
|
5
6
|
ClaimConsent["action"] = "Consent.action";
|
|
6
7
|
ClaimConsent["category"] = "Consent.category";
|
|
7
8
|
ClaimConsent["categoryText"] = "Consent.category-text";
|
|
8
9
|
ClaimConsent["categoryDisplay"] = "Consent.category-display";
|
|
9
|
-
ClaimConsent["resourceType"] = "Consent.
|
|
10
|
+
ClaimConsent["resourceType"] = "Consent.resource-type";
|
|
10
11
|
ClaimConsent["subject"] = "Consent.subject";
|
|
12
|
+
ClaimConsent["patient"] = "Consent.patient";
|
|
11
13
|
ClaimConsent["actorIdentifier"] = "Consent.actor-identifier";
|
|
12
14
|
ClaimConsent["actorRole"] = "Consent.actor-role";
|
|
13
15
|
ClaimConsent["date"] = "Consent.date";
|
|
@@ -20,6 +22,11 @@ export var ClaimConsent;
|
|
|
20
22
|
ClaimConsent["identifier"] = "Consent.identifier";
|
|
21
23
|
ClaimConsent["eventBasedOn"] = "Consent.event-basedon";
|
|
22
24
|
ClaimConsent["sourceReference"] = "Consent.source-reference";
|
|
25
|
+
ClaimConsent["scope"] = "Consent.scope";
|
|
26
|
+
ClaimConsent["scopeDisplay"] = "Consent.scope-display";
|
|
27
|
+
ClaimConsent["policyRule"] = "Consent.policy-rule";
|
|
28
|
+
ClaimConsent["provisionCode"] = "Consent.provision-code";
|
|
29
|
+
ClaimConsent["provisionCodeDisplay"] = "Consent.provision-code-display";
|
|
23
30
|
ClaimConsent["containedReferenceList"] = "Consent.contained-reference-list";
|
|
24
31
|
/**
|
|
25
32
|
* @deprecated Use `containedReferenceList`.
|
|
@@ -29,14 +29,14 @@ export declare const AllowedIndexableClaims: {
|
|
|
29
29
|
* Keep this aligned with GW managers that build `indexed.attributes` from
|
|
30
30
|
* claims-first payloads. UI-only or long free-text fields stay out.
|
|
31
31
|
*/
|
|
32
|
-
readonly General: readonly ["Observation.identifier", "Observation.subject", "Observation.patient", "Observation.status", "Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code", "Observation.date", "Observation.
|
|
32
|
+
readonly General: readonly ["Observation.identifier", "Observation.subject", "Observation.patient", "Observation.status", "Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code", "Observation.date", "Observation.effective-datetime", "Observation.value-concept-system", "Observation.value-concept-value", "Observation.value-concept", "Observation.value-date", "Observation.value-quantity-comparator", "Observation.value-quantity-number", "Observation.value-quantity-unit", "Observation.score-total-number", "Observation.component-tags", "Observation.component-code-values", "Observation.component-names", "Observation.bp-systolic-number", "Observation.bp-diastolic-number", "Observation.has-member", "Observation.encounter", "Observation.device", "Observation.specimen", "Observation.performer", "Observation.based-on", "Observation.focus", "Observation.method", "Observation.language"];
|
|
33
33
|
/**
|
|
34
34
|
* Searchable/indexable subset for a Vital Signs Observation row.
|
|
35
35
|
*
|
|
36
36
|
* This is intentionally narrower than the full persisted claims list and
|
|
37
37
|
* excludes local-language labels, XHTML/narrative, and note text.
|
|
38
38
|
*/
|
|
39
|
-
readonly VitalSigns: readonly ["Observation.identifier", "Observation.subject", "Observation.patient", "Observation.status", "Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code", "Observation.date", "Observation.
|
|
39
|
+
readonly VitalSigns: readonly ["Observation.identifier", "Observation.subject", "Observation.patient", "Observation.status", "Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code", "Observation.date", "Observation.effective-datetime", "Observation.value-concept-system", "Observation.value-concept-value", "Observation.value-concept", "Observation.value-date", "Observation.value-quantity-comparator", "Observation.value-quantity-number", "Observation.value-quantity-unit", "Observation.score-total-number", "Observation.component-tags", "Observation.component-code-values", "Observation.component-names", "Observation.bp-systolic-number", "Observation.bp-diastolic-number", "Observation.has-member", "Observation.method", "Observation.language"];
|
|
40
40
|
};
|
|
41
41
|
readonly Condition: {
|
|
42
42
|
readonly General: readonly ["Condition.identifier", "Condition.subject", "Condition.clinical-status", "Condition.verification-status", "Condition.category", "Condition.code", "Condition.severity", "Condition.onset-datetime", "Condition.recorder"];
|
|
@@ -45,7 +45,7 @@ export declare const AllowedIndexableClaims: {
|
|
|
45
45
|
readonly General: readonly ["MedicationStatement.identifier", "MedicationStatement.subject", "MedicationStatement.patient", "MedicationStatement.status", "MedicationStatement.category", "MedicationStatement.effective", "MedicationStatement.code", "MedicationStatement.medication", "MedicationStatement.part-of", "MedicationStatement.source", "MedicationStatement.medication-identifier", "MedicationStatement.medication-serial-number", "MedicationStatement.medication-expiration-date"];
|
|
46
46
|
};
|
|
47
47
|
readonly DocumentReference: {
|
|
48
|
-
readonly General: readonly ["DocumentReference.identifier", "DocumentReference.subject", "DocumentReference.author", "DocumentReference.attester", "DocumentReference.
|
|
48
|
+
readonly General: readonly ["DocumentReference.identifier", "DocumentReference.subject", "DocumentReference.author", "DocumentReference.attester", "DocumentReference.based-on", "DocumentReference.category", "DocumentReference.contenthash", "DocumentReference.contenttype", "DocumentReference.context", "DocumentReference.creation", "DocumentReference.date", "DocumentReference.event-code", "DocumentReference.event-reference", "DocumentReference.format-uri", "DocumentReference.language", "DocumentReference.location", "DocumentReference.modality", "DocumentReference.relatesto", "DocumentReference.relation", "DocumentReference.type"];
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
export type AllowedIndexableClaimsKey = keyof typeof AllowedIndexableClaims;
|
|
@@ -58,8 +58,8 @@ export type AllowedIndexableClaimsKey = keyof typeof AllowedIndexableClaims;
|
|
|
58
58
|
*/
|
|
59
59
|
export declare const AllowedIndexableClaimAliases: Readonly<{
|
|
60
60
|
readonly organizationRegistry: readonly [ClaimsOrganizationSchemaorg.alternateName, ClaimsOrganizationSchemaorg.identifierValue, ClaimsOrganizationSchemaorg.identifierType, ClaimsOrganizationSchemaorg.addressCountry];
|
|
61
|
-
readonly observationGeneral: readonly ["Observation.identifier", "Observation.subject", "Observation.patient", "Observation.status", "Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code", "Observation.date", "Observation.
|
|
62
|
-
readonly observationVitalSigns: readonly ["Observation.identifier", "Observation.subject", "Observation.patient", "Observation.status", "Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code", "Observation.date", "Observation.
|
|
61
|
+
readonly observationGeneral: readonly ["Observation.identifier", "Observation.subject", "Observation.patient", "Observation.status", "Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code", "Observation.date", "Observation.effective-datetime", "Observation.value-concept-system", "Observation.value-concept-value", "Observation.value-concept", "Observation.value-date", "Observation.value-quantity-comparator", "Observation.value-quantity-number", "Observation.value-quantity-unit", "Observation.score-total-number", "Observation.component-tags", "Observation.component-code-values", "Observation.component-names", "Observation.bp-systolic-number", "Observation.bp-diastolic-number", "Observation.has-member", "Observation.encounter", "Observation.device", "Observation.specimen", "Observation.performer", "Observation.based-on", "Observation.focus", "Observation.method", "Observation.language"];
|
|
62
|
+
readonly observationVitalSigns: readonly ["Observation.identifier", "Observation.subject", "Observation.patient", "Observation.status", "Observation.category", "Observation.code-system", "Observation.code-value", "Observation.code", "Observation.date", "Observation.effective-datetime", "Observation.value-concept-system", "Observation.value-concept-value", "Observation.value-concept", "Observation.value-date", "Observation.value-quantity-comparator", "Observation.value-quantity-number", "Observation.value-quantity-unit", "Observation.score-total-number", "Observation.component-tags", "Observation.component-code-values", "Observation.component-names", "Observation.bp-systolic-number", "Observation.bp-diastolic-number", "Observation.has-member", "Observation.method", "Observation.language"];
|
|
63
63
|
}>;
|
|
64
64
|
/**
|
|
65
65
|
* Projects a claims-first record to the `ParameterData[]` shape used by GW/KMS
|
|
@@ -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;
|
|
@@ -181,9 +181,9 @@ export declare const AppointmentClaim: {
|
|
|
181
181
|
readonly NoteText: "Appointment.note-text";
|
|
182
182
|
readonly PatientInstruction: "Appointment.patient-instruction";
|
|
183
183
|
readonly BasedOn: "Appointment.based-on";
|
|
184
|
-
readonly ParticipantActor: "Appointment.
|
|
185
|
-
readonly ParticipantStatus: "Appointment.
|
|
186
|
-
readonly ParticipantType: "Appointment.participant
|
|
184
|
+
readonly ParticipantActor: "Appointment.actor";
|
|
185
|
+
readonly ParticipantStatus: "Appointment.part-status";
|
|
186
|
+
readonly ParticipantType: "Appointment.participant-type";
|
|
187
187
|
};
|
|
188
188
|
export type AppointmentClaimKey = typeof AppointmentClaim[keyof typeof AppointmentClaim];
|
|
189
189
|
/**
|
|
@@ -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.
|
|
@@ -171,9 +170,9 @@ export const AppointmentClaim = {
|
|
|
171
170
|
NoteText: 'Appointment.note-text',
|
|
172
171
|
PatientInstruction: 'Appointment.patient-instruction',
|
|
173
172
|
BasedOn: 'Appointment.based-on',
|
|
174
|
-
ParticipantActor: 'Appointment.
|
|
175
|
-
ParticipantStatus: 'Appointment.
|
|
176
|
-
ParticipantType: 'Appointment.participant
|
|
173
|
+
ParticipantActor: 'Appointment.actor',
|
|
174
|
+
ParticipantStatus: 'Appointment.part-status',
|
|
175
|
+
ParticipantType: 'Appointment.participant-type',
|
|
177
176
|
};
|
|
178
177
|
// src/models/fhir/Appointment.values.ts
|
|
179
178
|
/**
|
|
@@ -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' },
|
|
@@ -5,7 +5,7 @@ export declare const ClinicalImpressionClaim: {
|
|
|
5
5
|
readonly Description: "ClinicalImpression.description";
|
|
6
6
|
readonly Subject: "ClinicalImpression.subject";
|
|
7
7
|
readonly Encounter: "ClinicalImpression.encounter";
|
|
8
|
-
readonly EffectiveDateTime: "ClinicalImpression.
|
|
8
|
+
readonly EffectiveDateTime: "ClinicalImpression.effective-datetime";
|
|
9
9
|
readonly Date: "ClinicalImpression.date";
|
|
10
10
|
readonly Assessor: "ClinicalImpression.assessor";
|
|
11
11
|
readonly Problem: "ClinicalImpression.problem";
|
|
@@ -6,7 +6,7 @@ export const ClinicalImpressionClaim = {
|
|
|
6
6
|
Description: 'ClinicalImpression.description',
|
|
7
7
|
Subject: 'ClinicalImpression.subject',
|
|
8
8
|
Encounter: 'ClinicalImpression.encounter',
|
|
9
|
-
EffectiveDateTime: 'ClinicalImpression.
|
|
9
|
+
EffectiveDateTime: 'ClinicalImpression.effective-datetime',
|
|
10
10
|
Date: 'ClinicalImpression.date',
|
|
11
11
|
Assessor: 'ClinicalImpression.assessor',
|
|
12
12
|
Problem: 'ClinicalImpression.problem',
|
|
@@ -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 = [
|
|
@@ -2,7 +2,7 @@ import type { ClaimSpec } from './types';
|
|
|
2
2
|
export declare const DocumentReferenceClaim: {
|
|
3
3
|
readonly Attester: "DocumentReference.attester";
|
|
4
4
|
readonly Author: "DocumentReference.author";
|
|
5
|
-
readonly BasedOn: "DocumentReference.
|
|
5
|
+
readonly BasedOn: "DocumentReference.based-on";
|
|
6
6
|
readonly Category: "DocumentReference.category";
|
|
7
7
|
readonly ContentData: "DocumentReference.contentdata";
|
|
8
8
|
readonly ContentHash: "DocumentReference.contenthash";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
export const DocumentReferenceClaim = {
|
|
5
5
|
Attester: 'DocumentReference.attester',
|
|
6
6
|
Author: 'DocumentReference.author',
|
|
7
|
-
BasedOn: 'DocumentReference.
|
|
7
|
+
BasedOn: 'DocumentReference.based-on',
|
|
8
8
|
Category: 'DocumentReference.category',
|
|
9
9
|
ContentData: 'DocumentReference.contentdata',
|
|
10
10
|
ContentHash: 'DocumentReference.contenthash',
|
|
@@ -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.
|