gdc-sdk-node-ts 2.9.23 → 2.9.25
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 +26 -0
- package/dist/index.d.ts +22 -1
- package/dist/index.js +22 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -663,6 +663,32 @@ export async function GET(request: Request) {
|
|
|
663
663
|
The application validates which systems are allowed for the specific coded
|
|
664
664
|
form field. This MVP service performs no external terminology request.
|
|
665
665
|
|
|
666
|
+
### Typed clinical detail editors
|
|
667
|
+
|
|
668
|
+
Applications can import the clinical editors from `gdc-sdk-node-ts`; they do
|
|
669
|
+
not need `setClaim(...)`, private claim names or deep package imports for these
|
|
670
|
+
FHIR fields:
|
|
671
|
+
|
|
672
|
+
- `AllergyIntoleranceEntryEditor`: `setReactionManifestation(system, code)`,
|
|
673
|
+
`setReactionSeverity(...)` and their matching getters. Reaction severity is
|
|
674
|
+
distinct from future-risk `criticality`.
|
|
675
|
+
- `MedicationStatementEntryEditor`: `setEffectivePeriodStart(...)`,
|
|
676
|
+
`setEffectivePeriodEnd(...)` and their matching getters.
|
|
677
|
+
- `ImmunizationEntryEditor`: `setRoute(system, code)`, `setSite(system, code)`
|
|
678
|
+
and their component/token getters.
|
|
679
|
+
- `ObservationEntryEditor`: `setReferenceRangeText(...)` and
|
|
680
|
+
`getReferenceRangeText()`.
|
|
681
|
+
|
|
682
|
+
`BundleEditor` returns those typed editors through `asAllergy()`,
|
|
683
|
+
`asMedicationStatement()`, `asImmunization()` and `asObservation()`.
|
|
684
|
+
|
|
685
|
+
All registered clinical editor families are exported from the SDK root. A
|
|
686
|
+
received Bundle stays read-only in `BundleReader`; call
|
|
687
|
+
`reader.toBundleEditor()` to create a detached clone before using typed
|
|
688
|
+
resource getters or setters. See
|
|
689
|
+
[Clinical Bundle Getters And Setters 101](docs/101-CLINICAL-ENTRY-GETTERS-SETTERS.md)
|
|
690
|
+
for the complete resource table and examples.
|
|
691
|
+
|
|
666
692
|
### Governed ValueSet options through the terminology service
|
|
667
693
|
|
|
668
694
|
For creation controls, the authenticated BFF can resolve the ValueSet bound to
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
export * from 'gdc-sdk-core-ts';
|
|
2
|
-
export { AllergyIntoleranceClaim } from 'gdc-common-utils-ts/models/interoperable-claims/allergy-intolerance-claims';
|
|
2
|
+
export { AllergyIntoleranceClaim, AllergyIntoleranceReactionSeverities, } from 'gdc-common-utils-ts/models/interoperable-claims/allergy-intolerance-claims';
|
|
3
|
+
export { BundleEditor } from 'gdc-common-utils-ts/utils/bundle-editor-core';
|
|
4
|
+
export { BundleReader } from 'gdc-common-utils-ts/utils/bundle-reader';
|
|
5
|
+
export { AllergyIntoleranceEntryEditor } from 'gdc-common-utils-ts/utils/allergy-intolerance-entry-editor';
|
|
6
|
+
export { CarePlanEntryEditor } from 'gdc-common-utils-ts/utils/care-plan-entry-editor';
|
|
7
|
+
export { ClinicalImpressionEntryEditor } from 'gdc-common-utils-ts/utils/clinical-impression-entry-editor';
|
|
8
|
+
export { ConditionEntryEditor } from 'gdc-common-utils-ts/utils/condition-entry-editor';
|
|
9
|
+
export { ConsentEntryEditor } from 'gdc-common-utils-ts/utils/consent-entry-editor';
|
|
10
|
+
export { CoverageEntryEditor } from 'gdc-common-utils-ts/utils/coverage-entry-editor';
|
|
11
|
+
export { DeviceEntryEditor } from 'gdc-common-utils-ts/utils/device-entry-editor';
|
|
12
|
+
export { DeviceUseStatementEntryEditor } from 'gdc-common-utils-ts/utils/device-use-statement-entry-editor';
|
|
13
|
+
export { DiagnosticReportEntryEditor } from 'gdc-common-utils-ts/utils/diagnostic-report-entry-editor';
|
|
14
|
+
export { DocumentReferenceEntryEditor } from 'gdc-common-utils-ts/utils/document-reference-entry-editor';
|
|
15
|
+
export { EmployeeEntryEditor } from 'gdc-common-utils-ts/utils/employee-entry-editor';
|
|
16
|
+
export { EncounterEntryEditor } from 'gdc-common-utils-ts/utils/encounter-entry-editor';
|
|
17
|
+
export { FlagEntryEditor } from 'gdc-common-utils-ts/utils/flag-entry-editor';
|
|
18
|
+
export { ImmunizationEntryEditor } from 'gdc-common-utils-ts/utils/immunization-entry-editor';
|
|
19
|
+
export { MedicationStatementEntryEditor } from 'gdc-common-utils-ts/utils/medication-statement-entry-editor';
|
|
20
|
+
export { ObservationEntryEditor } from 'gdc-common-utils-ts/utils/observation-entry-editor';
|
|
21
|
+
export { ProcedureEntryEditor } from 'gdc-common-utils-ts/utils/procedure-entry-editor';
|
|
22
|
+
export { RelatedPersonEntryEditor } from 'gdc-common-utils-ts/utils/related-person-entry-editor';
|
|
23
|
+
export { VitalSignEntryEditor } from 'gdc-common-utils-ts/utils/vital-sign-entry-editor';
|
|
3
24
|
export * from './runtime-contracts.js';
|
|
4
25
|
export * from './identity-bootstrap.js';
|
|
5
26
|
export * from './async-polling.js';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,28 @@
|
|
|
1
1
|
// Copyright 2026 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
2
|
export * from 'gdc-sdk-core-ts';
|
|
3
3
|
// Explicitly use the direct common-utils release for newly promoted canonical claims.
|
|
4
|
-
export { AllergyIntoleranceClaim } from 'gdc-common-utils-ts/models/interoperable-claims/allergy-intolerance-claims';
|
|
4
|
+
export { AllergyIntoleranceClaim, AllergyIntoleranceReactionSeverities, } from 'gdc-common-utils-ts/models/interoperable-claims/allergy-intolerance-claims';
|
|
5
|
+
export { BundleEditor } from 'gdc-common-utils-ts/utils/bundle-editor-core';
|
|
6
|
+
export { BundleReader } from 'gdc-common-utils-ts/utils/bundle-reader';
|
|
7
|
+
export { AllergyIntoleranceEntryEditor } from 'gdc-common-utils-ts/utils/allergy-intolerance-entry-editor';
|
|
8
|
+
export { CarePlanEntryEditor } from 'gdc-common-utils-ts/utils/care-plan-entry-editor';
|
|
9
|
+
export { ClinicalImpressionEntryEditor } from 'gdc-common-utils-ts/utils/clinical-impression-entry-editor';
|
|
10
|
+
export { ConditionEntryEditor } from 'gdc-common-utils-ts/utils/condition-entry-editor';
|
|
11
|
+
export { ConsentEntryEditor } from 'gdc-common-utils-ts/utils/consent-entry-editor';
|
|
12
|
+
export { CoverageEntryEditor } from 'gdc-common-utils-ts/utils/coverage-entry-editor';
|
|
13
|
+
export { DeviceEntryEditor } from 'gdc-common-utils-ts/utils/device-entry-editor';
|
|
14
|
+
export { DeviceUseStatementEntryEditor } from 'gdc-common-utils-ts/utils/device-use-statement-entry-editor';
|
|
15
|
+
export { DiagnosticReportEntryEditor } from 'gdc-common-utils-ts/utils/diagnostic-report-entry-editor';
|
|
16
|
+
export { DocumentReferenceEntryEditor } from 'gdc-common-utils-ts/utils/document-reference-entry-editor';
|
|
17
|
+
export { EmployeeEntryEditor } from 'gdc-common-utils-ts/utils/employee-entry-editor';
|
|
18
|
+
export { EncounterEntryEditor } from 'gdc-common-utils-ts/utils/encounter-entry-editor';
|
|
19
|
+
export { FlagEntryEditor } from 'gdc-common-utils-ts/utils/flag-entry-editor';
|
|
20
|
+
export { ImmunizationEntryEditor } from 'gdc-common-utils-ts/utils/immunization-entry-editor';
|
|
21
|
+
export { MedicationStatementEntryEditor } from 'gdc-common-utils-ts/utils/medication-statement-entry-editor';
|
|
22
|
+
export { ObservationEntryEditor } from 'gdc-common-utils-ts/utils/observation-entry-editor';
|
|
23
|
+
export { ProcedureEntryEditor } from 'gdc-common-utils-ts/utils/procedure-entry-editor';
|
|
24
|
+
export { RelatedPersonEntryEditor } from 'gdc-common-utils-ts/utils/related-person-entry-editor';
|
|
25
|
+
export { VitalSignEntryEditor } from 'gdc-common-utils-ts/utils/vital-sign-entry-editor';
|
|
5
26
|
export * from './runtime-contracts.js';
|
|
6
27
|
export * from './identity-bootstrap.js';
|
|
7
28
|
export * from './async-polling.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdc-sdk-node-ts",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.25",
|
|
4
4
|
"description": "Next-generation Node runtime package for the GDC SDK family",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Antifraud Services Inc.",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"test:e2e:live-gw:clean": "bash ./scripts/run-live-gw-clean.sh"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"gdc-common-utils-ts": "2.9.
|
|
41
|
+
"gdc-common-utils-ts": "2.9.24",
|
|
42
42
|
"gdc-sdk-core-ts": "2.9.10"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|