Skip to content

Commit

Permalink
Fix: [AEA-4929] - Fix prescription search request template (#331)
Browse files Browse the repository at this point in the history
## Summary
- Routine Change

### Details
- Fixes Author block in prescription search message template
- Updates prescription ID to be optional so that searches can be done
via prescription ID or NHS number.
  • Loading branch information
Orkastrated authored Feb 4, 2025
1 parent cce7a10 commit eb7597f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitallowed
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ id-token: write
.:src/live-spine-client.*root=*
0ba20a521167058a74f3b6e65c42d732054e5753:docs.*
0ba20a521167058a74f3b6e65c42d732054e5753:scripts/.*
root=\"1\.2
root=\"2\.1
codeSystem=\"1\.
codeSystem=\"2\.
2\.16\.840\.1
2 changes: 1 addition & 1 deletion src/live-spine-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ interface ClinicalContentViewPartials {

export interface PrescriptionSearchParams {
requestId: string,
prescriptionId: string,
prescriptionId?: string,
organizationId: string,
sdsRoleProfileId: string,
sdsId: string,
Expand Down
2 changes: 1 addition & 1 deletion src/resources/prescription_search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default `<?xml version="1.0" encoding="utf-8"?>
<AgentPersonSDS classCode="AGNT">
<id root="1.2.826.0.1285.0.2.0.67" extension="{{agentPersonSDSRoleProfileId}}"/>
<agentPersonSDS classCode="PSN" determinerCode="INSTANCE">
<id root="1.2.826.0.1285.0.2.0.65" extension="{{sdsRoleProfileId}}"/>
<id root="1.2.826.0.1285.0.2.0.65" extension="{{agentPersonSDSId}}"/>
</agentPersonSDS>
<part typeCode="PART">
<partSDSRole classCode="ROL">
Expand Down

0 comments on commit eb7597f

Please sign in to comment.