Skip to content

Commit 5e4404f

Browse files
author
Grahame Grieve
committed
fix shutdown issues and remove xig and packages endpoints + remove logging
1 parent bd1ef96 commit 5e4404f

18 files changed

Lines changed: 65 additions & 4509 deletions

library/ftx/ftx_service.pas

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -687,32 +687,17 @@ function TConceptDesignations.langCode: String;
687687
function TConceptDesignations.displayCount(langList : THTTPLanguageList; defLang : TIETFLang; displayOnly : boolean): integer;
688688
var
689689
cd : TConceptDesignation;
690-
s : String;
691690
begin
692-
if (langList = nil) then
693-
s := 'Check for display count. Langs = --'
694-
else
695-
s := 'Check for display count. Langs = '+langList.source;
696-
if (defLang = nil) then
697-
s := s + ', def = nil'
698-
else
699-
s := s + ', def = '+defLang.code;
700-
Logging.log(s);
701-
for cd in designations do
702-
Logging.log(' *'+cd.present);
703-
704691
result := 0;
705692
for cd in FDesignations do
706693
if (not displayOnly or cd.base or isDisplay(cd)) and langsMatch(langList, cd.language, lmtFull, defLang) and (cd.value <> nil) then
707694
begin
708-
Logging.log('count #1 '+cd.present);
709695
inc(result);
710696
end;
711697
if result = 0 then
712698
for cd in FDesignations do
713699
if (not displayOnly or cd.base or isDisplay(cd)) and langsMatch(langList, cd.language, lmtLangRegion, defLang) and (cd.value <> nil) then
714700
begin
715-
Logging.log('count #2 '+cd.present);
716701
inc(result);
717702
end;
718703
end;

packages/fhir.lpk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@
367367
<Filename Value="..\library\fhir\fhir_tx.pas"/>
368368
<UnitName Value="fhir_tx"/>
369369
</Item>
370+
<Item>
371+
<Filename Value="..\library\fhir\fhir_vcl.pas"/>
372+
<UnitName Value="fhir_vcl"/>
373+
</Item>
370374
</Files>
371375
<RequiredPkgs>
372376
<Item>

packages/fhir.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface
2828
v2_protocol, dicom_dictionary, dicom_jpegls, dicom_objects, dicom_parser,
2929
dicom_writer, ftx_lang, fhir_healthcard, fhir_context, fhir_icao,
3030
fhir_qrcode, qrcodegen, fhir_colour_utils, fhir_package_upload,
31-
fhir_tools_settings, fhir_extensions, fhir_tx, LazarusPackageIntf;
31+
fhir_tools_settings, fhir_extensions, fhir_tx, fhir_vcl, LazarusPackageIntf;
3232

3333
implementation
3434

server/FHIRServer.dpr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ uses
123123
endpoint_full in 'endpoint_full.pas',
124124
endpoint_icao in 'endpoint_icao.pas',
125125
endpoint_loinc in 'endpoint_loinc.pas',
126-
endpoint_packages in 'endpoint_packages.pas',
127126
endpoint_snomed in 'endpoint_snomed.pas',
128127
endpoint_storage in 'endpoint_storage.pas',
129128
endpoint_twilio in 'endpoint_twilio.pas',

0 commit comments

Comments
 (0)