All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.8.3 (2024-02-06)
2.8.2 (2024-01-24)
patch change
2.8.1 (2023-10-27)
- update API broken (4867f30)
2.8.0 (2023-10-10)
- add _pretty in BaseFhirApiService (3f9524b)
- add "GET" method handler of bundle transaction (3158637)
- add env that not check ref association when delete (e456501)
- bundle transaction prototype (918b469)
- chain search of bundle special params (000540f)
- change unique way of bundle (6682fd3)
- check is referenced when delete (ef49215)
- search interaction for bundle transaction (3b0ed0f)
- skip special bundle parameters of chain search (bb393cf)
- support bundle message, composition search (10bdedf)
- update usage of node fhir validator to 1.1.0 (c1aafe8)
- upgrade code of fhir validator v1.0.0 (e76139e)
- use mongoose validation when validator disable (4e12601)
- validate contained when validator disable (3cd87d5)
- _format not working (03bb722)
- #6 (f66d627)
- cannot use uuid value in reference type (7d9eae2)
- date format incorrect (7d60ee1)
- delete return wrong object (23c8de3)
- fullUrl cannot be a version specific reference (f09ca1f)
- fullUrl of history not complete (519e1d6)
- history reset after deleting (6d0da73)
- incorrect condition (6c6a40f)
- incorrect property of updateResult when failure (dfeea59)
- incorrect require file (51369f8)
- incorrect require location (fbfd78f)
- incorrect require location (4cb1391)
- incorrect statusCode of deletion (153ddb3)
- incorrect variable usage (e2b80dd)
- Location not complete of create and update (adf9d1f)
- missing require dep (610b58a)
- not convert to XML when request accept is XML (85501a5)
- not response when validation failure (7e08340)
- refNode.value.split is not a function (43c9212)
- response content-type is not XML of uploading XML (fe1982d)
- URL of reference type search (e2d56c8)
- variable not defined (5a707c8)
- xml is not working (1819305)
2.7.2 (2022-11-12)
- return empty body when pass validation (fc55319)
2.7.1 (2022-11-12)
- ci: cannot build docker image (f8afb34)
2.7.0 (2022-11-12)
- add _pretty parameter (a5fcf45)
- add _total parameter (fc8eb70)
- add layout for logger (65b90db)
- change token auth into plugin (3b9ecfd)
- change validator storepath;add empty profile (36ea1e1)
- configure auth source of mongo manually (3d7799e)
- generate search parameter of date choiceType (abdfb53)
- java FHIR validator instead of C# (3c10036)
- move
storedID
variable to if block (cb84d14) - move FHIR XML to JSON into
route.js
(5133ae1) - remove unique of index of id (3fc33c1)
- separate check reference process to plugin (7558cd7)
- support chain search (3cb4c6f)
- update chain search logic (687978b)
- update chained parameter logic (a7b6cfa)
- use _doc instead of toObject in getFHIRField (19b05e5)
- use countDocument to check doc is exist (ec60904)
- use joi control _pretty, _total (2029166)
- use jsonpath, countDocuments (7f88750)
- use uuid package to validate reference str (78e26bb)
- validation when op (create, update) (97d5414)
- accept header undefiend cannot use include (aeee9ff)
- cannot access http csharp validator (2593f98)
- duplicate doc when use chainedParam (179c3b9)
- field
collection
is missing when store (817fed6) - field contains .as(type) not generate (b17e408)
- fix mongodb auth parameter (97224e3)
- incorrect log information in read, update (c88b296)
- increase request body size limit (ebc3a79)
- limit of json body not working (6674105)
- mongoose
authSource
param not working (501129a) - not accept meta and text field (15ee9b8)
- not default json format response (ace8422)
- not response content with XML format (b767df5)
- remove unsupported mongoose parameters (c081573)
- token.replace is not a function (4b87e27)
- typo (86acd98)
- typo (8568e0d)
- update mongoose package (921769a)
2.6.0 (2022-03-07)
-
add logger (ce60bf2)
- use log4js for logger
-
add logger in FHIRAPI and refactor resFunc (bff8643)
- extract resFunc to global variable
- add warn logger
-
add new method for
$validate
API (5b82908)- add
fhir-validator
- add
refreshResourceResolver
to call C# API to reload profiles - add
storeValidationFile
to storeStructureDefinition
,ValueSet
,CodeSystem
- add
fetchValueSet
to getValueSet
resource by URL - add
fetchCodeSystem
to getCodeSystem
resource by URL - add
validateByProfile
to validate resource by specific profile URL in URL path - add
validateByMetaProfile
to validate resource by profiles URL from meta.profile
- add
- add
FHIRValidationFiles
MongoDB schema to store data about validation files - add schedule to update validation files in MongoDB
- The validation workflow note can retrieve from
- add
-
remove custom
fhir.js
and $validate API (867e2b4)- The fhir.js is not completly to do validation, need to find another solution
- implement validator by self is too hard...
-
resource interaction in metadata from config (9c59674)
- The interation of resource in metadata correspond to config
- empty array entry of Bundle present (fddf2f6)
- refact unique to bundle function
- replace condition of total to entry length. I think check entry length better than total
2.5.0 (2022-02-24)
*
wildcard for_include
andrevinclude
(0361c7d)- add custom error class and
_include
param (44af66f) - add search mode in entry and change url (2a9d2e8)
- handle
_revinclude
param insearch
API (eb1e37c) - api-generate: add apidoc in
create
api (a83808b) - api-generate: add apidoc in
update
api (14fd32e) - api-generator: add
read
api doc comment (e155de7) - apidoc:
delete
, swagger try in redoc, resource filter, layout (bc57589) - apidoc: add
search
api doc (cc770a2) - docs: reload page when click resource button (d09547d)
- schema: completly validate reference string (d0a615c)
- cannot access even disable the token control (2434a8e)
- cofused condition set search mode is include (92e7659)
- duplicate resource in bundle entry (1567a12)
- incorrect name in premision of
delete
API (d9a4f9a) - infinite loop in
reinlcude
andinclude
(62ce4a0) - missing
Last-Modified
in headers (1fc14df) - missing handle error coming from express (2fe878e)
- not allowed
#id
contained reference id (381fc0b) - token permission not working (750709f)
2.4.0 (2022-02-07)
- add all resources definition json files (0c34d96)
- add condition delete API (bf4b3a0)
- add general string query builder (7cb186e)
- add modifier of type of
string
and comma $or query inaddress
query (f12fca5) - change
validateContained
to async funtion (0a30cd1) - change count of searching result method (2b9751b)
- handle comma
,
query and esacaping\,
and\|
(1a5bef6) - handle expression
where(type='${type}')
in the reference type search parameter (17fe9b2) - separate parameter search functions to single file (695219e)
- api-generator: add
getPrefixCodeString
and changeTokenParameter
method (a3a761b) - api-generator: add and change feature (de51fea)
- api-generator: add type of quantity search parameter (0aab652)
- api-generator: new way to handle all data types of search parameter, change token query build and add jsdoc comments to methods (c3d9e24)
- mongodb: change connection url (4b97705)
- quantityQuery: hanlde escaping
\
and using$and
to handle query value (f49edeb) - queryBuild: add new query builder about date (468ad6e)
- schema: support unicode string (597aba5)
- error of
eslint
rules (1624240) - eslint rule
semi
,no-async-promise-executor
(38ad62d) - generate incorrect back bone element schema (0665447)
- incorrect check is number condition in
numberQuery
(8e29a16) - incorrect connection url (2249d4a)
- incorrect shard collection process flow (1f853ce)
- missing
:exact
in object name (5201ec1) - not allow array
field=1&field=2
parameter (cbda323) - api,create: model
save()
method not using await (cab23f0) - api,update:
isDocExist
return empty object (630ac3d) - api,update: missing
Last-modified
in header (45f4c2a) - model not load all dependencis type (2d102d8)
- resources-generator: incorrect require path (dc6b62b)
- resources-generator: mongoose circular dependency warnings (d02a4ba)
2.3.1 (2022-01-23)
- incorrect data type of
Date
when choice type[x] (d32cb2d)
2.3.0 (2022-01-22)
- add
shardKey
config in history schema (419bae7)
- remove choice type [x] generate in schema (f3a35b7)
- remove choice type [x] generate in schema (309ce6b)
2.2.0 (2022-01-21)
- add
_lastUpdated
search parameter (6ab6f04) - add
contained
field in schema (7712dc2) - add check reference switch (9c5e860)
- add condition that whether response item in body or not (807154b)
- add condition whether check the stored resource ID (d21442a)
- add last-modified in headers (25c84cb)
- add refresh_token (e30ac2c)
- apply specific rule with
List
resource (b688eb2) - refresh_token api (095efb7)
- remove method that response empty when create and update (56f8358)
- shard database and every collections when starting up (c58c8a4)
- _doc is not function, (f6a2678)
history
mongoose response document will fill undefined in not exist field (7d7bf85)resource.meta
incorrect after updating (9439334)- backBoneElement not use getter with mongoose schema (0776c38)
- FHIR package not import (ce1a85b)
- generate incorrect code at numer query search parametr (789b435)
- generate incorrect search field of type of token (e377476)
- incorrect argument name
err is not defined
(9bc9ac9) - incorrect countDocuments collection in
history
(8a7cb9b) - incorrect date format (7788eb9)
- incorrect format of metadata rest (2f6ec60)
- incorrect log when error occur (2a60bcc)
- incorrect name of type, is
instant
notinstance
(e876ce6) - incorrect variable name (d7a834d)
- missing
Location
in headers when statu code 201 (8092545) - missing condition that server is enable token auth (d335756)
- missing delete __v in doc (fe0401e)
- missing placeholder in search input (04c2403)
- missing variable name and require modules (d40cf7f)
- mongoose response document will fill undefined in not exist field (fa5a73d)
- not handle convert XML to JSON when content is XML which using PUT (543f7b7)
- port is not defiend (2d8fc29)
- put list missing double quote (68d4ad0)
- resolve body in a request is empty when content-type is XML (d7eabc3)
- resolve problem that port with bundle url and http server is same (d50e66c)
- resolve that input is null the getter will response the default value (eb9e361)
- resolve that missing store history data when PUT recovery data after deleting (12188cc)
- resolve the delete not exist resource return incorrect HTTP response code (f63be17)
- resolve the problem that time of primitive type can't store in schema (672fb63)
- the filed name
collection
cannot in schema (ca90dba) - uri and url occur document fill undefiend in not exist field (5e14881)
- URI values cannot have whitespace (e3096e2)
- use toObject will fil undefiend in not exist field (bd98969)
2.1.0 (2021-09-29)
- add checkTokenPermission in every api service (1df5f0b)
- add cookie expires time (7379c09)
- add instant query (c8282a4)
- add resourceTypes model (d511051)
- add some FHIR operation outcome message (6ce5b74)
- add toke service (f1541ef)
- change every restful api point to same function (d5b7747)
- change the method of storing token (153b866)
- check reference handle uuid (9703f84)
- generate config that have interaction of resources (e41fbc7)
- parseing multiple value set (092aa84)
- send 401 when decode token error (451de08)
- support multiple fields in search parameter (8c39d54)
- update complex type schema (3df86cd)
- using search instead of pagination (b268546)
- get api exception not use operationOutcome (d747cfd)
- histroy version query error (a8bd267)
- id index every typy that have id (bdc76f0)
- incorrect arguments in toeknQuery function (0071d8d)
- incorrect pagination (bfcda46)
- incorrect token query function arg (fe5992d)
- resolve meta not assign original (5386782)
- schema use incorrect field with meta versionId (adfe0e4)
- the bundle entry not unset when total is zero (4a1466e)
- validate generator not using dynamic resourceType (c47e5c3)
- FHIR-mongoose-Models-Generator
index.js
deprecated
feat: add search parameter of type of reference generator
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Note> that deceased of parameter in Patient incorrect
feat!: change generate resources method
Use the resoueceGenerator.js
now
- FHIR-mongoose-Models-Generator
index.js
deprecated
feat: add sort _id in getHistory api
feat: add sort _id in get api
feat: ignore text and meta field in request body
feat: check id of new resource is stored in database
The FHIR logical ID is unique in ALL
resource
- stored the id of new resource (post.save)
- check id before data save (pre.save)
feat: exit when build finished
fix: default seach code field when type is token
fix: generate incorrect history file
add condition to check model name is in resource list
fix: delete api not return FHIR OperationOutcome when error
chore: bump lodash to version 4.17.21
chore: add mongoose-schema-jsonschema package
chore: update gitignore
- Ignore temp folder
- Remove not exist folder
- Not ignore FHIRStoredID mongo model
- add FHIR base type in project (ba8c23c)
- Add some parameter in searching (041d318)
- Added generate patient example (5ffcdc1)
- Added get history Bundle feature (faa3e9c)
- Added patient model example (a4ec349)
- remove versionkey in mongoose schema (4ba05df)
- index: Added history feature (3277706)
- Added resource version column (998a95a)