Skip to content

1.0.0

Choose a tag to compare

@AndreaGiulianelli AndreaGiulianelli released this 21 May 13:15
· 204 commits to main since this release

1.0.0 (2023-05-21)

Features

  • add api controller to manage rest api (8ba0d90)
  • add application service to orchestrate the generation of the surgery report (63c0337)
  • add use case to obtain start and end date time of a surgical process (b52b673)
  • implement aggregate patient vital signs data extractor (a083125)
  • implement aggregate room environmental data extractor (20f58cc)
  • implement application service to get a surgery report (b293976)
  • implement application service to integrate a surgery report with additional information (5b0f098)
  • implement get all surgery reports entries api (baf8926)
  • implement get surgery report api (43ca53d)
  • implement health professional repository (3fbabc4)
  • implement healthcare user repository (491fff4)
  • implement integrate surgery report api (d99a60f)
  • implement kafka events consumption (e32b99e)
  • implement report generation with data aggregation use case (d079354)
  • implement room repository (daa3e61)
  • implement surgery report repository (572971c)
  • implement surgical process summary event handler (e511347)
  • implement the application service to obtain all the surgery report entries (60a96bf)

Bug Fixes

  • avoid the creation of a surgery report with an existing surgical process id (436049b)
  • cope with cases of missing data in aggregate patient vital signs data extractor (42618b3)
  • cope with cases of missing data in aggregate room environmental data extractor (d4d09ef)
  • correct the obtaining of the stop date time of the surgical process step (9efa36e)
  • health professional may not be indicated in emergency surgery (b63b527)
  • make aggregation only on meaningful step and use step instead of state in surgery report aggregate data map (4dca51e)

Documentation

  • rest-api: add rest api documentation (c30000f)

Build and continuous integration

  • deps: update codecov/codecov-action action to v3.1.4 (f53e96f)
  • deps: update smartoperatingblock/documentation-ghp-action action to v1.1.0 (f4a20f1)
  • trigger generation of openapi documentation on github pages (c70b8ae)

Style improvements

  • avoid implicit lambda parameters (cdf2084)
  • correct code to meet style guide (6b40387)
  • correct order of imports (9ed40f1)
  • improve code style (6cec68a)

Tests

  • add data about a simple surgical process interrupted (c73fdc3)
  • add data about simple surgical process (9f5d037)
  • add data for tests (afbf00a)
  • add sample data and move it to data package under test (c123b98)
  • add sample surgical process data for test (6a2b1f4)
  • add test for empty list in extractor (8a55da8)
  • add test for empty list in extractor (85177e6)
  • add test for empty list in take period (ee95a46)
  • add test for patient id concept (602c6c7)
  • add test for the correctness of the generation of the surgery report (aaf5e73)
  • add tests for aggregate patient vital signs data extractor (944652d)
  • add tests for aggregate room environmental data extractor (2f5504f)
  • add tests for collection extensions (1f70a57)
  • add tests for external service caller (d3a637f)
  • add tests for health professional id concept (3d0efee)
  • add tests for healthcare user concept (62749a1)
  • add tests for implantable medical device concept (f0d7785)
  • add tests for measurements concepts (1a840fb)
  • add tests for medical technology concept (314d843)
  • add tests for report generation use case (eb5962e)
  • add tests for room concept (2dd297e)
  • add tests for states and steps of surgical process (a8d3361)
  • add tests for surgery report application services (b3e49fa)
  • add tests for surgery report entity (2f3fd0b)
  • add tests for surgery report repository database implementation (2288edb)
  • add tests for surgery report rest api (7e8de0f)
  • add tests for surgical process summary event handler (9189f07)
  • add tests for use case needed to obtain start and end date time from a surgical process (953caf3)
  • add tests for vital signs model (9193665)
  • architecture: add tests for the respect of the clean architecture (7468be3)
  • improve tests when entities are involved (2490078)
  • test only meaningful start and stop dates (ea0cfd9)

Dependency updates

  • deps: add archunit test dependency (d5a64fa)
  • deps: add kafka client dependency (77955fe)
  • deps: add kotlinx serialization dependencies (27bf841)
  • deps: add ktor client content negotiation and ktor json serialization dependencies (9c57a44)
  • deps: add ktor client core and engine dependencies (519f64c)
  • deps: add ktor client mock dependency (dd1af9a)
  • deps: add ktor dependencies (bb591a9)
  • deps: add ktor testing dependencies (d47d72b)
  • deps: add mongo and embedmongo dependencies (9ebf9d7)
  • deps: add slf4j and logback dependencies (45441a5)
  • deps: update alpine docker tag to v3.18 (1ec6178)
  • deps: update kotest to v5.6.2 (87ce723)
  • deps: update plugin com.gradle.enterprise to v3.13.2 (0ec140f)

