From 90274e5a9663a0068ce92d7638df9bb82cf809e8 Mon Sep 17 00:00:00 2001 From: Kris Szlapa Date: Fri, 20 Sep 2024 08:32:11 +0000 Subject: [PATCH] Fix: [AEA-0000] - Amend PrescriptionSearchPartials (#218) ## Summary - Routine Change ### Details Amend the PrescriptionSearchPartials values. --- src/live-spine-client.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/live-spine-client.ts b/src/live-spine-client.ts index 43022f6..b51a7d5 100644 --- a/src/live-spine-client.ts +++ b/src/live-spine-client.ts @@ -69,7 +69,7 @@ export interface PrescriptionSearchParams { mySiteOrganisation?: string } -export interface PrescriptionSearchPartials { +interface PrescriptionSearchPartials { messageGUID: string, toASID: string, fromASID: string @@ -268,9 +268,9 @@ export class LiveSpineClient implements SpineClient { const partials: PrescriptionSearchPartials = { messageGUID: params.requestId, - toASID: this.spineASID ?? "", - fromASID: this.spineASID ?? "", - creationTime: new Date().toISOString(), + toASID: this.spineASID, + fromASID: this.spineASID, + creationTime: new Date().getTime().toString(), agentPersonSDSRoleProfileId: params.sdsRoleProfileId, agentPersonSDSId: params.sdsId, agentPersonJobRoleCode: params.jobRoleCode,