gdc-sdk-node-ts 2.9.14 → 2.9.15
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/individual-controller-backend-runtime.d.ts +6 -1
- package/dist/individual-controller-backend-runtime.js +6 -1
- package/dist/orchestration/client-port.d.ts +4 -0
- package/dist/orchestration/individual-controller-sdk.d.ts +4 -0
- package/dist/orchestration/individual-controller-sdk.js +4 -0
- package/dist/orchestration/personal-sdk.d.ts +6 -1
- package/dist/orchestration/personal-sdk.js +6 -1
- package/dist/resource-operations.d.ts +15 -0
- package/dist/resource-operations.js +8 -0
- package/package.json +1 -1
|
@@ -65,7 +65,12 @@ export declare class IndividualControllerBackendRuntime {
|
|
|
65
65
|
* individual-controller facade.
|
|
66
66
|
*/
|
|
67
67
|
getLatestIps(profile: BackendIndividualControllerProfile, ctx: RouteContext, input: Omit<ClinicalBundleSearchInput, 'includedTypes'>): Promise<SubmitAndPollResult>;
|
|
68
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Imports one IPS/FHIR payload through the direct Composition compatibility path.
|
|
70
|
+
*
|
|
71
|
+
* @deprecated Use the profile SDK's `updateClinicalSummary(...)` or
|
|
72
|
+
* `updateSubjectSection(...)` Communication-backed operation.
|
|
73
|
+
*/
|
|
69
74
|
importIpsOrFhirAndUpdateIndex(profile: BackendIndividualControllerProfile, ctx: RouteContext, input: IpsOrFhirImportInput): Promise<SubmitAndPollResult>;
|
|
70
75
|
/** Ingests one controller-authored Communication and waits for indexing. */
|
|
71
76
|
ingestCommunicationAndUpdateIndex(profile: BackendIndividualControllerProfile, ctx: RouteContext, input: CommunicationIngestionInput): Promise<SubmitAndPollResult>;
|
|
@@ -77,7 +77,12 @@ export class IndividualControllerBackendRuntime {
|
|
|
77
77
|
getLatestIps(profile, ctx, input) {
|
|
78
78
|
return profile.sdk.getLatestIps(ctx, input);
|
|
79
79
|
}
|
|
80
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Imports one IPS/FHIR payload through the direct Composition compatibility path.
|
|
82
|
+
*
|
|
83
|
+
* @deprecated Use the profile SDK's `updateClinicalSummary(...)` or
|
|
84
|
+
* `updateSubjectSection(...)` Communication-backed operation.
|
|
85
|
+
*/
|
|
81
86
|
importIpsOrFhirAndUpdateIndex(profile, ctx, input) {
|
|
82
87
|
return profile.sdk.importIpsOrFhirAndUpdateIndex(ctx, input);
|
|
83
88
|
}
|
|
@@ -138,6 +138,10 @@ export type RuntimeClient = {
|
|
|
138
138
|
searchIndividualLicenseOrders?: (ctx: RouteContext, input: LicenseOrderRuntimeSearchInput) => Promise<SubmitAndPollResult>;
|
|
139
139
|
listIndividualLicenseOrders?: (ctx: RouteContext, input?: LicenseOrderRuntimeSearchInput) => Promise<SubmitAndPollResult>;
|
|
140
140
|
bootstrapIndividualOrganization?: (input: IndividualOrganizationBootstrapInput) => Promise<IndividualOrganizationStartResult>;
|
|
141
|
+
/**
|
|
142
|
+
* @deprecated Direct Composition compatibility hook. Use the
|
|
143
|
+
* Communication-backed clinical summary or subject-section hooks.
|
|
144
|
+
*/
|
|
141
145
|
importIpsOrFhirAndUpdateIndex?: (ctx: RouteContext, input: IpsOrFhirImportInput) => Promise<SubmitAndPollResult>;
|
|
142
146
|
upsertRelatedPersonAndPoll?: (ctx: RouteContext, input: RelatedPersonUpsertInput) => Promise<SubmitAndPollResult>;
|
|
143
147
|
generateDigitalTwinFromSubjectData?: (ctx: RouteContext, input: DigitalTwinGenerationInput) => Promise<SubmitAndPollResult>;
|
|
@@ -102,6 +102,10 @@ export declare class IndividualControllerSdk {
|
|
|
102
102
|
* permission to rewrite or delete it. A correction requires independently
|
|
103
103
|
* verified source provenance; merely resubmitting the same URN is
|
|
104
104
|
* insufficient and unsigned/demo imports remain locally immutable.
|
|
105
|
+
*
|
|
106
|
+
* @deprecated Use `updateClinicalSummary(...)` for complete FHIR documents
|
|
107
|
+
* or `updateSubjectSection(...)` for typed section changes. Both use the
|
|
108
|
+
* Communication ingestion flow.
|
|
105
109
|
*/
|
|
106
110
|
importIpsOrFhirAndUpdateIndex(ctx: RouteContext, input: IpsOrFhirImportInput): Promise<SubmitAndPollResult>;
|
|
107
111
|
/**
|
|
@@ -134,6 +134,10 @@ export class IndividualControllerSdk {
|
|
|
134
134
|
* permission to rewrite or delete it. A correction requires independently
|
|
135
135
|
* verified source provenance; merely resubmitting the same URN is
|
|
136
136
|
* insufficient and unsigned/demo imports remain locally immutable.
|
|
137
|
+
*
|
|
138
|
+
* @deprecated Use `updateClinicalSummary(...)` for complete FHIR documents
|
|
139
|
+
* or `updateSubjectSection(...)` for typed section changes. Both use the
|
|
140
|
+
* Communication ingestion flow.
|
|
137
141
|
*/
|
|
138
142
|
importIpsOrFhirAndUpdateIndex(ctx, input) {
|
|
139
143
|
assertFacadeCapability(this.capabilities, ActorCapabilities.IndividualImportIps, ActorKinds.IndividualController, 'importIpsOrFhirAndUpdateIndex');
|
|
@@ -16,7 +16,12 @@ export declare class PersonalSdk {
|
|
|
16
16
|
respondToProfessionalAccessRequest(ctx: RouteContext, input: ProfessionalAccessRequestDecisionInput): Promise<GrantProfessionalAccessResult>;
|
|
17
17
|
/** Lists canonical permission requests addressed to this subject. */
|
|
18
18
|
listProfessionalAccessRequests(ctx: RouteContext, input: ProfessionalAccessRequestSearchInput): Promise<SubmitAndPollResult>;
|
|
19
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Imports IPS/FHIR payload through the direct Composition compatibility path.
|
|
21
|
+
*
|
|
22
|
+
* @deprecated Use `updateClinicalSummary(...)` or
|
|
23
|
+
* `updateSubjectSection(...)`; both use the Communication ingestion flow.
|
|
24
|
+
*/
|
|
20
25
|
importIpsOrFhirAndUpdateIndex(ctx: RouteContext, input: IpsOrFhirImportInput): Promise<SubmitAndPollResult>;
|
|
21
26
|
/** Ingests canonical Communication and waits for projection completion. */
|
|
22
27
|
ingestCommunicationAndUpdateIndex(ctx: RouteContext, input: CommunicationIngestionInput): Promise<SubmitAndPollResult>;
|
|
@@ -26,7 +26,12 @@ export class PersonalSdk {
|
|
|
26
26
|
listProfessionalAccessRequests(ctx, input) {
|
|
27
27
|
return requireClientMethod(this.client, 'searchCommunicationParticipants')(ctx, buildProfessionalAccessRequestSearchInput(input));
|
|
28
28
|
}
|
|
29
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Imports IPS/FHIR payload through the direct Composition compatibility path.
|
|
31
|
+
*
|
|
32
|
+
* @deprecated Use `updateClinicalSummary(...)` or
|
|
33
|
+
* `updateSubjectSection(...)`; both use the Communication ingestion flow.
|
|
34
|
+
*/
|
|
30
35
|
importIpsOrFhirAndUpdateIndex(ctx, input) {
|
|
31
36
|
return requireClientMethod(this.client, 'importIpsOrFhirAndUpdateIndex')(ctx, input);
|
|
32
37
|
}
|
|
@@ -209,6 +209,13 @@ export type IndividualMemberLifecycleInput = {
|
|
|
209
209
|
resourceId?: string;
|
|
210
210
|
dataType?: string;
|
|
211
211
|
};
|
|
212
|
+
/**
|
|
213
|
+
* Input retained for the direct Composition compatibility adapter.
|
|
214
|
+
*
|
|
215
|
+
* @deprecated Use `ClinicalSummaryUpdateInput` with
|
|
216
|
+
* `updateClinicalSummary(...)`, or `SubjectSectionUpdateInput` with
|
|
217
|
+
* `updateSubjectSection(...)`; both use the Communication ingestion flow.
|
|
218
|
+
*/
|
|
212
219
|
export type IpsOrFhirImportInput = {
|
|
213
220
|
/**
|
|
214
221
|
* Server-built IPS/FHIR payload whose original Composition author is
|
|
@@ -812,6 +819,14 @@ export declare function searchIndividualLicenseOrdersWithDeps(routeCtx: RouteCon
|
|
|
812
819
|
}) => Promise<SubmitAndPollResult>;
|
|
813
820
|
}): Promise<SubmitAndPollResult>;
|
|
814
821
|
export declare function listIndividualLicenseOrdersWithDeps(routeCtx: RouteContext, input: LicenseOrderRuntimeSearchInput | undefined, deps: Parameters<typeof searchIndividualLicenseOrdersWithDeps>[2]): Promise<SubmitAndPollResult>;
|
|
822
|
+
/**
|
|
823
|
+
* Direct Composition compatibility adapter retained without behavior changes.
|
|
824
|
+
*
|
|
825
|
+
* @deprecated Build the appropriate Communication input with
|
|
826
|
+
* `buildClinicalSummaryUpdateIngestion(...)` or
|
|
827
|
+
* `buildSubjectSectionUpdateIngestion(...)`, then submit it through
|
|
828
|
+
* `ingestCommunicationAndUpdateIndexWithDeps(...)`.
|
|
829
|
+
*/
|
|
815
830
|
export declare function importIpsOrFhirAndUpdateIndexWithDeps(routeCtx: RouteContext, input: IpsOrFhirImportInput, deps: {
|
|
816
831
|
individualCompositionR4BatchPath: (ctx: RouteContext) => string;
|
|
817
832
|
individualCompositionR4PollPath: (ctx: RouteContext) => string;
|
|
@@ -397,6 +397,14 @@ export async function searchIndividualLicenseOrdersWithDeps(routeCtx, input, dep
|
|
|
397
397
|
export async function listIndividualLicenseOrdersWithDeps(routeCtx, input, deps) {
|
|
398
398
|
return searchIndividualLicenseOrdersWithDeps(routeCtx, input || {}, deps);
|
|
399
399
|
}
|
|
400
|
+
/**
|
|
401
|
+
* Direct Composition compatibility adapter retained without behavior changes.
|
|
402
|
+
*
|
|
403
|
+
* @deprecated Build the appropriate Communication input with
|
|
404
|
+
* `buildClinicalSummaryUpdateIngestion(...)` or
|
|
405
|
+
* `buildSubjectSectionUpdateIngestion(...)`, then submit it through
|
|
406
|
+
* `ingestCommunicationAndUpdateIndexWithDeps(...)`.
|
|
407
|
+
*/
|
|
400
408
|
export async function importIpsOrFhirAndUpdateIndexWithDeps(routeCtx, input, deps) {
|
|
401
409
|
const payload = {
|
|
402
410
|
thid: input.compositionPayload.thid || `composition-${createRuntimeUuid()}`,
|