Skip to content

Commit

Permalink
Fix: [AEA-0000] - Amend PrescriptionSearchPartials (#218)
Browse files Browse the repository at this point in the history
## Summary

- Routine Change

### Details

Amend the PrescriptionSearchPartials values.
  • Loading branch information
kris-szlapa committed Sep 20, 2024
1 parent 17222ce commit 90274e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/live-spine-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export interface PrescriptionSearchParams {
mySiteOrganisation?: string
}

export interface PrescriptionSearchPartials {
interface PrescriptionSearchPartials {
messageGUID: string,
toASID: string,
fromASID: string
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 90274e5

Please sign in to comment.