gdc-sdk-node-ts 2.9.22 → 2.9.24
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 +19 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5 -1
- package/dist/server-profile-session.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -663,6 +663,25 @@ 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
|
+
|
|
666
685
|
### Governed ValueSet options through the terminology service
|
|
667
686
|
|
|
668
687
|
For creation controls, the authenticated BFF can resolve the ValueSet bound to
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
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 { AllergyIntoleranceEntryEditor } from 'gdc-common-utils-ts/utils/allergy-intolerance-entry-editor';
|
|
4
|
+
export { ImmunizationEntryEditor } from 'gdc-common-utils-ts/utils/immunization-entry-editor';
|
|
5
|
+
export { MedicationStatementEntryEditor } from 'gdc-common-utils-ts/utils/medication-statement-entry-editor';
|
|
6
|
+
export { ObservationEntryEditor } from 'gdc-common-utils-ts/utils/observation-entry-editor';
|
|
3
7
|
export * from './runtime-contracts.js';
|
|
4
8
|
export * from './identity-bootstrap.js';
|
|
5
9
|
export * from './async-polling.js';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
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 { AllergyIntoleranceEntryEditor } from 'gdc-common-utils-ts/utils/allergy-intolerance-entry-editor';
|
|
6
|
+
export { ImmunizationEntryEditor } from 'gdc-common-utils-ts/utils/immunization-entry-editor';
|
|
7
|
+
export { MedicationStatementEntryEditor } from 'gdc-common-utils-ts/utils/medication-statement-entry-editor';
|
|
8
|
+
export { ObservationEntryEditor } from 'gdc-common-utils-ts/utils/observation-entry-editor';
|
|
5
9
|
export * from './runtime-contracts.js';
|
|
6
10
|
export * from './identity-bootstrap.js';
|
|
7
11
|
export * from './async-polling.js';
|
|
@@ -1358,8 +1358,8 @@ function sameGovernedRole(left, right) {
|
|
|
1358
1358
|
}
|
|
1359
1359
|
/**
|
|
1360
1360
|
* Resets or advances the persisted PIN lock state without writing an
|
|
1361
|
-
* `undefined` optional property.
|
|
1362
|
-
*
|
|
1361
|
+
* `undefined` optional property. Durable store adapters receive an omitted
|
|
1362
|
+
* `lockedUntil` field when no lock exists.
|
|
1363
1363
|
*/
|
|
1364
1364
|
function withProfileUnlockState(profile, updates) {
|
|
1365
1365
|
const { lockedUntil: _previousLock, ...unlockedProfile } = profile;
|