Commit Graph

24 Commits

Author SHA1 Message Date
Jason Kulatunga 38ea0562ea
working on text extraction. TODO: we should handle javascript complex types by json encoding.
TODO: https://www.geeksforgeeks.org/how-to-check-if-the-value-is-primitive-or-not-in-javascript/
TODO: convert to markdown
2024-02-19 07:24:59 -08:00
Jason Kulatunga 62a89d7999
make sure we correctly extract text narration field from FHIR resources. Convert to Markdown. 2024-02-17 11:13:49 -08:00
Jason Kulatunga dbd868c796
adding meta prefix to all relevant meta keys. (#323)
* adding meta prefix to all relevant meta keys.
moved extractor functions into reusable script.

* adding comprensive tests and types for extracted data stored in tables.

* update with README.

* using choiceTypePaths to correctly append types to the search parameter queries.

* adding comment or `keyword` types

* better extraction of Date information.

* fix tests.
2023-11-19 11:09:23 -08:00
Jason Kulatunga d37fb12f89
adding tests for condition and encounter. 2023-11-17 17:16:36 -08:00
Akash Sampurnanand Pandey 7c8a118f40
update FhirPatient unit tests for most fields (#301)
Co-authored-by: Jason Kulatunga <jason@thesparktree.com>
2023-11-13 10:43:03 -08:00
Akash Sampurnanand Pandey a71c690241
update FhirObservation unit tests (#303) 2023-11-13 10:37:48 -08:00
Akash b212e97d8e formatting stuff 2023-10-21 10:08:51 -05:00
Akash 79a5c20d06 unit test for identifier and telecom for example1 2023-10-21 02:14:24 -05:00
Nicholas Murray 83d90cc373 models/database: update generate.go with postgres db model
We need to swap out datetime with timestamptz in order to properly allow for a postgres DB provider
2023-10-10 12:25:52 -07:00
Jason Kulatunga af2344ec00
add sort_date as a DB field that can be queried.
make sure that order_by is automatically desc for date fields.
2023-10-01 19:15:24 -07:00
Jason Kulatunga 0a9eb88b1b
fixing module name (fasten-onprem vs fastenhealth-onprem) 2023-08-27 17:09:46 -07:00
Jason Kulatunga 3fe72918fd
adding ability to count by wildcard (source_resource_type).
internal fields like `id`, `source_id`, `source_resource_id` and `source_resource_type` are now queryable via keyword type.
2023-08-23 12:24:08 -07:00
Jason Kulatunga 2f292397f7 where possible store the SourceURI with the resource.
requires updated version of Fasten sources (better Binary compatibility)
2023-08-17 17:19:26 -06:00
Jason Kulatunga 1f113cdf63
make sure reference fields are correctly extracted and stored in the DB. 2023-08-13 15:28:03 -06:00
Jason Kulatunga 4dad809f19
removing Resource. segment of FHIRpath expressions (not supported) 2023-08-13 12:30:39 -06:00
Jason Kulatunga ddbf65080d
fixing Condition onset and abatement extraction. 2023-08-13 12:21:43 -06:00
Jason Kulatunga cb1dab738d fix backend tests 2023-08-08 21:08:17 -07:00
Jason Kulatunga 28cb91817a
make sure sortTitle and SortDate are correctly set when extracting searchParamters
Failures during searchparameter extraction should not cause the resource to be skipped.
Update searchparameter extraction to correctly handle Time objects
Update searchparameter extraction to default to nil if empty list is returned during extraction.
2023-08-01 20:29:35 -07:00
Jason Kulatunga 94fa479ff8 update the generator script for FhirResource storage. 2023-07-31 18:46:52 -07:00
Jason Kulatunga 0517f9b350 make sure we can handle HumanName and Address type objects (convert to string). 2023-07-31 18:46:52 -07:00
Jason Kulatunga 12cfcaee41
make sure that the sourcecredential interface is a pointer reciever. 2023-07-14 19:52:02 -07:00
Jason Kulatunga 50ba91ff93
differentiate error messages
adding 600+ manually downloaded logos, thanks to everyone who contributed!
2023-07-09 21:23:41 -07:00
Jason Kulatunga f0fa05c297
adding new fhir resources. 2023-07-08 17:54:19 -07:00
Jason Kulatunga f1f2da2dd3
Widget Dashboard Queries using extracted Search Parameters (#179) 2023-07-08 07:43:30 -07:00