Stream: pascal
Topic: github-bot
FHIRServer bot (Feb 07 2019 at 05:15):
GitHub webhook has been successfully configured by grahamegrieve
FHIRServer bot (Feb 07 2019 at 05:16):
grahamegrieve pushed 1 commit to branch master.
- test github hook (452afb9)
FHIRServer bot (Feb 07 2019 at 10:25):
grahamegrieve pushed 1 commit to branch master.
- Start implementing Conversion Engine (65eb746)
FHIRServer bot (Feb 16 2019 at 03:09):
grahamegrieve pushed 1 commit to branch master.
- ongoing work on javacript implementation (a081c9f)
FHIRServer bot (Feb 17 2019 at 15:05):
grahamegrieve pushed 1 commit to branch master.
- fix to compile (eb85f43)
FHIRServer bot (Feb 18 2019 at 05:48):
grahamegrieve pushed 1 commit to branch master.
- more fixing compile issues (ee27304)
FHIRServer bot (Feb 19 2019 at 01:17):
grahamegrieve pushed 1 commit to branch master.
- remove hints and warnings (5779b19)
FHIRServer bot (Feb 19 2019 at 18:08):
grahamegrieve pushed 1 commit to branch master.
- rename TDateTimeEx to TFslDateTime, and fix remaining compile problems (55bb446)
FHIRServer bot (Feb 20 2019 at 05:55):
grahamegrieve pushed 1 commit to branch master.
- Javascript fixes and Smart on FHIR fixes (76478a5)
FHIRServer bot (Feb 20 2019 at 07:08):
grahamegrieve pushed 1 commit to branch master.
- commonmark support for strikethrough (cc47769)
FHIRServer bot (Feb 21 2019 at 00:18):
grahamegrieve pushed 1 commit to branch master.
- more work on Smart App Launch Conformance (d80428a)
FHIRServer bot (Feb 21 2019 at 02:42):
grahamegrieve pushed 1 commit to branch master.
- More work on OAuth login (7b98dfc)
FHIRServer bot (Feb 21 2019 at 03:56):
grahamegrieve pushed 1 commit to branch master.
- allow password rescue on admin account (06e4597)
FHIRServer bot (Feb 21 2019 at 03:59):
grahamegrieve pushed 1 commit to branch master.
- oops - fix (d4cf6ab)
FHIRServer bot (Feb 21 2019 at 08:49):
grahamegrieve pushed 1 commit to branch master.
- fix SCIM editor (2257c0c)
FHIRServer bot (Feb 24 2019 at 10:27):
grahamegrieve pushed 1 commit to branch master.
- various minor fixes to get tests passing and for the coming of R5 (427ba7e)
FHIRServer bot (Mar 02 2019 at 05:46):
grahamegrieve pushed 1 commit to branch master.
- fix RemoveAccents to work properly (86a4c24)
FHIRServer bot (Mar 04 2019 at 04:26):
grahamegrieve pushed 1 commit to branch master.
- fix problems with r2 terminology server (fe4d2af)
FHIRServer bot (Mar 13 2019 at 23:02):
grahamegrieve pushed 1 commit to branch master.
- fhir server load single package (c101c06)
FHIRServer bot (Mar 15 2019 at 02:01):
grahamegrieve pushed 16 commits to branch master.
- release tolkit (512d127)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (c9f6639)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (604c8dd)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (8b276dd)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (c9c1d5a)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (01f9676)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (a4b86a5)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (2c9efc8)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (7286b66)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (3de4272)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (e7d6883)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (08955aa)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (57933bb)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (b9f66d1)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (e0021dd)
- update for releases (27b6629)
FHIRServer bot (Mar 15 2019 at 02:29):
grahamegrieve pushed 2 commits to branch master.
- upgrade LOINC (875e14a)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (671bb30)
FHIRServer bot (Mar 21 2019 at 01:26):
grahamegrieve pushed 1 commit to branch master.
- Add NDC code support (99f3060)
FHIRServer bot (Apr 05 2019 at 00:44):
grahamegrieve pushed 1 commit to branch master.
- UTG development for HL7 (eabfbf8)
FHIRServer bot (Apr 05 2019 at 01:18):
grahamegrieve pushed 1 commit to branch master.
- fix to compile (64eb7c4)
FHIRServer bot (Apr 06 2019 at 21:39):
grahamegrieve pushed 1 commit to branch master.
- Add tests for TFHIRObject.dropEmpty (33367fe)
FHIRServer bot (Apr 08 2019 at 18:04):
costateixeira pushed 10 commits to branch master.
- Adding SSL to FDownload (564793f)
- Merge remote-tracking branch 'origin/master' (ca98d37)
- Merge remote-tracking branch 'origin/master' (d9a7f1b)
- Merge remote-tracking branch 'origin/master' (0a1ca4a)
- Merge remote-tracking branch 'origin/master' (1c983ab)
- Merge remote-tracking branch 'origin/master' (89a7798)
- Merge remote-tracking branch 'origin/master' (c4ef178)
- Merge remote-tracking branch 'origin/master' (9c2ba05)
- IG Publisher rework (a2afe49)
- Merge remote-tracking branch 'origin/master' (05cf900)
Jose Costa Teixeira (Apr 08 2019 at 18:08):
That seems a lot, but it was just me messing with the kraken...
Jose Costa Teixeira (Apr 09 2019 at 20:06):
IG Editor is working, added the "Project" menu to the toolkit form, which contains "Repository" (perhaps should have called it "source") and "Publish".
Jose Costa Teixeira (Apr 09 2019 at 20:07):
Repository / Source button should serve to
a) navigate to / create the folder structure (e.g. create a "source" and "publish"...)
b) git stuff (will do that soon)
Grahame Grieve (Apr 09 2019 at 20:08):
I'll do a new release shortly
Jose Costa Teixeira (Apr 09 2019 at 20:08):
Publish button will open a window depending if it is a ExampleScenario or IG.
Jose Costa Teixeira (Apr 09 2019 at 20:10):
and allows to check dependencies (currently only Jekyll because I was only looking at that)
Jose Costa Teixeira (Apr 09 2019 at 20:11):
Next i will be working on robustness, adding the rest of the IG resource (only supports Definition now), and the Import from .Docx is almost working but I need to get the folder structure in order. (i use pandoc to create some files in a temp folder)
Grahame Grieve (Apr 09 2019 at 20:11):
I don't know that it's worth supporting editing manifest, given it's definition
Jose Costa Teixeira (Apr 09 2019 at 20:12):
ok that leaves dependsOn and Global
Jose Costa Teixeira (Apr 09 2019 at 20:13):
I will get the buttons working (git push/pull/commit, explore, command prompt)
Jose Costa Teixeira (Apr 11 2019 at 19:04):
for git:
the command line is pretty opaque: I can do
1 git pull,
2. git add -- all + git commit
3. git push
This requires that the repo is setup, and at some point this would require the username and password.
Even if I get this running in a separate command line that the user can still do other stuff, isn't this too binding? is this behaviour universal? or is there any way we could make this better?
FHIRServer bot (Apr 14 2019 at 18:28):
costateixeira pushed 3 commits to branch master.
- PoC implementation of GIT for IG (2116137)
- Add DependsOn to IG Editor (33ceb23)
- Add ImplementationGuide.Definition.Resource.version (9c4cb0d)
FHIRServer bot (Apr 23 2019 at 18:32):
costateixeira pushed 1 commit to branch master.
- Fix IG editor (0125a33)
FHIRServer bot (May 03 2019 at 08:49):
grahamegrieve pushed 4 commits to branch master.
- fix bug where _filter syntax does not work for system search parmaeters (e0fdc8a)
- improve expansion error messages (152cb53)
- fix error when editing code systems (43bb2e2)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (6fe2c5c)
FHIRServer bot (May 03 2019 at 09:32):
grahamegrieve pushed 1 commit to branch master.
- fix toolkit R3 compile (9528c14)
FHIRServer bot (May 04 2019 at 14:36):
grahamegrieve pushed 1 commit to branch master.
- allow registration without login (9626c68)
FHIRServer bot (May 05 2019 at 13:06):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (May 05 2019 at 16:25):
grahamegrieve pushed 1 commit to branch master.
- fix bug sending email (37b937b)
FHIRServer bot (May 06 2019 at 23:01):
grahamegrieve pushed 1 commit to branch master.
- fixes for code system editor (65086c7)
FHIRServer bot (May 29 2019 at 06:26):
grahamegrieve pushed 1 commit to branch master.
- add usage stats support (0a009ae)
FHIRServer bot (May 29 2019 at 07:16):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (May 30 2019 at 21:28):
grahamegrieve pushed 1 commit to branch master.
- Add CORS to usage-stats (8e6f866)
FHIRServer bot (Jun 19 2019 at 07:11):
costateixeira pushed 1 commit to branch master.
- Added "Run ToolkitR4" option at end of installer (6a6c9b7)
FHIRServer bot (Jun 22 2019 at 20:36):
grahamegrieve pushed 2 commits to branch master.
- fix up snomed import (10056f0)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (99f0b0b)
FHIRServer bot (Jun 23 2019 at 14:47):
costateixeira pushed 1 commit to branch master.
- Updates to toolkit IG Editor (19d5e7c)
FHIRServer bot (Jun 25 2019 at 22:13):
costateixeira pushed 1 commit to branch master.
- Added "copy console to clipboard" in ig editor build (6e4ce74)
FHIRServer bot (Jun 26 2019 at 14:47):
costateixeira pushed 1 commit to branch master.
- Removed ExpansionProfile from resource search (a6028d6)
FHIRServer bot (Jul 13 2019 at 21:18):
grahamegrieve pushed 12 commits to branch master.
- Use ParserException when parsing JSON (9562f75)
- Fix for compiler magic types (7bfe490)
- Add IGPublisher Wrapper (c247dd3)
- compile fixes (af674e1)
- add Json/XML checking (42a0298)
- minor fixes to CapabilityStatement editing (5134130)
- SDC alignment (8fa6f06)
- UTG work (1620ac1)
- check valid id (d9045fc)
- UTG support (5d0fb43)
- R5 generator (0db8a23)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (e69c324)
FHIRServer bot (Jul 15 2019 at 10:15):
grahamegrieve pushed 1 commit to branch master.
- add missing files (28115f1)
FHIRServer bot (Jul 25 2019 at 09:19):
grahamegrieve pushed 1 commit to branch master.
- fix install issues (0cd7880)
Anil Subbarao (Jul 25 2019 at 18:12):
Hello, I am totally new to this. Is there a Lazarus/FPC version around? Any thoughts? Many of use MacBooks and Delphi does not run native on them.
Grahame Grieve (Jul 25 2019 at 21:15):
I would love to have a lazarus version, but I haven't figured out how to get some of the code compiling on lazarus yet. In particular, some of the generics - was supposed to work on FPC 3, but does not. Feel free to crack that. there's a lazarus project that fails on a line in TFSLList, I think
FHIRServer bot (Aug 24 2019 at 21:03):
grahamegrieve pushed 1 commit to branch master.
- fix to restore audit event creation (2f8d7ce)
FHIRServer bot (Aug 26 2019 at 11:55):
grahamegrieve pushed 1 commit to branch master.
- Support common extensions on CapabilityStatement (76c2312)
FHIRServer bot (Aug 26 2019 at 12:11):
grahamegrieve pushed 1 commit to branch master.
- fix default date (747f2df)
FHIRServer bot (Aug 26 2019 at 13:40):
grahamegrieve pushed 1 commit to branch master.
- fix code system editor isssues (e34b605)
FHIRServer bot (Aug 29 2019 at 23:29):
grahamegrieve pushed 1 commit to branch master.
- Fix bug missing session on audit events (1b0dabe)
FHIRServer bot (Aug 30 2019 at 00:29):
grahamegrieve pushed 1 commit to branch master.
- Improve CapabilityStatement editor (bbc3846)
FHIRServer bot (Sep 02 2019 at 03:35):
grahamegrieve pushed 1 commit to branch master.
- fix loinc answer list look up + fix error messages (64c7086)
Jose Costa Teixeira (Sep 02 2019 at 08:09):
(deleted)
FHIRServer bot (Sep 06 2019 at 00:40):
grahamegrieve pushed 1 commit to branch master.
- tool kit fixes for Jessica (dbe4ed5)
FHIRServer bot (Sep 06 2019 at 00:50):
grahamegrieve pushed 1 commit to branch master.
- better cross version support (17d672f)
FHIRServer bot (Sep 06 2019 at 00:52):
grahamegrieve pushed 1 commit to branch master.
- Extend server to track auditevents against patients (8af5e09)
FHIRServer bot (Sep 06 2019 at 04:05):
grahamegrieve pushed 1 commit to branch master.
- fix loading issue for R4 (2c4a5bc)
FHIRServer bot (Sep 06 2019 at 06:50):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Sep 07 2019 at 13:33):
costateixeira pushed 1 commit to branch master.
- Some fixes on installer (dee1f51)
FHIRServer bot (Sep 08 2019 at 08:20):
costateixeira pushed 2 commits to branch master.
FHIRServer bot (Sep 08 2019 at 21:15):
grahamegrieve pushed 2 commits to branch master.
- fix start up bug (52c9012)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (f49fccb)
FHIRServer bot (Sep 09 2019 at 06:06):
grahamegrieve pushed 1 commit to branch master.
- fix bugs in install (20ad370)
FHIRServer bot (Sep 09 2019 at 06:45):
grahamegrieve pushed 1 commit to branch master.
- try fix install (92c8bc9)
FHIRServer bot (Sep 09 2019 at 07:25):
grahamegrieve pushed 1 commit to branch master.
- refactor connection management to prevent deadlock? (247b69f)
FHIRServer bot (Sep 09 2019 at 07:39):
grahamegrieve pushed 1 commit to branch master.
- more connection management fixes (141a765)
Grahame Grieve (Sep 09 2019 at 07:47):
I think that will fix it
Jose Costa Teixeira (Sep 09 2019 at 08:08):
10:07:09 64 : Process hl7.fhir.core#4.0.0 Encounter/f001 10:07:09 586: Encounter/f001 10:07:10 EAccessViolation: Access violation at address 0000000000C2C8BD in module 'FHIRServer.exe'. Read of address 0000000000000028
Jose Costa Teixeira (Sep 09 2019 at 08:10):
that is the "glass is still half empty" part
Jose Costa Teixeira (Sep 09 2019 at 08:10):
but it is already half full:
10:06:44 51: Claim/100150 10:06:44 60 : Process hl7.fhir.core#4.0.0 Claim/100152 10:06:44 52: Claim/100152 10:06:44 60 : Process hl7.fhir.core#4.0.0 Claim/660151 10:06:44 53: Claim/660151 10:06:44 60 : Process hl7.fhir.core#4.0.0 Claim/660152 10:06:44 54: Claim/660152 10:06:44 60 : Process hl7.fhir.core#4.0.0 Claim/760151 10:06:44 55: Claim/760151
Jose Costa Teixeira (Sep 09 2019 at 08:10):
it neatly goes beyond the previous critical point
Grahame Grieve (Sep 09 2019 at 11:29):
Ok what’s the stack for the access violation?
Jose Costa Teixeira (Sep 09 2019 at 12:35):
FHIR.Server.Database.TFHIRNativeOperationEngine.ExecuteCreate($1D580370,$38F47E20,$19B32B40,idMaybeNew,0)
FHIR.Server.Database.TFHIRNativeOperationEngine.ExecuteUpdate($1D580370,$38F47E20,$19B32B40)
FHIR.Server.Database.TFHIRNativeOperationEngine.commitResource($38F47E20,$19B32B40,True,$38B658E0,586,$36525E60,$CCFE720,$397C63F0)
FHIR.Server.Database.TFHIRNativeOperationEngine.ExecuteTransaction($1F3B8480,$38F47E20,$19B32B40)
FHIR.Server.Storage.TFHIROperationEngine.Execute($1F3B8480,$38F47E20,$19B32B40)
FHIR.Server.Web.TFhirWebServerEndpoint.ProcessRequest($1F3B8480,$38F47E20,$19B32B40)
Jose Costa Teixeira (Sep 09 2019 at 14:44):
latest I could see so far befor the big bang:
FHIR.Server.IndexingR4, line 368
breakpoint if ((resource.id='f001') and (resource.FhirType='Encounter'))
Jose Costa Teixeira (Sep 09 2019 at 14:44):
line where it crashes is FHIR.Server.IndexingR4 , line 792,
canonical := FTerminologyServer.CommonTerminologies.Ucum.getCanonicalForm(specified);
Jose Costa Teixeira (Sep 09 2019 at 15:25):
my breakpoint to get there:
Jose Costa Teixeira (Sep 09 2019 at 15:26):
FHIR.Server.IndexingR4, line 392,
index(resource.fhirType, key, 0, TFhirQuantity(work), ndx.Name)
Breakpoint condition:
((resource.id='f001') and (resource.FhirType='Encounter') and (i=987))
Jose Costa Teixeira (Sep 09 2019 at 15:30):
immediately after this point, it will crash on line 792
Jose Costa Teixeira (Sep 09 2019 at 17:21):
...because it calls TUcumServices.getCanonicalForm
Jose Costa Teixeira (Sep 09 2019 at 17:21):
which in line 409 attempts to do this
TUcumExpressionParser.Parse(FModel, value.UnitCode)
Jose Costa Teixeira (Sep 09 2019 at 17:23):
but here, in that case, FModel is not declared
Jose Costa Teixeira (Sep 09 2019 at 17:23):
this is where it crashes
Grahame Grieve (Sep 09 2019 at 19:59):
FModel is not declared
not initialised?
Jose Costa Teixeira (Sep 09 2019 at 20:13):
yes, not initialised.
Jose Costa Teixeira (Sep 10 2019 at 05:06):
Fixable? I have a flight ahead of me, if there's anything I can do...
Jose Costa Teixeira (Sep 10 2019 at 05:06):
Otherwise we look at this later
Grahame Grieve (Sep 10 2019 at 06:22):
don't know. I'll look at it during my flight (I have wifi this time)
FHIRServer bot (Sep 10 2019 at 08:13):
grahamegrieve pushed 1 commit to branch master.
- fix bug when no ucum loaded + add xkcd reference (8a102f3)
Grahame Grieve (Sep 10 2019 at 08:14):
ah ok - you haven't loaded UCUM. you really should. But... the code should check whether UCUM is loaded. So checked that in, and try again
Jose Costa Teixeira (Sep 10 2019 at 15:05):
Still same issue. How do I get ucum in?
Grahame Grieve (Sep 10 2019 at 19:28):
That doesn’t make sense. But you configure ucum in your fhirserver.ini
FHIRServer bot (Sep 11 2019 at 07:06):
grahamegrieve pushed 1 commit to branch master.
- more dealing with UCUM not configured (25429ea)
Grahame Grieve (Sep 11 2019 at 07:07):
try again...
Jose Costa Teixeira (Sep 11 2019 at 08:10):
i saw that the ini section for termonology is changed last year or so. i got it working with ucum
Jose Costa Teixeira (Sep 11 2019 at 13:43):
so now only issue remaining is that my capstatement by default just allows me to read stuff:
pasted image
Jose Costa Teixeira (Sep 11 2019 at 13:54):
perhaps this is why i get this when posting a patient
{ "resourceType": "OperationOutcome", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Operation Create not allowed for resource Patient (due to local configuration)</p></div>" }, "issue": [ { "severity": "error", "code": "forbidden", "diagnostics": "Operation Create not allowed for resource Patient (due to local configuration)" } ] }
Grahame Grieve (Sep 11 2019 at 13:55):
it's in the config somewhere at set up...
Jose Costa Teixeira (Sep 11 2019 at 19:33):
dr := FIni.admin['default-rights']; if (dr = '') then begin case securityMode of ismOpenAccess : FIni.admin['default-rights'] := 'openid,fhirUser,profile,user/*.*'; ismClosedAccess : FIni.admin['default-rights'] := 'openid,fhirUser,profile'; ismReadOnly : FIni.admin['default-rights'] := 'openid,fhirUser,profile,user/*.read'; ismTerminologyServer : FIni.admin['default-rights'] := 'openid,fhirUser,profile,user/CodeSystem.read,user/ConceptMap.read,user/ValueSet.read' end; dr := FIni.admin['default-rights']; end; if (dr = '') then raise EFHIRException.create('You must define some default rights for SCIM users in the ini file');
Jose Costa Teixeira (Sep 11 2019 at 19:34):
dr := FIni.admin['default-rights'];
won't ever get run, it seems.
Jose Costa Teixeira (Sep 11 2019 at 19:34):
i'll check it later, i think we need an "else" there
Jose Costa Teixeira (Sep 12 2019 at 01:26):
Problem 1 identified - databases were not dropped because in mysql they are forced to lowercase
Grahame Grieve (Sep 12 2019 at 03:33):
and so drop doesn't do the same thing? weird
Jose Costa Teixeira (Sep 12 2019 at 13:19):
It works!
Jose Costa Teixeira (Sep 12 2019 at 13:20):
(the surprising bit here is that it works in my machine)
Grahame Grieve (Sep 12 2019 at 13:26):
great
Jose Costa Teixeira (Sep 13 2019 at 21:42):
To keep this portable, and since I'm not sure I should deploy MySQL binaries, i'll make a batch file to:
1. Download MySQL (or more likely mariaDB) and unzip
2. Deploy a standard my.ini to the db
3. Deploy any other batch files that I use for one-click setup. Most likely 3-click setup, 1-click run.
Grahame Grieve (Sep 14 2019 at 10:33):
ok
Jose Costa Teixeira (Sep 14 2019 at 10:34):
just realized i forgot odbc... that thing is the only non-portable component...
Jose Costa Teixeira (Sep 14 2019 at 10:35):
i will see if anything can be done
Grahame Grieve (Sep 14 2019 at 10:41):
it's not unreasonable to have some pre-conditions such as ODBC drivers
Grahame Grieve (Sep 14 2019 at 10:42):
but if was writing a standalone server, I'd use SQLLite not mysql
Grahame Grieve (Sep 14 2019 at 10:42):
no dependencies other than the sqllite dll then
Jose Costa Teixeira (Sep 14 2019 at 10:49):
oh that is right. I remember using sqlite a few years ago. i will see if the code supports it.
Grahame Grieve (Sep 14 2019 at 10:50):
currently it does
FHIRServer bot (Sep 14 2019 at 11:27):
costateixeira pushed 2 commits to branch master.
- changes to toolkit publishers - ES and IG (f59c1d3)
- Rework ExampleScenario and ImplementationGuide rendering (65e0200)
Jose Costa Teixeira (Sep 14 2019 at 17:12):
on SQLite, server seems to get stuck at loading r4, Uploading ValueSet Members
Jose Costa Teixeira (Sep 14 2019 at 17:25):
Oh no it doesn't. Seems to be gone through it after i changed some sqlite settings
Grahame Grieve (Sep 14 2019 at 17:42):
yes it won't be as fast
FHIRServer bot (Sep 15 2019 at 09:08):
grahamegrieve pushed 2 commits to branch master.
- install packages automatically (911d32e)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (9261373)
Jose Costa Teixeira (Sep 15 2019 at 10:42):
That's impressive. Thanks!
Jose Costa Teixeira (Sep 15 2019 at 10:43):
So, just tested it :
from scratch, took 40 minutes to install the packages and mount the database.
Grahame Grieve (Sep 15 2019 at 10:43):
that's not too bad
Jose Costa Teixeira (Sep 15 2019 at 10:47):
not at all
Jose Costa Teixeira (Sep 15 2019 at 10:47):
Jose Costa Teixeira (Sep 15 2019 at 10:48):
this is it after mounting the DB, and including loinc
Jose Costa Teixeira (Sep 15 2019 at 10:50):
zipped before mounting = 170 MB. mostly loinc, executables and validator
Jose Costa Teixeira (Sep 15 2019 at 10:53):
can save extra 75 MB if by upx'ing the executables
FHIRServer bot (Sep 15 2019 at 19:02):
costateixeira pushed 3 commits to branch master.
- Just Prettier code (96393a4)
- Fix Rendering location for example Scenario (8f47639)
- Add 1-Click server (d6f5843)
FHIRServer bot (Sep 15 2019 at 19:06):
costateixeira pushed 2 commits to branch master.
FHIRServer bot (Sep 15 2019 at 21:01):
costateixeira pushed 1 commit to branch master.
- Fix ExampleScenario and remove ImplementationGuide Editor for release (0789164)
FHIRServer bot (Sep 16 2019 at 13:23):
grahamegrieve pushed 2 commits to branch master.
- make CapabilityStatement valid (1df52cd)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (c683630)
Grahame Grieve (Sep 17 2019 at 16:06):
@Jose Costa Teixeira what unit is winapi.shellax ?
Grahame Grieve (Sep 17 2019 at 16:16):
no sorted
FHIRServer bot (Sep 17 2019 at 16:36):
costateixeira pushed 1 commit to branch master.
- fix copy-paste in Uses clause (9d9e5a1)
Jose Costa Teixeira (Sep 17 2019 at 16:36):
that's a mistake. Just recommitted
Jose Costa Teixeira (Sep 17 2019 at 16:36):
sorry
FHIRServer bot (Sep 18 2019 at 12:10):
grahamegrieve pushed 2 commits to branch master.
- compile fixes (58d90ab)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (fe02f80)
Jose Costa Teixeira (Sep 18 2019 at 12:44):
the IG Publisher form and the new template make "my" IG Publihser redundant. So I can remove that
Jose Costa Teixeira (Sep 18 2019 at 12:45):
Can I call the ig publisher with a command line parameter from code? Or I make the folder a public variable?
Grahame Grieve (Sep 18 2019 at 12:46):
it takes the folder as a parameter
Grahame Grieve (Sep 18 2019 at 12:46):
but I guess I'll have to distribute it
Jose Costa Teixeira (Sep 18 2019 at 12:50):
i am just not sure how to do this from code. I don't call an executable, I would just like to do this from the IG Editor:
IGRootFolder := extractfiledir(frame.filename); {Publisher=TPublisherForm.create... Publisher.folder = IGRootFolder}
Grahame Grieve (Sep 18 2019 at 12:51):
guess you could do that too, yes
Jose Costa Teixeira (Sep 18 2019 at 12:51):
i will declare a public var on the IGPublisher and use that, then
Grahame Grieve (Sep 18 2019 at 12:52):
have to change the end of FormCreate
Jose Costa Teixeira (Sep 18 2019 at 12:58):
not FormCreate, but FormShow, right?
Jose Costa Teixeira (Sep 18 2019 at 12:58):
when create runs, the variable does not exist still, so i cannot give it a value
Jose Costa Teixeira (Sep 18 2019 at 13:33):
ok, so I got it calling the publisher, but the publisher hangs
Jose Costa Teixeira (Sep 18 2019 at 13:33):
I am calling it with
PublisherForm:=TPublisherForm.create(self); PublisherForm.IGtoPublish:=IGRootFolder; PublisherForm.ShowModal;
Grahame Grieve (Sep 18 2019 at 14:20):
the java process hangs?
Jose Costa Teixeira (Sep 18 2019 at 14:27):
i think it was just a missing application.processmessages
Grahame Grieve (Sep 18 2019 at 14:27):
that'd do it
Jose Costa Teixeira (Sep 18 2019 at 14:28):
can i put one in TPublisherForm.timer1timer?
Jose Costa Teixeira (Sep 18 2019 at 15:25):
Done, seems to work.
Jose Costa Teixeira (Sep 18 2019 at 15:26):
Now, what do we do with this?
FJarFile := FIni.ReadString('tools', 'jar', 'C:\work\org.hl7.fhir\latest-ig-publisher\org.hl7.fhir.publisher.jar'); FCompare := FIni.ReadString('tools', 'compare', 'C:\Program Files (x86)\WinMerge\WinMergeU.exe');
Grahame Grieve (Sep 18 2019 at 15:26):
hmm. I'm open to suggestions
Jose Costa Teixeira (Sep 18 2019 at 15:27):
according to the template and recent discussions with lloyd, we can look for the jar in two places
.\input-cache
..\
Jose Costa Teixeira (Sep 18 2019 at 15:28):
.\ is the ig file folder
Grahame Grieve (Sep 18 2019 at 15:28):
we could look there before trying the ini file
Grahame Grieve (Sep 18 2019 at 15:29):
I object to having the jar file committed to the repo, but it seems that I lose that one
Jose Costa Teixeira (Sep 18 2019 at 15:29):
ini file means "we can store the location to these binaries in an ini file for the toolkit"?
Jose Costa Teixeira (Sep 18 2019 at 15:30):
I object to having the jar file committed to the repo, but it seems that I lose that one
the template has some .bat that gets the jar. why not explore that?
Jose Costa Teixeira (Sep 18 2019 at 15:31):
this btw is why I ran a .bat, not the jar directly
Jose Costa Teixeira (Sep 18 2019 at 15:32):
OR (suggestion),
can we just have a "download jar" button?
Grahame Grieve (Sep 18 2019 at 15:40):
have to work with the existing structures. but could have a button
Jose Costa Teixeira (Sep 18 2019 at 15:41):
(lunch talk about this?)
I need to see how to get the current folder of the IG...
Grahame Grieve (Sep 18 2019 at 15:42):
I'm busy at lunch
Jose Costa Teixeira (Sep 18 2019 at 15:43):
ok, i will add a global variable on the publisher form. if you think that's cheating let me know
Jose Costa Teixeira (Sep 18 2019 at 18:39):
well, that almost works...
Publishing Content Failed: Error Reading JSON Config file at C:\HL7\IGs\hl7be\input: C:\HL7\IGs\hl7be\input (Access is denied) (00:00.0328) (00:00.0329) Use -? to get command line help (00:00.0329) (00:00.0330) Stack Dump (for debugging): (00:00.0331) java.lang.Exception: Error Reading JSON Config file at C:\HL7\IGs\hl7be\input: C:\HL7\IGs\hl7be\input (Access is denied) at org.hl7.fhir.igtools.publisher.Publisher.initializeFromJson(Publisher.java:1512)
Jose Costa Teixeira (Sep 18 2019 at 18:39):
any idea?
Jose Costa Teixeira (Sep 18 2019 at 18:41):
ah wait
Jose Costa Teixeira (Sep 18 2019 at 18:55):
ok, it started.
Jose Costa Teixeira (Sep 18 2019 at 18:56):
I am not excited about the way it unloads the console results to the memo in batches.
Jose Costa Teixeira (Sep 18 2019 at 18:57):
I mean, now i know it is doing something but it does not show the latest output console...
Jose Costa Teixeira (Sep 18 2019 at 18:57):
also, and more concerning: did this thing delete all my user cache packages?
Jose Costa Teixeira (Sep 18 2019 at 18:58):
I had my IG templates there... :sob:
Grahame Grieve (Sep 18 2019 at 19:07):
Should not have
FHIRServer bot (Sep 18 2019 at 19:40):
costateixeira pushed 1 commit to branch master.
- Trigger IG Publisher from IGEditor (b783011)
Jose Costa Teixeira (Sep 18 2019 at 19:41):
Should not have
one second it was there, right after running the toolkit it complained that the package was no longer there.
Jose Costa Teixeira (Sep 23 2019 at 07:49):
when using the IG Publisher from within the toolkit (by creating the form) i had issues with focus. I am now reverting to just calling a command line, should be easier
FHIRServer bot (Sep 29 2019 at 10:36):
grahamegrieve pushed 2 commits to branch master.
- fix database sequence error (d5e7a6f)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (8b7a8cd)
FHIRServer bot (Oct 03 2019 at 05:49):
grahamegrieve pushed 1 commit to branch master.
- prepare publisher for general release (b6bb5c2)
FHIRServer bot (Oct 03 2019 at 05:50):
grahamegrieve pushed 1 commit to branch master.
- better handling of whitespace in display names (2b8c792)
FHIRServer bot (Oct 04 2019 at 12:52):
grahamegrieve pushed 1 commit to branch master.
- improve debugging (b0ef6dc)
FHIRServer bot (Oct 06 2019 at 08:01):
costateixeira pushed 1 commit to branch master.
- Call Publisher from toolkit main window (7c186a5)
FHIRServer bot (Oct 06 2019 at 10:33):
costateixeira pushed 1 commit to branch master.
- remove usage of IG in parent folder (f16f03c)
FHIRServer bot (Oct 08 2019 at 00:05):
grahamegrieve pushed 2 commits to branch master.
- fix problem with database connection in tx admin (bcd76f8)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (752ff72)
FHIRServer bot (Oct 26 2019 at 12:29):
grahamegrieve pushed 3 commits to branch master.
- add support for parameter value in common (cb7796c)
- Update FMM4 for OSX 64bit support (doesn't work) (862593c)
- fix broken paths in Tx form (db28805)
FHIRServer bot (Oct 26 2019 at 12:33):
grahamegrieve pushed 2 commits to branch master.
- LLVM compiler support (ad1885e)
- fix leaks in server + major: fix snomed registration problem & fix missing snomed version parameter (ab706f7)
FHIRServer bot (Nov 05 2019 at 06:24):
grahamegrieve pushed 1 commit to branch master.
- Changes for R3 and R4 technical corrections (cc50898)
FHIRServer bot (Nov 05 2019 at 09:44):
grahamegrieve pushed 1 commit to branch master.
- nore work on package management (c3d8787)
FHIRServer bot (Nov 05 2019 at 10:14):
grahamegrieve pushed 1 commit to branch master.
- more package updates (5f2ac7d)
FHIRServer bot (Nov 07 2019 at 22:52):
grahamegrieve pushed 4 commits to branch master.
- more R4 technical correction changes (43e62b4)
- update fastmm options (f8475c1)
- More R4 technical correction changes (2e0bcdd)
- update projects (10b8798)
FHIRServer bot (Nov 08 2019 at 00:32):
grahamegrieve pushed 1 commit to branch master.
- fix to compile (bcb028f)
FHIRServer bot (Nov 08 2019 at 01:57):
grahamegrieve pushed 1 commit to branch master.
- compile fixes (02c579f)
FHIRServer bot (Nov 08 2019 at 21:18):
grahamegrieve pushed 3 commits to branch master.
- fix r4 technical correction bugs (42ceb36)
- move control of validation to database (fda5f04)
- fix date restriction for Mimic (2ca1a0c)
FHIRServer bot (Nov 11 2019 at 06:08):
grahamegrieve pushed 6 commits to branch master.
- fix $versions return values (cd1e937)
- change default timeout (228e609)
- add constant for current version (bba1fd2)
- fix package loading (a87a53f)
- fix toolkit loading issues (653f1c0)
- Add IG publisher support (a565d57)
FHIRServer bot (Nov 13 2019 at 06:58):
grahamegrieve pushed 1 commit to branch master.
- do version matching on may/min and ignore patch for $expand (2689c70)
FHIRServer bot (Nov 13 2019 at 10:22):
grahamegrieve pushed 1 commit to branch master.
- fix compile (4feb43e)
FHIRServer bot (Nov 13 2019 at 12:19):
grahamegrieve pushed 1 commit to branch master.
- fix loading problem (2dae8bb)
FHIRServer bot (Nov 13 2019 at 20:57):
costateixeira pushed 1 commit to branch master.
- Work on IG editor and ExampleScenario editor (1442687)
FHIRServer bot (Nov 13 2019 at 21:23):
costateixeira pushed 2 commits to branch master.
- Work on IG editor and ExampleScenario editor (cab1c13)
- Merge remote-tracking branch 'origin/master' (f0a91dd)
FHIRServer bot (Nov 14 2019 at 09:25):
grahamegrieve pushed 2 commits to branch master.
- fix scim paths (84ab771)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (161c03a)
FHIRServer bot (Nov 14 2019 at 11:19):
grahamegrieve pushed 1 commit to branch master.
- fix hints and warnings (efef6d3)
FHIRServer bot (Nov 14 2019 at 11:20):
grahamegrieve pushed 1 commit to branch master.
- fix OAuth login (eca6389)
FHIRServer bot (Nov 14 2019 at 12:05):
grahamegrieve pushed 1 commit to branch master.
- fix toolkit smart on FHIR login (2e824c8)
FHIRServer bot (Nov 14 2019 at 19:54):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Nov 14 2019 at 20:56):
grahamegrieve pushed 1 commit to branch master.
- More R OAuth Support (9c5ffc6)
FHIRServer bot (Nov 16 2019 at 16:13):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Nov 18 2019 at 07:54):
costateixeira pushed 1 commit to branch master.
- Fix some TabOrders (5d90b03)
FHIRServer bot (Nov 22 2019 at 06:06):
grahamegrieve pushed 2 commits to branch master.
- fix $closure operation, and update package infrastructure (f8b17ca)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (cf81af7)
FHIRServer bot (Nov 22 2019 at 06:08):
grahamegrieve pushed 1 commit to branch master.
- fix compile (914cc38)
FHIRServer bot (Nov 24 2019 at 15:20):
grahamegrieve pushed 1 commit to branch master.
- fix internal caching error for code systems with no versions (d71d04d)
FHIRServer bot (Nov 26 2019 at 05:21):
costateixeira pushed 1 commit to branch master.
- Add Belgium to supported SNOMED terminologies (43b8879)
Jose Costa Teixeira (Nov 26 2019 at 05:23):
I still get the error "unable to resolve status". I will try to debug that later. It's not urgent.
FHIRServer bot (Nov 27 2019 at 23:07):
grahamegrieve pushed 2 commits to branch master.
- debugging snomed problem, + upgrade to latest delphi _ fix bug in tx server (1bd20b7)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (e1742f5)
Jose Costa Teixeira (Nov 28 2019 at 00:02):
@Grahame Grieve this commit gives me an error
[dcc64 Error] FHIR.Base.Factory.pas(232): E2003 Undeclared identifier: 'TPackageLoadingInformation'
Am I missing something?
Grahame Grieve (Nov 28 2019 at 02:04):
no. I don't know what the deal is. it existed right up until my last commit
Jose Costa Teixeira (Nov 28 2019 at 15:00):
I think I had broken it. I just fixed it.
Jose Costa Teixeira (Nov 28 2019 at 15:00):
(committed an old file by mistake).
FHIRServer bot (Nov 28 2019 at 15:02):
costateixeira pushed 1 commit to branch master.
- Fix compile issue (6ae5d15)
FHIRServer bot (Dec 03 2019 at 09:03):
grahamegrieve pushed 1 commit to branch master.
- fix bug on server picking wrong snomed version (b7b34b5)
FHIRServer bot (Dec 06 2019 at 04:54):
grahamegrieve pushed 1 commit to branch master.
- fix toolkit to compile in OSX 64bit + rework package handling code (0a70b9b)
FHIRServer bot (Dec 06 2019 at 20:27):
costateixeira pushed 1 commit to branch master.
- Adding NL and ES to SNOMED import (7fcb303)
FHIRServer bot (Jan 08 2020 at 21:02):
grahamegrieve pushed 5 commits to branch master.
- add NamingSystem editor (673d1e7)
- fix bug in date time (f3d88ff)
- note belgium snomed module id (1a7370c)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (35b924f)
- rebuild generator for R5 (efcf204)
Jose Costa Teixeira (Jan 08 2020 at 21:44):
cool. I am still having issues with compiling, but I think it is because of the project's unit aliases or some library i am missing.
[dcc64 Error] FHIR.Cache.NpmPackage.pas(307): E2010 Incompatible types: 'TStringDynArray' and 'System.TArray<System.string>'
FHIRServer bot (Jan 09 2020 at 11:45):
grahamegrieve pushed 1 commit to branch master.
- finish R5 generation (b20c202)
Grahame Grieve (Jan 09 2020 at 12:01):
what version of delphi are you using?
Jose Costa Teixeira (Jan 09 2020 at 12:19):
10.2
Jose Costa Teixeira (Jan 09 2020 at 12:23):
I'm now reinstalling indy, there was a mixup in my lib paths.
Grahame Grieve (Jan 09 2020 at 12:36):
ok, try this:
FHIRServer bot (Jan 09 2020 at 12:37):
grahamegrieve pushed 1 commit to branch master.
- fox compile error (3a25ef2)
Jose Costa Teixeira (Jan 09 2020 at 12:37):
ah now i uninstalled indy and I don't see how to install it again.
Jose Costa Teixeira (Jan 09 2020 at 12:38):
let me pull and see what happens
Grahame Grieve (Jan 09 2020 at 12:38):
I don't know about installing indy. I use the current source
Jose Costa Teixeira (Jan 09 2020 at 12:38):
ok
Jose Costa Teixeira (Jan 09 2020 at 12:40):
[dcc64 Error] FHIR.Cache.NpmPackage.pas(453): E2010 Incompatible types: 'TStringDynArray' and 'System.TArray<System.string>'
Jose Costa Teixeira (Jan 09 2020 at 12:40):
still get the same issue
Grahame Grieve (Jan 09 2020 at 12:47):
how? you didn't get the change?
Grahame Grieve (Jan 09 2020 at 12:49):
hmm. try this one:
FHIRServer bot (Jan 09 2020 at 12:49):
grahamegrieve pushed 1 commit to branch master.
- fix to copmile? (2736134)
Jose Costa Teixeira (Jan 09 2020 at 12:50):
weird, it did not show in my ide... reopening
Jose Costa Teixeira (Jan 09 2020 at 12:53):
it's compiling...
Jose Costa Teixeira (Jan 09 2020 at 12:56):
....it's compiling...
Jose Costa Teixeira (Jan 09 2020 at 12:57):
compiles ok now
Jose Costa Teixeira (Jan 09 2020 at 13:01):
so i am now trying to run it, do I need to change R4 to R5?
Jose Costa Teixeira (Jan 09 2020 at 13:01):
I get this
Package hl7.fhir.core#4.0.0 ........14:00:58 00:00:03 EIOException: Unable to find package for http://hl7.org/fhir/R4: HTTP/1.1 404 Not Found
Grahame Grieve (Jan 09 2020 at 13:03):
hmm. something wrong there - I'll look tomorrow
Jose Costa Teixeira (Jan 09 2020 at 13:04):
my command line is
-cmd manager -password sa -ini ".\fhirserver.ini" -packages hl7.fhir.core#4.0.1 -endpoint r4 -mode open
Jose Costa Teixeira (Jan 09 2020 at 13:07):
ok so jfyi, this is the result of a remount
Jose Costa Teixeira (Jan 09 2020 at 13:08):
Command:
-cmd remount -password xxxx -ini ".\fhirserver.ini" -packages hl7.fhir.core#4.0.1 -endpoint r4 -mode open
Result:
2020-01-09-------------------------------- 14:08:46 00:00:00 FHIR Service 1.0.200. Using ini file .\fhirserver.ini with stack dumps on 14:08:46 00:00:00 Connect to dbr4 (SQLite:.\fhir4.db) 14:08:46 00:00:00 unmount database dbr4 14:08:46 00:00:00 done 14:08:46 00:00:00 Connect to dbr4 (SQLite:.\fhir4.db) 14:08:46 00:00:00 mount endpoint dbr4 14:08:47 00:00:01 done 14:08:47 00:00:01 Load Databases. Config file = .\fhirserver.ini 14:08:47 00:00:01 Connect to dbr4 (SQLite:.\fhir4.db) 14:08:47 00:00:01 Databases Loaded 14:08:47 00:00:01 Package hl7.fhir.r4.core#4.0.1 ok 14:08:47 00:00:01 Run Number 830 14:08:47 00:00:01 Load Common Terminologies 14:08:47 00:00:01 load ucum from .\ucum-essence.xml 14:08:47 00:00:01 load loinc from .\loinc\loinc_266.cache 14:08:47 00:00:01 Web source from .\web 14:08:47 00:00:01 Initialise endpoint r4 at /r4 for r4 14:08:47 00:00:01 .. check DB dbr4 14:08:47 00:00:01 .. load DB dbr4 14:08:47 00:00:01 .. keys 14:08:47 00:00:01 .. valuesets 14:08:47 00:00:01 .. tags 14:08:47 00:00:01 .. spaces 14:08:47 00:00:01 .. resources 14:08:47 00:00:01 .. rkeys 14:08:47 00:00:01 .. reconcile 14:08:49 00:00:03 .. Load Package hl7.fhir.r4.core#4.0.1 14:08:58 00:00:12 .. Load Stored Resources 14:08:58 00:00:12 .. Process Loaded Resources 14:08:58 00:00:12 .. Load Subscription Queue 14:08:58 00:00:12 Start Web Server: 14:08:58 00:00:12 http: listen on 960 14:08:58 00:00:12 https: not active 14:08:58 00:00:12 started (12secs) 14:08:58 Load: register value sets 14:08:58 Package hl7.fhir.core#4.0.1 14:09:01 EFHIRException: Package hl7.fhir.core#4.0.1 not found (000000000427113C){FHIRServer.exe} [000000000467213C] FHIR.Server.Kernel._ZN4Fhir6Server6Kernel12TFHIRService4LoadEN6System13UnicodeStringES4_NS0_11Dbinstaller26TFHIRInstallerSecurityModeE (Line 678, "FHIR.Server.Kernel.pas" + 49) + $0 (000000000426A8B2){FHIRServer.exe} [000000000466B8B2] JclDebug._ZN8Jcldebug17TJclStackInfoListC3EbiPvbS1_ (Line 5377, "JclDebug.pas" + 2) + $0 (000000000426C853){FHIRServer.exe} [000000000466D853] JclDebug._ZN8Jcldebug21GetExceptionStackInfoEPN6System16TExceptionRecordE (Line 7219, "JclDebug.pas" + 39) + $3B (0000000000049A67){FHIRServer.exe} [000000000044AA67] System.SysUtils._ZN6System8Sysutils9Exception16RaisingExceptionEPNS_16TExceptionRecordE + $27 (000000000004A36B){FHIRServer.exe} [000000000044B36B] System.SysUtils._ZN6System8Sysutils17RaiseExceptObjectEPNS_16TExceptionRecordE + $2B (0000000000011566){FHIRServer.exe} [0000000000412566] System._ZN6System14_RaiseAtExceptEPNS_7TObjectEPv + $E6 (00000000000115B1){FHIRServer.exe} [00000000004125B1] System._ZN6System12_RaiseExceptEPNS_7TObjectE + $11 (000000000427113C){FHIRServer.exe} [000000000467213C] FHIR.Server.Kernel._ZN4Fhir6Server6Kernel12TFHIRService4LoadEN6System13UnicodeStringES4_NS0_11Dbinstaller26TFHIRInstallerSecurityModeE (Line 678, "FHIR.Server.Kernel.pas" + 49) + $0 (000000000426E1D9){FHIRServer.exe} [000000000466F1D9] FHIR.Server.Kernel._ZN4Fhir6Server6Kernel17ExecuteFhirServerEv (Line 260, "FHIR.Server.Kernel.pas" + 81) + $28 (000000000427A030){FHIRServer.exe} [000000000467B030] FHIRServer._ZN10Fhirserver14initializationEv (Line 402, "FHIRServer.dpr" + 11) + $5 (0000000000016BD4){KERNEL32.DLL} [00007FFA818F7BD4] BaseThreadInitThunk + $14 (000000000006BED1){ntdll.dll } [00007FFA836ACED1] RtlUserThreadStart + $21 EFHIRException: Package hl7.fhir.core#4.0.1 not found
Jose Costa Teixeira (Jan 10 2020 at 09:25):
Never mind. my command line was wrong. It's mounting correctly now
Grahame Grieve (Jan 10 2020 at 10:20):
good
Jose Costa Teixeira (Jan 10 2020 at 10:25):
server is running again. thanks.
Jose Costa Teixeira (Jan 10 2020 at 10:26):
do you want to release the 1-click version of the server? I can take care of documenting how to get it running if you want me to
Jose Costa Teixeira (Jan 10 2020 at 10:27):
1-click = no install = portable version
Jose Costa Teixeira (Jan 10 2020 at 10:27):
no urgency. It just seems a low hanging fruit
FHIRServer bot (Jan 10 2020 at 10:56):
grahamegrieve pushed 5 commits to branch master.
- fix issues importing BE snomed (b89598e)
- improvements to fix issue in validator with codeable concept (bda12df)
- start adding R5 support to code base (ce0cefc)
- adding R5 (23ff41e)
- keep json objects in order + finish value set validation changes for instance validator (745f6fa)
FHIRServer bot (Jan 10 2020 at 11:22):
grahamegrieve pushed 1 commit to branch master.
- fix compile problem (97864b2)
Jose Costa Teixeira (Jan 10 2020 at 11:30):
FHIR.R4.Utilities, 558:
FHIR_ENUM_VERSIONS : Array [TFHIRVersion] of TFhirFHIRVersionEnum = (FHIRVersionNull, FHIRVersion0082, FHIRVersion102, FHIRVersion301, FHIRVersion400);
Jose Costa Teixeira (Jan 10 2020 at 11:30):
i think R5 is missing there, no?
FHIRServer bot (Jan 10 2020 at 11:35):
grahamegrieve pushed 1 commit to branch master.
- fix to compile (f962bd4)
Grahame Grieve (Jan 10 2020 at 11:37):
there you go
FHIRServer bot (Jan 10 2020 at 17:53):
grahamegrieve pushed 1 commit to branch master.
- fix additional validation bug (5bac29e)
FHIRServer bot (Jan 11 2020 at 11:15):
grahamegrieve pushed 1 commit to branch master.
- Add R5 support to server (3346105)
FHIRServer bot (Jan 20 2020 at 08:31):
grahamegrieve pushed 3 commits to branch master.
- Fix bug in json handling (a3f6228)
- fix version check bug (fc3cb2e)
- fix loading expansion params in R3 (745d374)
FHIRServer bot (Jan 20 2020 at 12:12):
grahamegrieve pushed 1 commit to branch master.
- add tracking to Maps for debugging (973c7c8)
FHIRServer bot (Jan 21 2020 at 22:24):
grahamegrieve pushed 1 commit to branch master.
- updates from build server (41dc111)
FHIRServer bot (Jan 22 2020 at 03:31):
grahamegrieve pushed 1 commit to branch master.
- fix conpile problems (e83c8fd)
FHIRServer bot (Jan 28 2020 at 11:07):
grahamegrieve pushed 4 commits to branch master.
- update vocab server to run (5c7607a)
- fix vocab server (b1c7b3b)
- get toolkit compiling (OSX 64) (1c1b58d)
- get utilities compiling (2d19481)
FHIRServer bot (Jan 28 2020 at 21:57):
grahamegrieve pushed 1 commit to branch master.
- update toolkit build to build 64 bit for OSX (50529a0)
FHIRServer bot (Jan 29 2020 at 13:43):
costateixeira pushed 1 commit to branch master.
- Fix R5 index generation (8de334a)
FHIRServer bot (Jan 29 2020 at 13:44):
costateixeira pushed 1 commit to branch master.
- Add installer for R5 (bf9c734)
Jose Costa Teixeira (Jan 29 2020 at 13:45):
Almost works, just one issue I cannot fix
Remount exists (maybe too quickly)
Starting the server returns this
13:34:49 00:00:04 .. Load Package hl7.fhir.r5.core#4.2.0
13:34:51 00:00:06 EIOException: Unable to load package hl7.fhir.r5.core#4.2.0 as it doesn't exist
Jose Costa Teixeira (Jan 29 2020 at 13:45):
AFAIK I have no references to 4.2.0
Jose Costa Teixeira (Jan 29 2020 at 13:45):
I have
-cmd mount -password sa -ini ".\fhirserver.ini" -packages hl7.fhir.r5.core -endpoint r5 -mode open
Jose Costa Teixeira (Jan 29 2020 at 13:46):
and then this
-cmd exec -debug -ini ".\fhirserver.ini"
Jose Costa Teixeira (Jan 29 2020 at 13:47):
my fhir.ini has this:
[databases] dbr5= server: localhost; database: fhirDB; username: sa; password: nnnnn; type: mysql; driver: "MySQL ODBC 5.3 Unicode Driver"; when-testing: true [endpoints] r5= path: /r5; validate: true; database: dbr5; version: r5
Grahame Grieve (Jan 29 2020 at 20:12):
what's the stack for that exception?
Jose Costa Teixeira (Jan 29 2020 at 20:27):
FHIR.Cache.PackageManager.TFHIRPackageManager.loadPackage('hl7.fhir.r5.core','4.2.0',$1127E790,$112A4F00)
FHIR.Server.Database.TFHIRNativeStorageService.Initialise
FHIR.Server.Kernel.TFHIRService.InitialiseRestServer(fhirVersionUnknown)
FHIR.Server.Kernel.TFHIRService.CanStart
FHIR.Support.Service.TSystemService.InternalExecute
FHIR.Support.Service.TSystemService.ConsoleExecute
FHIR.Server.Kernel.ExecuteFhirServer
Jose Costa Teixeira (Jan 29 2020 at 21:15):
is that helpful?
Grahame Grieve (Jan 29 2020 at 21:17):
yes. I'll debug when I get a chance
Jose Costa Teixeira (Jan 29 2020 at 23:07):
I think this was because of my DB init
FHIRServer bot (Jan 30 2020 at 04:59):
costateixeira pushed 2 commits to branch master.
FHIRServer bot (Jan 30 2020 at 05:03):
costateixeira pushed 2 commits to branch master.
- Merge remote-tracking branch 'origin/master' (fdaed7f)
- Merge remote-tracking branch 'origin/master' (cdc1dc2)
Grahame Grieve (Jan 30 2020 at 09:11):
so it turns out that I have a major piece of work to do in the code generator to do with the interfaces
Jose Costa Teixeira (Jan 30 2020 at 10:42):
How's that?
Jose Costa Teixeira (Jan 30 2020 at 10:43):
And btw did you see that I had to comment out the Device reference in Communication and CommunicationRequest ?
Jose Costa Teixeira (Jan 30 2020 at 10:43):
Is that generated code
Jose Costa Teixeira (Jan 30 2020 at 10:44):
?
Grahame Grieve (Jan 30 2020 at 10:58):
yes, that's generated code.
Grahame Grieve (Jan 30 2020 at 10:59):
I haven't looked at that change yet, but it's about to wiped.
Grahame Grieve (Jan 30 2020 at 10:59):
the problem is with CanonicalResource.identifier and ConceptMap.identifier
FHIRServer bot (Jan 30 2020 at 19:51):
grahamegrieve pushed 3 commits to branch master.
- more work on R5 (5f0c563)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (fa51eff)
- fix R5 generated code + generator (5df8356)
Jose Costa Teixeira (Jan 30 2020 at 20:35):
Cool. I will try to rebuild and test later today (now I had some out of memory issue).
Jose Costa Teixeira (Jan 31 2020 at 23:22):
for debugging (which i will do later tonight) what is the command line I should put in the IDE?
I have
-cmd remount -password sa -ini C:\work\fhirserver\Exec\fhir.dev.local.ini -load -packages hl7.fhir.r5.examples -endpoint r5 -mode open
Jose Costa Teixeira (Jan 31 2020 at 23:23):
ah wait, that not the line I should have
Jose Costa Teixeira (Jan 31 2020 at 23:25):
yep, my bad. now it's doing something
Jose Costa Teixeira (Jan 31 2020 at 23:25):
It still says
00:24:32 00:00:00 Initialise endpoint r5 at /r5 for r5 00:24:32 00:00:00 .. check DB dbr5 00:24:37 00:00:05 .. load DB dbr5 00:24:37 00:00:05 .. keys 00:24:37 00:00:05 .. valuesets 00:24:37 00:00:05 .. tags 00:24:37 00:00:05 .. spaces 00:24:37 00:00:05 .. resources 00:24:37 00:00:05 .. rkeys 00:24:37 00:00:05 .. reconcile 00:24:38 00:00:06 .. Load Package hl7.fhir.r5.core#4.2.0
Jose Costa Teixeira (Jan 31 2020 at 23:26):
is that ok, looking for # 4.2.0? I temporarily created that package on my local cache.
Jose Costa Teixeira (Jan 31 2020 at 23:30):
This builds ok. What is next to test this?
Grahame Grieve (Jan 31 2020 at 23:55):
you don't need to do anything in your cache - that part all works now
Grahame Grieve (Jan 31 2020 at 23:56):
the load gets most of the way through now - don't remember what the problem is
Jose Costa Teixeira (Feb 01 2020 at 03:36):
So I was doing some testing (because I was bored)
Server seems to start OK
but I get this
EFHIRException: The type Extension is not supported in FIndexManager for the index gene-identifier for the expression Observation.extension('http://hl7.org/fhir/StructureDefinition/observation-geneticsGene')
Grahame Grieve (Feb 01 2020 at 03:39):
ah yes, where is that defined?
Jose Costa Teixeira (Feb 01 2020 at 03:43):
I don't understand the question. This is the context:
04:26:09 60 : Process hl7.fhir.r5.core SearchParameter/Location-address 04:26:09 275: SearchParameter/Location-address 04:26:09 60 : Process hl7.fhir.r5.core ValueSet/v3-ParticipationTargetDirect 04:26:09 276: ValueSet/v3-ParticipationTargetDirect 04:26:09 60 : Process hl7.fhir.r5.core Observation/example-TPMT-diplotype 04:26:09 277: Observation/example-TPMT-diplotype 04:26:13 EFHIRException: The type Extension is not supported in FIndexManager for the index gene-identifier for the expression Observation.extension('http://hl7.org/fhir/StructureDefinition/observation-geneticsGene')
Grahame Grieve (Feb 01 2020 at 03:48):
where is the search parameter defined? I think it's defined wrongly
Jose Costa Teixeira (Feb 01 2020 at 05:09):
is this normal?
pasted image
Grahame Grieve (Feb 01 2020 at 05:12):
that's the definition of the extension, not the search parameter
Grahame Grieve (Feb 01 2020 at 05:17):
no, on reflection, I think it might be valid- get the last code and try again
FHIRServer bot (Feb 01 2020 at 05:17):
grahamegrieve pushed 1 commit to branch master.
- fix indexing problem (3c9d591)
Jose Costa Teixeira (Feb 01 2020 at 05:26):
something seems missing here
else if work is TFhirResource then // index(context, resource.fhirType, key, 0, TFhirReference(work), ndx.Name, ndx.specifiedTarget) else if not (work is TFHIRAttachment) and not (work is TFHIRBase64Binary) then raise EFHIRException.create('The type '+work.FhirType+' is not supported in FIndexManager for the index '+ndx.Name+' for the expression '+ndx.Path); end;
Jose Costa Teixeira (Feb 01 2020 at 05:27):
the first then else?
Grahame Grieve (Feb 01 2020 at 05:38):
I haven't figured that one out yet. So yes, missing.
Grahame Grieve (Feb 01 2020 at 05:50):
can you run OSX apps? I've spent all day trying to either:
- debug the fhir toolkit on a mac in the cloud server
- get OSX running locally in a VM on my machine
- get FHIR Toolkit running on my mac laptop.
I'm blocked whatever - I can't get it running at all, except in the cloud, but it takes 20min to launch...
Jose Costa Teixeira (Feb 01 2020 at 05:54):
I can borrow a mac around here. It was a long time ago that I setup a mac to work with Delphi, but I can get on it.
Jose Costa Teixeira (Feb 01 2020 at 05:56):
btw, server now remounts the DB ok
Grahame Grieve (Feb 01 2020 at 05:57):
great!
Grahame Grieve (Feb 01 2020 at 05:57):
well, I have one. I just can't get them to communicate with each other on any network I have access to here in Sydney
Grahame Grieve (Feb 01 2020 at 06:07):
does that mean that it serves ok too?
Jose Costa Teixeira (Feb 01 2020 at 06:07):
i did not get to check that, sorry, moving on to toolkit
Jose Costa Teixeira (Feb 01 2020 at 06:07):
but i will check the server later or tomorrow
Jose Costa Teixeira (Feb 01 2020 at 06:08):
what about a direct cable connection? would that work for you?
Grahame Grieve (Feb 01 2020 at 06:09):
neither computer has a network connection
FHIRServer bot (Feb 01 2020 at 06:10):
grahamegrieve pushed 1 commit to branch master.
- update for MacOS64 (90b28e9)
Jose Costa Teixeira (Feb 01 2020 at 06:16):
aargh. my friend's computer does not have xcode
Jose Costa Teixeira (Feb 01 2020 at 06:19):
installing is slooow
Grahame Grieve (Feb 01 2020 at 06:26):
yeah.... everything is so slow
Jose Costa Teixeira (Feb 01 2020 at 06:27):
[dccosx Fatal Error] BaseResourceFrame.pas(37): F2613 Unit 'FHIR.Version.Organiser' not found.
Jose Costa Teixeira (Feb 01 2020 at 06:29):
is this something I'm missing, or one of those unit aliases?
Jose Costa Teixeira (Feb 01 2020 at 06:30):
I do have a FHIR.R5.Organiser.pas
Jose Costa Teixeira (Feb 01 2020 at 06:31):
nevermind, fixed it.
Jose Costa Teixeira (Feb 01 2020 at 06:35):
this is slow
Jose Costa Teixeira (Feb 01 2020 at 06:36):
no. this is really slow
Jose Costa Teixeira (Feb 01 2020 at 06:36):
Jose Costa Teixeira (Feb 01 2020 at 06:36):
ah no, better
Jose Costa Teixeira (Feb 01 2020 at 06:36):
"Abnormal program termination"
Jose Costa Teixeira (Feb 01 2020 at 06:37):
killed my Delphi
Jose Costa Teixeira (Feb 01 2020 at 06:38):
yes, that is actually quite immediate.
Jose Costa Teixeira (Feb 01 2020 at 06:39):
any advice ? (soon I must attend an important cerimony here. "barbeque and fishing" i think it is called :) , will be back a couple hours)
Grahame Grieve (Feb 01 2020 at 06:40):
ok enjoy. I'll be back later
FHIRServer bot (Feb 01 2020 at 13:17):
grahamegrieve pushed 1 commit to branch master.
- fix toolkit to run on OSX64 (788d347)
Rob Hausam (Feb 01 2020 at 14:22):
I'm happy to try to help out with the Mac.
FHIRServer bot (Feb 01 2020 at 19:50):
grahamegrieve pushed 1 commit to branch master.
- fix compile issues (dd41ab5)
FHIRServer bot (Feb 02 2020 at 00:49):
grahamegrieve pushed 1 commit to branch master.
- get vocab server compiling for OSX + set up apple developer signing (4b2bdd6)
FHIRServer bot (Feb 02 2020 at 01:07):
grahamegrieve pushed 3 commits to branch master.
- new version (b60142c)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (db81909)
- release new version (02ad9a1)
FHIRServer bot (Feb 02 2020 at 06:10):
grahamegrieve pushed 3 commits to branch master.
- set up apple dev id (424a098)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (6229e41)
- fix package reference (258fcea)
FHIRServer bot (Feb 02 2020 at 06:10):
grahamegrieve pushed 1 commit to branch master.
- fix missed code (29617f6)
Jose Costa Teixeira (Feb 02 2020 at 06:12):
I changed 301 to 302 in the install.iss. Do I commit?
Grahame Grieve (Feb 02 2020 at 06:35):
I just did
Grahame Grieve (Feb 02 2020 at 06:40):
released
Jose Costa Teixeira (Feb 02 2020 at 06:42):
the server's install.iss has the same issue with 3.0.1, i think
Grahame Grieve (Feb 02 2020 at 06:45):
well, if it does, you can fix that
FHIRServer bot (Feb 12 2020 at 11:35):
grahamegrieve pushed 1 commit to branch master.
- Rename TKDB* classes to TFslDB* and add Package Server + fix bugs in NpmPackage reader (7204abc)
FHIRServer bot (Feb 12 2020 at 11:39):
grahamegrieve pushed 1 commit to branch master.
- fix install compile (36bb591)
FHIRServer bot (Feb 20 2020 at 11:54):
grahamegrieve pushed 1 commit to branch master.
- fix everything to compile, and updated package updater (d9ece79)
FHIRServer bot (Feb 20 2020 at 12:50):
grahamegrieve pushed 1 commit to branch master.
- fix package search (4d7fd3e)
FHIRServer bot (Feb 21 2020 at 00:59):
grahamegrieve pushed 1 commit to branch master.
- fix bug (8a47f97)
FHIRServer bot (Feb 21 2020 at 04:51):
grahamegrieve pushed 1 commit to branch master.
- fix package server (be9147e)
FHIRServer bot (Mar 04 2020 at 02:03):
grahamegrieve pushed 1 commit to branch master.
- fix error loading system-version on $expand (2b6351c)
FHIRServer bot (Mar 04 2020 at 20:25):
grahamegrieve pushed 2 commits to branch master. Commits by grahamegrieve (1) and rhausam (1).
- Fix filename parts extraction. (9d44e0d)
- Merge pull request #104 from rhausam/fix_filename_parts_extraction (d3da41d)
FHIRServer bot (Mar 11 2020 at 21:39):
grahamegrieve pushed 7 commits to branch master.
- fix bug in -cmd remount (719e25d)
- fix bug in patient indexer (19e4b5f)
- Fix issues with value set expansions (https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/tx.20server.20ignoring.20.24expand.20version.20and.20activeOnly.2Finactive) (b68235a)
- rework rendering for web application (ae495a8)
- better information at start up (f2c9a70)
- fix value set expansion bugs (baba58b)
- fix bug with xml: namespace (9d3d280)
FHIRServer bot (Mar 20 2020 at 05:20):
grahamegrieve pushed 1 commit to branch master.
- more Twilio support (7949d2a)
FHIRServer bot (Mar 20 2020 at 06:19):
grahamegrieve pushed 1 commit to branch master.
- More Twilio fixes (e4f2a61)
FHIRServer bot (Mar 20 2020 at 10:16):
grahamegrieve pushed 1 commit to branch master.
- fix for query error (c32aa79)
FHIRServer bot (Mar 24 2020 at 19:15):
grahamegrieve pushed 1 commit to branch master.
- Add sweep to twilio support + fix bug in packager spider (bfd397d)
FHIRServer bot (Apr 11 2020 at 08:57):
grahamegrieve pushed 1 commit to branch master.
- fix for GMail (d791ad9)
FHIRServer bot (Apr 11 2020 at 09:04):
grahamegrieve pushed 7 commits to branch master.
- Add email to package updater (5b97dae)
- Add stringToResource (14c8888)
- fix accesss violation doing expand (adac0a9)
- Add support for descendent-of with snomed (97e0107)
- simplify twilio response (2a5c309)
- Add support for NamingSystem.URL to Toolkit (6c8c41f)
- Add paste as new resource to toolkit (031208e)
FHIRServer bot (Apr 11 2020 at 09:04):
grahamegrieve pushed 2 commits to branch master. Commits by costateixeira (1) and grahamegrieve (1).
- Change refs from 3.0.1 to 3.0.2 and 4.0.0 to 4.0.1 (931ada1)
- Merge pull request #105 from grahamegrieve/updatepackagerefs (1152222)
FHIRServer bot (Apr 12 2020 at 22:39):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Apr 16 2020 at 04:57):
grahamegrieve pushed 4 commits to branch master.
- fix bug in transaction processing (04c5df6)
- fix wrong path in package server, and make package server work over ssl (0ca926f)
- update tree view code (733d555)
- update package browser (2d40271)
FHIRServer bot (Apr 16 2020 at 05:47):
grahamegrieve pushed 1 commit to branch master.
- fix to compile (8db6c00)
FHIRServer bot (Apr 16 2020 at 07:21):
grahamegrieve pushed 1 commit to branch master.
- fix hanging install (6730ba5)
FHIRServer bot (Apr 16 2020 at 10:44):
grahamegrieve pushed 2 commits to branch master.
Jose Costa Teixeira (Apr 19 2020 at 20:59):
@Grahame Grieve I'm a bit lost on the NPP code, but if there is any focused actions I can start doing....
Grahame Grieve (Apr 19 2020 at 21:13):
well, it's... difficult code. What would you like to achieve?
Jose Costa Teixeira (Apr 19 2020 at 21:19):
nothing, just help with the current challenges that people seem to be having (unless they are resolved)
Grahame Grieve (Apr 19 2020 at 21:20):
well, the current problems people seem to be having is because they are doing the wrong thing, so far as I can figure out. I'm not sure how to improve the situation, though.
Jose Costa Teixeira (Apr 19 2020 at 21:22):
ok then i'll keep an eye on zulip and see if I need to dive into something - I have no needs myself (except for karma points) so i'll react if someone yells
Grahame Grieve (Apr 19 2020 at 21:23):
well, is it working for you?
Jose Costa Teixeira (Apr 19 2020 at 21:43):
i just uninstalled. Reinstall does not work
Grahame Grieve (Apr 19 2020 at 21:44):
hmm what goes wrong?
Jose Costa Teixeira (Apr 19 2020 at 21:44):
Grahame Grieve (Apr 19 2020 at 21:48):
hmm. I guess it worked for me because my cache was populated
Jose Costa Teixeira (Apr 19 2020 at 21:48):
system cache?
Grahame Grieve (Apr 19 2020 at 21:49):
user cache for notepad++ plug-in
FHIRServer bot (Apr 19 2020 at 21:49):
grahamegrieve pushed 1 commit to branch master.
- fix install script for package ids (d7610a9)
Jose Costa Teixeira (Apr 19 2020 at 21:49):
I don't know how representative my machine will be...
But if you point me to where I should start looking, I'll do some of the chasing
Jose Costa Teixeira (Apr 19 2020 at 21:49):
oh that was quick - is that commit a fix for this?
Jose Costa Teixeira (Apr 19 2020 at 21:50):
(I actually wanted to subtract from your work pile, not add... )
Grahame Grieve (Apr 19 2020 at 21:52):
I don't know. to find out, I have to first test the installer dll, and then do a full release and test that
Jose Costa Teixeira (Apr 19 2020 at 22:00):
I can compile the DLL and the installer. Let me go at it
Grahame Grieve (Apr 20 2020 at 11:56):
I still need to do work on the installer with regard to packages
Jose Costa Teixeira (Apr 20 2020 at 13:01):
Anything I can do
Jose Costa Teixeira (Apr 20 2020 at 13:01):
?
Jose Costa Teixeira (Apr 20 2020 at 17:11):
(deleted)
Jose Costa Teixeira (Apr 20 2020 at 17:26):
I figured out the problem was in the package ids, and when I was committing i realized you had already fixed that.
....that was a wasted youth.
Grahame Grieve (Apr 20 2020 at 19:55):
sorry. but the install problems are deeper than that, I think
Jose Costa Teixeira (Apr 20 2020 at 19:56):
it was my lack of attention, i should have looked at the code before I dive in...
Jose Costa Teixeira (Apr 20 2020 at 19:57):
the installer ran without issues once the package references were fixed
Jose Costa Teixeira (Apr 20 2020 at 19:58):
now the package manager is acting a bit crazy
Jose Costa Teixeira (Apr 20 2020 at 19:58):
while loading the packages, every time my mouse moves it brings up an error message
Jose Costa Teixeira (Apr 20 2020 at 19:58):
Jose Costa Teixeira (Apr 20 2020 at 20:05):
hmmmm this:
function TNpmPackage.GetFhirVersion: String; var dep : TJsonObject; n : string; begin if ('hl7.fhir.core' = info['name']) then result := info['version'] else if (info['name'].startsWith('hl7.fhir.r2.') or info['name'].startsWith('hl7.fhir.r2b.') or info['name'].startsWith('hl7.fhir.r3.')or info['name'].startsWith('hl7.fhir.r4.') or info['name'].startsWith('hl7.fhir.r5.')) then result := info['version'] else begin dep := info.obj['dependencies']; if (dep <> nil) then begin for n in dep.properties.keys do begin if (StringArrayExists(['hl7.fhir.r2.core', 'hl7.fhir.r2b.core', 'hl7.fhir.r3.core', 'hl7.fhir.r4.core'], n)) then exit(dep[n]); if (n = 'hl7.fhir.core') then // while all packages are updated exit(dep[n]); end; end; if (info.has('fhirVersions')) then exit(info.arr['fhirVersions'].Value[0]); if (dep <> nil) then begin // legacy simplifier support: if (dep.has('simplifier.core.r4')) then exit('4.0'); if (dep.has('simplifier.core.r3')) then exit('3.0'); if (dep.has('simplifier.core.r2')) then exit('2.0'); end; raise EFHIRException.create('no core dependency or FHIR Version found in the Package definition'); end; end;
Jose Costa Teixeira (Apr 20 2020 at 20:05):
(oops wrong comment)
Jose Costa Teixeira (Apr 20 2020 at 20:10):
I'm trying to debug this part
Jose Costa Teixeira (Apr 20 2020 at 20:38):
Now my IDE is crashing
Jose Costa Teixeira (Apr 20 2020 at 20:39):
complains when looking for this
{$IFDEF MSWINDOWS}
Registry,
{$ENDIF}
FHIR.Web.Facebook, FHIR.Server.Covid;
Jose Costa Teixeira (Apr 20 2020 at 20:49):
my IDE is broken.
Jose Costa Teixeira (Apr 20 2020 at 20:50):
when i start debugging - even when I just start to build,
Jose Costa Teixeira (Apr 20 2020 at 20:50):
it enters an endless loop of complaining for missing:
Jose Costa Teixeira (Apr 20 2020 at 20:51):
GoogleGetDetails, FacebookGetDetails, TCovidScript or something
Jose Costa Teixeira (Apr 20 2020 at 20:51):
then some other errors that i cannot see what they are because this thing restarts the whole loop
Grahame Grieve (Apr 20 2020 at 20:54):
that's all very strange. and I definitely already fixed that error message
Jose Costa Teixeira (Apr 20 2020 at 20:59):
Possibly I'm behind commits (again). I will restart my pc and get to this in a few hours
FHIRServer bot (Apr 20 2020 at 21:50):
grahamegrieve pushed 2 commits to branch master.
- Add web interface for package server, and fix bug in package search FHIR Version value (1334f73)
- work on package installation services (df80276)
FHIRServer bot (Apr 21 2020 at 01:48):
grahamegrieve pushed 1 commit to branch master.
- clean up HL7 (ce5abfa)
Jose Costa Teixeira (Apr 21 2020 at 08:03):
Package manager is fixed
Jose Costa Teixeira (Apr 21 2020 at 08:03):
Thanks!
Jose Costa Teixeira (Apr 21 2020 at 08:04):
(does not show the previous issue)
Jose Costa Teixeira (Apr 21 2020 at 08:07):
spoke too soon..
Jose Costa Teixeira (Apr 21 2020 at 08:07):
Grahame Grieve (Apr 21 2020 at 09:42):
how did you get that?
Jose Costa Teixeira (Apr 21 2020 at 10:00):
going to system cache
Grahame Grieve (Apr 21 2020 at 10:43):
and doing what?
Jose Costa Teixeira (Apr 21 2020 at 10:49):
just clickng the radio button
Grahame Grieve (Apr 21 2020 at 11:07):
hmm. in which application?
Jose Costa Teixeira (Apr 21 2020 at 11:53):
Notepad++ 64
Jose Costa Teixeira (Apr 21 2020 at 11:53):
I compiled the DLL, then the installer
Grahame Grieve (Apr 21 2020 at 11:55):
seems to work for me right now
Jose Costa Teixeira (Apr 21 2020 at 11:55):
Should I delete the system cache and retry?
Grahame Grieve (Apr 21 2020 at 11:56):
I think it would be better to debug.. whatever is wrong with the system cache shouldn't lead to that problem
Jose Costa Teixeira (Apr 21 2020 at 12:05):
ok. My IDE was going all "no soup for you" but will see if I can debug it
Jose Costa Teixeira (Apr 21 2020 at 12:13):
update: my IDE is ok now. I think it was just sleepy this morning
Jose Costa Teixeira (Apr 21 2020 at 19:29):
ok seems to work with the latest code. Perhaps I missed something when I compiled the DLL for the installer.
Running from the IDE doesn't give the issue.
Sorry for the false positive :)
Grahame Grieve (Apr 21 2020 at 19:48):
np
FHIRServer bot (Apr 28 2020 at 00:05):
grahamegrieve pushed 5 commits to branch master.
- improve error message returned from terminology server (72877d6)
- Add PackagePermissions table (a119694)
- fix missing header on conditional create (63a6266)
- Add web interface for adding packages (a31f68f)
- Improve suppot for langauge region (4072fad)
FHIRServer bot (May 13 2020 at 06:41):
grahamegrieve pushed 1 commit to branch master.
- Add package loading web interface (b5ae821)
FHIRServer bot (May 13 2020 at 08:50):
grahamegrieve pushed 1 commit to branch master.
- fix bugs in package handling (d3b948c)
FHIRServer bot (May 13 2020 at 09:41):
grahamegrieve pushed 1 commit to branch master.
- fix bug loading code systems (2c3f3ea)
FHIRServer bot (May 13 2020 at 11:16):
grahamegrieve pushed 1 commit to branch master.
- fix up compile errors. (f3d9bfb)
FHIRServer bot (May 13 2020 at 20:49):
grahamegrieve pushed 1 commit to branch master.
- fixes for package loading (dc32bd0)
FHIRServer bot (May 14 2020 at 03:50):
grahamegrieve pushed 1 commit to branch master.
- update server for launch context handling in Smart App Launch (c2faa1c)
FHIRServer bot (May 14 2020 at 04:13):
grahamegrieve pushed 1 commit to branch master.
- add missing file (1ff0d55)
FHIRServer bot (May 14 2020 at 07:59):
grahamegrieve pushed 1 commit to branch master.
- WIP test script creation (9ac7c28)
Jose Costa Teixeira (May 14 2020 at 08:02):
Oh goodie, cool stuff is coming :)
Jose Costa Teixeira (May 14 2020 at 08:02):
anything I should try to help with?
Grahame Grieve (May 14 2020 at 08:05):
not sure. I'm bring back something I used to have - ask the server to log all the succeeding calls for your session to a testscript
Jose Costa Teixeira (May 14 2020 at 08:10):
like a macro recording?
Grahame Grieve (May 14 2020 at 08:11):
pretty much
Jose Costa Teixeira (May 14 2020 at 08:11):
cool
Jose Costa Teixeira (May 14 2020 at 08:14):
i think I have an issue with transaction - do you know where I can look for how a transaction is processed?
Jose Costa Teixeira (May 14 2020 at 08:15):
issue is i get this error
"A resource must be provided unless the entry has a transaction with method = delete and a url (entry 2)"
Jose Costa Teixeira (May 14 2020 at 08:15):
but my entry 2 is
{
"request": {
"method": "DELETE",
"url": "Patient/159"
}
}
FHIRServer bot (May 14 2020 at 08:18):
grahamegrieve pushed 1 commit to branch master.
- fill out macro recording methods (87b0cea)
Grahame Grieve (May 14 2020 at 08:19):
must be in or from TFHIRNativeOperationEngine.ExecuteTransaction
Jose Costa Teixeira (May 14 2020 at 08:23):
ok i will debug from there
Jose Costa Teixeira (May 14 2020 at 09:04):
when remounting it says
Unable to load package hl7.fhir.r3.expansions#4.0.1 as it doesn't exist
Jose Costa Teixeira (May 14 2020 at 09:04):
(nevermind, got it)
Jose Costa Teixeira (May 14 2020 at 18:51):
I now get this
(00000000000A01CF){ntdll.dll } [00007FFDC17011CF] Unknown function at __chkstk + $11F
(0000000000069209){ntdll.dll } [00007FFDC16CA209] Unknown function at RtlRaiseException + $399
(000000000009EE3E){ntdll.dll } [00007FFDC16FFE3E] KiUserExceptionDispatcher + $2E
(0000000000130C65){FHIRServer.exe} [0000000000531C65] System.Classes._ZN6System7Classes7TThread9TerminateEv + $5
(0000000005A159FC){FHIRServer.exe} [0000000005E169FC] FHIR.Server.Kernel._ZN4Fhir6Server6Kernel12TFHIRService14StopRestServerEv (Line 1099, "FHIR.Server.Kernel.pas" + 2) + $0
(0000000005A105A1){FHIRServer.exe} [0000000005E115A1] FHIR.Server.Kernel._ZN4Fhir6Server6Kernel12TFHIRService6DoStopEv (Line 486, "FHIR.Server.Kernel.pas" + 5) + $0
(0000000005A120A5){FHIRServer.exe} [0000000005E130A5] FHIR.Server.Kernel._ZN4Fhir6Server6Kernel12TFHIRService4LoadEN6System13UnicodeStringES4_NS0_11Dbinstaller26TFHIRInstallerSecurityModeE (Line 714, "FHIR.Server.Kernel.pas" + 75) + $0
(0000000005A0ED09){FHIRServer.exe} [0000000005E0FD09] FHIR.Server.Kernel._ZN4Fhir6Server6Kernel17ExecuteFhirServerEv (Line 261, "FHIR.Server.Kernel.pas" + 81) + $28
(0000000005A1BBA0){FHIRServer.exe} [0000000005E1CBA0] FHIRServer._ZN10Fhirserver14initializationEv (Line 448, "FHIRServer.dpr" + 11) + $5
(
Jose Costa Teixeira (May 14 2020 at 18:52):
any idea what I am missing?
Grahame Grieve (May 14 2020 at 19:06):
what's the error? that's the stack dump you get when the map file is wrong, which is usually because you aren't getting a map file in the first place. I haven't figured out how to resolve that
FHIRServer bot (May 14 2020 at 21:02):
grahamegrieve pushed 2 commits to branch master.
Jose Costa Teixeira (May 15 2020 at 06:59):
how is the map file named?
Grahame Grieve (May 15 2020 at 07:08):
[project].map
Jose Costa Teixeira (May 15 2020 at 07:16):
oh as in delphi map file.
Grahame Grieve (May 15 2020 at 07:20):
y
Grahame Grieve (May 15 2020 at 07:20):
I use Jedi to load it. It seems very hit and miss
FHIRServer bot (May 16 2020 at 00:27):
grahamegrieve pushed 1 commit to branch master.
- add session UI, add test script generation, and tidy up web parsers (ba5e50b)
FHIRServer bot (May 18 2020 at 21:43):
grahamegrieve pushed 1 commit to branch master.
- fix bugs loading packages (df3cde2)
FHIRServer bot (Jun 25 2020 at 07:32):
grahamegrieve pushed 1 commit to branch master.
- update log output for better information (1e922bd)
FHIRServer bot (Jul 03 2020 at 01:02):
grahamegrieve pushed 3 commits to branch master.
- fix client registration bugs (aabc8d4)
- improve debugging output (f940598)
- fix US States coding system (4a13ddc)
FHIRServer bot (Jul 05 2020 at 00:17):
grahamegrieve pushed 1 commit to branch master.
- work on efficiency to improve tx.fhir.org performance (f041d15)
FHIRServer bot (Jul 14 2020 at 10:58):
grahamegrieve pushed 6 commits to branch master.
- fix wrong label in loinc import (50d95f7)
- Add redirect to no version (d316d43)
- upgrade virtual trees (33f2e5c)
- Add no version redirect (ae99b8d)
- fix up LOINC finding part codes (29bebe9)
- add support for child exists true | false in value set filters (9c8013e)
FHIRServer bot (Jul 14 2020 at 21:08):
grahamegrieve pushed 2 commits to branch master.
- turn validation off (not working) (166f055)
- fix support for boolean filters with default value = negative (3fc2219)
FHIRServer bot (Jul 14 2020 at 21:27):
grahamegrieve pushed 1 commit to branch master.
- fix access violation in loinc processing (ac06faa)
FHIRServer bot (Jul 30 2020 at 00:52):
grahamegrieve pushed 3 commits to branch master.
- fix snomed redirect issue (6ee7db9)
- fix access violation problem in LOINC (56c818f)
- compile fix (8bde3b6)
FHIRServer bot (Aug 05 2020 at 04:41):
grahamegrieve pushed 1 commit to branch master.
- fix bug loading projects (11b7525)
FHIRServer bot (Aug 06 2020 at 21:07):
grahamegrieve pushed 1 commit to branch master.
- Fix bugs in ICD10 expansion (58d1e5a)
FHIRServer bot (Aug 12 2020 at 03:22):
grahamegrieve pushed 1 commit to branch master.
- enahnce tx operations so that additional resources can be passed with $expand and $validate-code (df1d86b)
FHIRServer bot (Aug 12 2020 at 12:43):
grahamegrieve pushed 1 commit to branch master.
- add client based caching for terminology operations (e72b157)
FHIRServer bot (Aug 12 2020 at 22:20):
grahamegrieve pushed 1 commit to branch master.
- debug client side caching (40726c3)
FHIRServer bot (Aug 13 2020 at 00:04):
grahamegrieve pushed 1 commit to branch master.
- Add HGVS support (88dc074)
FHIRServer bot (Aug 13 2020 at 02:21):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Aug 13 2020 at 06:40):
grahamegrieve pushed 1 commit to branch master.
- fix access violation in LOINC server (6b87258)
FHIRServer bot (Aug 13 2020 at 06:53):
grahamegrieve pushed 1 commit to branch master.
- Fix additional access violation in LOINC (071516b)
FHIRServer bot (Aug 13 2020 at 07:54):
grahamegrieve pushed 1 commit to branch master.
- fix invalid class cast problem (18e5d7b)
FHIRServer bot (Aug 13 2020 at 20:59):
grahamegrieve pushed 2 commits to branch master.
- Allow keep-alive (duh. previously disabled for debugging) (1fd68f2)
- remove direct write to console (c1e1298)
FHIRServer bot (Aug 13 2020 at 22:03):
grahamegrieve pushed 1 commit to branch master.
- declare terminology caching (757d75f)
FHIRServer bot (Aug 13 2020 at 22:05):
grahamegrieve pushed 1 commit to branch master.
- get around to committing build files (6d05d79)
FHIRServer bot (Aug 21 2020 at 05:22):
grahamegrieve pushed 5 commits to branch master.
- upgrade R5 to 4.5.0 (a82f65e)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (f2aecce)
- Improve NDC errors (df926c3)
- Correct error calling code system a value set (42d9a9d)
- update generation code for ongoing hapi core changes (00879f5)
FHIRServer bot (Aug 21 2020 at 22:08):
grahamegrieve pushed 1 commit to branch master.
- fix minor bugs in page generation (49a3b26)
FHIRServer bot (Aug 22 2020 at 21:06):
grahamegrieve pushed 1 commit to branch master.
- Work on FPC support (2a8e3f4)
FHIRServer bot (Aug 22 2020 at 22:41):
grahamegrieve pushed 1 commit to branch master.
- more FPC work (8cc34c7)
FHIRServer bot (Aug 23 2020 at 22:54):
grahamegrieve pushed 5 commits to branch master.
- more work on getting FPC to compile (9abdec9)
- compile fixes (4175f3b)
- get compiling under FPC (3041692)
- FPC related changes (483b904)
- copmile fix (41f80d6)
FHIRServer bot (Aug 24 2020 at 07:08):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Aug 24 2020 at 20:15):
grahamegrieve pushed 1 commit to branch master.
- Fix bug in jurisdiction validation (c58eaf9)
FHIRServer bot (Aug 25 2020 at 03:45):
grahamegrieve pushed 1 commit to branch master.
- fix bug and add debugging (49648b0)
FHIRServer bot (Sep 02 2020 at 07:27):
grahamegrieve pushed 2 commits to branch master.
Grahame Grieve (Sep 02 2020 at 07:28):
FPC is starting to get close now...
FHIRServer bot (Sep 05 2020 at 23:03):
grahamegrieve pushed 1 commit to branch master.
- Change snomed to load/unload on the fly as needed. (b14dbdb)
FHIRServer bot (Sep 06 2020 at 10:55):
grahamegrieve pushed 4 commits to branch master.
- Update dependencies for D10.4 and FPC (678d058)
- Updates to ore library for 10.4 and FPC (6a5c79b)
- Update to server core for FPC (c910d06)
- more work on compiling using FPC (4bed397)
FHIRServer bot (Sep 07 2020 at 13:54):
grahamegrieve pushed 1 commit to branch master.
- more FPC work (e38c3ea)
FHIRServer bot (Sep 08 2020 at 04:54):
grahamegrieve pushed 1 commit to branch master.
- more FPC work (164952a)
FHIRServer bot (Sep 08 2020 at 08:03):
grahamegrieve pushed 3 commits to branch master.
FHIRServer bot (Sep 08 2020 at 21:02):
grahamegrieve pushed 1 commit to branch master.
- More FPC work (a497d89)
FHIRServer bot (Sep 08 2020 at 21:23):
grahamegrieve pushed 1 commit to branch master.
- Fix bug with home page (1d12c95)
FHIRServer bot (Sep 08 2020 at 23:16):
grahamegrieve pushed 1 commit to branch master.
- Fix bug loading existing resources at start up (ae0fe4f)
FHIRServer bot (Sep 12 2020 at 00:29):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Sep 13 2020 at 11:54):
grahamegrieve pushed 1 commit to branch master.
- More FPC re-work (1f3744a)
FHIRServer bot (Sep 13 2020 at 21:39):
grahamegrieve pushed 1 commit to branch master.
- compile fixes (3096143)
FHIRServer bot (Sep 13 2020 at 23:31):
grahamegrieve pushed 1 commit to branch master.
- FHIRServer compiles under FPC (3.2.0)! (199c314)
FHIRServer bot (Sep 14 2020 at 02:13):
grahamegrieve pushed 1 commit to branch master.
- More compile fixes + remove YuStemmer (6c32b02)
FHIRServer bot (Sep 15 2020 at 08:04):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Sep 19 2020 at 08:39):
grahamegrieve pushed 1 commit to branch master.
- More FPC work (65778e2)
FHIRServer bot (Sep 23 2020 at 00:58):
grahamegrieve pushed 1 commit to branch master.
- Get tests compiling in FPC (a2b8633)
FHIRServer bot (Sep 23 2020 at 06:40):
grahamegrieve pushed 1 commit to branch master.
- Add telnet server (f837bba)
FHIRServer bot (Sep 23 2020 at 10:44):
grahamegrieve pushed 1 commit to branch master.
- change retention policy for searches - only keep the last 200, not the last 8 hours worth (423ade0)
FHIRServer bot (Sep 24 2020 at 06:10):
grahamegrieve pushed 4 commits to branch master.
- Clean up writeln statements (618fd15)
- rework kernel for telnet login optimisation (77c6b3b)
- Fix installer to compile (18298e1)
- FPC based Console for server (c55d4a8)
Jose Costa Teixeira (Sep 24 2020 at 06:12):
Which of the Grahame clones is doing all this????
Grahame Grieve (Sep 24 2020 at 06:14):
it's my lockdown project - to get the server compiling and running under FPC/Lazarus. I've got it compiling, but there's some broken bits, so now I'm working on the Unit tests. The long term intent is to get it running on linux and OSX (and maybe Pi)
But also, tx.fhir.org was increasingly a problem, and increasingly important, so I've got around to doing some overdue reorganizations to the code.
Grahame Grieve (Sep 24 2020 at 06:15):
anyway, there's now an FPC specific console for the server. Run it on the same PC as the server, and automatically logs in and shows you what's going on, even if it's running as a service
Jose Costa Teixeira (Sep 24 2020 at 06:18):
I think the console is useful. I«m sorry I'm so behind in catching up. my next to do is to start (or work on) some frontend for the IG publishing. Part of toolkit or standalone?
Grahame Grieve (Sep 24 2020 at 06:34):
I'm not sure. I think that the tool kit might be deprecated? I think LCL is the way, not FMX. It might be my christmas project, to migrate to LCL/FPC?
Grahame Grieve (Sep 24 2020 at 06:35):
But I'm going to spend more time with LCL before making a decision
Jose Costa Teixeira (Sep 24 2020 at 07:49):
LCL as in Lazarus ?
Jose Costa Teixeira (Sep 24 2020 at 07:50):
I haven't looked at Lazarus in a while. I'll see if it has legs now (...)
Grahame Grieve (Sep 24 2020 at 09:31):
I think it does now
FHIRServer bot (Sep 24 2020 at 18:36):
grahamegrieve pushed 1 commit to branch master.
- add more information to server ping (3c6682a)
FHIRServer bot (Sep 30 2020 at 23:59):
grahamegrieve pushed 1 commit to branch master.
- Finish big lift - compiling under FPC for Windows | Linux | OSX (d177ff0)
Grahame Grieve (Oct 01 2020 at 00:00):
@Jose Costa Teixeira - I've gotten somewhere. now compiling for windows | unix | osx, though not yet running. Still some work down inside the system libraries needed yet. Raspberry Pi is possible now.
I"m interested in thinking about ci-build now that we've got this far
Rob Hausam (Oct 01 2020 at 00:09):
Raspberry Pi possible? I would have thought that a bit unlikely, but that's good. So it runs there - or not yet?
Grahame Grieve (Oct 01 2020 at 00:13):
not close to running yet. And obviously you're never going to run a fully functional server on a pi. Jose was interested in pi
FHIRServer bot (Oct 02 2020 at 04:08):
grahamegrieve pushed 1 commit to branch master.
- Sort out end of lines + fix various FPC running issues (c3c6da1)
FHIRServer bot (Oct 02 2020 at 07:20):
grahamegrieve pushed 1 commit to branch master.
- More compile work (14816a6)
FHIRServer bot (Oct 05 2020 at 06:36):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 05 2020 at 10:30):
grahamegrieve pushed 3 commits to branch master.
- fix case of includes (e72231d)
- remove config file (3b5887d)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (6921679)
FHIRServer bot (Oct 05 2020 at 12:39):
grahamegrieve pushed 3 commits to branch master.
- fix linux compile issues (6bf747a)
- Merge remote-tracking branch 'origin/master' (df5ec5a)
- more linux compile fixes (a7e3f7a)
FHIRServer bot (Oct 07 2020 at 02:04):
grahamegrieve pushed 3 commits to branch master.
- Add terminology server to capability statement (aa3b97c)
- Fix issue with ChakraCore on Linux (bcdf9d3)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (c40d7a6)
FHIRServer bot (Oct 07 2020 at 03:33):
grahamegrieve pushed 1 commit to branch master.
- linux compile fixes (c7635b0)
FHIRServer bot (Oct 07 2020 at 03:48):
grahamegrieve pushed 4 commits to branch master.
- Linux compile fixes (6b131a5)
- Merge remote-tracking branch 'origin/master' (4044d31)
- Merge remote-tracking branch 'origin/master' (50e7ab7)
- Finish compiling for Linux (288225e)
FHIRServer bot (Oct 07 2020 at 10:25):
grahamegrieve pushed 1 commit to branch master.
- error handling fixes for linux (6506a9a)
FHIRServer bot (Oct 07 2020 at 10:27):
grahamegrieve pushed 1 commit to branch master.
- more linux fixes (a008863)
FHIRServer bot (Oct 07 2020 at 12:53):
grahamegrieve pushed 1 commit to branch master.
- fix bug in memory mgmt in odbc driver (689b24f)
FHIRServer bot (Oct 08 2020 at 09:37):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 08 2020 at 10:34):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 10 2020 at 04:42):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 10 2020 at 11:17):
grahamegrieve pushed 3 commits to branch master.
FHIRServer bot (Oct 10 2020 at 23:13):
grahamegrieve pushed 1 commit to branch master.
- huh? (5fbd727)
FHIRServer bot (Oct 10 2020 at 23:18):
grahamegrieve pushed 1 commit to branch master.
- fix case of folders (5a9b905)
FHIRServer bot (Oct 11 2020 at 12:41):
grahamegrieve pushed 2 commits to branch master.
- changes for UTG server (1bfd54d)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (c59b7c9)
FHIRServer bot (Oct 12 2020 at 02:06):
grahamegrieve pushed 1 commit to branch master.
- compile fixes for improved FPC type checking (1aa6131)
FHIRServer bot (Oct 12 2020 at 03:46):
grahamegrieve pushed 1 commit to branch master.
- get terminology server running (e729c2c)
FHIRServer bot (Oct 12 2020 at 04:30):
grahamegrieve pushed 1 commit to branch master.
- fix for FPC (1987e24)
FHIRServer bot (Oct 12 2020 at 21:06):
grahamegrieve pushed 2 commits to branch master.
- linux and leak fixes (11634ea)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (fc1da6d)
FHIRServer bot (Oct 12 2020 at 21:11):
grahamegrieve pushed 3 commits to branch master.
FHIRServer bot (Oct 12 2020 at 21:40):
grahamegrieve pushed 1 commit to branch master.
- various compile fixes (b873551)
FHIRServer bot (Oct 12 2020 at 22:12):
grahamegrieve pushed 1 commit to branch master.
- Decouple Indy (053a9b5)
FHIRServer bot (Oct 13 2020 at 04:13):
grahamegrieve pushed 1 commit to branch master.
- fix bugs and leaks + terminology server load files directly (7b417b6)
FHIRServer bot (Oct 13 2020 at 07:19):
grahamegrieve pushed 1 commit to branch master.
- more code quality work (58106e9)
FHIRServer bot (Oct 13 2020 at 10:39):
grahamegrieve pushed 1 commit to branch master.
- fix compile problem (1faa54c)
FHIRServer bot (Oct 13 2020 at 10:41):
grahamegrieve pushed 1 commit to branch master.
- more fix compile problems (5cd04e1)
FHIRServer bot (Oct 15 2020 at 11:08):
grahamegrieve pushed 1 commit to branch master.
- More work on stability and tests on FPC (4f9dfc2)
FHIRServer bot (Oct 16 2020 at 08:34):
grahamegrieve pushed 1 commit to branch master.
- more work on testing under FPC (ddd5960)
FHIRServer bot (Oct 16 2020 at 12:58):
grahamegrieve pushed 1 commit to branch master.
- Linux compile fixes (5a53b00)
FHIRServer bot (Oct 16 2020 at 19:03):
grahamegrieve pushed 2 commits to branch master.
Grahame Grieve (Oct 16 2020 at 20:51):
@Jose Costa Teixeira are you still interested in contributing?
Jose Costa Teixeira (Oct 16 2020 at 22:19):
Of course. Better hit me with small tasks for the next few weeks, I'm slightly swamped...
(just as I was getting out of the woods, fun stuff appears....)
Grahame Grieve (Oct 16 2020 at 22:31):
well, I'm well on track to have the server running on linux and osx soon
Grahame Grieve (Oct 16 2020 at 22:31):
one of the things I'm doing is simplifying the installation process
Jose Costa Teixeira (Oct 16 2020 at 22:31):
:) i don't have osx.
Grahame Grieve (Oct 16 2020 at 22:32):
np.
Jose Costa Teixeira (Oct 16 2020 at 22:32):
Ah that I think I can do. and I love doing :)
Grahame Grieve (Oct 16 2020 at 22:32):
but it means that the install process needs have a path outside innosetup
Jose Costa Teixeira (Oct 16 2020 at 22:32):
how so?
Grahame Grieve (Oct 16 2020 at 22:32):
so I'm thinking it would be good to build an ini file / db installer in FPC using LCL
Grahame Grieve (Oct 16 2020 at 22:34):
innosetup will simply put the files in place, but all the ini file / database questions would be handled by the manager app
Jose Costa Teixeira (Oct 16 2020 at 22:34):
"a path outside innosetup" - so not a filesystem path, but an alternative procedure?
Jose Costa Teixeira (Oct 16 2020 at 22:34):
oh ok
Jose Costa Teixeira (Oct 16 2020 at 22:34):
drivers etc?
Grahame Grieve (Oct 16 2020 at 22:34):
not so much the dependencies, but the choosing the database
Jose Costa Teixeira (Oct 16 2020 at 22:36):
and installing it?
Grahame Grieve (Oct 16 2020 at 22:36):
yes.
Grahame Grieve (Oct 16 2020 at 22:37):
all the logic is there for the install. it's just a matter of doing the User interface/experience
Grahame Grieve (Oct 16 2020 at 22:41):
the idea is that the innosetup install would run the config UI at the end of the install. For linux and OSX, the user would be instructed to run the config UI after the package install
Jose Costa Teixeira (Oct 16 2020 at 22:42):
ok good. I was afraid you meant a console app.
Grahame Grieve (Oct 16 2020 at 22:43):
yuck no ;-)
Jose Costa Teixeira (Oct 16 2020 at 22:43):
DB install and initialize, right?
Grahame Grieve (Oct 16 2020 at 22:43):
LCL is FPC's equivalent on VCL but it runs on linux and OSX as well
Grahame Grieve (Oct 16 2020 at 22:43):
and also configure the important parts of the ini file - admin user, databases, end points, and terminologies to load
Jose Costa Teixeira (Oct 16 2020 at 22:44):
ah ok i missed the LCL reference (besides, new requirements intake after dinner - risky, I tell you)
Grahame Grieve (Oct 16 2020 at 22:44):
;-)
Jose Costa Teixeira (Oct 16 2020 at 22:44):
yes, and populate the ini accordingly
Grahame Grieve (Oct 16 2020 at 22:45):
yes
FHIRServer bot (Oct 16 2020 at 22:45):
grahamegrieve pushed 3 commits to branch master.
- tar.gz tests (2383d00)
- testing updates (8f3cea3)
- sort out .tar.gz and timezone issues on FPC (dfb243e)
Jose Costa Teixeira (Oct 16 2020 at 22:45):
ok so does this mean I need to get this compiling on my lazarus?
Grahame Grieve (Oct 16 2020 at 22:46):
yes. you will need the latest lazarus and FPC 3.2.0+. 3.3.1 is good
Jose Costa Teixeira (Oct 16 2020 at 22:46):
this=the refactored server?
Grahame Grieve (Oct 16 2020 at 22:50):
I think yes
Jose Costa Teixeira (Oct 16 2020 at 22:51):
ok install procedure like
- user selects DB
- download and install selected DB
- configure DB (ask the user some stuff, determine other parameters)
- check if DB is running
- init db - in windows we needed to call the DLL, so I guess that code has to be ported to Lazarus, right?
Grahame Grieve (Oct 16 2020 at 22:54):
I would leave the process of downloading, installing, and configuring database servers as a precondition, since it will vary wildly across platforms. But I don't mind if we take that on.
What I'm interested in:
- user configures system (e.g. editing the ini - some choices influence the install)
- user chooses an endpoint out of the ini to populate the database (imples the database to install)
- decide what packages to load into the databse
- run the process that creates the tables and loads the packages
The code will all be directly available to the app - all compiles in FPC no problem
Jose Costa Teixeira (Oct 17 2020 at 09:39):
OK so we can have a tab/step for DB checking. The user selects the DB and they can either get instructions or check if it is installed in the location they give
Jose Costa Teixeira (Oct 17 2020 at 09:40):
that is your step 2. What is your step 1? What choices for example?
FHIRServer bot (Oct 18 2020 at 09:08):
grahamegrieve pushed 1 commit to branch master.
- linux compile fixes (ee6d03e)
FHIRServer bot (Oct 18 2020 at 09:12):
grahamegrieve pushed 3 commits to branch master.
- get database & ucum tests passing in FPC (f9187a8)
- fix up compile (8364228)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (401f034)
FHIRServer bot (Oct 18 2020 at 11:08):
grahamegrieve pushed 1 commit to branch master.
- fix bug in ODBC (b66a679)
FHIRServer bot (Oct 18 2020 at 20:52):
grahamegrieve pushed 1 commit to branch master.
- Add missing json test cases (53aca44)
FHIRServer bot (Oct 18 2020 at 22:46):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 18 2020 at 22:52):
grahamegrieve pushed 2 commits to branch master.
- Use modified test runner (6542491)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (d16e0fc)
Grahame Grieve (Oct 19 2020 at 02:12):
What is your step 1? What choices for example?
configure databases, terminologies, and end points
Jose Costa Teixeira (Oct 19 2020 at 07:30):
ok first step is to open the server in Lazarus.
Jose Costa Teixeira (Oct 19 2020 at 07:31):
is there a lazarus project or something I need to open?
Grahame Grieve (Oct 19 2020 at 07:51):
server\FHIRServerFPC.lpi
Jose Costa Teixeira (Oct 19 2020 at 07:59):
thanks, i was looking in the wrong place.
FHIRServer bot (Oct 19 2020 at 10:40):
grahamegrieve pushed 4 commits to branch master.
- normalise line endings (e00b88a)
- rework for server bugs doing validation (815f49c)
- fix bugs doing testing (cb4fca1)
- fix various bugs & install issues (a7486a0)
FHIRServer bot (Oct 19 2020 at 10:47):
grahamegrieve pushed 1 commit to branch master.
- stop screwing up git with line endings (aede42f)
Jose Costa Teixeira (Oct 19 2020 at 10:52):
it says fpc.exe does not support target i386-win32
FHIRServer bot (Oct 19 2020 at 11:23):
grahamegrieve pushed 1 commit to branch master.
- fix linux testing problem (583aa77)
FHIRServer bot (Oct 19 2020 at 12:28):
grahamegrieve pushed 1 commit to branch master.
- fixes from testing on linux (7aa8894)
FHIRServer bot (Oct 19 2020 at 21:44):
grahamegrieve pushed 2 commits to branch master.
- More work on cross platform portability for the tests (207e010)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (4ce7bdd)
FHIRServer bot (Oct 19 2020 at 22:46):
grahamegrieve pushed 1 commit to branch master.
- fix compile problems (a7a074e)
FHIRServer bot (Oct 19 2020 at 23:57):
grahamegrieve pushed 1 commit to branch master.
- fix compile problem with DUnitX code (8780877)
FHIRServer bot (Oct 20 2020 at 01:20):
grahamegrieve pushed 1 commit to branch master.
- Add missing binaries (e248ba8)
FHIRServer bot (Oct 20 2020 at 02:35):
grahamegrieve pushed 1 commit to branch master.
- fix typecasting bugs + add v2 & snomed to unit tests (fe97c0d)
FHIRServer bot (Oct 20 2020 at 06:27):
grahamegrieve pushed 1 commit to branch master.
- fix bugs loading R2 endpoint for tx server (f109b4b)
Jose Costa Teixeira (Oct 20 2020 at 07:25):
I get an error when getting a specific version of a resource
http://test.fhir.org/r4/Patient/180252/_history/3
Jose Costa Teixeira (Oct 20 2020 at 07:25):
same with
http://test.fhir.org/r4/Patient/180252/_history
Jose Costa Teixeira (Oct 20 2020 at 07:26):
I can try to debug. any place i should look for?
Grahame Grieve (Oct 20 2020 at 11:06):
not sure
FHIRServer bot (Oct 20 2020 at 13:30):
grahamegrieve pushed 1 commit to branch master.
- more fixes for running under FPC (6153b47)
FHIRServer bot (Oct 20 2020 at 14:08):
grahamegrieve pushed 1 commit to branch master.
- Fix bug in web folder handling (f5815df)
FHIRServer bot (Oct 20 2020 at 14:29):
grahamegrieve pushed 1 commit to branch master.
- fix memory leak (5e4d0ce)
FHIRServer bot (Oct 20 2020 at 22:25):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 20 2020 at 22:26):
grahamegrieve pushed 5 commits to branch master.
- commit (9b084f7)
- Merge remote-tracking branch 'origin/master' (a6074df)
- git ignore (b556f1f)
- Merge remote-tracking branch 'origin/master' (b20078e)
- Merge remote-tracking branch 'origin/master' (b40f091)
FHIRServer bot (Oct 21 2020 at 02:06):
grahamegrieve pushed 3 commits to branch master.
FHIRServer bot (Oct 21 2020 at 05:50):
grahamegrieve pushed 1 commit to branch master.
- Add thread tracking & display in console (4fd2bfd)
FHIRServer bot (Oct 21 2020 at 08:40):
grahamegrieve pushed 1 commit to branch master.
- Fix server thread leak (db3963d)
FHIRServer bot (Oct 21 2020 at 08:51):
grahamegrieve pushed 1 commit to branch master.
- Fix error getting web content when deployed (ec44a67)
FHIRServer bot (Oct 21 2020 at 11:22):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 21 2020 at 20:00):
grahamegrieve pushed 1 commit to branch master.
- more work on tracking threads (9102df8)
FHIRServer bot (Oct 21 2020 at 21:14):
grahamegrieve pushed 1 commit to branch master.
- more work on thread tracking + fix NDC bug (4952563)
FHIRServer bot (Oct 22 2020 at 11:26):
grahamegrieve pushed 1 commit to branch master.
- more thread work (55cfbf2)
FHIRServer bot (Oct 22 2020 at 11:27):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 23 2020 at 03:21):
grahamegrieve pushed 2 commits to branch master.
- more work on server stability. finish console, and clean up folders and doco (5598e09)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (b12276a)
Grahame Grieve (Oct 23 2020 at 03:26):
ok so I've been rather busy... let's do a status report:
- the server has had a lot of quality work done under the hood.
- I still have some thread leaks - working on that.
- I've split the server into 2 parts - server and console. The console connects to the server and displays the status.
- the server includes the test cases now.
- windows: compiles and passes tests for the 32 and 64 in both FPC and delphi
- linux: server compiles and passes most tests. I still have to work on openSSL and MySQL .so issues
- OSX: the server compiles, but won't run. Need to investigate why
Jose Costa Teixeira (Oct 23 2020 at 05:23):
the console is a very good thing.
Jose Costa Teixeira (Oct 23 2020 at 05:24):
(i have to see if I get this running, later today or tomorrow)
Jose Costa Teixeira (Oct 23 2020 at 05:27):
You're using Lazarus 32 or 64 bit?
Grahame Grieve (Oct 23 2020 at 05:31):
works with either but I'm using 64bit since the server needs 64 to do terminologies
Jose Costa Teixeira (Oct 23 2020 at 05:52):
ok I got past that one. For installing markdown and markdown-tests: do I install the packages? or add it to the path somehow?
Jose Costa Teixeira (Oct 23 2020 at 05:53):
Grahame Grieve (Oct 23 2020 at 06:50):
yes install the packges - markdown then markdowntests
Grahame Grieve (Oct 23 2020 at 06:50):
acftually you don't need to install them - just open and compile
Jose Costa Teixeira (Oct 23 2020 at 06:56):
markdowntests.pas(11,3) Fatal: Cannot find LazarusPackageIntf used by MarkdownTests. Check if package FCL is in the dependencies of package MarkdownTests.
Jose Costa Teixeira (Oct 23 2020 at 06:56):
any idea?
Jose Costa Teixeira (Oct 23 2020 at 06:56):
(markdown compiled ok)
Grahame Grieve (Oct 23 2020 at 06:57):
it is in the dependencies?
Jose Costa Teixeira (Oct 23 2020 at 07:09):
it was not. it is, and it compiles now
Jose Costa Teixeira (Oct 23 2020 at 07:09):
(sorry, getting used to Lazarus and packages)
Jose Costa Teixeira (Oct 23 2020 at 07:13):
what is your R drive? it's trying to put the dcus there
Jose Costa Teixeira (Oct 23 2020 at 07:13):
memory drive?
Jose Costa Teixeira (Oct 23 2020 at 07:13):
(does it matter?)
Jose Costa Teixeira (Oct 23 2020 at 07:16):
it does not compile:
FHIR.Support.Fpc.pas(712,33) Error: Wrong number of parameters specified for call to "Read"
Grahame Grieve (Oct 23 2020 at 07:56):
yes. R: is my ram drive
Grahame Grieve (Oct 23 2020 at 07:57):
where does read come from for you?
Grahame Grieve (Oct 23 2020 at 07:57):
what version of lazarus do you have? and FPC?
Grahame Grieve (Oct 23 2020 at 07:57):
should be classesh.inc line 959
FHIRServer bot (Oct 23 2020 at 12:32):
grahamegrieve pushed 3 commits to branch master.
- move from DUnitX to Dunit (for FPR compatibility) (d83f684)
- move from DUNITX to DUnit (86d2006)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (2fccea1)
Jose Costa Teixeira (Oct 23 2020 at 12:39):
I was in calls, missed this.
Lazarus 2.0.10,
FPC 3.2.0
Jose Costa Teixeira (Oct 23 2020 at 12:41):
I get the error in FHIR.support.pfc L712,
while Read(buf, 0, BufSize) > 0 do ;
The compiler is right ,the declaration (at least the declaration it thinks is the right one) is in Line 183:
function Read(var buffer; count: Longint): Longint; override;
Jose Costa Teixeira (Oct 23 2020 at 12:42):
I just removed the 0 and it is compiling.
Jose Costa Teixeira (Oct 23 2020 at 12:44):
Until it stops here
FHIR.Server.Kernel.Testing.pas(42,3) Fatal: Cannot find XGuiTestRunner used by FHIR.Server.Kernel.Testing of the Project Inspector.
Grahame Grieve (Oct 23 2020 at 18:18):
this makes me think that your copy of markdown isn't up to date.
Grahame Grieve (Oct 23 2020 at 18:21):
it should be MarkDownTests.lpk / .pas in Markdown / tests
FHIRServer bot (Oct 23 2020 at 19:21):
grahamegrieve pushed 1 commit to branch master.
- Compile fixes for javascript (f7f3bd4)
Jose Costa Teixeira (Oct 23 2020 at 19:21):
that 's the one I use, and I just got it a few days ago. Has it changed recently?
FHIRServer bot (Oct 23 2020 at 19:45):
grahamegrieve pushed 4 commits to branch master.
- linux compile fixes (8d1a091)
- linux compile fixes (ed473d4)
- Merge remote-tracking branch 'origin/master' (5642ad6)
- linux compile fixes (5e95ecc)
FHIRServer bot (Oct 23 2020 at 19:56):
grahamegrieve pushed 1 commit to branch master.
- More linux fixes (885fa91)
FHIRServer bot (Oct 23 2020 at 19:59):
grahamegrieve pushed the branch master.
FHIRServer bot (Oct 23 2020 at 21:07):
grahamegrieve pushed 1 commit to branch master.
- osx compile fixes (e21ff60)
FHIRServer bot (Oct 23 2020 at 22:21):
grahamegrieve pushed the branch master.
Grahame Grieve (Oct 24 2020 at 02:14):
maybe it's a case error. try again
FHIRServer bot (Oct 24 2020 at 06:17):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 24 2020 at 07:17):
grahamegrieve pushed 1 commit to branch master.
- work on openSSL testing (cb072a8)
FHIRServer bot (Oct 24 2020 at 16:22):
grahamegrieve pushed 1 commit to branch master.
- add web tests to lpr (27f2a67)
FHIRServer bot (Oct 24 2020 at 17:26):
grahamegrieve pushed 4 commits to branch master.
- fix unit folder (dbcfe46)
- Merge remote-tracking branch 'origin/master' (0f7ca56)
- linux fixes for openssl (3562c67)
- Merge remote-tracking branch 'origin/master' (77074f8)
FHIRServer bot (Oct 24 2020 at 17:35):
grahamegrieve pushed 3 commits to branch master.
- get email working with openSSL 1.1.x (01f8714)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (312c9b3)
- more linux fixes for openSSL (fae3693)
FHIRServer bot (Oct 24 2020 at 17:59):
grahamegrieve pushed 1 commit to branch master.
- more fixes for openSSL on linux (8b1d5fb)
Jose Costa Teixeira (Oct 24 2020 at 20:19):
(nevermind)
Jose Costa Teixeira (Oct 24 2020 at 20:20):
(really)
FHIRServer bot (Oct 25 2020 at 03:08):
grahamegrieve pushed 3 commits to branch master.
- correct errors in OpenSSL EVP headers (8d7c398)
- reorg openSSL related code and add test case for the server (4fd96b7)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (de1dbb0)
FHIRServer bot (Oct 25 2020 at 06:08):
grahamegrieve pushed 1 commit to branch master.
- more work on linux tests (7080409)
FHIRServer bot (Oct 26 2020 at 08:54):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 26 2020 at 09:01):
grahamegrieve pushed 1 commit to branch master.
- FPC compile fixes (60bb8a6)
FHIRServer bot (Oct 26 2020 at 09:03):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 26 2020 at 11:50):
grahamegrieve pushed 2 commits to branch master.
- Add Npm test cases (057242f)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (93283f8)
FHIRServer bot (Oct 26 2020 at 22:06):
grahamegrieve pushed 1 commit to branch master.
- More work on testing (9613fca)
Jose Costa Teixeira (Oct 26 2020 at 22:10):
how do I tell Lazarus where to look for other units? I think this was the Library folder in Delphi.
Jose Costa Teixeira (Oct 27 2020 at 07:34):
i now get a
FHIR.Server.Session.pas(38,86) Fatal: Cannot find FHIR.Web.Crypto used by FHIR.Server.Session.
but the file is there.
FHIRServer bot (Oct 27 2020 at 08:29):
grahamegrieve pushed 2 commits to branch master.
Grahame Grieve (Oct 27 2020 at 08:32):
it's in the lpr. you might have to reload it?
FHIRServer bot (Oct 27 2020 at 10:01):
grahamegrieve pushed 1 commit to branch master.
- fix compile + fix case of TearDown (8a9ab21)
FHIRServer bot (Oct 27 2020 at 19:53):
grahamegrieve pushed 1 commit to branch master.
- more work on tests for FPC (1959f33)
FHIRServer bot (Oct 28 2020 at 05:13):
grahamegrieve pushed 1 commit to branch master.
- fix up xml and javascript issues discovered in testing (5058cec)
FHIRServer bot (Oct 28 2020 at 10:17):
grahamegrieve pushed 1 commit to branch master.
- linux compile fixes (f800678)
FHIRServer bot (Oct 28 2020 at 19:33):
grahamegrieve pushed 1 commit to branch master.
- more work on toolkit (994a510)
FHIRServer bot (Oct 30 2020 at 01:50):
grahamegrieve pushed 1 commit to branch master.
- start working on new toolkit (90db2a7)
FHIRServer bot (Oct 30 2020 at 07:05):
grahamegrieve pushed 2 commits to branch master.
Jose Costa Teixeira (Oct 30 2020 at 07:31):
I'm still stuck getting this to build
FHIR.Server.Session.pas(38,86) Fatal: Cannot find FHIR.Web.Crypto used by FHIR.Server.Session.
Jose Costa Teixeira (Oct 30 2020 at 07:37):
Just refreshed, now it's missing CommonTestBase. I cant't find that one
FHIRServer bot (Oct 30 2020 at 19:11):
grahamegrieve pushed 1 commit to branch master.
- more work on NPM cache management (fb243d4)
Grahame Grieve (Oct 30 2020 at 19:17):
rebuild markfowntests
Jose Costa Teixeira (Oct 30 2020 at 21:11):
something moved.
Jose Costa Teixeira (Oct 30 2020 at 21:11):
Now i get
FHIR.Npm.Tests.pas(87,14) Error: Identifier not found "isMoreRecentVersion"
Jose Costa Teixeira (Oct 30 2020 at 21:19):
which is weird because FHIR.Npm.Tests uses FHIR.Npm.Package which is where that function is declared
FHIRServer bot (Oct 31 2020 at 06:46):
grahamegrieve pushed 1 commit to branch master.
- Fix JSON parsing bugs and more work on toolkit (a3d5bbd)
FHIRServer bot (Oct 31 2020 at 07:42):
grahamegrieve pushed 1 commit to branch master.
- more work on editor (a29a5bb)
FHIRServer bot (Oct 31 2020 at 17:57):
grahamegrieve pushed 1 commit to branch master.
- more toolkit work (089d87d)
FHIRServer bot (Nov 01 2020 at 10:26):
grahamegrieve pushed 1 commit to branch master.
- more work on toolkit (60c30ac)
FHIRServer bot (Nov 01 2020 at 17:52):
grahamegrieve pushed 1 commit to branch master.
- more work on toolkit (a39cd4d)
FHIRServer bot (Nov 02 2020 at 07:36):
grahamegrieve pushed 3 commits to branch master.
FHIRServer bot (Nov 02 2020 at 18:55):
grahamegrieve pushed 1 commit to branch master.
- more work (15bdbf4)
Grahame Grieve (Nov 02 2020 at 20:39):
Identifier not found "isMoreRecentVersion"
A Clean and Build didn't resolve this?
Jose Costa Teixeira (Nov 02 2020 at 20:41):
12 Clean and Builds haven't yet..
Jose Costa Teixeira (Nov 02 2020 at 20:43):
12 is an approx number. 12±50
Grahame Grieve (Nov 02 2020 at 20:48):
which project are you building?
Jose Costa Teixeira (Nov 02 2020 at 20:54):
FHIRServerFPC
Grahame Grieve (Nov 02 2020 at 21:30):
ok and what version of FPC and lazarus are you using?
Jose Costa Teixeira (Nov 03 2020 at 06:22):
Lazarus 2.0.10
FPC 3.2.0
FHIRServer bot (Nov 03 2020 at 07:01):
grahamegrieve pushed 1 commit to branch master.
- more work on tool kit (d3abafa)
Grahame Grieve (Nov 03 2020 at 19:30):
you using mac or windows
Jose Costa Teixeira (Nov 03 2020 at 19:59):
windows
FHIRServer bot (Nov 03 2020 at 20:20):
grahamegrieve pushed 1 commit to branch master.
- more toolkit work (4788d78)
FHIRServer bot (Nov 04 2020 at 07:18):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Nov 04 2020 at 18:04):
grahamegrieve pushed 1 commit to branch master.
- more toolkit work (7f295f4)
Jose Costa Teixeira (Nov 04 2020 at 20:24):
I changed 2 things:
- I took the latest commit
- instead of keaving the unit output directory empty (where you had your R:), i put
lib\$(TargetCPU)-$(TargetOS)
. Now it complains about something else -
FHIR.v2.Tests.pas(570,6) Error: Identifier not found "GHL7Dict"
FHIRServer bot (Nov 04 2020 at 22:20):
grahamegrieve pushed 7 commits to branch master.
- OSX testing fix (1e0fd83)
- Merge remote-tracking branch 'origin/master' (85bc29a)
- Merge remote-tracking branch 'origin/master' (03c3fa5)
- Merge remote-tracking branch 'origin/master' (88fec3a)
- Merge remote-tracking branch 'origin/master' (4d1c69b)
- Merge remote-tracking branch 'origin/master' (5d4540b)
- compile merges for toolkit on OSX (37d8c13)
Grahame Grieve (Nov 05 2020 at 01:26):
that compile issue is my fault.
FHIRServer bot (Nov 05 2020 at 01:28):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Nov 05 2020 at 02:40):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Nov 05 2020 at 11:13):
grahamegrieve pushed 2 commits to branch master.
- more work on toolkit (8b96532)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (58a22e4)
FHIRServer bot (Nov 05 2020 at 11:30):
grahamegrieve pushed 1 commit to branch master.
- compile fixes (ca7b43b)
FHIRServer bot (Nov 05 2020 at 11:33):
grahamegrieve pushed the branch master.
FHIRServer bot (Nov 05 2020 at 11:33):
grahamegrieve pushed 1 commit to branch master.
- git ginore for linux (d368719)
Jose Costa Teixeira (Nov 05 2020 at 19:51):
one step further, now I get this
JclSysUtils.pas(3098,24) Error: Incompatible types: got "Boolean" expected "Byte"
Grahame Grieve (Nov 05 2020 at 19:58):
and you have pulled the latest? I fixed that yesterday
Jose Costa Teixeira (Nov 05 2020 at 20:00):
i'll double check
Jose Costa Teixeira (Nov 05 2020 at 21:19):
pulled latest commit, error is still there. Am I missing any of the changes?
Grahame Grieve (Nov 06 2020 at 18:08):
waht is the path name to JclSysUtils?
Grahame Grieve (Nov 06 2020 at 18:17):
oh I think this is a version thing.
Grahame Grieve (Nov 06 2020 at 18:18):
you need FPC 3.3.1
Jose Costa Teixeira (Nov 06 2020 at 19:43):
where can I download that from?
Jose Costa Teixeira (Nov 06 2020 at 19:44):
I only see 3.2.0, no 3.3.x
FHIRServer bot (Nov 06 2020 at 20:00):
grahamegrieve pushed 3 commits to branch master.
- add synchroniser (ecf44dd)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (4a0d059)
- partial parsing changes (9ac19e5)
Grahame Grieve (Nov 06 2020 at 20:21):
I think you'll have to install using FPCUPdeluxe. have you used that before?
Jose Costa Teixeira (Nov 06 2020 at 20:32):
no
Grahame Grieve (Nov 06 2020 at 20:48):
it's the least worst way to install lazarus. Download the pre-built binary, and put it in the directory you want to install lazarus to.
Then run it, make sure the lazarus directory in the top left is the one you want, and then choose the versions of lazarus and FPC you want (2.10.0 and 3.3.1 respectively).
Then choose install - it should just work. (may take ~30min)
you can also install other compilers, or a debug version of lazarus and FPC too while you're there.
FHIRServer bot (Nov 06 2020 at 21:34):
grahamegrieve pushed 3 commits to branch master.
- update openSSL wrapper (d3db7e1)
- set up object tracking & remove ThreadTracker (ace4101)
- rework parse location data & start work on object/wire format synchronization + performance improvements for XHTML parsing (e47141d)
Grahame Grieve (Nov 06 2020 at 23:12):
Alternatively, you can install from http://healthintersections.com.au/FhirServer/Lazarus-Setup.exe though you have to install that to c:\tools\Lazarus
Jose Costa Teixeira (Nov 07 2020 at 00:33):
I got it to build finally.
just in time for the weekend
FHIRServer bot (Nov 07 2020 at 20:09):
grahamegrieve pushed 3 commits to branch master.
- clean up code (6252af4)
- track location data when writing resources (f4d50b4)
- add object tracking and reduce memory usage (4e085a9)
FHIRServer bot (Nov 07 2020 at 20:17):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Nov 07 2020 at 20:48):
grahamegrieve pushed 1 commit to branch master.
- fix up compile problems (07993a3)
FHIRServer bot (Nov 09 2020 at 07:10):
grahamegrieve pushed 4 commits to branch master.
- more location work (5195f62)
- more work (aa78637)
- finish work on Json / xml source tracking (06d9056)
- Merge pull request #109 from grahamegrieve/gg-work (6950e09)
Jose Costa Teixeira (Nov 09 2020 at 07:55):
I get this error now
FHIR.Web.HtmlGen.pas(550,17) Error: Identifier idents no member "HasAttributes"
Jose Costa Teixeira (Nov 09 2020 at 07:56):
(this is in procedure THtmlPublisher.writeXhtml(node: TFhirXHtmlNode);)
Grahame Grieve (Nov 09 2020 at 09:19):
that seems like an incomplete compile to me = clean and build?
Jose Costa Teixeira (Nov 09 2020 at 09:42):
Yep, I think i need to really close the project before I fetch latest changes
Grahame Grieve (Nov 09 2020 at 10:25):
Lazarus isn't good at picking up which units need to be recompiled. So I do a clean+build after git pull, and whenever I get a weird compile failure
FHIRServer bot (Nov 09 2020 at 18:57):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Nov 11 2020 at 06:53):
grahamegrieve pushed 4 commits to branch master.
- refactor source location to be always zero based. + fix up tabs + more work on synchronisation (1aa3a1e)
- more toolkit work (f6e2b57)
- finish refactoring source location tracking, and refactor tool kit (6a36e3a)
- Merge pull request #110 from grahamegrieve/gg-work (866bbc1)
Grahame Grieve (Nov 12 2020 at 07:01):
@Jose Costa Teixeira I'm working on a pretty large change to the code - renaming units etc. it's preparing the way for FPC packages, which should help with FPC compiling issues. You can see the changes in the gg-work branch.
FHIRServer bot (Nov 13 2020 at 04:52):
grahamegrieve pushed 7 commits to branch master.
- ongoing work (ff763aa)
- renaming units (2bb417c)
- more reorganising code (ea39e51)
- more re-organizing units (e2d9384)
- compile fixes (bc08e57)
- finish reworking unit names and introduce packages for lazarus projects (3c333f8)
- Merge pull request #111 from grahamegrieve/gg-work (fa57980)
FHIRServer bot (Nov 13 2020 at 05:50):
grahamegrieve pushed 1 commit to branch master.
- linux compile fixes (abad266)
FHIRServer bot (Nov 13 2020 at 06:16):
grahamegrieve pushed 1 commit to branch master.
- linux compile fixes (89a3530)
FHIRServer bot (Nov 13 2020 at 06:17):
grahamegrieve pushed the branch master.
FHIRServer bot (Nov 13 2020 at 07:00):
grahamegrieve pushed 1 commit to branch master.
- osx compile (a3d3ac2)
FHIRServer bot (Nov 19 2020 at 22:03):
grahamegrieve pushed 2 commits to branch master. Commits by danka74 (1) and grahamegrieve (1).
Rob Hausam (Nov 19 2020 at 22:05):
Now that this is fixed I'll get the Swedish edition loaded (assuming there are no further issues with it).
Rob Hausam (Nov 19 2020 at 22:06):
Once the server is updated.
Rob Hausam (Nov 19 2020 at 22:08):
(deleted)
FHIRServer bot (Nov 20 2020 at 01:03):
grahamegrieve pushed 5 commits to branch master.
- work in progress around WP port (bc7e23f)
- add .sizeInBytes to TFslObject (4ef3350)
- get all tests passing; more reorg code; more doco; (5351dda)
- merges (517fa46)
- Merge pull request #113 from grahamegrieve/gg-work (8586358)
FHIRServer bot (Nov 20 2020 at 01:35):
grahamegrieve pushed 1 commit to branch master.
- fix up compile issues (f2026d8)
FHIRServer bot (Nov 20 2020 at 01:47):
grahamegrieve pushed 1 commit to branch master.
- fix case of fhirconsole (bc00936)
Grahame Grieve (Nov 20 2020 at 17:11):
I still have to do a release. Hopefully early next week
FHIRServer bot (Nov 21 2020 at 08:49):
grahamegrieve pushed 1 commit to branch master.
- more work on install (57fd21e)
Jose Costa Teixeira (Nov 21 2020 at 09:34):
Jose Costa Teixeira (Nov 21 2020 at 09:35):
this for a first tab?
FHIRServer bot (Nov 22 2020 at 07:24):
grahamegrieve pushed 1 commit to branch master.
- more work on install (4cb9465)
Grahame Grieve (Nov 23 2020 at 02:18):
so if you compile the FHIR console, you'll find that this got to be a blocker for me, so I acted on it (sorry) - compile and run and look at the manage server tab
FHIRServer bot (Nov 23 2020 at 02:34):
grahamegrieve pushed 1 commit to branch master.
- more work on config (9e6d003)
FHIRServer bot (Nov 23 2020 at 06:50):
grahamegrieve pushed 1 commit to branch master.
- more work on console/install (dfc5782)
Jose Costa Teixeira (Nov 23 2020 at 07:07):
Oh sorry for that. I just couldn't pick it up before. Apologies.
Jose Costa Teixeira (Nov 23 2020 at 20:41):
In the console, I'm getting a
fhirconsole.pas(12,25) Fatal: Cannot find fsl_base used by fhirconsole of the Project Inspector.
Jose Costa Teixeira (Nov 23 2020 at 20:49):
Did you add FastMM4 recently? I don't think I ever had it, and now it's complaining that it's missing.
Grahame Grieve (Nov 24 2020 at 00:32):
what packages does fhirconsole depend on in the project inspector?
Jose Costa Teixeira (Nov 24 2020 at 06:43):
FHIRServer bot (Nov 24 2020 at 06:51):
grahamegrieve pushed 1 commit to branch master.
- more work on config (1e17f85)
Grahame Grieve (Nov 24 2020 at 08:30):
you should be able to open each of the packages and compile it ok
Jose Costa Teixeira (Nov 24 2020 at 09:06):
all of the required packages compile
Grahame Grieve (Nov 24 2020 at 12:11):
and it's still a problem?
Jose Costa Teixeira (Nov 24 2020 at 13:34):
Now I get this.
fhirconsole.pas(12,25) Fatal: Cannot find fsl_base used by fhirconsole of the Project Inspector.
FHIRServer bot (Nov 24 2020 at 19:14):
grahamegrieve pushed 2 commits to branch master.
Grahame Grieve (Nov 24 2020 at 20:14):
I certainly don't understand that error. what version of Lazarus are you using?
Jose Costa Teixeira (Nov 24 2020 at 21:28):
same 2.0.10
Grahame Grieve (Nov 24 2020 at 21:55):
it's weird. It's in a package that the project depends on, so it should automatically be in the project path
FHIRServer bot (Nov 25 2020 at 07:01):
grahamegrieve pushed 1 commit to branch master.
- more work refactoring core (d27bd3d)
FHIRServer bot (Nov 25 2020 at 12:49):
grahamegrieve pushed 1 commit to branch master.
- more refactoring - nearly there (24ed83c)
FHIRServer bot (Nov 26 2020 at 07:55):
grahamegrieve pushed 1 commit to branch master.
- more refactoring - nearly there (27d3372)
FHIRServer bot (Nov 26 2020 at 12:09):
grahamegrieve pushed 1 commit to branch master.
- finish server refactoring (2d97ae0)
FHIRServer bot (Nov 26 2020 at 13:02):
grahamegrieve pushed 1 commit to branch master.
- bug fixes (89ce94b)
FHIRServer bot (Nov 27 2020 at 08:21):
grahamegrieve pushed 1 commit to branch master.
- more work on install (c23761c)
Grahame Grieve (Nov 27 2020 at 10:00):
hey @Jose Costa Teixeira I'm done with the refactoring now. It's time for stability. so it would be really good to get you compiling everything....
Jose Costa Teixeira (Nov 27 2020 at 10:01):
ok let me sync
Jose Costa Teixeira (Nov 27 2020 at 10:05):
So, I noticed one thing before that I cannot explain:
The moment I do compile, Some of my files get changed, For example, in packages\fhir.pas, the compiler removes everything in uses
and adds LazarusPackageIntf
Grahame Grieve (Nov 27 2020 at 10:06):
the pascal files in /packages are owned by the IDE
Grahame Grieve (Nov 27 2020 at 10:06):
you can't edit them
Grahame Grieve (Nov 27 2020 at 10:07):
you have to use the package editor
Jose Costa Teixeira (Nov 27 2020 at 10:14):
i did not change any files, they are fresh from github. Do i need to change any packages?
Grahame Grieve (Nov 27 2020 at 10:14):
no. just recompile everything
Grahame Grieve (Nov 27 2020 at 10:15):
windows, yes?
Jose Costa Teixeira (Nov 27 2020 at 10:23):
yes
Jose Costa Teixeira (Nov 27 2020 at 10:24):
the moment I hit compile, the IDE messes with my uses clause
Grahame Grieve (Nov 27 2020 at 10:24):
which uses clause?
Jose Costa Teixeira (Nov 27 2020 at 10:28):
this is what happens when I hit Build (or compile)
Jose Costa Teixeira (Nov 27 2020 at 10:28):
Jose Costa Teixeira (Nov 27 2020 at 10:35):
(maybe this is because of the R drive which i don't have)
Jose Costa Teixeira (Nov 27 2020 at 10:35):
I'm checking it
Grahame Grieve (Nov 27 2020 at 10:39):
no not the r drive.
Grahame Grieve (Nov 27 2020 at 10:39):
what happens if you open the .lpk file?
Jose Costa Teixeira (Nov 27 2020 at 10:44):
Grahame Grieve (Nov 27 2020 at 10:52):
so that's the problem, right there. Why is it empty?
Grahame Grieve (Nov 27 2020 at 10:52):
what's in the .pk if you open it as text?
Jose Costa Teixeira (Nov 27 2020 at 10:57):
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<Package Version="5">
<PathDelim Value="\"/>
<Name Value="fhir"/>
<Type Value="RunAndDesignTime"/>
<CompilerOptions>
<Version Value="11"/>
<PathDelim Value="\"/>
<SearchPaths>
<IncludeFiles Value="..\library"/>
<OtherUnitFiles Value="..\library\fhir;..\library\cda;..\library\fdb;..\library\ftx;..\library\v2;..\library\dicom"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
</CompilerOptions>
<Files>
<Item>
<Filename Value="..\library\fhir\fhir_cdshooks.pas"/>
<UnitName Value="fhir_cdshooks"/>
</Item>
<Item>
<Filename Value="..\library\fhir\fhir_client.pas"/>
<UnitName Value="fhir_client"/>
</Item>
...
```xml
<Item>
<Filename Value="..\library\ftx\ftx_lang.pas"/>
<UnitName Value="ftx_lang"/>
</Item>
</Files>
<RequiredPkgs>
<Item>
<PackageName Value="fhir_fsl"/>
</Item>
<Item>
<PackageName Value="FCL"/>
</Item>
</RequiredPkgs>
<UsageOptions>
<UnitPath Value="$(PkgOutDir)"/>
</UsageOptions>
<PublishOptions>
<Version Value="2"/>
<UseFileFilters Value="True"/>
</PublishOptions>
</Package>
</CONFIG>
Grahame Grieve (Nov 27 2020 at 12:01):
how many files are in there? why do they disappear when you load it? Looks like a question for the lazarus forums
FHIRServer bot (Nov 27 2020 at 13:08):
grahamegrieve pushed 1 commit to branch master.
- more bug fixes and memory leak fixes (0e28dcd)
FHIRServer bot (Nov 28 2020 at 21:55):
grahamegrieve pushed 1 commit to branch master.
- fix up install and refactor bridge server (ba5002d)
FHIRServer bot (Nov 29 2020 at 10:50):
grahamegrieve pushed 1 commit to branch master.
- more work chasing memory leaks (57741b8)
FHIRServer bot (Nov 30 2020 at 06:24):
grahamegrieve pushed 1 commit to branch master.
- work on performance optimization for terminology server (1f5c3fb)
FHIRServer bot (Nov 30 2020 at 06:56):
grahamegrieve pushed 1 commit to branch master.
- set cache size to 1GB (ec7a188)
FHIRServer bot (Nov 30 2020 at 11:44):
grahamegrieve pushed 10 commits to branch master.
- more wrk on installer (1241280)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (92fca44)
- keep up to date for version release (4bbc75f)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (6bb0730)
- more release (b66a5bd)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (753973c)
- more release (31ff580)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (fd28d0d)
- updates for release (46a202d)
- work on new install (4a704e7)
FHIRServer bot (Nov 30 2020 at 11:54):
grahamegrieve pushed 1 commit to branch master.
- fix compile in non-debug mode (efd65dd)
FHIRServer bot (Nov 30 2020 at 20:12):
grahamegrieve pushed 1 commit to branch master.
- update installer (198a7c6)
Rob Hausam (Nov 30 2020 at 20:22):
From Nov 20:
I still have to do a release. Hopefully early next week
@Grahame Grieve Any update or timeline on this?
Grahame Grieve (Nov 30 2020 at 21:33):
well, I've done the release but the first server I tried it on has spectacularly failed, and I'm trying to figure out how to recover it
Rob Hausam (Nov 30 2020 at 22:40):
Well, that's not good - but hopefully you will have it sorted soon.
Grahame Grieve (Dec 01 2020 at 02:33):
I have. So my task now is to get tx.fhir.org upgraded and with the latest packages. So it's a matter of hours, hopefully
FHIRServer bot (Dec 01 2020 at 09:48):
grahamegrieve pushed 1 commit to branch master.
- fix deployment issues (f81651d)
FHIRServer bot (Dec 01 2020 at 11:38):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Dec 02 2020 at 04:10):
grahamegrieve pushed 1 commit to branch master.
- remove FPC copy of FMM (25d41ce)
FHIRServer bot (Dec 02 2020 at 04:30):
grahamegrieve pushed 1 commit to branch master.
- timeout for hgvs query (1fbc792)
Jose Costa Teixeira (Dec 02 2020 at 07:25):
I was hoping the "remove wrong paths" would fix my IDE removing files from the uses clause... still not there.
Grahame, I think this may be a matter of pointing the IDE to the right paths and replicate your folder structure. I will continue to check this
Grahame Grieve (Dec 02 2020 at 11:45):
lets start with version - you should be running on FPC 3.3.1 and Lazarus 2.1.0
Jose Costa Teixeira (Dec 02 2020 at 13:11):
I'll just reinstall to make sure I don't get any ghosts.
Jose Costa Teixeira (Dec 02 2020 at 13:11):
(for the record, i'm finding it harder and harder to resist to Lazarus-themed puns.)
Jose Costa Teixeira (Dec 02 2020 at 13:14):
2.1.0 - you mean 2.0.10? - nope figured out. I am doing 2.1.0 and 3.3.1
FHIRServer bot (Dec 02 2020 at 20:28):
grahamegrieve pushed 1 commit to branch master.
- fix bugs observed during tx.fhir.org (64c244b)
Jose Costa Teixeira (Dec 02 2020 at 22:30):
that made a difference. I'm now getting this
IdStreamVCL.pas(40,72) Fatal: Can't find unit IdStreamVCL used by IdStream
Jose Costa Teixeira (Dec 02 2020 at 22:31):
do i need to (re)install indy?
Grahame Grieve (Dec 03 2020 at 01:15):
no. I think that this is a bug in Lazarus. You work around this by reopening fhir_fsl and compiling it, and then compiling again
Jose Costa Teixeira (Dec 03 2020 at 08:14):
ok now it's complaining about fmm.
the path to fastmm.pas is not here
Jose Costa Teixeira (Dec 03 2020 at 08:14):
Jose Costa Teixeira (Dec 03 2020 at 08:26):
should I add it in libraries, or in other units? or I need to do something else?
I compile almost all packages. fhir_wp fails with
wp_gdiplus.pas(36,3) Fatal: Cannot find Winapi.GdipObj used by wp_gdiplus.
FHIRServer bot (Dec 03 2020 at 09:16):
grahamegrieve pushed 1 commit to branch master.
- fix toolkit bugs (e001453)
Grahame Grieve (Dec 03 2020 at 11:15):
I am removing fmm from all the lazarus projects. where have you found it?
Grahame Grieve (Dec 03 2020 at 11:16):
fhir_wp is work in progress - don't try to compile it
Jose Costa Teixeira (Dec 03 2020 at 13:22):
fhirserverLPC.lpr
uses
{$IFDEF WINDOWS}
FastMM4,
FastMM4Messages,
Jose Costa Teixeira (Dec 03 2020 at 13:28):
When I remove it, a cleanup and build results in
IdStreamVCL.pas(40,72) Fatal: Can't find unit IdStreamVCL used by IdStream
Grahame Grieve (Dec 03 2020 at 20:17):
ah. right. I moved to using just fhirserver.lpi.
Grahame Grieve (Dec 03 2020 at 20:18):
you should open the project group fhirprojects.lpg
FHIRServer bot (Dec 03 2020 at 22:04):
grahamegrieve pushed 1 commit to branch master.
- fix bug getting implicit LOINC value set (63c4437)
Jose Costa Teixeira (Dec 03 2020 at 22:11):
I open the project group and when I compile I get
Error: ppc386.exe can't be executed, error message: Failed to execute ""ppc386.exe" -Twin32 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -FuC:\lazarus\fpc\3.3.1\lazarus\packager\registration\ -FUC:\lazarus\fpc\3.3.1\lazarus\packager\units\i386-win32\ fcllaz.pas
Jose Costa Teixeira (Dec 03 2020 at 22:11):
I'll check my settings
Grahame Grieve (Dec 03 2020 at 22:50):
I don't know anything about that
FHIRServer bot (Dec 05 2020 at 03:46):
grahamegrieve pushed 1 commit to branch master.
- more work on toolkit (d55e0bb)
FHIRServer bot (Dec 05 2020 at 18:49):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Dec 05 2020 at 21:39):
grahamegrieve pushed 3 commits to branch master.
- more work (164a74a)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (0c18d60)
- refactor threads + more work on toolkit comparison (3bbd711)
FHIRServer bot (Dec 06 2020 at 08:08):
grahamegrieve pushed 1 commit to branch master.
- more work on toolkit (7edf4c8)
FHIRServer bot (Dec 06 2020 at 20:37):
grahamegrieve pushed 1 commit to branch master.
- more toolkit work (7b04c28)
FHIRServer bot (Dec 07 2020 at 09:14):
grahamegrieve pushed 1 commit to branch master.
- fixing hints and warnings (87dbd5f)
Jose Costa Teixeira (Dec 07 2020 at 10:19):
ppc386 is not there because it's the 32-bit compiler, I only have ppcx64. @Grahame Grieve what do you have installed?
Grahame Grieve (Dec 07 2020 at 10:19):
64bit only
Grahame Grieve (Dec 07 2020 at 10:19):
is the project set to 64bit profile?
Jose Costa Teixeira (Dec 07 2020 at 10:21):
btw, this is what I am installing (after trying 3.3.1 and 2.1.0, I checked that the fpc trunk seems top be at 3.3.1, so should be the same / better)
image.png
Grahame Grieve (Dec 07 2020 at 10:22):
last time I tried trunk, nothing would run
Jose Costa Teixeira (Dec 07 2020 at 10:23):
....and i'm realizing it was a mistake.
Jose Costa Teixeira (Dec 07 2020 at 10:23):
indeed, going back to 3.3.1 / 2.1.0
Jose Costa Teixeira (Dec 07 2020 at 10:24):
I set the profile in Compiler Options in Project Options, do I need to set it in any other place as well?
Grahame Grieve (Dec 07 2020 at 10:29):
yes I just tried stable... it also won't load the projects, just the behavior you were getting
Grahame Grieve (Dec 07 2020 at 10:29):
3.3.1 / 2.1.0 are the go
Jose Costa Teixeira (Dec 07 2020 at 10:47):
as soon as I open the IDE, I get this
image.png
Jose Costa Teixeira (Dec 07 2020 at 10:51):
is this the only setting I have to do? Or is there something else I'm missing?
image.png
Grahame Grieve (Dec 07 2020 at 10:52):
change the target in the project options? it's weird though, I don't often compile for win32
Jose Costa Teixeira (Dec 07 2020 at 11:09):
I think my ide was still opening the project group instead of the server project
Jose Costa Teixeira (Dec 07 2020 at 11:09):
I'm running a cleanup and build now
Jose Costa Teixeira (Dec 07 2020 at 11:11):
nope.
Jose Costa Teixeira (Dec 07 2020 at 11:12):
so:
opening project only tries to compile for a qhile, then gives me the error "IdStreamVCL.pas(40,72) Fatal: Can't find unit IdStreamVCL used by IdStream"
opening project group complains immediately about "Error: ppc386.exe can't be executed, error message: Failed to execute ""ppc386.exe" -B -Twin32 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -FuC:\lazarus\fpc\3.3.1\lazarus\packager\registration\ -FUC:\lazarus\fpc\3.3.1\lazarus\packager\units\i386-win32\ fcllaz.pas"
Grahame Grieve (Dec 07 2020 at 11:13):
the idstreamvcl seems to be an ide bug that I can't figure out. Workaround: whenever it happens, open the fhir_fsl package, and compile it. Then go back to whatever you were doing
Grahame Grieve (Dec 07 2020 at 11:17):
as for the other... I don't get it. Weird.
Grahame Grieve (Dec 07 2020 at 11:17):
if you go to the 3rd button from the left on the 2nd toolbar, and choose the drop down, what do you get?
Jose Costa Teixeira (Dec 07 2020 at 11:18):
win64
Grahame Grieve (Dec 07 2020 at 11:18):
right. so what's it complaining about? I don't know
Jose Costa Teixeira (Dec 07 2020 at 11:19):
well, now it is somplaining again about the IdStreamVCL. Let me fix that
Grahame Grieve (Dec 07 2020 at 11:19):
maybe you should use fpcupdeluxe to install the win32 cross=compiler?
Jose Costa Teixeira (Dec 07 2020 at 11:19):
you mean this?
Jose Costa Teixeira (Dec 07 2020 at 11:19):
Grahame Grieve (Dec 07 2020 at 11:29):
y
Jose Costa Teixeira (Dec 07 2020 at 12:57):
ok it's advancing.. now I get
server_testing.pas(42,19) Fatal: Cannot find fsl_tests_console used by server_testing.
FHIRServer bot (Dec 07 2020 at 15:48):
grahamegrieve pushed 1 commit to branch master.
- work on testing (23c8eec)
Jose Costa Teixeira (Dec 09 2020 at 08:50):
anyh idea why I'm missing fsl_tests_console?
Grahame Grieve (Dec 09 2020 at 10:12):
do you have it in your server directory?
Grahame Grieve (Dec 09 2020 at 10:13):
no. it's in /library/fsl/tests
Jose Costa Teixeira (Dec 09 2020 at 10:32):
got it, thanks. I think it was confused due to the use of the R drive (i usually remove that, but I think I forgot it last time i synced with github)
Jose Costa Teixeira (Dec 09 2020 at 10:32):
Now I get this
fui_lcl_tester.pas(390,40) Fatal: Syntax error, ")" expected but "," found
Jose Costa Teixeira (Dec 09 2020 at 10:32):
the line in question is
td.doInRun := td.outcome in (toFail, toError);
Grahame Grieve (Dec 09 2020 at 10:32):
weird. that can't be what's checked in now
Jose Costa Teixeira (Dec 09 2020 at 10:33):
let me refresh the whole thing again
Jose Costa Teixeira (Dec 09 2020 at 11:03):
(now the IDE is freezing when I open Project Options)
Grahame Grieve (Dec 09 2020 at 11:03):
wooah.
Grahame Grieve (Dec 09 2020 at 11:03):
this is really hard.
Jose Costa Teixeira (Dec 09 2020 at 11:16):
i know, sorry for bothering you with this..
Jose Costa Teixeira (Dec 09 2020 at 11:17):
I'm fixing these as I can. For this last issue with IDE i can manage . I think this is close to compiling at last
Jose Costa Teixeira (Dec 09 2020 at 19:14):
the furthest I get in compiling (and the IDE is really not wanting me to see the server's project properties..) is this error
fui_lcl_tester.pas(390,40) Fatal: Syntax error, ")" expected but "," found
Grahame Grieve (Dec 09 2020 at 19:21):
can you get the project inspector up?
Jose Costa Teixeira (Dec 09 2020 at 19:21):
to get here, I do this:
- checkout the master branch from GH
- manually remove the reference to the R Drive (because IDE won this battle)
- open the project group
- manually compile fhir_fsl package
- Double click on the server project to make sure it is selected
- check that the platform for compiling is win64
- Compile (if I build instead, I get the
IdStreamVCL.pas(40,72) Fatal: Can't find unit IdStreamVCL used by IdStream
Grahame Grieve (Dec 09 2020 at 19:22):
and what happens when you do project properties?
Jose Costa Teixeira (Dec 09 2020 at 19:22):
Project inspector is up
Jose Costa Teixeira (Dec 09 2020 at 19:22):
Project properties crashes the IDE.
Grahame Grieve (Dec 09 2020 at 19:24):
no messages?
Jose Costa Teixeira (Dec 09 2020 at 19:32):
no, it just hangs there. I'll show it:
Jose Costa Teixeira (Dec 09 2020 at 19:32):
Jose Costa Teixeira (Dec 09 2020 at 19:32):
the labels before those edit boxes are flickering, and stays there until it says "we need to close"
Grahame Grieve (Dec 09 2020 at 20:06):
I think you should report this on the lazarus forum
Jose Costa Teixeira (Dec 09 2020 at 21:06):
i'll try with different ide versions and then report this.
FHIRServer bot (Dec 15 2020 at 04:17):
grahamegrieve pushed 3 commits to branch master.
- finish working on testing framework (caf3a10)
- minor test UI fixes (b20bf7b)
- update to new testing framework, and get all tests passing on Lazarus + fix bugs in LOINC services (11676d5)
Jose Costa Teixeira (Dec 15 2020 at 08:54):
did you commit the idetester files?
Jose Costa Teixeira (Dec 15 2020 at 08:55):
my ide is complaining about it
Grahame Grieve (Dec 15 2020 at 12:35):
it's a separate repo
Grahame Grieve (Dec 15 2020 at 12:36):
https://github.com/grahamegrieve/lazarus-ide-tester
Grahame Grieve (Dec 15 2020 at 12:36):
load the package
Jose Costa Teixeira (Dec 15 2020 at 21:13):
After a full reinstall of everything, the server now compiles
Jose Costa Teixeira (Dec 15 2020 at 21:13):
For the toolkit it's asking for
Error: (lazbuild) Broken dependency: ExtraHighlighters
Grahame Grieve (Dec 16 2020 at 05:07):
that's listed in the read me for dependencies
Jose Costa Teixeira (Dec 16 2020 at 06:38):
:tada: :champagne: :octopus: :pray: :juggling: :lift: :fireworks:
Jose Costa Teixeira (Dec 16 2020 at 06:38):
i can compile things
Jose Costa Teixeira (Dec 16 2020 at 06:39):
Lazarus is no longer dead.
Rob Hausam (Dec 16 2020 at 06:41):
Now that you guys have done all the work, I'm going to give it a go again soon. :)
Jose Costa Teixeira (Dec 16 2020 at 06:56):
what I'd hope to remember if I had to do this again:
- use Pfpcupdeluxe to install lazarus. MUST select 3.3.1 / 2.1.0. If there was any trace of Lazarus before in your system, really delete it. kill it with fire, do not ever assume it's dead.
-
Get and install packages (may be to any folder, but use
c:\work\
just to avoid entertaining surprises):
https://github.com/grahamegrieve/delphi-markdown (packages\markdownengine.lpk
andtests\MarkdownTests.lpk
)
https://github.com/grahamegrieve/lazarus-ide-tester (package\idetester.lpk
)
https://github.com/dezlov/PascalTZ/releases/tag/v2.2.0 (package\pascaltz.lpk
)
https://github.com/BerndGabriel/HtmlViewer (package\FrameViewer09.lpk
)
https://github.com/mriscoc/extrasyn (extrahighlighters.lpk
andextrahighlighters_dsgn.lpk
-- this latter don't compile, install) -
get the source https://github.com/grahamegrieve/fhirserver - into
c:\work\
- Open the
fhirprojects.lpg
project group - In the project group, open (really open by dbl-clicking) and compile the
fhir_fsl
package - Compile (not build) the server
- Compile the toolkit
Jose Costa Teixeira (Dec 16 2020 at 07:01):
@Grahame Grieve nice name (phonetically), idetester :)
Jose Costa Teixeira (Dec 16 2020 at 21:24):
when I run the toolkit:
image.png
Grahame Grieve (Dec 17 2020 at 05:39):
you need to copy the content from exec/pack/64 into the exec/64 directory. (or 32 for both if you're building 32, but that's no longer recommended)
FHIRServer bot (Dec 17 2020 at 20:03):
grahamegrieve pushed 3 commits to branch master.
- work around weird FPC compiler bug in collection sorting (a89747e)
- rework handling of LOINC heirarchy - more faithful to weird LOINC containment (60f0aa3)
- fix compile issues (d78dfd0)
FHIRServer bot (Dec 18 2020 at 05:24):
grahamegrieve pushed 1 commit to branch master.
- Fix bugs in long string unicode handling in LOINC (8b86e41)
Jose Costa Teixeira (Dec 18 2020 at 09:02):
Jose Costa Teixeira (Dec 18 2020 at 09:02):
Any idea why this is error appears?
Jose Costa Teixeira (Dec 18 2020 at 09:10):
the offending line is
focus := FContext.focus;
FContext is nil, so it fails. I tried to see how it'd react with an if statement there, but it will fail elsewhere due to the lack of a context.
Grahame Grieve (Dec 18 2020 at 12:08):
what's the stack when this happens?
Jose Costa Teixeira (Dec 18 2020 at 13:26):
Wait, where's the stack? How can I bring the stack window?
Grahame Grieve (Dec 18 2020 at 19:17):
view debug windows call stack
Jose Costa Teixeira (Dec 19 2020 at 00:30):
Grahame Grieve (Dec 19 2020 at 05:42):
weird. So this fires before FormCreate is called? really?
Jose Costa Teixeira (Dec 19 2020 at 09:25):
Found it. formcreate gets aborted because it could not find this file
initialiseTZData(partnerFile('tzdata.tar.gz'));
Grahame Grieve (Dec 19 2020 at 10:59):
that's in /exec/pack - things in there also need to coped into exec/64
FHIRServer bot (Dec 23 2020 at 03:33):
grahamegrieve pushed 1 commit to branch master.
- minor code fises for testing (61c6a90)
FHIRServer bot (Dec 23 2020 at 05:10):
grahamegrieve pushed 2 commits to branch master. Commits by Grahame Grieve (2).
FHIRServer bot (Dec 23 2020 at 06:02):
grahamegrieve pushed 2 commits to branch master.
- fix timezone problem (8c5e2a2)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (a864204)
FHIRServer bot (Dec 23 2020 at 07:27):
grahamegrieve pushed 1 commit to branch master. Commits by Grahame Grieve (1).
- more linux compile fixes (c080466)
FHIRServer bot (Dec 23 2020 at 07:56):
grahamegrieve pushed 1 commit to branch master.
- OSX compile fixes (114dfd6)
FHIRServer bot (Dec 23 2020 at 08:04):
grahamegrieve pushed 1 commit to branch master.
- OSX compile fixes (c8af50a)
Jose Costa Teixeira (Dec 23 2020 at 08:26):
Ok now that it compiles, what can i do?
Grahame Grieve (Dec 23 2020 at 12:48):
well.... I haven't quite finished the editing framework in the toolkit. Most of the work to be done is waiting on that now
FHIRServer bot (Dec 23 2020 at 19:44):
grahamegrieve pushed 2 commits to branch master.
- don't autostart background task engine (3060d36)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (b46a6f0)
FHIRServer bot (Dec 27 2020 at 10:44):
grahamegrieve pushed 1 commit to branch master.
- compile fixes (50d3c69)
FHIRServer bot (Dec 27 2020 at 11:30):
grahamegrieve pushed 4 commits to branch master. Commits by Grahame Grieve (4).
- testing fixes (13dc2f0)
- Merge remote-tracking branch 'origin/master' (d7e52cf)
- Merge remote-tracking branch 'origin/master' (41c6418)
- linux testing fixes (c2bbfa1)
Rob Hausam (Jan 20 2021 at 17:49):
@Grahame Grieve @Jose Costa Teixeira Now that the server is compiling on FPC (I haven't tested that yet myself, but I'm preparing to), should it be (and is it) still compiling correctly in Delphi. I've updated to the latest content in the repo, and I'm running into a lot of issues when I try to compile it with the latest Delphi Community Edition. I'm wondering if that's due to issues in my setup (which I didn't have previously) that I need to fix, or if it's from some aspect(s) of the recent changes?
Grahame Grieve (Jan 20 2021 at 19:22):
it still compiles under delphi, and I'm still releasing the delphi version for now
Jose Costa Teixeira (Jan 20 2021 at 21:06):
I can check if it works on my machine too - it used to require a few normal adjustments given my folders being different from Grahame's
Jose Costa Teixeira (Jan 20 2021 at 21:09):
...and Delphi crashed. Points for Lazarus...
Rob Hausam (Jan 20 2021 at 21:10):
Thanks. I was compiling it successfully in the past, but it's been a while since I tried. I made the adjustments (I think all of them) for the different folder locations (I'm not using "C:\work"), but I have lots of other issues now.
Rob Hausam (Jan 20 2021 at 21:10):
And I guess I'm not alone. :)
Rob Hausam (Jan 20 2021 at 21:10):
I'm getting ready to try Lazarus.
Jose Costa Teixeira (Jan 20 2021 at 21:13):
Well, the trick for me is to check this often enough and be quick, to try and catch up to Grahame's code production :) But that's not easy
Jose Costa Teixeira (Jan 20 2021 at 21:13):
Rob, if you want we can have some call to go through that setup
Rob Hausam (Jan 20 2021 at 21:20):
Right. A call would be great, actually. As I'm sure that I'm still missing a few critical bits. :)
Jose Costa Teixeira (Jan 20 2021 at 21:22):
My brain is long gone for today, but tomorrow I can do it anytime after the OO call (which I cannot make, I have another call)
Rob Hausam (Jan 20 2021 at 21:26):
It looks like that will also be a good time for me, so we can plan on that. And in meantime I've installed Lazarus yesterday, but haven't actually had a chance to try it out. I'll give it a try in a little while and see how it looks.
Grahame Grieve (Jan 20 2021 at 21:46):
lazarus you must have the correct version - trunk, or FPC 3.3.1 and Lazarus 2.1.0
Grahame Grieve (Jan 20 2021 at 21:47):
what's the actual compile failure?
Grahame Grieve (Jan 20 2021 at 21:47):
oh. But if you're wanting to debug loinc import... that's lazarus specific now
Grahame Grieve (Jan 20 2021 at 21:47):
in the FHIR console
Rob Hausam (Jan 20 2021 at 21:51):
As I mentioned, I haven't actually tried Lazarus yet, I've just installed it (the latest versions - I'll check if they match the ones you listed). I'll finish moving to Lazarus and do what I need to there. Debugging LOINC import is one of the immediate things that I'm interested in, but it's definitely not the only thing.
FHIRServer bot (Jan 21 2021 at 08:37):
grahamegrieve pushed 5 commits to branch master.
- fix error with translate operation (5b3dd34)
- Various minor compile / debugging fixes (da0e3e7)
- fixing hints (a40d77d)
- fix bug in designer code (ec3d87e)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (0c7bb2b)
FHIRServer bot (Feb 10 2021 at 03:07):
grahamegrieve pushed 1 commit to branch master.
- OSX changes (edfb113)
FHIRServer bot (Feb 10 2021 at 03:26):
grahamegrieve pushed 2 commits to branch master.
- fix problem importing snomed CT (2a569da)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (4e11997)
FHIRServer bot (Mar 30 2021 at 11:23):
grahamegrieve pushed 2 commits to branch master. Commits by Saxos-Simone (1) and grahamegrieve (1).
- Fix TCDAWriter.WriteSNList to write TsnList.caption (1d15951)
- Merge pull request #115 from Saxos-Simone/master (68ae7e3)
FHIRServer bot (Apr 13 2021 at 20:28):
grahamegrieve pushed 2 commits to branch master.
- Fix wrong URL for terminology server (6498dfd)
- Merge remote-tracking branch 'origin/master' (78fd328)
FHIRServer bot (Apr 26 2021 at 20:14):
grahamegrieve pushed 2 commits to branch master. Commits by grahamegrieve (1) and rhausam (1).
- Fix LOINC importer to handle changed LOINC table fields and double-quoted strings in the Multiaxial hierarchy file introduced in 2.69 (the importer will no longer be compatible with LOINC 2.68 and earlier releases). (34c612e)
- Merge pull request #116 from rhausam/fix_loinc_importer (2755fce)
FHIRServer bot (Apr 26 2021 at 20:46):
grahamegrieve pushed 4 commits to branch master.
- fix access violation (c4568d0)
- special rules for cvx (1b2a92a)
- cosmetic enhancemnets + improved caching of code systems (103942d)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (0b88405)
Grahame Grieve (Apr 27 2021 at 22:24):
hey @Rob Hausam what is this code doing?
PATH_TO_ROOT := ReplaceRegExpr('^"', PATH_TO_ROOT, '', TRUE);
PATH_TO_ROOT := ReplaceRegExpr('"$', PATH_TO_ROOT, '', TRUE);
SEQUENCE := ReplaceRegExpr('^"', SEQUENCE, '', TRUE);
SEQUENCE := ReplaceRegExpr('"$', SEQUENCE, '', TRUE);
IMMEDIATE_PARENT := ReplaceRegExpr('^"', IMMEDIATE_PARENT, '', TRUE);
IMMEDIATE_PARENT := ReplaceRegExpr('"$', IMMEDIATE_PARENT, '', TRUE);
CODE := ReplaceRegExpr('^"', CODE, '', TRUE);
CODE := ReplaceRegExpr('"$', CODE, '', TRUE);
CODE_TEXT := ReplaceRegExpr('^"', CODE_TEXT, '', TRUE);
CODE_TEXT := ReplaceRegExpr('"$', CODE_TEXT, '', TRUE);
FHIRServer bot (Apr 27 2021 at 23:36):
grahamegrieve pushed 1 commit to branch master.
- fix access violation and disable code temporarily (a7a8bc2)
Rob Hausam (Apr 28 2021 at 20:13):
I'm sure there is likely a simpler and more elegant way to do it, but I didn't see in Pascal a general trim() function for a specific character ("
in this case), so I used regex to remove any trailing and leading "
characters (from each field separately). I suspect that I might be able to write the expression so that the leading and trailing characters, if they exist, would be removed simultaneously, but I didn't find an immediate solution that would do that and I didn't have any more time or energy to look further into how to do it that way. The "
characters weren't in that particular file before, so they hadn't been accounted for and were being included in the field values which then obviously made them not match. I thought about whether to simply remove all "
characters from the file before processing it further, and that might actually have worked, but I thought that doing it more selectively would be safer. I think that you have another splitting technique for some of the csv files (which do normally contain "
characters), and if that's the case and you wanted to change to that as a common approach, then that would probably make even more sense. This was just one way in particular to make it work in a safe and reliable way.
Grahame Grieve (Apr 28 2021 at 21:03):
do the fields might have " around them, or they might not?
Rob Hausam (Apr 28 2021 at 21:41):
my review of the file showed that they may or may not have them
Rob Hausam (Apr 28 2021 at 21:46):
and by that I mean that for a particular column the values for some rows may be double-quoted, and some may not be
if needed I can look again to verify that is actually true, but I think it is from the analysis that I did
FHIRServer bot (May 12 2021 at 21:56):
grahamegrieve pushed 1 commit to branch master.
- update R5 to 4.6.0 (764bf3a)
FHIRServer bot (May 24 2021 at 02:14):
grahamegrieve pushed 1 commit to branch master.
- CapabilitiesStatement2 implementation (faa5b91)
FHIRServer bot (May 24 2021 at 09:37):
grahamegrieve pushed 1 commit to branch master.
- add terminology features (19a992c)
FHIRServer bot (May 24 2021 at 11:36):
grahamegrieve pushed 1 commit to branch master.
- fix bugs (257dacc)
FHIRServer bot (Jun 18 2021 at 05:04):
grahamegrieve pushed 1 commit to branch master.
- refactor language handling, implement language handling on $expand, and fix logic problem with expand and value set dependencies, and work on code synonyms + Loinc survery questions (0bc855c)
FHIRServer bot (Jun 18 2021 at 05:44):
grahamegrieve pushed 1 commit to branch master.
- fix FPC compile issues (c31c73a)
FHIRServer bot (Jun 18 2021 at 22:41):
grahamegrieve pushed 1 commit to branch master.
- fix bug checking displays (02ef931)
FHIRServer bot (Jun 21 2021 at 05:40):
grahamegrieve pushed 1 commit to branch master.
- #120 - D4 compile fixes (6bc6829)
FHIRServer bot (Jun 22 2021 at 01:59):
grahamegrieve pushed 1 commit to branch master.
- finish langauge related changes for code validation, and define filters for NDC code system (97c7580)
FHIRServer bot (Jun 24 2021 at 00:56):
grahamegrieve pushed 1 commit to branch master.
- various terminology fixes + get control over caching (281e1a6)
Jose Costa Teixeira (Jul 26 2021 at 17:04):
Jose Costa Teixeira said:
what I'd hope to remember if I had to do this again:
- use Pfpcupdeluxe to install lazarus. MUST select 3.3.1 / 2.1.0. If there was any trace of Lazarus before in your system, really delete it. kill it with fire, do not ever assume it's dead.
Get and install packages (may be to any folder, but use
c:\work\
just to avoid entertaining surprises):
https://github.com/grahamegrieve/delphi-markdown (packages\markdownengine.lpk
andtests\MarkdownTests.lpk
)
https://github.com/grahamegrieve/lazarus-ide-tester (package\idetester.lpk
)
https://github.com/dezlov/PascalTZ/releases/tag/v2.2.0 (package\pascaltz.lpk
)
https://github.com/BerndGabriel/HtmlViewer (package\FrameViewer09.lpk
)
https://github.com/mriscoc/extrasyn (extrahighlighters.lpk
andextrahighlighters_dsgn.lpk
-- this latter don't compile, install)get the source https://github.com/grahamegrieve/fhirserver - into
c:\work\
- Open the
fhirprojects.lpg
project group- In the project group, open (really open by dbl-clicking) and compile the
fhir_fsl
package- Compile (not build) the server
- Compile the toolkit
@Mark Iantorno
Mark Iantorno (Jul 26 2021 at 17:43):
I cannot load the extrasyn project? What folder contains the files I need?
Mark Iantorno (Jul 26 2021 at 17:43):
@Jose Costa Teixeira
Mark Iantorno (Jul 26 2021 at 17:44):
Same for HTML viewer and lazarus ide tester
Mark Iantorno (Jul 26 2021 at 17:44):
I'm unclear how to load them
Mark Iantorno (Jul 26 2021 at 17:44):
delphi markdown worked no issue
Jose Costa Teixeira (Jul 26 2021 at 17:44):
let me check
Jose Costa Teixeira (Jul 26 2021 at 17:46):
if you do package..open package file, can you load the lpk files?
Mark Iantorno (Jul 26 2021 at 17:47):
Mark Iantorno (Jul 26 2021 at 17:47):
It loads, but when I try to build I get this
Mark Iantorno (Jul 26 2021 at 17:48):
is that expected?
Mark Iantorno (Jul 26 2021 at 17:58):
it...seems to build? and now I can get fhir_fsl to build
Mark Iantorno (Jul 26 2021 at 17:58):
which is good
Jose Costa Teixeira (Jul 26 2021 at 19:43):
(sorry, i was away for a bit)
Jose Costa Teixeira (Jul 26 2021 at 19:43):
all good?
Mark Iantorno (Jul 27 2021 at 13:08):
Yeah I have it building now
Mark Iantorno (Jul 27 2021 at 13:08):
everything builds
Mark Iantorno (Jul 27 2021 at 13:19):
thank you
Rob Hausam (Jul 27 2021 at 13:26):
The next challenge after getting it to build is to get it to run (at least for me). I assume you saw what I posted on that in the other group chat (it's probably best to have further discussion here). Have either of you been able to get a successful launch of the server yet from an FPC/Lazarus build?
Jose Costa Teixeira (Jul 27 2021 at 15:21):
Mark Iantorno said:
everything builds
Any instructions to do that in Lazarus? Not urgent, but i'd like to know
Rob Hausam (Jul 27 2021 at 17:01):
The main thing that I needed to do was add unit dependencies specifically for the 'test' folders in the subprojects. I have also moved to updating to the latest trunk versions for both FPC and Lazurus in fpcupdeluxe, rather than specifying specific revisions (I don't think that was necessary for the build to work, but there seems to be no requirement to specify the earlier revisions now). With that, both fhirserver and fhirconsole are building successfully for me now in FPC/Lazarus. However, as I posted earlier, I'm still having some issues with actually launching a fhirserver instance based on a FPC/Lazarus build:
I've been able to partly work around that, but there seems to be some issues with fsl_utilities and/or PascalTZ on FPC. To get part the initial timezone issue I commented out the lines for 'initializeTZData' and setting 'tz := TimeZoneBias;' and hardcoded it to UTC with 'tz := 0;', which worked for that part:
Screen-Shot-2021-07-26-at-09.52.41.png
But when it's loading the r4 endpoint it runs into timezone issues again. When I step into line 147 I get this exception in upascaltz.pas:
Screen-Shot-2021-07-26-at-09.46.54.pngThere are also some weird issues with ODBC, which mainly seem to be about FPC not being able for some reason to correctly parse the 'db-type' from fhirserver.cfg. It claims
Terminology Server using Unknown database type mysql
, even though it's set tomysql
in the cfg file (and that works in Delphi).
Screen-Shot-2021-07-26-at-10.10.13.pngThe fhirserver.cfg file currently is:
## FHIRServer Config File
# # FHIRServer Config File, with documentation
# generally, users should not need to edit this file directly - use the FHIRConsole "manager server" functionality.
# A list of terminology resources to load with the server. These are available on all end points
terminologies
loinc
type: loinc
source: data\loinc-2.69.cache
active: true
# db-type: mssql
# db-server:
# db-database:
# db-username:
# db-password:
# version:
# default:
ucum # this should always be loaded - several key pieces of functionality depend on it
type: ucum
source: ucum-essence.xml
active: true
version:
default:
# a list of end points to load with the server. The server doesn't offer any functionality except the home page unless endpoints are loaded
endpoints
# loinc # loinc browser
# type: loinc
# path: /loinc
# active: true
# version:
# packages:
# db-type: SQLite
# db-server:
# db-database:
# db-username:
# db-password:
# tx4
# type: terminology
# version: r4
# path: /r4
# active: true
# db-type: mysql
# db-server: localhost
# db-database: fhirDB
# db-username: sa
# db-password: DBroot123
# packages:
# db-driver: MySQL ODBC 5.3 Unicode Driver
r4
type: terminology
version: r4
path: /r4
active: true
db-type: mysql
db-server: localhost
db-database: fhirDB
db-username: sa
db-password: DBroot123
packages:
db-driver: MySQL ODBC 5.3 Unicode Driver
# a list of account details for sending email, sms etc. At least email and sms should be provided. SMS = twilio account details
destinations
email
host: smtp.gmail.com
port: 587
secure: true
username: xxxx
password: xxxx
sender: fhir-server@healthintersections.com.au # the stated sender - usually the same as username
sms
account: XXX
token: XXX
from: +12678434041 # the stated sender - should be the same as configured in twilio
# a list of OAuth identity providers (e.g. implement openID connect). note that due to variations in the openID connect standard, only facebook and google are supported right now
identity-providers
web # settings for the web server
host: local.fhir.org
http: 80
# https: 443 # if running HTTPS
# certname: C:\FHIRServer\cert\fhir.org.crt # file names
# cacertname: C:\FHIRServer\cert\fhir.org.int.crt
# certkey: C:\FHIRServer\cert\fhir.org.key
# password: xxxx
# oauth: true
# googleid: UA-88535340-4 # provide this to have google track requests (e.g. geolocation)
telnet-password: # if provided, the password that is required to connect on telnet
plain-mode:
caching:
https:
certname:
cacertname:
certkey:
password:
googleid:
admin # misc admin details
email: grahame@hl7.org # email address for server admin
owner-sms: +61411867065 # full phone = if provided, along with a twilio account, sms are sent when the server starts and stops
ownername: HL7 # server admin
scim-salt: A7383E29-5A0F-422D-9013-E33C5A8FB975 # salt used when hashing passwords. Changing this invalidates all passwords on the system
service
runNumber: 258 # incremented each time the server is run
name:
title:
langfile: lang.txt
Grahame Grieve (Aug 17 2021 at 04:29):
The main thing that I needed to do was add unit dependencies specifically for the 'test' folders in the subprojects
why?
Rob Hausam (Aug 17 2021 at 11:23):
Good question. I did it because Lazarus complained with errors until I did that.
Grahame Grieve (Aug 17 2021 at 12:05):
what specific errors?
Rob Hausam (Aug 17 2021 at 12:08):
It's been a while and I don't recall now specifically what the errors were. I could go back and reproduce it.
FHIRServer bot (Aug 18 2021 at 04:46):
grahamegrieve pushed 6 commits to branch master.
- Make writing to the console thread safe (8cd5512)
- Resolve shutdown deadlock (11de717)
- Add server Connection limit (b474245)
- Improve start up error message (a1ee32e)
- Improve error messages associated with package source permissions, and move to https for all accesses (fe59db2)
- stop hardcoding search form to be insecure (c847629)
FHIRServer bot (Aug 18 2021 at 04:46):
grahamegrieve pushed 2 commits to branch master. Commits by grahamegrieve (1) and rhausam (1).
- Fix 'mysql' db configuration option. (f5157e0)
- Merge pull request #123 from rhausam/fix-mysql (a122313)
FHIRServer bot (Aug 19 2021 at 04:56):
grahamegrieve pushed 5 commits to branch master.
- update to provide fast execution of inmported valuesets in common situations (ff570f0)
- Fix bug in console lo\gging (a89ac3b)
- fix to use new feed json file (f90d359)
- fix presentation bugs (2d7d387)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (d91e58d)
Grahame Grieve (Aug 19 2021 at 04:57):
@Rob Hausam please look at this, I think it fixes the issue reported in https://github.com/grahamegrieve/fhirserver/pull/126 as well as significantly improving performance
Rob Hausam (Aug 19 2021 at 05:01):
I'll take a look now.
Rob Hausam (Aug 19 2021 at 06:41):
@Grahame Grieve I rebuilt fhirserver locally from the master branch with your latest commits. But when I execute it I'm still seeing the "Item already exists in list" issue in PR#126. Here's a test to reproduce:
POST localhost/r4/ValueSet/$validate-code?system=http://snomed.info/sct&code=256303006
with body:
{
"resourceType": "ValueSet",
"status": "active",
"name": "AllergyIntoleranceSubstanceProductGpsUvIps",
"id": "allergy-intolerance-substance-product-gps-uv-ips",
"title": "Allergy-intolerance substance-product - GPS - IPS",
"description": "IPS Allergy-intolerance substance-product GPS value set. This value set includes the codes from the SNOMED International Global Patient Set (GPS) subset of SNOMED CT that are included in: all descendants of 105590001 | Substance (substance); all descendants of 373873005 | Pharmaceutical / biologic product (product).",
"version": "1.0.0",
"url": "http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-substance-product-gps-uv-ips",
"meta": {
"profile": [
"http://hl7.org/fhir/StructureDefinition/shareablevalueset"
]
},
"experimental": false,
"date": "2021-05-14T21:56:28-05:00",
"publisher": "Health Level Seven International - Patient Care Work Group",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/patientcare"
}
]
}
],
"jurisdiction": [
{
"coding": [
{
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
}
]
}
],
"immutable": false,
"copyright": "The GPS is produced by SNOMED International under the terms of the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/)\n\nAdditional information about this license specific to SNOMED International’s release of the GPS:\n* SNOMED CT is © and ® SNOMED International. The right to maintain the GPS remains vested exclusively in SNOMED International.\n* The Licensee can redistribute the GPS.\n* The Licensee can create derivatives or implementation-related products and services based on the GPS.\n* The Licensee cannot claim that SNOMED International or any of its Members endorses the Licensee’s derivative because it uses content from the GPS.\n* Neither SNOMED International nor any of the contributors accept any liability for the Licensee’s use or redistribution of the GPS.\n* SNOMED CT® was originally created by the College of American Pathologists.\n\nWithout obtaining prior written permission from SNOMED International, you are expressly prohibited from using, distributing or reproducing the SNOMED International, SNOMED CT or SNOMED GPS logo, service mark or trademark. Please review all terms and conditions of use [here](http://www.snomed.org/terms-and-conditions).",
"compose": {
"include": [
{
"system": "http://snomed.info/sct",
"valueSet": [
"http://terminology.hl7.org/ValueSet/snomed-intl-gps"
],
"filter": [
{
"property": "concept",
"op": "descendent-of",
"value": "105590001"
}
]
},
{
"system": "http://snomed.info/sct",
"valueSet": [
"http://terminology.hl7.org/ValueSet/snomed-intl-gps"
],
"filter": [
{
"property": "concept",
"op": "descendent-of",
"value": "373873005"
}
]
}
]
}
}
Which, when POSTed to the updated fhirserver instance with the latest commits, still returns:
{
"resourceType" : "Parameters",
"parameter" : [
{
"name" : "result",
"valueBoolean" : false
},
{
"name" : "message",
"valueString" : "Item already exists in list (http://terminology.hl7.org/ValueSet/snomed-intl-gps=478C4870)"
},
{
"name" : "cause",
"valueString" : "unknown"
}
]
}
But when posted to a fhirserver instance with my PR#126 fix, returns:
{
"resourceType" : "Parameters",
"parameter" : [
{
"name" : "display",
"valueString" : "Ragweed pollen"
},
{
"name" : "result",
"valueBoolean" : true
}
]
}
FHIRServer bot (Aug 19 2021 at 20:59):
grahamegrieve pushed 1 commit to branch master.
- Fix problem where excluded value sets are imported not excluded (thanks Rob) (b63cd25)
FHIRServer bot (Aug 19 2021 at 21:35):
grahamegrieve pushed 1 commit to branch master.
- Fix for "Item already exists in list" error (91cebc2)
FHIRServer bot (Aug 19 2021 at 22:31):
grahamegrieve pushed 1 commit to branch master.
- fix issues with country codes (0858237)
FHIRServer bot (Aug 20 2021 at 06:32):
grahamegrieve pushed 1 commit to branch master.
- get RxNorm and NDC imports working (c8210e8)
FHIRServer bot (Aug 20 2021 at 07:44):
grahamegrieve pushed 1 commit to branch master.
- fix problem with alternative displays (2450457)
FHIRServer bot (Aug 20 2021 at 18:59):
grahamegrieve pushed 1 commit to branch master.
- Fix error ignoring value sets in imports on code validation (1209d27)
FHIRServer bot (Aug 21 2021 at 23:21):
grahamegrieve pushed 1 commit to branch master.
- minor fixes to package web UI (ac6db61)
FHIRServer bot (Aug 23 2021 at 10:47):
grahamegrieve pushed 1 commit to branch master.
- finish secure / current package handling (624d41b)
FHIRServer bot (Aug 24 2021 at 06:41):
grahamegrieve pushed 1 commit to branch master.
- return system and code when validating (9dedd04)
FHIRServer bot (Aug 24 2021 at 19:21):
grahamegrieve pushed 1 commit to branch master.
- compile fix (a0d5616)
FHIRServer bot (Aug 26 2021 at 04:52):
grahamegrieve pushed 1 commit to branch master.
- More work on memory efficiency (0ca9487)
FHIRServer bot (Aug 30 2021 at 04:31):
grahamegrieve pushed 1 commit to branch master.
- work on stability and production debugging, and fix a leak (3bd4fa2)
FHIRServer bot (Sep 01 2021 at 22:54):
grahamegrieve pushed 3 commits to branch master.
- fix failing test (e21b396)
- return version when validating code (95561b9)
- minumum request time for http cache (25d5557)
FHIRServer bot (Sep 03 2021 at 07:25):
grahamegrieve pushed 1 commit to branch master.
- Fix bugs related to passed value sets (480afa5)
FHIRServer bot (Sep 07 2021 at 00:04):
grahamegrieve pushed 6 commits to branch master.
- Add support for transactions on smart health cards (ec80377)
- interim support for ECDSA P-256 SHA-256 signatures (0ad9b3c)
- Support for simple folder endpoiint + add support for SHC card key + improve install support (2e2b3e0)
- Add simple folder endpoint (d3e8c9f)
- refactor OnCreateBundleBuilder and doSearch (928a54e)
- first round of work to support smart health cards (020dae4)
FHIRServer bot (Sep 11 2021 at 21:55):
grahamegrieve pushed 4 commits to branch master.
- Health Cards support (364d9bd)
- whitespace fixes (c133c8f)
- HTTP client improvements: logging and tracking last updated on customGet / customPost (eb33d5d)
- Smart Health Card Support + rework JWT handling for SHC requirement + add server support to toolkit (19e825b)
FHIRServer bot (Sep 12 2021 at 07:55):
grahamegrieve pushed 1 commit to branch master.
- more work on smart health cards (1b8349f)
FHIRServer bot (Sep 12 2021 at 22:42):
grahamegrieve pushed 1 commit to branch master.
- more work on toolkit for Healthcare Card Support (bcc1c9d)
FHIRServer bot (Sep 12 2021 at 23:04):
grahamegrieve pushed 1 commit to branch master.
- fix compile problem (c870b0e)
FHIRServer bot (Sep 13 2021 at 05:21):
grahamegrieve pushed 1 commit to branch master.
- fix various bugs in healthcard implementation (06feea7)
FHIRServer bot (Sep 13 2021 at 07:34):
grahamegrieve pushed 1 commit to branch master.
- more bug fixes (chasing memory leaks) (806209e)
FHIRServer bot (Sep 13 2021 at 21:13):
grahamegrieve pushed 1 commit to branch master.
- fix bugs in IPS -> SHC path + add JWT editor (30d06c6)
FHIRServer bot (Sep 14 2021 at 06:46):
grahamegrieve pushed 1 commit to branch master.
- better SHC generation (chase references) + add JWT editor + fix bug in reporting displays when validating codes (6264d15)
FHIRServer bot (Sep 14 2021 at 18:36):
grahamegrieve pushed 1 commit to branch master.
- Turn off thread pooling - see if it's the source of the problems (1a7dad4)
Rob Hausam (Sep 14 2021 at 21:00):
Will be interesting to see if that is the problem.
Jose Costa Teixeira (Sep 15 2021 at 09:30):
I'm trying to check this out so that I can buld. Then I will throw the previous tests (the ones that I know clogged the system) by throwing a few thousand requests at one.
Grahame Grieve (Sep 15 2021 at 10:43):
sure. it's looking pretty solid right now
Jose Costa Teixeira (Sep 15 2021 at 15:13):
Grahame Grieve said:
sure. it's looking pretty solid right now
no it's not. It seems impressively robust. :)
Jose Costa Teixeira (Sep 15 2021 at 15:13):
the difference on my jmeter test is s obig that I'm actually suspecting the test itself.
Jose Costa Teixeira (Sep 15 2021 at 15:14):
unfortunately, I deleted the previous version
Jose Costa Teixeira (Sep 15 2021 at 15:14):
does anyone have the previous fhirserver.exe at hand that they can zip and transfer e.g. via wetransfer for me to quickly test the before/ after?
Jose Costa Teixeira (Sep 15 2021 at 15:14):
Rob, Grahame?
Grahame Grieve (Sep 15 2021 at 15:53):
the webserve keeps the old installs
Grahame Grieve (Sep 15 2021 at 15:53):
http://www.healthintersections.com.au/FhirServer/fhirserver-1.0.[X].exe
Jose Costa Teixeira (Sep 15 2021 at 17:24):
that would mean I'd have to install it
Jose Costa Teixeira (Sep 15 2021 at 17:24):
nevermind
Jose Costa Teixeira (Sep 15 2021 at 17:24):
nevermind
Jose Costa Teixeira (Sep 15 2021 at 17:24):
nevermind
Jose Costa Teixeira (Sep 15 2021 at 17:27):
nevermind
Jose Costa Teixeira (Sep 15 2021 at 17:28):
nevermind
Jose Costa Teixeira (Sep 15 2021 at 17:28):
nevermind
Jose Costa Teixeira (Sep 15 2021 at 17:28):
nevermind
Jose Costa Teixeira (Sep 15 2021 at 18:03):
ok I give up
Jose Costa Teixeira (Sep 15 2021 at 18:05):
With the other version, i could get the server and my entire PC crawling within 10 seconds
Jose Costa Teixeira (Sep 15 2021 at 18:05):
10k requests and it started coughing. 100k and it was dead in 10 seconds, and the ghost stayed there for 5 minutes
Jose Costa Teixeira (Sep 15 2021 at 18:06):
now I am throwing 1M requests and I can still watch it work and type this message
Jose Costa Teixeira (Sep 15 2021 at 18:07):
So @Grahame Grieve I don't know whether the issue is the same (symptoms are the same) but I think this last change did it
FHIRServer bot (Sep 15 2021 at 18:24):
grahamegrieve pushed 4 commits to branch master.
- efficiency change building QR code (047a9bd)
- fix for erroneous health card type generation (bf9cb5a)
- fix bugs generating health cards (16844b7)
- UNII import (ee91c60)
Grahame Grieve (Sep 15 2021 at 18:25):
well, it won't accumlate threads under pressure. I'm assuming that's the change that explains what you're seeing.
Jose Costa Teixeira (Sep 15 2021 at 19:13):
Is this new version already deployed to tx.fhir.org?
Grahame Grieve (Sep 15 2021 at 19:57):
sure is. an another one now
Jose Costa Teixeira (Sep 15 2021 at 20:17):
By not pooling the threads, I was thinking that perhaps a request from the monitoring service may simply not be served and this would force a restart.. Does that reasoning make sense?
Jose Costa Teixeira (Sep 15 2021 at 20:18):
I'm saying this based on my tests where I perceived an absolutely drastic change in robustness
Grahame Grieve (Sep 15 2021 at 20:43):
it's got a cap of 45 concurrent connections, and it's not getting up past 6.
Grahame Grieve (Sep 15 2021 at 20:43):
the thread pooling was an internal thing that wouldn't make any difference to that
Jose Costa Teixeira (Sep 15 2021 at 21:18):
ok
(meanwhile I had posted in the monitoring thread. I want to see if I can run more tests)
Grahame Grieve (Sep 16 2021 at 05:35):
when you hammer it, can you use SSL? the only idea I have for chasing the current problem is that a couple of times while debugging, something's gone wrong with SSL and the process is trashed after that
Jose Costa Teixeira (Sep 16 2021 at 10:57):
I can. How do I set that up? what is the server ini parameters that I have to add? And on the client side, i just use https as a protocol?
Grahame Grieve (Sep 16 2021 at 11:44):
yes just use https. You need a cert though. that's a problem. You'd have to look to see whether your test software accepts self-signed certs
Grahame Grieve (Sep 16 2021 at 11:44):
then configure it in FHIR console
Jose Costa Teixeira (Sep 16 2021 at 14:03):
i'm just hitting the server with jmeter
Grahame Grieve (Sep 16 2021 at 18:37):
hmmm
FHIRServer bot (Sep 17 2021 at 00:36):
grahamegrieve pushed 1 commit to branch master.
- lab cards + fix package processing (6243586)
FHIRServer bot (Sep 19 2021 at 07:42):
grahamegrieve pushed 1 commit to branch master.
- work on general toolkit functionality (c13d494)
FHIRServer bot (Sep 19 2021 at 07:50):
grahamegrieve pushed 1 commit to branch master.
- more icons (b4af12a)
FHIRServer bot (Sep 20 2021 at 07:34):
grahamegrieve pushed 1 commit to branch master.
- fix error generating healthcard (issuer is insecure) (e708ade)
FHIRServer bot (Sep 20 2021 at 07:40):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Sep 20 2021 at 11:08):
grahamegrieve pushed 1 commit to branch master.
- make jwks available over https (d6d2b19)
FHIRServer bot (Sep 20 2021 at 18:30):
grahamegrieve pushed 1 commit to branch master.
- fixes for Healthcare Cards (ed4c962)
FHIRServer bot (Sep 20 2021 at 21:20):
grahamegrieve pushed 1 commit to branch master.
- return qr-codes from server directly (f4825df)
FHIRServer bot (Sep 20 2021 at 21:50):
grahamegrieve pushed 1 commit to branch master.
- compile fixes (bc6612d)
FHIRServer bot (Sep 21 2021 at 22:34):
grahamegrieve pushed 1 commit to branch master.
- More work on Projects in Toolkit (3cc5e9d)
FHIRServer bot (Sep 22 2021 at 13:13):
grahamegrieve pushed 1 commit to branch master.
- finish first round of project support in toolkit (a6b5b6c)
FHIRServer bot (Sep 23 2021 at 03:20):
grahamegrieve pushed 1 commit to branch master.
- get sqlite config working (282ac6e)
FHIRServer bot (Sep 24 2021 at 16:17):
grahamegrieve pushed 2 commits to branch master.
- setup tx.fhir.org to run on remote config (e2cbc56)
- fix end point editing, and compile fixes (all projects compile, Win64, Linux64, and OSX64) (0fd2efd)
FHIRServer bot (Sep 25 2021 at 09:02):
grahamegrieve pushed 1 commit to branch master.
- about form (8cdd767)
FHIRServer bot (Sep 28 2021 at 00:32):
grahamegrieve pushed 1 commit to branch master.
- More work on Toolkit view management (2ba5c41)
FHIRServer bot (Sep 30 2021 at 09:14):
grahamegrieve pushed 1 commit to branch master.
- work on context loading and background tasks (8e4b89d)
FHIRServer bot (Sep 30 2021 at 13:27):
grahamegrieve pushed 3 commits to branch master.
- compile fixes (6e28c2b)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (0268e13)
- Get context loading working in Toolkit (7573ac6)
FHIRServer bot (Oct 01 2021 at 23:38):
grahamegrieve pushed 4 commits to branch master.
- Add additional package (0147bd4)
- Correct link (a3e5154)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (9fc6a7f)
- reorg data files and get views working better + fhir contexts in toolkit (e928222)
FHIRServer bot (Oct 02 2021 at 10:11):
grahamegrieve pushed 2 commits to branch master.
- add linux install instructions (131ec9c)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (3dd2c75)
FHIRServer bot (Oct 03 2021 at 02:56):
grahamegrieve pushed 3 commits to branch master. Commits by jmandel (2) and grahamegrieve (1).
- Typos in lpk paths (198b522)
- Update linux-install-instructions.txt (f404dd7)
- Merge pull request #127 from jmandel/patch-2 (4c359f7)
FHIRServer bot (Oct 03 2021 at 08:54):
grahamegrieve pushed 1 commit to branch master. Commits by Grahame Grieve (1).
- get running on linux (810d867)
FHIRServer bot (Oct 04 2021 at 05:07):
grahamegrieve pushed 3 commits to branch master.
- linux instructions (e163dad)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (002853b)
- work on welcome page (80bdd22)
FHIRServer bot (Oct 05 2021 at 03:21):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 05 2021 at 03:38):
grahamegrieve pushed 5 commits to branch master.
- allow late loading of ODBC (459ba3b)
- better error messages loading ODBC (for OSX support) (3332d8e)
- figure out timezone on mac (ebda217)
- loading fixes for OSX (740e523)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (44f14f4)
FHIRServer bot (Oct 05 2021 at 03:43):
grahamegrieve pushed 1 commit to branch master.
- fix up project options (c946630)
FHIRServer bot (Oct 05 2021 at 06:21):
grahamegrieve pushed 1 commit to branch master.
- fix last issues to get running on OSX (c2665cc)
FHIRServer bot (Oct 05 2021 at 11:18):
grahamegrieve pushed 1 commit to branch master.
- execution fixes for OSX (8d26da8)
FHIRServer bot (Oct 05 2021 at 12:27):
grahamegrieve pushed 1 commit to branch master.
- compile fix (075fcba)
FHIRServer bot (Oct 05 2021 at 18:49):
grahamegrieve pushed 1 commit to branch master. Commits by Grahame Grieve (1).
- linux compile issues (7c59612)
FHIRServer bot (Oct 05 2021 at 22:52):
grahamegrieve pushed 1 commit to branch master.
- fix compile error (956a0a7)
Grahame Grieve (Oct 05 2021 at 22:52):
try again
Grahame Grieve (Oct 05 2021 at 22:52):
I fixed it on a different PC
FHIRServer bot (Oct 06 2021 at 09:12):
grahamegrieve pushed 1 commit to branch master.
- Compile fixes (ff55e63)
FHIRServer bot (Oct 06 2021 at 10:12):
grahamegrieve pushed 1 commit to branch master.
- linux related bug fixes (91232e6)
FHIRServer bot (Oct 06 2021 at 10:23):
grahamegrieve pushed 1 commit to branch master.
- fix bug showing tasks (e7007ff)
FHIRServer bot (Oct 06 2021 at 22:29):
grahamegrieve pushed 2 commits to branch master.
- more start up debugging (3491ee4)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (80293d7)
FHIRServer bot (Oct 07 2021 at 07:52):
grahamegrieve pushed 2 commits to branch master.
Grahame Grieve (Oct 07 2021 at 07:54):
build/windows.bat - builds good binaries in windows. We should make a linux equivalent
FHIRServer bot (Oct 07 2021 at 08:33):
grahamegrieve pushed 1 commit to branch master.
- linux build script (7dfffa8)
Grahame Grieve (Oct 07 2021 at 08:39):
@Josh Mandel the windows build produces working executables. The .sh I just commited in build/lunix.sh should, but it needs more work from someone who understands .sh to handle the directories bits. I'd like to change the docker to use that build script so that it's reusable outside just the docker
FHIRServer bot (Oct 07 2021 at 08:51):
grahamegrieve pushed 2 commits to branch master.
- work on readme (f669395)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (9edf48b)
FHIRServer bot (Oct 07 2021 at 11:38):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 07 2021 at 11:38):
grahamegrieve pushed the branch master.
FHIRServer bot (Oct 07 2021 at 11:38):
grahamegrieve pushed the branch master.
FHIRServer bot (Oct 07 2021 at 18:54):
grahamegrieve pushed 6 commits to branch master. Commits by jmandel (5) and grahamegrieve (1).
- Create Dockerfile (913e734)
- separate scripts for linux setup (edd4eee)
- Fix linux-fhirserver.sh filename (2fb82f4)
- libs in place before compiling fhirserver (d22f1fe)
- Copy libChakraCore in Dockerfile (44f2377)
- Merge pull request #128 from jmandel/patch-3 (eb0a59a)
FHIRServer bot (Oct 07 2021 at 18:55):
grahamegrieve pushed 1 commit to branch master.
- Delete server/C:/work/fhirserver/Exec/64 directory (3016bda)
FHIRServer bot (Oct 07 2021 at 19:12):
grahamegrieve pushed 1 commit to branch master.
- more work on build scripts (4c6c97a)
Grahame Grieve (Oct 07 2021 at 19:16):
I'll do the 3rd linux script shortly
Josh Mandel (Oct 07 2021 at 20:32):
(I've tried my hand at these in https://github.com/jmandel/fhirserver/tree/patch-3/build)
Grahame Grieve (Oct 07 2021 at 20:37):
look good to me
FHIRServer bot (Oct 07 2021 at 23:49):
grahamegrieve pushed 1 commit to branch master.
- fix build files (221fcde)
FHIRServer bot (Oct 08 2021 at 01:12):
grahamegrieve pushed 3 commits to branch master.
- Clean up source (473974b)
- update windows build files (6dd2874)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (5a7cf14)
FHIRServer bot (Oct 08 2021 at 02:08):
grahamegrieve pushed 1 commit to branch master.
- compile / build fixes (4bd70c9)
FHIRServer bot (Oct 08 2021 at 02:10):
grahamegrieve pushed 1 commit to branch master.
- more clean up and doco (e8b018f)
FHIRServer bot (Oct 08 2021 at 05:29):
grahamegrieve pushed 1 commit to branch master.
- fix failing test cases (windows) (76f5e66)
FHIRServer bot (Oct 09 2021 at 19:05):
grahamegrieve pushed 1 commit to branch master.
- resync fpc odbc file (8bdc2fd)
FHIRServer bot (Oct 10 2021 at 01:49):
grahamegrieve pushed 1 commit to branch master.
- add raw odbc test (a0c8205)
FHIRServer bot (Oct 10 2021 at 04:33):
grahamegrieve pushed 3 commits to branch master.
- add test cases to dependency libraries (9ee48f6)
- fix database to get tests passing on Linux (42fb79e)
- fix all tests on linux and remove test references to c:\temp - (7bd1ee5)
FHIRServer bot (Oct 10 2021 at 06:44):
grahamegrieve pushed 1 commit to branch master.
- fix up tests and delphi compile (35cd4cd)
Grahame Grieve (Oct 10 2021 at 06:45):
ok, well, the tests pass on linux now, provided we can get a test-settings.ini set up properly
Josh Mandel (Oct 10 2021 at 14:13):
Can we start with an example that contains nothing sensitive (so email tests will still fall) and I'll set up in your repo or in my fork, (at your preference)
Grahame Grieve (Oct 10 2021 at 17:54):
sure let's do that
Josh Mandel (Oct 10 2021 at 18:42):
Your repo or my fork? (We can't merge GH secrets the way we merge code, but I'm happy to set things up in my fork and reimplement in your repo once it's working if you prefer.)
Grahame Grieve (Oct 10 2021 at 18:42):
your fork? or should I just make you a committer in mine?
Josh Mandel (Oct 10 2021 at 18:43):
Eventually it's good if I can be an admin on yours, so I can get things configured.
Josh Mandel (Oct 10 2021 at 18:45):
How do I kick off the tests on Linux?
Grahame Grieve (Oct 10 2021 at 18:45):
./fhirserver -tests
Josh Mandel (Oct 10 2021 at 18:59):
In your example settings I see stuff like:
fhir-test-cases=c:\work\org.hl7.fhir\fhir-test-cases
What's this and how do I get it?
Josh Mandel (Oct 10 2021 at 18:59):
Ditto for:
markdown=c:\work\pascal\markdown
Josh Mandel (Oct 10 2021 at 18:59):
snomed=C:\work\fhirserver\testcases\snomed\snomed.cache
Grahame Grieve (Oct 10 2021 at 18:59):
check the latest linux-dependencies - it added that repo to the git list
Grahame Grieve (Oct 10 2021 at 19:00):
in both cases, that's the root folder of the git repo
Josh Mandel (Oct 10 2021 at 19:00):
And for Mysql:
[mysql]
driver=MySQL ODBC 8.0 Unicode Driver
server=34.122.27.199
database=test
username=test
password=XXX
I can create an empty db; is that all that's needed?
Grahame Grieve (Oct 10 2021 at 19:00):
snomed, is wherever you download http://www.healthintersections.com.au/FhirServer/snomed.test.cache to
Grahame Grieve (Oct 10 2021 at 19:00):
yes empty db with dbo access
Josh Mandel (Oct 10 2021 at 19:03):
Is http://www.healthintersections.com.au/FhirServer/snomed.test.cache down right now?
Grahame Grieve (Oct 10 2021 at 19:04):
wow. It's never been down like that before
Josh Mandel (Oct 10 2021 at 19:04):
And is markdown=c:\work\pascal\markdown the same as:
git clone https://github.com/grahamegrieve/delphi-markdown
(If so, why the different names?)
Grahame Grieve (Oct 10 2021 at 19:05):
oh for legacy reasons, it's just markdown on my local drive - from long before there was a git repo for it
Josh Mandel (Oct 10 2021 at 19:05):
I'm assuming the test-settings.ini
example you pasted above is still complete/accurate; do you have anything like this checked in or documented, or should I just work from the example?
Josh Mandel (Oct 10 2021 at 19:05):
it's just markdown on my local drive
but it's the same repo, so I can point to the cloned of https://github.com/grahamegrieve/delphi-markdown
Grahame Grieve (Oct 10 2021 at 19:05):
just work from the example, it's never checked in
Grahame Grieve (Oct 10 2021 at 19:05):
yes same repo
Josh Mandel (Oct 10 2021 at 19:05):
OK. I'll check in a templatized version.
Josh Mandel (Oct 10 2021 at 19:08):
[mssql]
driver=SQL Server
server=(local)
database=test
Do the tests require an instance of MS SQL Server to be running? Can we start with args that disable things like:
- MySQL
- MSSQL
Josh Mandel (Oct 10 2021 at 19:08):
Then we can work up to those, after the scaffold is in place?
Grahame Grieve (Oct 10 2021 at 19:09):
mssql test will be ignored if mssql is not configured. Ideally, it would be good if we could test mssql too but I expect that would be pretty difficult to set up
Grahame Grieve (Oct 10 2021 at 19:09):
I can do the same for email, but you probably want a failing test to test with for now
Josh Mandel (Oct 10 2021 at 19:09):
As long as the tests will keep going past a failure, sure.
Josh Mandel (Oct 10 2021 at 19:10):
And on email, are sender
and password
intended to be... SMTP credentials? How do you specify the server, port, SSL details, etc?
Josh Mandel (Oct 10 2021 at 19:10):
(I'll create a dedicated gmail account to be used as a test sender, if this can slot into the framework you've got.)
Grahame Grieve (Oct 10 2021 at 19:11):
I have a dedicated account for the sender already. Can just use that
Josh Mandel (Oct 10 2021 at 19:12):
So the configuration bakes in the gmail SMTP server, or tries to determine it from sender
, or what? Best if I can reproduce.
Grahame Grieve (Oct 10 2021 at 19:15):
yes hard coded to use smtp.gmail.com.
Grahame Grieve (Oct 10 2021 at 19:15):
if one day someone wants something else, they can make a PR for it
Josh Mandel (Oct 10 2021 at 19:17):
Great, hardcoded is fine. Just want to document this as I go.
Josh Mandel (Oct 10 2021 at 19:21):
What are the expectations for the SSL cert, cacert, etc -- are they all required, do they need to have specific domains related to fhirsever config?
Josh Mandel (Oct 10 2021 at 19:22):
Is password protection required?
Josh Mandel (Oct 10 2021 at 19:22):
(Is there some way to use just a single self-signed cert and be done with it?)
Josh Mandel (Oct 10 2021 at 19:25):
Do any of these need things to chain up to a root of trust that's registered with the OS?
Grahame Grieve (Oct 10 2021 at 19:28):
the current test says that there has to be a CA public key, and a password on the private key, because that's the real world conditions for SSL. I never use self-signed certs anymore, since they created so many problems in practice.
Grahame Grieve (Oct 10 2021 at 19:30):
This is testing that the path from cert o working SSL server works - it breaks occasionally. But the test web client doesn't verify the cert - was on my todo list - so perhaps I can turn those asserts off
Josh Mandel (Oct 10 2021 at 19:32):
OK. Just trying to figure out what'll (safely) make the tests happy for now. I'll generate a self-signed root CA, and have that sign an SSL cert for a domain of localhost
, and assign a password to that localhost cert.
Grahame Grieve (Oct 10 2021 at 20:42):
healthintersections.com.au is back to working again
Josh Mandel (Oct 10 2021 at 21:15):
Cool. I copied the file to a cloud bucket for faster transfer later on; you can see the details in my fork.
FHIRServer bot (Oct 10 2021 at 23:06):
grahamegrieve pushed 1 commit to branch master.
- log test locations (ab4e1dc)
FHIRServer bot (Oct 11 2021 at 00:34):
grahamegrieve pushed 1 commit to branch master.
- more test fixes (1d10948)
FHIRServer bot (Oct 11 2021 at 03:46):
grahamegrieve pushed 1 commit to branch master.
- add more debugging (ec78289)
FHIRServer bot (Oct 12 2021 at 07:02):
grahamegrieve pushed 1 commit to branch master.
- change libraries to pass date/time tests in all timezones with all compilers + add graph component (a4556cc)
FHIRServer bot (Oct 12 2021 at 10:56):
grahamegrieve pushed 1 commit to branch master.
- more work on tests (802ffb3)
FHIRServer bot (Oct 12 2021 at 18:37):
grahamegrieve pushed 2 commits to branch master.
- fix timezone related leaks (6f814d9)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (df3c39c)
FHIRServer bot (Oct 12 2021 at 19:41):
grahamegrieve pushed 1 commit to branch master.
- fix problems with tests (be3d60c)
FHIRServer bot (Oct 12 2021 at 20:34):
jmandel pushed 29 commits to branch master.
- Build with cleanup steps (df8812d)
- Remove stray cd.. (ea94d71)
- Merge branch 'grahamegrieve:master' into patch-3 (843a4fc)
- Merge branch 'grahamegrieve:master' into patch-3 (ec7f6d5)
- Merge remote-tracking branch 'origin/master' into patch-3 (c20deb5)
- With tests (10ecf2b)
- Fix env syntax (46d602a)
- Fix tilde on homedir (9f4898a)
- Quiet wget in gh actions (43a92df)
- Debug printout settings file (8627902)
- Merge remote-tracking branch 'origin/master' into patch-3 (26b6e67)
- Debug snomed cache (9b78f96)
- Merge remote-tracking branch 'origin/master' into patch-3 (e90e592)
- Update linux-docker-build.yml (a7f2f1e)
- fix snomed.test.cache filename (5c83bd7)
- Merge remote-tracking branch 'origin/master' into patch-3 (e0c47ce)
- Merge remote-tracking branch 'jmandel/patch-3' into patch-3 (681b552)
- Cache docker build layers (d007b7e)
- Update linux-docker-build.yml (58bca6a)
- Break up steps (0911274)
[and 9 more commit(s)]
FHIRServer bot (Oct 13 2021 at 19:11):
grahamegrieve pushed 1 commit to branch master.
- get OSX build chain working (730b4c0)
FHIRServer bot (Oct 13 2021 at 19:21):
grahamegrieve pushed 1 commit to branch master.
- fix docker file reference to renamed script (6ab914c)
FHIRServer bot (Oct 13 2021 at 19:30):
grahamegrieve pushed 1 commit to branch master.
- more fixing sh file reference (410a491)
FHIRServer bot (Oct 13 2021 at 20:02):
grahamegrieve pushed 1 commit to branch master.
- turn mssql off in the tests (494afab)
FHIRServer bot (Oct 13 2021 at 20:59):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 13 2021 at 23:57):
grahamegrieve pushed 1 commit to branch master.
- more logging (fcc6843)
FHIRServer bot (Oct 14 2021 at 02:27):
grahamegrieve pushed 1 commit to branch master.
- more sqlite logging (bedad26)
FHIRServer bot (Oct 14 2021 at 03:09):
grahamegrieve pushed 1 commit to branch master.
- more work on build (22e7145)
FHIRServer bot (Oct 14 2021 at 03:42):
grahamegrieve pushed 1 commit to branch master.
- move odbc logging (29c4bea)
FHIRServer bot (Oct 14 2021 at 03:54):
grahamegrieve pushed 1 commit to branch master.
- more odbc logging (753d640)
FHIRServer bot (Oct 14 2021 at 06:17):
grahamegrieve pushed 1 commit to branch master.
- more work on tests (fffcea0)
FHIRServer bot (Oct 14 2021 at 15:21):
jmandel pushed 10 commits to branch master.
- Merge pull request #1 from grahamegrieve/master (20aed57)
- Add mysql-connector-odbc (70f3552)
- Install mysql odbc from binary release (1097452)
- Fix cp in mysql install (574746e)
- Don't compile absent lpk (99b42f0)
- Update linux-fhirserver.sh (38c3b29)
- merge origin (5801bd5)
- Re-order dockerfile (5551e67)
- Finish mysql install (b63608b)
- Merge branch 'patch-3' into master (8a910ba)
FHIRServer bot (Oct 14 2021 at 19:20):
grahamegrieve pushed 1 commit to branch master.
- fix name of ODBC driver in text setup (cfa0f4f)
FHIRServer bot (Oct 14 2021 at 21:11):
grahamegrieve pushed 1 commit to branch master.
- fix odbc test (567ad44)
FHIRServer bot (Oct 15 2021 at 01:30):
grahamegrieve pushed 1 commit to branch master.
- fix failing date time test (94a50f3)
FHIRServer bot (Oct 15 2021 at 02:17):
grahamegrieve pushed 1 commit to branch master.
- fix date time test (70b5bea)
FHIRServer bot (Oct 15 2021 at 02:45):
grahamegrieve pushed 1 commit to branch master.
- update doco (22320d7)
FHIRServer bot (Oct 15 2021 at 03:28):
jmandel pushed 4 commits to branch master.
- Merge pull request #2 from grahamegrieve/master (f503ebe)
- Merge branch 'grahamegrieve:master' into patch-3 (7ab90dd)
- Merge branch 'grahamegrieve:master' into patch-3 (4bd7165)
- Merge pull request #130 from jmandel/patch-3 (e03de4f)
FHIRServer bot (Oct 15 2021 at 03:35):
grahamegrieve pushed 1 commit to branch master.
- set test sender (929d6dd)
FHIRServer bot (Oct 15 2021 at 11:07):
grahamegrieve pushed 2 commits to branch master.
- work on doco (bca28f6)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (d896614)
FHIRServer bot (Oct 15 2021 at 21:46):
grahamegrieve pushed 1 commit to branch master.
- Linux service work + reduce email frequency in package spider (9cae4a5)
FHIRServer bot (Oct 16 2021 at 20:38):
grahamegrieve pushed 1 commit to branch master.
- make sure latest version of package is loaded when version is not specified (0405f21)
FHIRServer bot (Oct 18 2021 at 03:51):
grahamegrieve pushed 3 commits to branch master.
- more work on OSX build (308f71e)
- speed improvement loading packages (64d88bf)
- work on $validate-code version consistency (bc2be53)
FHIRServer bot (Oct 18 2021 at 04:16):
grahamegrieve pushed 1 commit to branch master.
- fix toolkit to compile (ebeb057)
FHIRServer bot (Oct 18 2021 at 05:10):
grahamegrieve pushed 22 commits to branch master.
- new release (fa86bc2)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (64dbd1c)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (d9f1779)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (45f74eb)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (ec4d395)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (30401c3)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (563859f)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (a2aa19d)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (639b017)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (95a680b)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (977d875)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (fe8314c)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (30342c8)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (362a755)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (52bd134)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (0402279)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (55e0ec0)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (98b82a8)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (bd4fad4)
- merge (86973d7)
[and 2 more commit(s)]
FHIRServer bot (Oct 18 2021 at 05:46):
grahamegrieve pushed 1 commit to branch master.
- fix compile issue (f94fbea)
FHIRServer bot (Oct 18 2021 at 20:24):
grahamegrieve pushed 1 commit to branch master.
- rework QR code support (b0fb070)
FHIRServer bot (Oct 18 2021 at 20:48):
grahamegrieve pushed 1 commit to branch master.
- add logging to build (5d8c79f)
FHIRServer bot (Oct 18 2021 at 21:12):
grahamegrieve pushed 1 commit to branch master.
- fix compile error (1c97087)
FHIRServer bot (Oct 19 2021 at 01:43):
grahamegrieve pushed 1 commit to branch master.
- fix compile and add QR code scanning from clipboard (c757806)
FHIRServer bot (Oct 19 2021 at 11:28):
grahamegrieve pushed 1 commit to branch master.
- fix return cause (894afa4)
FHIRServer bot (Oct 19 2021 at 11:42):
grahamegrieve pushed 1 commit to branch master.
- fix compile (ef8d7c3)
FHIRServer bot (Oct 19 2021 at 11:44):
grahamegrieve pushed 1 commit to branch master.
- more fix compile (cfc50ff)
FHIRServer bot (Oct 20 2021 at 17:31):
grahamegrieve pushed 1 commit to branch master.
- reorg tx modules, and fix index error in fhirconsole (5e628f2)
FHIRServer bot (Oct 20 2021 at 18:04):
markiantorno pushed 1 commit to branch master.
- Update linux-docker-build.yml (0d31f7d)
FHIRServer bot (Oct 20 2021 at 18:10):
grahamegrieve pushed 2 commits to branch master.
- fix to compile (ce61bb5)
- Merge pull request #131 from HealthIntersections/gg-202110-tx-reorg (ab09c18)
FHIRServer bot (Oct 21 2021 at 22:38):
grahamegrieve pushed 5 commits to branch master.
- more work on tx.fhir.org stability (72a905b)
- Add MediaFoundation + fix compile (cce7e72)
- more fix compile (8db12c1)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (6d7dbfa)
- Merge pull request #132 from HealthIntersections/gg-202110-logging (f9a2a3d)
FHIRServer bot (Oct 22 2021 at 19:36):
grahamegrieve pushed 4 commits to branch master.
- more work on stability (4448a32)
- more work (fb60014)
- Add support for running behind a reverse proxy (0658f78)
- Merge pull request #133 from HealthIntersections/gg-202110-nginx (3c13cf7)
FHIRServer bot (Oct 23 2021 at 19:27):
grahamegrieve pushed 3 commits to branch master.
- update qrgen source (5772077)
- fix lazarus compiles (42abdef)
- Merge pull request #134 from HealthIntersections/gg-202110-qrgen (6c2b588)
FHIRServer bot (Oct 23 2021 at 21:55):
grahamegrieve pushed 2 commits to branch master.
- more work on reverse proxy support (d5145f3)
- Merge pull request #135 from HealthIntersections/gg-202110-nginx-2 (8f7203f)
Grahame Grieve (Oct 23 2021 at 21:55):
but it would be interesting for you to try again with the code I just committed
Jose Costa Teixeira (Oct 23 2021 at 22:06):
the docker scripts they do compile everything, I presume, right?
Jose Costa Teixeira (Oct 23 2021 at 22:07):
so if I wipe my docker images and just re-run the docker buid, that should get the latest commit?
FHIRServer bot (Oct 24 2021 at 01:07):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Oct 24 2021 at 20:45):
grahamegrieve pushed 3 commits to branch master.
- refactor package manager to be able to use custom location (83af890)
- Merge branch 'master' into gg-202110-package-cache (066bfe3)
- Merge pull request #136 from HealthIntersections/gg-202110-package-cache (091fee0)
Grahame Grieve (Oct 24 2021 at 20:48):
@Josh Mandel this should resolve your issue about caching packages
Jose Costa Teixeira (Oct 24 2021 at 21:55):
-e PORT= doesn't do it
Jose Costa Teixeira (Oct 24 2021 at 21:56):
Where should I put web.ini ?
Jose Costa Teixeira (Oct 24 2021 at 21:57):
it's not in the source, and in the linux box it is in /work/fhirserver/exec/64/web.ini
- i presume it gets generated there
Grahame Grieve (Oct 24 2021 at 22:02):
yes that's where it should be
Jose Costa Teixeira (Oct 24 2021 at 22:03):
ok i' see it in the ddockerfile. Issue must be in my docker run line then
Jose Costa Teixeira (Oct 24 2021 at 22:23):
yes, it was. Fixed. I was passing it at the end of the line, so it was used as an argument to the FHIR server instead of the docker run.
Jose Costa Teixeira (Oct 24 2021 at 22:26):
how do I get that local.fhir.org
points to localhost
?
Jose Costa Teixeira (Oct 24 2021 at 22:35):
anyway, also from inside the container, i get the same thing. I use localhost or the machine'r real address and the response is
root@2cf42d4d47ea:/work/fhirserver# wget http://172.17.0.2:960/r4/ValueSet/
--2021-10-24 22:33:57-- http://172.17.0.2:960/r4/ValueSet/
Connecting to 172.17.0.2:960... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: unspecified
ERROR: Redirection (302) without location.
Grahame Grieve (Oct 24 2021 at 22:35):
I just hard code local.fhir.org in my hosts file
Grahame Grieve (Oct 24 2021 at 22:36):
are you using the latest code, and what does the log show?
Grahame Grieve (Oct 24 2021 at 22:36):
the fhirserver log
Jose Costa Teixeira (Oct 24 2021 at 22:50):
i didn't rebuild from the latest commit ( I thought it was just about the packages)
Jose Costa Teixeira (Oct 24 2021 at 22:50):
I'll rebuild now
FHIRServer bot (Oct 25 2021 at 06:40):
grahamegrieve pushed 3 commits to branch master.
- Fix problem with linux compile + improve logging (498663a)
- more logging improvements (9065628)
- Merge pull request #137 from HealthIntersections/gg-202110-linux (3a87e5b)
FHIRServer bot (Oct 25 2021 at 20:03):
grahamegrieve pushed 1 commit to branch master.
- add ssl dlls (ad916b6)
FHIRServer bot (Oct 26 2021 at 07:32):
grahamegrieve pushed 9 commits to branch master.
- Remove javascript support - unstable under load (56655d5)
- indy upgrade (5995166)
- efficiency fix - only use interlocking for reference counting if more than one thread in play (af4468c)
- fix logging handling (cc80196)
- system identification routines cross platform (ac4ef60)
- Add time tracking infrastructure for debugging purposes (d4763a1)
- add screenshot support (1f8d56c)
- fix sequence problem around session initialization (66bd37c)
- compile fixes (74d6c04)
FHIRServer bot (Oct 26 2021 at 09:33):
grahamegrieve pushed 1 commit to branch master.
- Compile fixes (645560f)
FHIRServer bot (Oct 26 2021 at 10:37):
grahamegrieve pushed 1 commit to branch master.
- more work on getting toolkit working on OSX (d945ed1)
FHIRServer bot (Oct 26 2021 at 17:38):
grahamegrieve pushed 3 commits to branch master. Commits by costateixeira (2) and grahamegrieve (1).
- add DLLs to windows exec folder (6a2dbf5)
- remove pauses in windows build script (729472d)
- Merge pull request #140 from HealthIntersections/windows-build-scripts (08fd3e0)
FHIRServer bot (Oct 26 2021 at 17:48):
grahamegrieve pushed 2 commits to branch master.
- compile fixes (b3fd9a9)
- Merge branch 'master' of https://github.com/HealthIntersections/fhirserver (85b4be7)
FHIRServer bot (Oct 26 2021 at 19:19):
grahamegrieve pushed 1 commit to branch master.
- turn off failing tests on build server + fix logging format (515033f)
FHIRServer bot (Oct 26 2021 at 19:29):
grahamegrieve pushed 2 commits to branch master.
- release update (895b955)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (edf7304)
FHIRServer bot (Oct 26 2021 at 19:57):
grahamegrieve pushed 1 commit to branch master.
- fix compile (d7e2fc5)
FHIRServer bot (Oct 27 2021 at 05:32):
grahamegrieve pushed 2 commits to branch master.
- add ICAO -> SHC converter (first draft) (febb09c)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (737936f)
FHIRServer bot (Oct 27 2021 at 05:35):
grahamegrieve pushed 1 commit to branch master.
- fix code (b7fc844)
FHIRServer bot (Oct 28 2021 at 03:07):
grahamegrieve pushed 20 commits to branch master.
- update doco (e0904e8)
- add ICAO support + associated crypto (274c13a)
- fix up icao signature verification (d65a868)
- add ICAO -> SHC conversion (14d7604)
- comment test out for now (a170c3f)
- json clean up (b4792f9)
- clean up compile (730d25b)
- fix up icao issues found on testing (3513d71)
- update icao implementation - more testing (0d882de)
- fix for name processing (dcbb7e9)
- fix error with certificate loading on linux (57e52f2)
- Simple web interface to icao card convertor (0425207)
- release (07cb1b1)
- remove jpeg (ecc2ec3)
- Merge branch 'gg-wip' of https://github.com/grahamegrieve/fhirserver into gg-wip (6ae05cb)
- fix compile issue (5925282)
- fix compile (1c177be)
- release update (eabb881)
- Merge branch 'gg-wip' of http://github.com/GrahameGrieve/FhirServer into gg-wip (b8dd12b)
- Merge pull request #141 from HealthIntersections/gg-wip (1569ba7)
FHIRServer bot (Oct 29 2021 at 02:32):
grahamegrieve pushed 5 commits to branch master.
- verify ICAO certificates (c9de3d0)
- ping build (0a61f6c)
- fix broken tests (56f69af)
- fix tests (31f4eaa)
- Merge pull request #142 from HealthIntersections/gg-202110-icao-verify (533d83c)
FHIRServer bot (Oct 29 2021 at 08:57):
grahamegrieve pushed 2 commits to branch master.
- fix search issue on tx server end point (51d5973)
- Merge pull request #143 from HealthIntersections/gg-202110-txsrvr-search (136c976)
FHIRServer bot (Oct 29 2021 at 18:30):
grahamegrieve pushed 2 commits to branch master.
- clean up QR code acquisition (02406fa)
- Merge pull request #144 from HealthIntersections/gg-201010-qr-code-image (cc9c34c)
FHIRServer bot (Nov 01 2021 at 06:22):
grahamegrieve pushed 9 commits to branch master.
- wip - pdf reading (ac9854a)
- more work on PDF reading (30c0527)
- more work on PDF and barcode scanning (9e208d8)
- update build for new library (db5ed35)
- rework pdf processing (323a5c5)
- #139 - fix broken code system URLs (647be97)
- fix case of Pdfium Library (c1a298e)
- fix issue in build script (5b40a77)
- Merge pull request #145 from HealthIntersections/gg-wip-pdf (9efc24e)
FHIRServer bot (Nov 01 2021 at 22:46):
grahamegrieve pushed 4 commits to branch master.
- #114 - fix object leaks (85e4a90)
- merge (2c60458)
- compile fix (3e9ce4b)
- Merge pull request #146 from HealthIntersections/gg-202110-leaks (4906494)
FHIRServer bot (Nov 02 2021 at 19:52):
grahamegrieve pushed 2 commits to branch master. Commits by grahamegrieve (1) and rhausam (1).
- Update ftx_sct_importer needsBaseForImport function to include additional national SNOMED CT extenstions (previously only Belgium). (a3a5e28)
- Merge pull request #147 from rhausam/fix-snomed-extension-import (16c1581)
FHIRServer bot (Nov 03 2021 at 20:18):
grahamegrieve pushed 20 commits to branch master. Commits by grahamegrieve (19) and jmandel (1).
- start working on code scanning (bfc58d0)
- add code scanning project (70ccfa6)
- code clean up - end of lines (f355f01)
- Code clean up + enforce code rules in ci-build (062dff8)
- fix compile problems (c9f37a3)
- fix codescan to compile (b4c52e8)
- fix compile (2596da4)
- move code scanner to later in the process (b36423d)
- try build again (7e072c7)
- fix docker build (599ae01)
- fix typo (095f7cd)
- try a different path (d04230b)
- try a different approach (aa16cf2)
- fix path (5fdea7f)
- reorg code with graphical dependencies (5e4c2b0)
- fix compile issue (623a133)
- Always update dependencies before building (219ef3a)
- fix problem with removing 'b' from snomed content (74e3b5d)
- Merge branch 'gg-202110-code-scanning' of https://github.com/grahamegrieve/fhirserver into gg-202110-code-scanning (e536f0b)
- Merge pull request #148 from HealthIntersections/gg-202110-code-scanning (1098343)
FHIRServer bot (Nov 04 2021 at 21:20):
grahamegrieve pushed 2 commits to branch master.
- support vaccinations with multiple different vaccines (ef2dbc0)
- Merge pull request #149 from HealthIntersections/gg-202111-icao-fix (a3138ce)
FHIRServer bot (Nov 05 2021 at 03:10):
grahamegrieve pushed 2 commits to branch master.
- update search for R3/4 search specification (4f13b1a)
- Merge pull request #150 from HealthIntersections/gg-202111-search-r4 (f7fa455)
FHIRServer bot (Nov 05 2021 at 18:32):
grahamegrieve pushed 2 commits to branch master.
- fix problem with mouse selection in toolkit (c2f4637)
- Merge pull request #152 from HealthIntersections/gg-202111-toolkit-selection (b8dacd2)
FHIRServer bot (Nov 05 2021 at 19:07):
grahamegrieve pushed 4 commits to branch master. Commits by grahamegrieve (2) and jmandel (2).
- Build without buildx caching (b6d20b4)
- Update linux-docker-build.yml (73c4968)
- Merge branch 'master' into without-buildx-1 (84e8a6d)
- Merge pull request #151 from HealthIntersections/without-buildx-1 (8873fee)
Grahame Grieve (Nov 05 2021 at 20:00):
I wasn't supposed to merge that? sorry
Rob Hausam (Nov 05 2021 at 20:02):
Are you going to revert the merge? Or what? Just wondering whether I should do another pull - or wait for you to change it.
Grahame Grieve (Nov 05 2021 at 20:03):
Josh did
Rob Hausam (Nov 05 2021 at 20:03):
sounds good
Grahame Grieve (Nov 05 2021 at 20:03):
and it's build stuff so nothing for you to care one way or another
Rob Hausam (Nov 05 2021 at 20:03):
ok
Josh Mandel (Nov 05 2021 at 20:06):
(Grahame, go ahead and merge https://github.com/HealthIntersections/fhirserver/pull/153 when you have a chance -- sorry for the confusion on this.)
FHIRServer bot (Nov 07 2021 at 22:57):
grahamegrieve pushed 3 commits to branch master.
- work in progress on new file dialog box (b57d993)
- fix up new file (c036741)
- Merge pull request #155 from HealthIntersections/wip-toolkit (4d9505a)
FHIRServer bot (Nov 08 2021 at 00:09):
grahamegrieve pushed 3 commits to branch master.
- rework package server support for canonical URLs (8b93428)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (a6d3db3)
- Merge pull request #154 from HealthIntersections/gg-202111-package-canonicals (b308559)
FHIRServer bot (Nov 08 2021 at 06:24):
grahamegrieve pushed 4 commits to branch master.
- Add support for uploading files (tx cache related functionality) (9baaacb)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (fa2110a)
- compile fix (7a58525)
- Merge pull request #156 from HealthIntersections/gg-202111-put-files (1b5182d)
FHIRServer bot (Nov 08 2021 at 08:35):
grahamegrieve pushed 5 commits to branch master. Commits by rhausam (3) and grahamegrieve (2).
- Add Danish language. (cd12f09)
- Resolve the duplicate concept rows that may occur when importing extension snapshots. (2ea368f)
- Update to import Netherlands release as an edition (not extension). (ef5bdee)
- Merge branch 'master' into fix-snomed-extension-import (487cfd4)
- Merge pull request #157 from rhausam/fix-snomed-extension-import (91f1c39)
FHIRServer bot (Nov 08 2021 at 08:36):
grahamegrieve pushed 3 commits to branch master.
- update for release (a6028bd)
- new release (7ae09bd)
- Merge branch 'master' of http://github.com/GrahameGrieve/FhirServer (c887e7c)
FHIRServer bot (Nov 09 2021 at 06:43):
grahamegrieve pushed 3 commits to branch master.
- fix tx-cache problems (27716dc)
- Merge branch 'master' into gg-202111-tx-cache-2 (78fee7f)
- Merge pull request #158 from HealthIntersections/gg-202111-tx-cache-2 (606b860)
FHIRServer bot (Nov 10 2021 at 06:01):
grahamegrieve pushed 3 commits to branch master.
- prevent double release of DB Connection (0a5c5d7)
- Merge branch 'master' into gg-20211-rxnorm-dbl-release (a1baf22)
- Merge pull request #159 from HealthIntersections/gg-20211-rxnorm-dbl-release (8255952)
FHIRServer bot (Nov 10 2021 at 20:20):
grahamegrieve pushed 2 commits to branch master. Commits by grahamegrieve (1) and rhausam (1).
- Change TSnomedImporter.SeeDesc to use StringIsInteger64 function to avoid out of range error with embedded long integer values present in some descriptions. (89495c5)
- Merge pull request #160 from rhausam/fix-snomed-extension-import (d14a1b8)
FHIRServer bot (Nov 10 2021 at 23:49):
grahamegrieve pushed 3 commits to branch master.
- more debugging on validate-code and improve log (2c07564)
- Merge branch 'master' into gg-202111-validate-code-logging (385188c)
- Merge pull request #161 from HealthIntersections/gg-202111-validate-code-logging (a1356cd)
FHIRServer bot (Nov 11 2021 at 01:48):
grahamegrieve pushed 2 commits to branch master.
- adjust email test for secret problem (da2f29d)
- Merge pull request #162 from HealthIntersections/gg-201111-email-secret-fix (21d24f2)
FHIRServer bot (Nov 11 2021 at 02:47):
grahamegrieve pushed 1 commit to branch master.
- compile fix for delphi (d2be996)
FHIRServer bot (Nov 12 2021 at 19:04):
grahamegrieve pushed tag v1.9.9.
FHIRServer bot (Nov 12 2021 at 19:16):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Nov 12 2021 at 19:28):
grahamegrieve pushed 1 commit to branch master.
- Release Version (471fa4e)
FHIRServer bot (Nov 12 2021 at 19:28):
grahamegrieve pushed tag v2.0.0.
FHIRServer bot (Nov 13 2021 at 19:30):
grahamegrieve pushed 5 commits to branch master.
- OSX Toolkit release wip (9124b66)
- fix build (6eac2c9)
- build fix (fb939b0)
- more osx work (ac6900b)
- Merge pull request #163 from HealthIntersections/gg-202111-toolkit-osx-wip (25c5f00)
FHIRServer bot (Nov 14 2021 at 11:31):
grahamegrieve pushed 9 commits to branch master.
- merge (2b5884a)
- Merge branch 'master' of https://github.com/HealthIntersections/fhirserver (57e9e4b)
- Merge remote-tracking branch 'origin/master' (f25da05)
- toolkit upgrade process (cb5362a)
- merge conflict (e4f0932)
- fix compile, fix about form + add ADUG demo (723c173)
- Merge branch 'master' of https://github.com/HealthIntersections/fhirserver (a385f8f)
- Merge branch 'gg-202111-toolkit-upgrade' of https://github.com/HealthIntersections/fhirserver (403eb2c)
- compile fixes (fdcea29)
FHIRServer bot (Nov 14 2021 at 12:01):
grahamegrieve pushed 1 commit to branch master.
- code quality fixes (917877a)
FHIRServer bot (Nov 14 2021 at 20:28):
grahamegrieve pushed 2 commits to branch master.
- ready for adug demo (01285ea)
- Merge pull request #165 from HealthIntersections/gg-202111-adug-demo (1ca6a1b)
FHIRServer bot (Nov 14 2021 at 23:15):
grahamegrieve pushed 2 commits to branch master.
- fix bug in language validation + delphi fixes for new release process. (f62af6c)
- Merge pull request #166 from HealthIntersections/gg-202111-lang-validation (fed2b01)
FHIRServer bot (Nov 15 2021 at 05:59):
grahamegrieve pushed tag v2.0.1.
FHIRServer bot (Nov 15 2021 at 07:03):
grahamegrieve pushed 2 commits to branch master.
- fix code system version picking, and handle code systems that are not present (4489a97)
- Merge pull request #167 from HealthIntersections/gg-202111-cs-not-present (c98c8b0)
FHIRServer bot (Nov 15 2021 at 07:08):
grahamegrieve pushed 3 commits to branch master.
- Release Version (b512241)
- new release (3bb46fb)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (30b62ec)
FHIRServer bot (Nov 16 2021 at 06:18):
grahamegrieve pushed 8 commits to branch master.
- work on new release (b422ac5)
- digital signing installer (b5770d6)
- Add Paste/Process (29a3301)
- rework server shutdown sequence (ab32a1b)
- compile fix (5d2c5cd)
- fix code quality issue (30920f4)
- copyright statement (57e4259)
- Merge pull request #168 from HealthIntersections/gg-202111-server-shutdown (abbc127)
FHIRServer bot (Nov 16 2021 at 06:30):
grahamegrieve pushed 1 commit to branch master.
- Release Version (07124d9)
FHIRServer bot (Nov 16 2021 at 06:31):
grahamegrieve pushed tag v2.0.2.
Rob Hausam (Nov 17 2021 at 13:32):
Has anyone been able to get fhirconsole or fhirserver to successfully launch on a Mac M1? Using native aarch64 FPC and Lazarus trunk I'm able to build both of them. I only needed one minor tweak in fsl_threads to wrap threadid
with NativeUInt
so that it would compile, as in:
Logging.log('Thread start '+threadName+ ' '+inttohex(NativeUInt(threadid)));
With that, and no other changes to the latest v2.0.2 source, both projects build successfully. But neither of them will run. The issue seems to be with openssl. I have openssl@1.1 installed via HomeBrew. I haven't figured out anything that will get this to work. When I try to launch fhirconsole from Lazarus I get Project FHIRConsole raised exception class 'Debugger stopped with reason: signal SIGABRT'.
. The lldb debugger doesn't seem to be able to handle that too well. When I launch the app standalone, in the console I get a slightly more descriptive message of:
RHausamMacbookAir:~ rhausam$ /Users/rhausam/git-repo/fhirserver/exec/64/FHIRConsole ; exit;
WARNING: /Users/rhausam/git-repo/fhirserver/exec/64/FHIRConsole is loading libcrypto in an unsafe way
Abort trap: 6
logout
Any suggestions to get this to work?
Rob Hausam (Nov 17 2021 at 13:39):
@Grahame Grieve You do have an M1, right? And (presumably) this works for you?
Grahame Grieve (Nov 17 2021 at 18:28):
sigh. I haven't figured this out. But I don't understand the compile issue at all. I routinely build for mac, so why did you need to do something to get it to compile?
Grahame Grieve (Nov 17 2021 at 18:28):
what version of lazarus are you using?
Grahame Grieve (Nov 17 2021 at 18:29):
the openSSL thing - OSX is just really hostile to develop on. I'll have to dig in to what it was I did
Rob Hausam (Nov 17 2021 at 18:35):
Because it gave me a compile error. :) I'm on Lazarus 2.3.0 and FPC 3.3.1. I'll back out the change and post back with the error:
Rob Hausam (Nov 17 2021 at 18:39):
@Grahame Grieve This is what I get without the fix.
Screen-Shot-2021-11-17-at-12.36.52.png
Grahame Grieve (Nov 17 2021 at 18:42):
if you ctrl-click on threadid, what line of code do you get?
Rob Hausam (Nov 17 2021 at 18:43):
I hadn't looked at this.
Screen-Shot-2021-11-17-at-12.43.19.png
Grahame Grieve (Nov 17 2021 at 18:52):
turns out I hadn't got around to compiling that on my mac yet. :-) sorry
Grahame Grieve (Nov 17 2021 at 18:53):
and the ci-build doesn't build for osx yet. that's a todo
FHIRServer bot (Nov 17 2021 at 18:55):
grahamegrieve pushed 1 commit to branch master.
- compile fix for OSX (9ab74f6)
Grahame Grieve (Nov 17 2021 at 18:56):
I think I solved the openSSL problem by signing the openSSL dlls?
Rob Hausam (Nov 17 2021 at 18:58):
That might do it. I'll check it out. And if it works, that was really quick! I'll have to do that after the IPS Cross-SDO call, though,
Rob Hausam (Nov 17 2021 at 20:34):
@Grahame Grieve I also tried threadToString and found that it worked - but I thought maybe you wanted to use inttohex for a particular reason. :) So signing the openSSL dlls (presumably using codesign?) solved that issue for you? I haven't tried it yet, but I'm getting ready to.
FHIRServer bot (Nov 17 2021 at 21:04):
grahamegrieve pushed 6 commits to branch master.
- Add FHIR Patch tests and get them passing (c6894d4)
- fix error in release build where items in fhirserver.web have the wrong path (18dd8d9)
- investigating why icao tests are failing under delphi (39fdbfb)
- revise handling of fragment and example code systems (e07f138)
- release notes (1072fa0)
- Merge pull request #169 from HealthIntersections/gg-202111-fix-release-web (086916d)
Rob Hausam (Nov 17 2021 at 21:38):
@Grahame Grieve So, for clarity, on macOS, by "signing the openSSL dlls" are you referring using codesign to sign libcrypto.1.1.dylib and libssl.1.1.dylib that are installed by HomeBrew in /opt/homebrew/opt/openssl@1.1/lib? I'm assuming that's not what you are talking about for macOS, as those dylibs are already signed. Or maybe you didn't use HomeBrew to install openSSL?
So if there is something else that you did and are referring to that has gotten this working for you on the M1, let me know what that is.
Grahame Grieve (Nov 17 2021 at 21:46):
I did use HomeBrew. So I'm not sure then
Rob Hausam (Nov 17 2021 at 21:48):
HomeBrew is the most likely way I would have expected you to do it, so that's the same. I assume you are using openssl@1.1? So what did you sign, and what way did you do that?
Rob Hausam (Nov 17 2021 at 21:49):
Or if there is anything else that you also did, let me know.
Rob Hausam (Nov 17 2021 at 21:50):
And I'm on Monterey 12.0.1, if that happens to make any difference.
Grahame Grieve (Nov 17 2021 at 21:54):
maybe I didn't sign. I did stuff until osx stopped complaining and then moved on in relief
Grahame Grieve (Nov 17 2021 at 21:54):
as I said, a very hostile operating system
Rob Hausam (Nov 17 2021 at 21:55):
Well, sure. If you have any recollection of any of it you can point me toward, that would be great. It may help me further stumble my way through. :)
FHIRServer bot (Nov 17 2021 at 21:59):
grahamegrieve pushed 2 commits to branch master.
- 2.0.3 release (8604600)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (49ad282)
FHIRServer bot (Nov 17 2021 at 22:12):
grahamegrieve pushed 1 commit to branch master.
- Release Version (36a8d2b)
FHIRServer bot (Nov 17 2021 at 22:13):
grahamegrieve pushed tag v2.0.3.
Grahame Grieve (Nov 18 2021 at 10:35):
so the location of openssl is hard coded to /opt/homebrew/Cellar/openssl@1.1/1.1.1l/lib/
Grahame Grieve (Nov 18 2021 at 12:38):
not now. I'm going to commit soon, and it's going to move the dylib files into the same folder as the executable now - and I will commit signed dylibs as well, for use by other developers. I haven't quite cracked how to distribute openssl yet
FHIRServer bot (Nov 18 2021 at 13:02):
grahamegrieve pushed 7 commits to branch master.
- git ignore (5a1174e)
- Add signed openSSL for OSX (fc08eed)
- fix up loading issues for OSX (1308e59)
- OSX installer work (553ae38)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (b6a0688)
- finish merge (7ca8575)
- OSX build work (0fd289d)
Rob Hausam (Nov 18 2021 at 13:35):
@Grahame Grieve I think this is much better. I've been working on some similar lines, but I'll go with this now. Are these libs compiled as fat binaries supporting both Intel and M1 (Apple Silicon)? So far when I launch I'm seeing the same errors that I had before. I'll double check my configuration and try to make sure I'm not confusing things with other libs that I've been trying.
Grahame Grieve (Nov 18 2021 at 18:05):
no they're not fat binaries
FHIRServer bot (Nov 18 2021 at 19:19):
grahamegrieve pushed 6 commits to branch master.
- fix type of file handle (3f63a62)
- new release (4d44cac)
- fix integer overflow in kernel (ca5efd7)
- fix path error (f00ada0)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (78a9cd0)
- compile fix (10cf0bb)
Rob Hausam (Nov 19 2021 at 04:30):
I'm still not getting past the openssl libs and no ability to launch the apps. I tried ./build/osx.sh
- which seemed to execute fine, but it didn't do exactly what I had thought it might, which was give me a working build of fhirserver and fhirconsole. And it was also giving some of the arm64 function not 4-byte aligned
and object file (XXX) was built for newer macOS version (11.0) than being linked (10.8)
warnings that I had already worked through and no longer have been getting in my other Lazarus/FPC builds. An example of the latter is ld: warning: object file (/Users/rhausam/fsbuild/tools/fpc/units/aarch64-darwin/fcl-json/fpjson.o) was built for newer macOS version (11.0) than being linked (10.8)
- and of course I'm running on macOS 12.0.1.
I've also compiled my own native arm64 libs, of both openssl 1.1 and 1.0.2. I've been reading that Indy still doesn't support openssl 1.1 yet, but I can't seem to tell for sure if that's completely current information or not. Even with that I somehow don't yet seem to know how to get the apps to use either version of my libs - instead they still seem to be trying to load and are getting hung up on the "unversioned" lib (presumably the LibreSSL 2.8.3 supplied by macOS?).
Grahame Grieve (Nov 19 2021 at 04:31):
I still get this: object file (/Users/rhausam/fsbuild/tools/fpc/units/aarch64-darwin/fcl-json/fpjson.o) was built for newer macOS version (11.0) than being linked (10.8)
Grahame Grieve (Nov 19 2021 at 04:31):
I've been ignoring it since it doesn't seem to matter any how, and there's a note on the lazarus forum to ignore it
Grahame Grieve (Nov 19 2021 at 04:32):
does the toolkit run and load openSSL successfully?
Grahame Grieve (Nov 19 2021 at 04:32):
the indy code in the repo is a hacked version of the branch of indy that does support 1.1.x
Rob Hausam (Nov 19 2021 at 04:32):
Ok. Since I wasn't succeeding otherwise I wasn't sure about ignoring it, and I was able to get past that by recompiling and reconfiguring Lazarus.
Grahame Grieve (Nov 19 2021 at 04:33):
hmm what did you do to fix that warning?
Rob Hausam (Nov 19 2021 at 04:37):
I did a few things. As I recall it as making sure that both FPC and Lazarus was compiled natively, with the proper command line tools for 12.0.1. And then it was setting Optimization levels to no higher than 0 or 1 and making sure that 'Smaller rather than faster (-Os)' and other options were not checked.
Rob Hausam (Nov 19 2021 at 04:38):
I wondered about Indy and 1.1. Since you were using it I presumed it must work, but since I couldn't get it to work I kept second guessing that.
Grahame Grieve (Nov 19 2021 at 04:39):
hmm. anyway, does the toolkit work?
Rob Hausam (Nov 19 2021 at 04:40):
Actually, the unchecked 'Smaller rather than faster' was about the arm64 function not 4-byte aligned
.
Rob Hausam (Nov 19 2021 at 04:41):
Let me check the toolkit again on my other build. I haven't been doing much of anything with that (maybe I should be?).
Grahame Grieve (Nov 19 2021 at 04:43):
it's the thing that's most thoroughly worked on for OSX
Rob Hausam (Nov 19 2021 at 04:44):
Am I correct that it needs to be toolkit2 for Lazarus? And it looks like I need to install ExtraHighlighters and FrameViewer09.
Grahame Grieve (Nov 19 2021 at 04:59):
toolkit2 yes
Grahame Grieve (Nov 19 2021 at 05:00):
those packages should already be installed, but yes you need them
Rob Hausam (Nov 19 2021 at 05:01):
I have them now. Finishing up rebuilding.
Rob Hausam (Nov 19 2021 at 05:05):
Unfortunately, I'm still getting (when I launch FHIRToolkit.app outside of Lazarus):
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: FHIRToolkit [93527]
Path: /Users/USER/*/FHIRToolkit.app/Contents/MacOS/FHIRToolkit
Identifier: FHIRToolkit
Version: ???
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2021-11-18 23:02:22.7030 -0600
OS Version: macOS 12.0.1 (21A559)
Report Version: 12
Anonymous UUID: C9C7AB28-9E66-CD77-0027-A541B2D25744
Sleep/Wake UUID: CF515A80-8042-44BE-9F6A-E8E1AC9DDACB
Time Awake Since Boot: 39000 seconds
Time Since Wake: 3884 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI.
Rob Hausam (Nov 19 2021 at 05:08):
Launching from Lazarus just gives:
Project FHIRToolkit raised exception class 'Debugger stopped with reason: signal SIGABRT'.
At address 1B095D9B8
I do see a FHIRToolkit icon showing up in my Dock now - but it doesn't function.
Grahame Grieve (Nov 19 2021 at 05:09):
does it run in lazarus?
Rob Hausam (Nov 19 2021 at 05:13):
In Lazarus it crashes with the very unhelpful 'SIGABRT' error that I posted above and then it opens an Assembler window. But I also get the non-functional FHIRToolkit icon.
Grahame Grieve (Nov 19 2021 at 05:14):
so have you copied the .dylib files from exec\pack\osx into the FHIRToolkit.app/Contents/MacOS ?
Grahame Grieve (Nov 19 2021 at 05:14):
and the *.dat and *.icns from exec/pack to FHIRToolkit.app/Contents/Resources too
Rob Hausam (Nov 19 2021 at 05:15):
No, I have not. I didn't have that information (or didn't know it if I did).
Grahame Grieve (Nov 19 2021 at 05:15):
ok, well, you do have to do both those things
Rob Hausam (Nov 19 2021 at 05:16):
I wondered if there might be some missing ingredient? :) I'll try that.
Grahame Grieve (Nov 19 2021 at 05:25):
oh
Rob Hausam (Nov 19 2021 at 05:30):
Ok. Still no luck. Even after including those files in the app, when I attempt to launch the app it crashes and the report is telling me that it still is attempting to load /usr/lib/libcrypto.dylib (the "unversioned" system library). There must be something stupidly obvious about why it is doing that even with the correct library file in the app and how to get it not to do that, but I haven't found it yet.
Grahame Grieve (Nov 19 2021 at 05:31):
I think I have now. I just emailed the openSSL email list with this:
Grahame Grieve (Nov 19 2021 at 05:31):
I'm trying to get my application that uses openSSL 1.1 running on OSX. I've installed them using homebrew, but I can't get past Apple's gates around blocking use of openSSL. I've copied both dylibs into my app /Contents/MacOS folder, and signed both of them, and I load them from the that location, but OSX still blocks loading.
It actually blocks loading libssl.1.1.dylib, with a message about libcrypto - presumably libssl has a non-version dependence on libcrypto that OSX is blocking?
There's various write-ups about how to get an app that uses openSSL through notarization, but they're not working for me - my app will sometimes work under the debugger and sometimes when I run it directly, but never after notarization (with a hardened run-time). Do I need to do something different when libssl.1.1 is built? Or am I on the wrong track here?
Apple advice is to use something proprietary to OSX, but that's really not practical for a cross-platform app with extensive dependencies on openSSL
Rob Hausam (Nov 19 2021 at 05:33):
Ok. Wow. This really is pretty exceptionally difficult. :(
Grahame Grieve (Nov 19 2021 at 05:38):
it certainly is. Apple really don't want people to use openSSL but they haven't provided a workable alternative
FHIRServer bot (Nov 19 2021 at 20:57):
grahamegrieve pushed 5 commits to branch master.
- Add form based generation for SHC (8762b4d)
- Add SHC card tracking for revocation purposes (e92ab6b)
- fix failing openSSL test (optimization must be true!?) (c6dd474)
- fix access violation in tx server (963cf6b)
- Merge pull request #171 from HealthIntersections/gg-202111-shc-form-generation (b124509)
FHIRServer bot (Nov 19 2021 at 21:15):
grahamegrieve pushed 1 commit to branch master.
- wip on cross-compiling (b3bf04f)
FHIRServer bot (Nov 19 2021 at 22:57):
grahamegrieve pushed 1 commit to branch master.
- Release Version (6daa069)
FHIRServer bot (Nov 19 2021 at 22:57):
grahamegrieve pushed tag v2.0.4.
Rob Hausam (Nov 20 2021 at 01:32):
@Grahame Grieve FYI, just in case it could help I tried disabling Gatekeeper and SIP. But doing that didn't help - still get the same libcrypto errors without them.
FHIRServer bot (Nov 21 2021 at 10:43):
grahamegrieve pushed 2 commits to branch master.
- install linux cross-compiler with windows (4180b05)
- adds static openssl code + fix web source problem (6c72817)
FHIRServer bot (Nov 21 2021 at 10:57):
grahamegrieve pushed 1 commit to branch master.
- Release Version (f524b93)
FHIRServer bot (Nov 21 2021 at 10:58):
grahamegrieve pushed tag v2.0.5.
FHIRServer bot (Nov 22 2021 at 09:39):
grahamegrieve pushed 1 commit to branch master.
- better JWT validation + add allow headers to ICAO endpoint (3451124)
FHIRServer bot (Nov 22 2021 at 09:53):
grahamegrieve pushed 1 commit to branch master.
- Release Version (e246606)
FHIRServer bot (Nov 22 2021 at 09:53):
grahamegrieve pushed tag v2.0.6.
FHIRServer bot (Nov 22 2021 at 20:19):
grahamegrieve pushed 1 commit to branch master.
- Add missing date from generated SHCs (d3c7f4d)
FHIRServer bot (Nov 22 2021 at 20:38):
grahamegrieve pushed 1 commit to branch master.
- Release Version (594fc4f)
FHIRServer bot (Nov 22 2021 at 20:39):
grahamegrieve pushed tag v2.0.7.
FHIRServer bot (Nov 23 2021 at 01:19):
grahamegrieve pushed 1 commit to branch master.
- icao processing fixes (145966e)
FHIRServer bot (Nov 23 2021 at 01:33):
grahamegrieve pushed 1 commit to branch master.
- Release Version (71d7f7f)
FHIRServer bot (Nov 23 2021 at 01:34):
grahamegrieve pushed tag v2.0.8.
FHIRServer bot (Dec 03 2021 at 02:25):
grahamegrieve pushed 17 commits to branch master.
- toolkit minor improvements around JWT handling (e1cfa2a)
- fix up icons (a258f25)
- Add IG Publisher manager page (58b5f2f)
- upgrade code scanning to parse code + fix discovered issues (dc47fa0)
- improve icons, move text processing to a view, add IG publication (9c9dacb)
- fix linux compile (caec0e5)
- ping server (fdf830c)
- add pascalast to library list (cf7dd80)
- recurse submodules for delphiAST (e403823)
- fix up file case names (7679fa9)
- add missing licence statements (b7d0da0)
- more work on publishing IGs + add snomed test logging (06c92e3)
- fix exception type (3ebdae0)
- add to snomed test (904f504)
- more sct test logging (9b78c4d)
- more test logging (dfb8ffb)
- Merge pull request #174 from HealthIntersections/gg-202112-ig-pub (e17eba0)
FHIRServer bot (Dec 07 2021 at 12:13):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Dec 07 2021 at 12:14):
grahamegrieve pushed the branch master.
Grahame Grieve (Dec 09 2021 at 22:49):
@Josh Mandel this looks like an infrastructure issue to me - the bash script to install the toolchain doesn't even get going at all - the first line is an @echo statement and it doesn't happen. Any ideas?
Josh Mandel (Dec 09 2021 at 23:36):
Huh, anything new here? Like, I'm assuming nobody unset the"-x" flag on the script
Grahame Grieve (Dec 10 2021 at 01:18):
The script is from git so who would be able to do that?
Josh Mandel (Dec 10 2021 at 01:19):
Just committers on the git repository. I haven't debugged, just looked at the error (which seemed to say "can't execute")
Grahame Grieve (Dec 10 2021 at 08:27):
that's something you can do on a git repository? how?
Grahame Grieve (Dec 10 2021 at 08:29):
oh wow you can. And I probably did.
Grahame Grieve (Dec 10 2021 at 10:30):
what the heck? git is really on fire now:
Grahame Grieve (Dec 10 2021 at 10:30):
Grahame Grieve (Dec 10 2021 at 10:30):
schroedinger's commit...
Grahame Grieve (Dec 10 2021 at 10:33):
so how I removed the flag by accident... I committed the files through tortoisegit on windows in a VM, while actually hosting the folder on a OSX drive. git on windows was sure the files had changed, and I had no idea what was going on. (confusing, because git was also convinced that the files had and hadn't changed)
Josh Mandel (Dec 10 2021 at 14:47):
Wow, fascinating -- That sounds like a fun setup. Anyway, I'm glad my question pointed you in the right direction, because I probably would not have had time to debug for a little while.
FHIRServer bot (Dec 10 2021 at 19:21):
grahamegrieve pushed 29 commits to branch master.
- more osx build work (df27e3a)
- osx build work (fb7c6d1)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (ca5c9d5)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (09427b2)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (404b936)
- Delphi 11 compile fixes (98fdaf4)
- rework versioning code (83771b0)
- Split Indy code out into it's own package (5b36428)
- fix up testing call back method and add FHIRPath patch tests (f938990)
- improved XML pretty rendering (e495e10)
- Delete IGs from IG runner (5c83b9a)
- Fix bug in populating link to insecure interface on authentication page (650f911)
- fix compile problem (f7485a7)
- switch to static binding openssl for OSX issues (15bddf8)
- Merge branch 'master' into gg-202112-openssl-static (fa66ee5)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (db5bf71)
- UTF-8 compile fix + openSSL doco (982f87a)
- Merge branch 'gg-202112-openssl-static' of https://github.com/grahamegrieve/fhirserver (259b330)
- openSSL static binding (ff75f8d)
- more commits (e053bda)
[and 9 more commit(s)]
FHIRServer bot (Dec 10 2021 at 23:22):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Dec 10 2021 at 23:23):
grahamegrieve pushed tag v2.0.9.
FHIRServer bot (Dec 10 2021 at 23:32):
grahamegrieve pushed 1 commit to branch master.
- updates for new release and build process that works with openSSL objects (0cb782b)
FHIRServer bot (Dec 13 2021 at 08:55):
grahamegrieve pushed 6 commits to branch master.
- fix bug ignoring value set specified display (5b16113)
- fix bug where client cache caches unidentified resources (c5f4b1b)
- more work on IG publication management (1d49a0f)
- update fpclazup dependency (639854f)
- fix exception (fee6979)
- Merge pull request #178 from HealthIntersections/gg-202112-valueset-display (38e9c64)
FHIRServer bot (Dec 13 2021 at 10:44):
grahamegrieve pushed tag v2.0.10.
FHIRServer bot (Dec 20 2021 at 01:24):
grahamegrieve pushed 7 commits to branch master.
- Release Version (96eadea)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (41ccf96)
- new release + more work on IG publication manager (543c03e)
- add Moderna to ICAO Certificate handling (fbc0a1c)
- fix to return release candidates for specified version (7c2b25e)
- fix code (2e93d44)
- Merge pull request #180 from HealthIntersections/gg-202112-package-versioning (563ebbf)
FHIRServer bot (Dec 20 2021 at 02:27):
grahamegrieve pushed 1 commit to branch master.
- Release Version (9bda7cf)
FHIRServer bot (Dec 20 2021 at 02:28):
grahamegrieve pushed tag v2.0.11.
FHIRServer bot (Dec 20 2021 at 19:00):
grahamegrieve pushed 1 commit to branch master.
- fix windows batch files (28f6997)
FHIRServer bot (Jan 11 2022 at 14:51):
grahamegrieve pushed 7 commits to branch master.
- R4B / R5 code generation (7523a41)
- update R5 includes (b73feb8)
- add support for r4b to code scanner (cbfb6e7)
- R4B and updated R5 support (daa3da2)
- update fpc dependency (1055b22)
- r4b implementation (d0eed76)
- Merge pull request #182 from HealthIntersections/gg-202201-r4b (46c7071)
FHIRServer bot (Jan 11 2022 at 14:58):
grahamegrieve pushed 1 commit to branch master.
- setup release (0f9dd80)
FHIRServer bot (Jan 11 2022 at 15:16):
grahamegrieve pushed 1 commit to branch master.
- Release Version (dd77693)
FHIRServer bot (Jan 11 2022 at 15:18):
grahamegrieve pushed tag v2.0.12.
FHIRServer bot (Jan 27 2022 at 04:39):
grahamegrieve pushed 1 commit to branch master.
- Add backbone for server package upload (90a67cd)
FHIRServer bot (Jan 28 2022 at 02:30):
grahamegrieve pushed 1 commit to branch master.
- more filling it out (17621b1)
FHIRServer bot (Feb 01 2022 at 10:46):
grahamegrieve pushed 1 commit to branch master.
- fix up unicode (816612d)
FHIRServer bot (Feb 02 2022 at 02:15):
grahamegrieve pushed 1 commit to branch master.
- Delete codescan.res (486fdf6)
FHIRServer bot (Feb 02 2022 at 03:12):
grahamegrieve pushed 2 commits to branch master.
- update extrasyn source (175395f)
- Merge branch 'master' of https://github.com/grahamegrieve/fhirserver (f397f75)
FHIRServer bot (Feb 02 2022 at 04:18):
grahamegrieve pushed 1 commit to branch master.
- fix compile problem (296fff0)
FHIRServer bot (Feb 02 2022 at 04:45):
grahamegrieve pushed 1 commit to branch master.
- fix compile (a8e89df)
FHIRServer bot (Feb 02 2022 at 05:24):
grahamegrieve pushed 1 commit to branch master.
- fix compile problem (d1cccf4)
FHIRServer bot (Feb 02 2022 at 05:44):
grahamegrieve pushed 1 commit to branch master.
- fix compile problem (acd37d0)
FHIRServer bot (Feb 02 2022 at 06:52):
grahamegrieve pushed 2 commits to branch master.
FHIRServer bot (Feb 02 2022 at 07:08):
grahamegrieve pushed 1 commit to branch master.
- compile fix - npm access work (f9b8e34)
FHIRServer bot (Feb 02 2022 at 07:46):
grahamegrieve pushed 1 commit to branch master.
- fix eoln (282a284)
FHIRServer bot (Feb 02 2022 at 09:24):
grahamegrieve pushed 1 commit to branch master.
- compile fix (2674ddf)
FHIRServer bot (Feb 02 2022 at 22:31):
grahamegrieve pushed 1 commit to branch master.
- fix tests (98e0a63)
FHIRServer bot (Feb 03 2022 at 00:28):
grahamegrieve pushed 3 commits to branch master.
- fix up paths issues (4b61d4f)
- fix bug generating expansions on flat code systems (f49cd92)
- Merge pull request #183 from HealthIntersections/gg-202202-flat-codesystems (98a6805)
FHIRServer bot (Feb 03 2022 at 00:43):
grahamegrieve pushed 1 commit to branch master.
- Release Version (0beb858)
FHIRServer bot (Feb 03 2022 at 00:43):
grahamegrieve pushed tag v2.0.13.
Last updated: Apr 12 2022 at 19:14 UTC