Skip to content

Commit

Permalink
Fix service request list widget
Browse files Browse the repository at this point in the history
  • Loading branch information
ir4y committed Dec 12, 2024
1 parent 5bf5853 commit eea2f17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,11 @@ export function prepareAuERequest(
if (identifier) {
const { value, system } = identifier;
const srLink = `${system}/${value}`;
const taskLink = `https://fhir.hl7.org.au/ereq/fhir/DEFAULT/Task?focus=${value}`;
const taskLink = `${system?.replace('ServiceRequest', 'Task')}?focus=ServiceRequest/${value}`;
return (
<div>
<a href={srLink} target="_blank" rel="noreferrer">
ServiceRrequest
ServiceRequest
</a>
<br />
<a href={taskLink} target="_blank" rel="noreferrer">
Expand Down

0 comments on commit eea2f17

Please sign in to comment.