Refactoring

  • aggregate data not store the instant with maximum and minimum values (0c2c5b8)
  • aggregate data use standard deviation instead of variance (5cdf7ea)
  • avoid to duplicate tests (6d78e36)
  • change date to instant in surgery report process start date (4cfc988)
  • change health professional repository get tracking information method to track within a room (b931526)
  • change name of the surgical process description (f54a9ae)
  • change name to method to obtain a surgery report (fe441ee)
  • compute standard deviation instead of variance and extract collection extensions (1ce98e5)
  • encapsulate service presenter model in separate modules (a9603b9)
  • make states a data class (126a364)
  • move api responses to api presenter package (47d8088)
  • refactor the creation of interrupted surgical process (a2eb6aa)
  • room contains only the information about its id and its type (58a934e)
  • test: extract repository test doubles to be used in tests (3d2ff3c)
  • use aggregate data extractors (0b1ad2e)
  • use logger instead of printing (ada87e8)

General maintenance

  • add aggregate data api dto (f955e6b)
  • add api controller to entrypoint (44d2d47)
  • add api template responses (7657743)
  • add base code for kafka client (42c8e9e)
  • add building management api dto model (6826d20)
  • add building management api dto model serialization (1996b1d)
  • add date of the surgery to the surgery report (45bcc3e)
  • add deserializer for tracking information api result dto (f342795)
  • add environment file to gitignore (1b0b6ef)
  • add event handler interface (8f55b03)
  • add event interface model (6b9d807)
  • add health professional id concept (b55a6ef)
  • add healthcare user api dto (f40e1b6)
  • add healthcare user api result dto (7fe7bab)
  • add healthcare user api result dto deserializer (e661d3e)
  • add healthcare user concept (a25980b)
  • add implantable medical device api dto (7904861)
  • add implantable medical device concept (2e83b47)
  • add kafka consumer properties (6ca085a)
  • add ktor testing utilities (52614b9)
  • add measurements concepts (b3970c6)
  • add medical device model representation in incoming events (242743c)
  • add medical technology api dto (64efef1)
  • add medical technology concept (f6058ec)
  • add medical technology usage dto to better serialize the results (0c6447e)
  • add mongo test utility (75b7427)
  • add patient id concept (31d6c3a)
  • add patient vital signs (bc63965)
  • add patient vital signs api dto (9e7f3a1)
  • add patient vital signs model representation in incoming events (89c0a94)
  • add raw data for api repositories tests (cdf1f2e)
  • add response timed entry to api template responses (45d23a4)
  • add room api dto (7567145)
  • add room concept (96b8df5)
  • add rooms involved in the surgical process inside the surgery report (5ea9653)
  • add serialization utils in order to reuse sample data also for sample events (f72c9d7)
  • add serializer for surgery report into entry (2049527)
  • add simple surgical process concept (ab73e42)
  • add states and steps of surgical process (1230b89)
  • add stop date time to surgery process step aggregate data (364526d)
  • add surgery report api dto (44fd61f)
  • add surgery report entry model and other presenter information (21ab21f)
  • add surgery report model (03a75d4)
  • add surgery report patch request body concept (4647474)
  • add surgery report sample data for tests (e202ffb)
  • add surgical process state api dto (987ed62)
  • add surgical process summary event (f4f2715)
  • add surgical process summary event key (a37b3f1)
  • add surgical process summary event serialization (8abb839)
  • add surgical process summary model representation in incoming events (ce59e06)
  • add tests for surgical process concept (2d6d8bf)
  • add the possibility to inject an engine for test purposes (7052201)
  • add the possibility to retrieve all the surgery reports in the surgery report repository (1d87ea2)
  • add tracking information api dto (4a3c056)
  • add tracking information api result dto (7b2fc86)
  • add typealias for medical technology usage (2c6267f)
  • add value with unit concept for presentation (89fe6e9)
  • add vital signs model (8923a5a)
  • correct implantable medical device identifier (118b19f)
  • create aggregate data extractor concept (ca869c2)
  • create aggregate timed data concept (3902eb9)
  • create application service interface (cc9d1e3)
  • create repository for health professional data (04022d5)
  • create repository for healthcare user data (9a0e783)
  • create repository for room (bd031a2)
  • create repository for surgery report (36e1355)
  • create tracking information concept (f49ea87)
  • create use case interface (f2fbd20)
  • define microservice entrypoint (c9bdec6)
  • delete template test (c967c75)
  • ignore idea designer file (2e6a402)
  • implement serialization for healthcare user (23031e1)
  • implement serialization for medical device (3619566)
  • implement serialization for room (bcad1aa)
  • implement serialization for surgery report (2b9e305)
  • implement serialization for surgical process (c23b67e)
  • implement serialization for tracking information (b274bb2)
  • improve health professional repository test double (e4cbaf0)
  • make concepts serializable (c5302bf)
  • make implantable medical device concept considering the usage date time (17a45f6)
  • model all the descriptive information about a surgical process that is happened (1749da3)
  • remove usage time from implantable medical device (4bd3c1a)
  • setup: setup project from template (a0032d3)
  • update Dockerfile (da5d369)
  • update README with external microservice url environment variable (de9ad02)
  • update README with kafka environment variable usage requirement (c416554)
  • update README with mongodb connection string environmental variable requirement (fb32a32)
  • update README with usage information and documentation links (74009f2)