History¶
0.10.5 (2020-12-17)¶
Improvement
BundleWrapperis providing two optional methods,calculate_fhir_base_urlandresolve_absolute_uriand is now also taking optional parameterbase_url.
Fixes
- fixes ElasticSearchDialect.create_term [Kartik Sayani]
fixes
EngineResult.extract_references. [Jason Paumier]fixes how composite search params are parsed. [Jason Paumier]
fixes
SearchContext.normalize_paramfor composite search params [nazrulworld]
0.10.4 (2020-11-19)¶
fixes
FHIRAbstractModelcomparing atutilsmodule for BundleWrapper.fallback_callablehelper function is available atutilsmodule.
0.10.3 (2020-11-17)¶
Improvements
More helper functions (
get_local_timezone,timestamp_utc,timestamp_utc) are created.initial_bundle_datamethod is now available in Base Elasticsearch engine class, meaning that it is possible construct Bundle initial data into the derived class, so more flexibility.
Bugfixes
Default bundle initial data was constructed
meta.lastUpdatedvalue with utc now time but without timezone offset, so during json serialization, timezone info was missed as a result reverse construct of Bundle complains validation error.
0.10.2 (2020-11-06)¶
Improvements
orjsonis no longer required.json_dumpsandjson_loadsnow dynamically supports orjson and simplejson.
0.10.1 (2020-11-04)¶
Bugfixes
Connection.raw_connectionwas wrongly wrapped byAsyncElasticsearchConnection/ElasticsearchConnection.from_url()with self, instead ofelasticsearch.AsyncElasticsearch/elasticsearch.Elasticsearch’s instance.
0.10.0 (2020-11-04)¶
Improvements
Introducing AsyncElasticsearchConnection` and
AsyncElasticsearchEnginethe asyncio based connection and engine for Elasticsearch. See Using Asyncio with ElasticsearchAdded
orjsonbased json serializer for Elasticsearch by default (when connection is made from connection factory).Added support for _summary=text|data|count|true|false. [arkhn]
Added support for _elements search parameter. [arkhn]
Breaking
async_resultparameter is no longer needed for SearchContext, Search and Query (included async version) as from now all engine contains that information (engine_class.is_async()).
0.9.1 (2020-10-24)¶
Added supports for
_formatand_prettyparams, now there should no complain for those, instead of simply ignored. [nazrulworld]
0.9.0 (2020-10-24)¶
Handle
:identifiermodifier for reference search parameters [simonvadee]fixes BundleWrapper` as_json mode, now includes with
resourceTypevalue. [nazrulworld]Dictresponse option has bee added infhirpath.search.fhir_search[nazrulworld]Ignore empty search params #21 [simonvadee]
Just for performance optimization issue minimum required
zope.interfaceversion is5.1.2.
0.8.1 (2020-10-05)¶
Disable pydantic validation for Bundle in fhirpath.utils.BundleWrapper [simonvadee]
Two helper functions
json_dumpsandjson_loadsare now available under utils module [nazrulworld]Only apply search prefix on affected types #17 [simonvadee]
0.8.0 (2020-09-25)¶
Improvements
add supports for some important FHIR search parameters (
_has,_includeand_revinclude) [simonvadee]enable search on several resource types (_type search param) [Jasopaum]
Issue #8 Add search support for without any params or query string if context has resource type [nazrulworld]
Issue #9 multiple negative not working [nazrulworld]
Breaking
fhirpath.search.SearchContext.resource_namehas been changedfhirpath.search.SearchContext.resource_typeand now datatype is List instead of string. Please check your API. [Jasopaum]For case of
Elasticsearchbased engine, you should use custom analyzer (fhir_reference_analyzer) for FHIR Reference type. For details see readme.
0.7.1 (2020-08-07)¶
added missing
isodatepackage dependency.
0.7.0 (2020-08-07)¶
Improvements
Issue#5: Now
ElasticsearchEngine::get_index_nametakes one optional parameterresource_type.Add supports for python version 3.6.
Breaking
Make full capability with fhir.resources version
6.x.x, please have a look of revolutionary changes offhir.resources.
0.6.2 (2020-06-30)¶
fhirspecandfhir.resourcesversions are pinned.
0.6.1 (2020-05-09)¶
A must update release (from 0.6.0)!
Bugfixes
fix: issues, those arieses due to fix bellow issue.
fix:
fhirpath.storage.FHIR_RESOURCE_CLASS_STORAGE,fhirpath.storage.PATH_INFO_STORAGE,fhirpath.storage.SEARCH_PARAMETERS_STORAGEandfhirpath.storage.FHIR_RESOURCE_SPEC_STORAGEtook wrong FHIR release as keys.
0.6.0 (2020-05-08)¶
Breaking
Hard dependency on fhirspec.
Minimum python version 3.7 is required.
Minimum required
fhir.resourcesversion is now5.1.0meaning FHIR R4 4.0.1 and STU3 3.0.2. Please follow changes log https://pypi.org/project/fhir.resources/5.1.0/.
0.5.1 (2020-03-18)¶
New features
__main__module has been created, now possible to see version and/or initiated required FHIR versions. For examplepython -m "fhirpath" --version,python -m "fhirpath" --init-setup[nazrulworld]
Improvements
Updated fix version of elasticsearch mappings.
0.5.0 (2020-03-11)¶
New Features
FHIRPath(Normative Release) support available. A dedicated class is now available`fhirpath.FHIRPath, although it is working in progress (meaning that many methods/functions are yet to do complete.)
Improvements
Add support for important FHIR search modifier
:contains. See https://github.com/nazrulworld/fhirpath/issues/1Add support for
:above``FHIR search modifier and `èbprefix. See https://github.com/nazrulworld/fhirpath/issues/2Add support for
:bellowFHIR search modifier andsaprefix. See https://github.com/nazrulworld/fhirpath/issues/2
Bugfixes
Upgrade to this version is recommended as it includes couples of major bug fixes.
Breaking
The
fhirpath.navigatormodule has been removed and introduced new modulefhirpath.model.fhirpath.utils.Modelhas been moved to fhirpath.model`.
0.4.1 (2019-11-05)¶
Bugfixes
fhirpath.search.Search.parse_query_stringnow returningMuliDict``(what is expected) instead of ``MultiDictProxy.
0.4.0 (2019-10-24)¶
Improvements
Now full
selectfeatures are accepted, meaning that you can provide multiple path inselectsection. for exampleselect(Patient.name, Patient.gender).FHIRPath
count()andempty()functions are supported.Supports path navigation with index and functions inside
select. Example[index],last(),first(),Skip(),Take(),count().
Breakings
QueryResult.firstandQueryResult.singleare no longer return FHIR Model instance instead returningfhirpath.engine.EngineResultRow.QueryResult.fetchallreturning list offhirpath.engine.EngineResultRowinstead of FHIR JSON.QueryResultiteration returning list of FHIR Model instance on condition (if select is *), other than returning list offhirpath.engine.EngineResultRow.
0.3.1 (2019-10-08)¶
Improvements
Add support for search parameter expression that contains with space+as (
MedicationRequest.medication as CodeableConcept)
Bugfixes
notmodifier is now working forCodingandCodeableConcept.“ignore_unmapped” now always True in case of nested query.
“unmapped_type” now set explicitly long value. See related issue https://stackoverflow.com/questions/17051709/no-mapping-found-for-field-in-order-to-sort-on-in-elasticsearch
0.3.0 (2019-09-30)¶
Improvements
Supports multiple AND values for same search parameter!.
Add support FHIR version
STU3compability for Money type search.[nazrulworld]IN Query support added.[nazrulworld]
Support PathElement that contains string path with .as(), thus suports for Search also.
Supports
Durationtype in Search.Add support
compositetype search param.
Bugfixes
Multiple search values (IN search)
Missing
textfor HumanName and Address search.
0.2.0 (2019-09-15)¶
Breakings:
Built-in providers (
guillotina_appandplone_app) have been wiped as both becoming separate pypi project.queriesmodule has been moved fromfqlsub-package to fhirpath package and also renamed asquery.
Improvements:
There are so many improvements made for almost all most modules.
FhirSearch coverages are increased.
Sort, Limit facilities added in Query as well in FhirSearch.
Bugfixes:
numbers of bugs fixed.
0.1.1 (2019-08-15)¶
First working version has been released. Of-course not full featured.
0.1.0 (2018-12-15)¶
First release on PyPI.(Just register purpose, not usable at all, next release coming soon)