Skip to content

Commit

Permalink
Add missed code
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Aug 15, 2024
1 parent 8f172c8 commit cadbe8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/ftx/fhir_codesystem_service.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1910,7 +1910,7 @@ function TFHIRCodeSystemManager.link: TFHIRCodeSystemManager;

function escapeUrl(url : String) : String;
begin
result := url.replace('|', '');
result := url.replace('|', '%7C');
end;

procedure TFHIRCodeSystemManager.see(r : TFHIRCodeSystemEntry);
Expand Down Expand Up @@ -2163,7 +2163,7 @@ procedure TFHIRCodeSystemManager.drop(id : String);
if (mm <> '') then
FMap.remove(res.url+'|'+mm);
end;
updateList(res.url, res.version);
updateList(escapeUrl(res.url), res.version);
finally
res.free;
end;
Expand Down

0 comments on commit cadbe8a

Please sign in to comment.