Skip to content

Commit

Permalink
Fix LOINC filter on $validate-code
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Feb 19, 2025
1 parent 00327c6 commit 0f42b32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/ftx/ftx_loinc_services.pas
Original file line number Diff line number Diff line change
Expand Up @@ -917,12 +917,12 @@ function TLOINCServices.doesFilter(opContext : TTxOperationContext; prop: String
reg : TRegularExpression;
begin
result := false;
if (FRelationships.ContainsKey(prop) and (op = foEqual)) then
if (FRelationships.ContainsKey(prop) and (op in [foEqual, foIn])) then
if FCodes.ContainsKey(value) then
result := true
else
result := true
else if (FProperties.ContainsKey(prop) and (op = foEqual)) then
else if (FProperties.ContainsKey(prop) and (op in [foEqual, foIn])) then
result := true
else if (FRelationships.ContainsKey(prop) and (op = foExists)) then
if FCodes.ContainsKey(value) then
Expand Down
4 changes: 2 additions & 2 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Change Notes:

*
* Fix LOINC filter on $validate-code

## Conformance Notes:

*
* tx.fhir.org passed all 299 HL7 terminology service tests (mode 'tx.fhir.org', tests v1.7.5, runner v6.5.9)

0 comments on commit 0f42b32

Please sign in to comment.