Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/costateixeira/fhirserver
Browse files Browse the repository at this point in the history
…into linuxscripts
  • Loading branch information
costateixeira committed Jan 6, 2024
2 parents 1ce6781 + 31c42c2 commit b57e201
Show file tree
Hide file tree
Showing 16 changed files with 36 additions and 49 deletions.
Empty file modified build/linux-fhirserver.sh
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion build/windows-toolchain.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rem ---- download the installer

md tools

curl -L https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/download/v2.2.0q/fpclazup-x86_64-win64.exe --output tools\fpclazup.exe
curl -L https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/download/v2.4.0a/fpclazup-x86_64-win64.exe --output tools\fpclazup.exe
curl -L https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/crosslibs_v1.3/CrossLibsLinuxx64.zip --output tools\CrossLibsLinuxx64.zip
curl -L https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/wincrossbins_v1.0/WinCrossBinsLinuxx64.zip --output tools\WinCrossBinsLinuxx64.zip

Expand Down
1 change: 0 additions & 1 deletion ipsmanager/ipsmanager.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@
Application.CreateForm(TIPSManagerForm, IPSManagerForm);
Application.Run;
end.

3 changes: 1 addition & 2 deletions library/fdb/fdb_fts.pas
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,4 @@ function TFDBFullTextSearch.link: TFDBFullTextSearch;
result := TFDBFullTextSearch(inherited link);
end;

end.

end.
4 changes: 0 additions & 4 deletions library/fhir4/fhir4_ips.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1137,8 +1137,4 @@ function TIPSWrapper.saveToBytes: TBytes;
end;
// decode(result);
end;


end.


2 changes: 1 addition & 1 deletion packages/fhir.pas
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ procedure Register;

initialization
RegisterPackage('fhir', @Register);
end.
end.
2 changes: 1 addition & 1 deletion packages/fhir4.pas
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ procedure Register;

initialization
RegisterPackage('fhir4', @Register);
end.
end.
4 changes: 2 additions & 2 deletions packages/fhir_fdb.pas
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ procedure Register;
end;

