gdc-sdk-node-ts 2.3.21 → 2.3.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.
|
@@ -433,7 +433,9 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
433
433
|
updateClinicalSummary(ctx: RouteContext, input: ClinicalSummaryUpdateInput): Promise<SubmitAndPollResult>;
|
|
434
434
|
/**
|
|
435
435
|
* Reads the authoritative clinical document currently available for one
|
|
436
|
-
* subject through an auditable `Communication`
|
|
436
|
+
* subject through an auditable `Communication` carrying GW's internal
|
|
437
|
+
* `Subject/$summary` operation reference. The runtime submits
|
|
438
|
+
* `Communication/_batch`; callers do not invoke `$summary` directly.
|
|
437
439
|
*
|
|
438
440
|
* Unlike `ingestCommunicationAndUpdateIndex(...)`, this method does not
|
|
439
441
|
* represent a write or projection lifecycle. It returns the GW document and
|
|
@@ -445,7 +447,10 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
445
447
|
* BFF, portal or assistant consumers to know GW wire envelopes.
|
|
446
448
|
*/
|
|
447
449
|
private submitCommunicationOutboxJobAndPoll;
|
|
448
|
-
/**
|
|
450
|
+
/**
|
|
451
|
+
* Applies the configured wire profile to a direct subject-index search.
|
|
452
|
+
* This is compatibility/specialized plumbing, not the primary summary read.
|
|
453
|
+
*/
|
|
449
454
|
private submitClinicalMessageAndPoll;
|
|
450
455
|
/**
|
|
451
456
|
* Registers one FHIR resource or raw artifact on blockchain and waits until
|
|
@@ -470,7 +475,9 @@ export declare class HttpRuntimeClient implements NodeRuntimeClient {
|
|
|
470
475
|
*/
|
|
471
476
|
submitCommunicationAndPoll(ctx: RouteContext, input: CommunicationIngestionInput): Promise<SubmitAndPollResult>;
|
|
472
477
|
/**
|
|
473
|
-
* Executes
|
|
478
|
+
* Executes the compatibility/specialized direct `Bundle/_search` surface.
|
|
479
|
+
* New summary viewers use `requestClinicalSummary(...)`, whose Communication
|
|
480
|
+
* transport keeps the internal index operation hidden from application code.
|
|
474
481
|
*
|
|
475
482
|
* @param ctx Route context containing tenant/jurisdiction/sector.
|
|
476
483
|
* @param input Search parameters such as subject, section, date and included resource types.
|
|
@@ -783,7 +783,9 @@ export class HttpRuntimeClient {
|
|
|
783
783
|
}
|
|
784
784
|
/**
|
|
785
785
|
* Reads the authoritative clinical document currently available for one
|
|
786
|
-
* subject through an auditable `Communication`
|
|
786
|
+
* subject through an auditable `Communication` carrying GW's internal
|
|
787
|
+
* `Subject/$summary` operation reference. The runtime submits
|
|
788
|
+
* `Communication/_batch`; callers do not invoke `$summary` directly.
|
|
787
789
|
*
|
|
788
790
|
* Unlike `ingestCommunicationAndUpdateIndex(...)`, this method does not
|
|
789
791
|
* represent a write or projection lifecycle. It returns the GW document and
|
|
@@ -831,7 +833,10 @@ export class HttpRuntimeClient {
|
|
|
831
833
|
poll,
|
|
832
834
|
};
|
|
833
835
|
}
|
|
834
|
-
/**
|
|
836
|
+
/**
|
|
837
|
+
* Applies the configured wire profile to a direct subject-index search.
|
|
838
|
+
* This is compatibility/specialized plumbing, not the primary summary read.
|
|
839
|
+
*/
|
|
835
840
|
async submitClinicalMessageAndPoll(submitPath, pollPath, payload, profile, pollOptions) {
|
|
836
841
|
const renderedSubmit = await renderGatewayMessageRequest(payload, profile, this.secureTransportAdapter);
|
|
837
842
|
const submit = await postRenderedWithRuntimeConfig(this.transportConfig, submitPath, renderedSubmit);
|
|
@@ -896,7 +901,9 @@ export class HttpRuntimeClient {
|
|
|
896
901
|
return this.ingestCommunicationAndUpdateIndex(ctx, input);
|
|
897
902
|
}
|
|
898
903
|
/**
|
|
899
|
-
* Executes
|
|
904
|
+
* Executes the compatibility/specialized direct `Bundle/_search` surface.
|
|
905
|
+
* New summary viewers use `requestClinicalSummary(...)`, whose Communication
|
|
906
|
+
* transport keeps the internal index operation hidden from application code.
|
|
900
907
|
*
|
|
901
908
|
* @param ctx Route context containing tenant/jurisdiction/sector.
|
|
902
909
|
* @param input Search parameters such as subject, section, date and included resource types.
|
|
@@ -759,7 +759,9 @@ export declare function searchCommunicationParticipantsWithDeps(routeCtx: RouteC
|
|
|
759
759
|
*
|
|
760
760
|
* The dependency name intentionally says `submit`, not `ingest`: GW receives a
|
|
761
761
|
* Communication transport record, but the business operation is a read and
|
|
762
|
-
* must not be exposed to applications as index ingestion.
|
|
762
|
+
* must not be exposed to applications as index ingestion. `Subject/$summary`
|
|
763
|
+
* is the internal operation reference inside that Communication, not a route
|
|
764
|
+
* for application/BFF code to invoke directly.
|
|
763
765
|
*/
|
|
764
766
|
export declare function requestClinicalSummaryWithDeps(routeCtx: RouteContext, input: ClinicalSummaryRequestInput, deps: {
|
|
765
767
|
submitSummaryCommunication: (ctx: RouteContext, input: CommunicationIngestionInput) => Promise<SubmitAndPollResult>;
|
|
@@ -486,7 +486,9 @@ export async function searchCommunicationParticipantsWithDeps(routeCtx, input, d
|
|
|
486
486
|
*
|
|
487
487
|
* The dependency name intentionally says `submit`, not `ingest`: GW receives a
|
|
488
488
|
* Communication transport record, but the business operation is a read and
|
|
489
|
-
* must not be exposed to applications as index ingestion.
|
|
489
|
+
* must not be exposed to applications as index ingestion. `Subject/$summary`
|
|
490
|
+
* is the internal operation reference inside that Communication, not a route
|
|
491
|
+
* for application/BFF code to invoke directly.
|
|
490
492
|
*/
|
|
491
493
|
export async function requestClinicalSummaryWithDeps(routeCtx, input, deps) {
|
|
492
494
|
const communicationJob = buildClinicalSummaryCommunicationJob(input);
|