Skip to content

Commit

Permalink
release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Feb 18, 2025
1 parent 8bb151a commit 5013754
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 33 deletions.
8 changes: 6 additions & 2 deletions server/fhirconsole.lpi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="12"/>
Expand Down Expand Up @@ -219,7 +220,10 @@
</Debugging>
</Linking>
<Other>
<CustomOptions Value="-WM11.0&#10;-XR/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk&#10;-gw2&#10;-gw3"/>
<CustomOptions Value="-WM11.0
-XR/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
-gw2
-gw3"/>
</Other>
</CompilerOptions>
</Item6>
Expand Down Expand Up @@ -508,7 +512,7 @@
<Name Value="ELibraryException"/>
</Item3>
<Item4>
<Name Value="&lt;Unknown Class&gt;"/>
<Name Value="&lt;Unknown Class>"/>
</Item4>
<Item5>
<Name Value="0000000eEIdSocketError"/>
Expand Down
3 changes: 2 additions & 1 deletion server/fhirserver.lpi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="12"/>
Expand Down Expand Up @@ -1017,7 +1018,7 @@
<Name Value="EPackageCrawlerException"/>
</Item50>
<Item51>
<Name Value="&lt;Unknown Class&gt;"/>
<Name Value="&lt;Unknown Class>"/>
</Item51>
<Item52>
<Name Value="EDateFormatError"/>
Expand Down
55 changes: 25 additions & 30 deletions server/tx/tx_rxnorm.pas
Original file line number Diff line number Diff line change
Expand Up @@ -908,8 +908,32 @@ function TUMLSServices.version: String;
end;

function TUMLSServices.IsInactive(opContext: TTxOperationContext; context: TCodeSystemProviderContext): boolean;
var
qry : TFDBConnection;
begin
result := TUMLSConcept(context).FArchived;
if TUMLSConcept(context).FArchived then
result := true
else
begin
qry := db.GetConnection(dbprefix+'.extendLookup');
try
qry.SQL := 'Select suppress from rxnconso where '+getCodeField+' = :code and SAB = '''+getSAB+''' and TTY <> ''SY''';
qry.prepare;
qry.BindString('code', TUMLSConcept(context).FCode);
qry.execute;
qry.FetchNext;
result := qry.colinteger[1] = 1;
qry.Terminate;
qry.Release;
except
on e : Exception do
begin
qry.Error(e);
recordStack(e);
raise;
end;
end;
end;
end;

destructor TUMLSServices.Destroy;
Expand Down Expand Up @@ -939,35 +963,6 @@ procedure TUMLSServices.extendLookup(opContext : TTxOperationContext; factory :
list: TConceptDesignations;
cd : TConceptDesignation;
begin
if hasProp(props, 'inactive', true) then
begin
qry := db.GetConnection(dbprefix+'.extendLookup');
try
qry.SQL := 'Select suppress from rxnconso where '+getCodeField+' = :code and SAB = '''+getSAB+''' and TTY <> ''SY''';
qry.prepare;
qry.BindString('code', TUMLSConcept(ctxt).FCode);
qry.execute;
qry.FetchNext;
b := qry.colinteger[1] = 1;
qry.Terminate;
qry.Release;
except
on e : Exception do
begin
qry.Error(e);
recordStack(e);
raise;
end;
end;

if factory.version <> fhirVersionRelease2 then
begin
p := resp.addProp('inactive');
p.value := factory.makeBoolean(b);
end
else
resp.addExtension('inactive', b);
end;
list := TConceptDesignations.Create(Factory.link, FLanguages.link);
try
Designations(opContext, ctxt, list);
Expand Down
1 change: 1 addition & 0 deletions server/zero_config.pas
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ function loadRemoteConfig(params : TCommandLineParameters; src : String; local :
cb : TConfigurationBuilder;
dir : String;
begin
Logging.log('Zero Configuration from '+src);
SetThreadStatus('loadRemoteConfig');
dir := local.ReadString('config', 'local', UserFolder);

Expand Down

0 comments on commit 5013754

Please sign in to comment.