initialization
RegisterPackage('fhir_fdb', @Register);
end.
RegisterPackage('fhir_fdb', @Register);
end.
3 changes: 1 addition & 2 deletions server/endpoint_xig.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1551,5 +1551,4 @@ function TFHIRXIGWebServer.SecureRequest(AContext: TIdContext; ip : String; requ
countRequest;
result := doRequest(AContext, request, response, id, true);
end;

end.
end.
41 changes: 21 additions & 20 deletions server/fhirserver.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
<Filename Value="..\exec\64\fhirserver"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir);..\dependencies\jcl;..\library"/>
<Libraries Value="..\dependencies\openssl\$(TargetOS)-$(TargetCPU)"/>
<OtherUnitFiles Value="..\library\fsl\tests;..\library\fhir\tests;..\library\fhir4\tests;..\library\fhir4b\tests;..\library\fhir5\tests;..\library\ftx\tests;..\library\fxver\tests;..\library\cda\tests;..\library\v2\tests;..\library\fdb\tests;modules;..\dependencies\jcl;tests;admin;..\library\fcomp\tests;tx;..\dependencies\FMM"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
<IncludeFiles Value="$(ProjOutDir);../dependencies/jcl;../library"/>
<Libraries Value="../dependencies/openssl/$(TargetOS)-$(TargetCPU)"/>
<OtherUnitFiles Value="../library/fsl/tests;../library/fhir/tests;../library/fhir4/tests;../library/fhir4b/tests;../library/fhir5/tests;../library/ftx/tests;../library/fxver/tests;../library/cda/tests;../library/v2/tests;../library/fdb/tests;modules;../dependencies/jcl;tests;admin;../library/fcomp/tests;tx;../dependencies/FMM"/>
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Parsing>
<SyntaxOptions>
Expand Down Expand Up @@ -614,11 +614,11 @@
<IsPartOfProject Value="True"/>
</Unit57>
<Unit58>
<Filename Value="tests\tests_search_syntax.pas"/>
<Filename Value="tests/tests_search_syntax.pas"/>
<IsPartOfProject Value="True"/>
</Unit58>
<Unit59>
<Filename Value="admin\server_config.pas"/>
<Filename Value="admin/server_config.pas"/>
<IsPartOfProject Value="True"/>
</Unit59>
<Unit60>
Expand Down Expand Up @@ -662,47 +662,47 @@
<IsPartOfProject Value="True"/>
</Unit69>
<Unit70>
<Filename Value="tx\tx_acir.pas"/>
<Filename Value="tx/tx_acir.pas"/>
<IsPartOfProject Value="True"/>
</Unit70>
<Unit71>
<Filename Value="tx\tx_areacode.pas"/>
<Filename Value="tx/tx_areacode.pas"/>
<IsPartOfProject Value="True"/>
</Unit71>
<Unit72>
<Filename Value="tx\tx_countrycode.pas"/>
<Filename Value="tx/tx_countrycode.pas"/>
<IsPartOfProject Value="True"/>
</Unit72>
<Unit73>
<Filename Value="tx\tx_hgvs.pas"/>
<Filename Value="tx/tx_hgvs.pas"/>
<IsPartOfProject Value="True"/>
</Unit73>
<Unit74>
<Filename Value="tx\tx_iso_4217.pas"/>
<Filename Value="tx/tx_iso_4217.pas"/>
<IsPartOfProject Value="True"/>
</Unit74>
<Unit75>
<Filename Value="tx\tx_mimetypes.pas"/>
<Filename Value="tx/tx_mimetypes.pas"/>
<IsPartOfProject Value="True"/>
</Unit75>
<Unit76>
<Filename Value="tx\tx_ndc.pas"/>
<Filename Value="tx/tx_ndc.pas"/>
<IsPartOfProject Value="True"/>
</Unit76>
<Unit77>
<Filename Value="tx\tx_rxnorm.pas"/>
<Filename Value="tx/tx_rxnorm.pas"/>
<IsPartOfProject Value="True"/>
</Unit77>
<Unit78>
<Filename Value="tx\tx_unii.pas"/>
<Filename Value="tx/tx_unii.pas"/>
<IsPartOfProject Value="True"/>
</Unit78>
<Unit79>
<Filename Value="tx\tx_uri.pas"/>
<Filename Value="tx/tx_uri.pas"/>
<IsPartOfProject Value="True"/>
</Unit79>
<Unit80>
<Filename Value="tx\tx_us_states.pas"/>
<Filename Value="tx/tx_us_states.pas"/>
<IsPartOfProject Value="True"/>
</Unit80>
<Unit81>
Expand All @@ -726,7 +726,7 @@
<IsPartOfProject Value="True"/>
</Unit85>
<Unit86>
<Filename Value="tx\tx_omop.pas"/>
<Filename Value="tx/tx_omop.pas"/>
<IsPartOfProject Value="True"/>
</Unit86>
<Unit87>
Expand All @@ -750,11 +750,11 @@
<IsPartOfProject Value="True"/>
</Unit91>
<Unit92>
<Filename Value="tx\tx_cpt.pas"/>
<Filename Value="tx/tx_cpt.pas"/>
<IsPartOfProject Value="True"/>
</Unit92>
<Unit93>
<Filename Value="tests\tests_cpt.pas"/>
<Filename Value="tests/tests_cpt.pas"/>
<IsPartOfProject Value="True"/>
</Unit93>
<Unit94>
Expand All @@ -773,6 +773,7 @@
</ProjectOptions>
<CompilerOptions>
<Version Value="11"/>
<PathDelim Value="/"/>
<Target>
<Filename Value="../exec/64/fhirserver"/>
</Target>
Expand Down
5 changes: 1 addition & 4 deletions server/tests/tests_cpt.pas
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,4 @@ procedure TCPTTests.TestExpression2;
ctxt.free;
end;
end;

end.


end.
3 changes: 1 addition & 2 deletions server/tx/tx_cpt.pas
Original file line number Diff line number Diff line change
Expand Up @@ -964,5 +964,4 @@ procedure TCPTServices.defineFeatures(features : TFslList<TFHIRFeature>);
end;


end.

end.
4 changes: 1 addition & 3 deletions server/tx/tx_omop.pas
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,4 @@ procedure TOMOPServices.defineFeatures(features: TFslList<TFHIRFeature>);
begin
raise ETerminologyError.Create('not done yet: defineFeatures');
end;

end.

end.
5 changes: 1 addition & 4 deletions server/tx_registry_model.pas
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,4 @@ procedure TServerVersionInformation.update(source: TServerVersionInformation);
FTerminologies.assign(source.Terminologies);
end;
end;


end.

end.
3 changes: 1 addition & 2 deletions server/xig_provider.pas
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,4 @@ function TXIGProvider.startLoad(types: TStringArray): TXigLoader;
end;
end;

end.

end.
3 changes: 3 additions & 0 deletions utilities/codescan/codescan.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
<TargetCPU Value="x86_64"/>
<TargetOS Value="linux"/>
</CodeGeneration>
<Other>
<Compiler>-O2 -Xs</Compiler>
</Other>
</CompilerOptions>
</Item>
<Item Name="osx">
Expand Down

0 comments on commit b57e201

Please sign in to comment.