Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support FHIR R4B #508

Closed
wants to merge 132 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
02125be
Engine: Use HttpRequestFeature.Path instead of RawTarget
kennethmyhra Oct 13, 2022
cd5bc15
workflows: Upgrade GitHub actions to latest
kennethmyhra Oct 24, 2022
77a7a61
deps: Upgrade Microsoft.AspNetCore.* from 6.0.9 to 6.0.10
kennethmyhra Oct 24, 2022
148b99e
deps: Upgrade Microsoft.EntityFrameworkCore.Sqlite from 6.0.9 to 6.0.10
kennethmyhra Oct 24, 2022
5ddeeba
deps: Upgrade Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2
kennethmyhra Oct 24, 2022
d9494f3
deps: Upgrade NuGet.Versioning from 6.3.0 to 6.3.1
kennethmyhra Oct 24, 2022
6c2da7b
deps: Upgrade MongoDB.* from 2.17.1 to 2.18.0
kennethmyhra Oct 24, 2022
24261d7
Solution: Remove VS specific targets
kennethmyhra Oct 24, 2022
48c0b50
deps: Upgrade Microsoft.Extensions.Logging.Abstractions 2.0.0 -> 3.1.30
kennethmyhra Oct 24, 2022
992b643
deps: Upgrade ZstdSharp.Port from 0.6.2 to 0.6.4
kennethmyhra Oct 24, 2022
a6a9f62
deps: Upgrade DnsClient from 1.6.1 to 1.7.0
kennethmyhra Oct 24, 2022
995f822
deps: Upgrade bootstrap from 5.2.1 to 5.2.2
kennethmyhra Oct 24, 2022
5a4c37d
deps: Upgrade Hl7.Fhir.* from 4.2.1 to 4.3.0
kennethmyhra Oct 24, 2022
cbb0498
build(deps): bump minimatch in /src/Spark.Web/ClientApp
dependabot[bot] Nov 29, 2022
1488064
deps: Upgrade Autofac from 6.4.0 to 6.5.0
kennethmyhra Nov 29, 2022
b2f1f8a
deps: Upgrade Microsoft.*.EntityFrameworkCore" from 6.0.10 to 6.0.11
kennethmyhra Nov 29, 2022
6d4f7fd
deps: Upgrade Microsoft.AspNetCore.Identity.UI 6.0.10 -> 6.0.11
kennethmyhra Nov 29, 2022
ce16a3a
deps: Upgrade Microsoft.EntityFrameworkCore.Sqlite 6.0.10 -> 6.0.11
kennethmyhra Nov 29, 2022
ad6503a
deps: Upgrade Microsoft.NET.Test.Sdk 17.3.2 -> 17.4.0
kennethmyhra Nov 29, 2022
b7408e4
deps: Upgrade Micros*.DependencyInjection.Abstractions 3.1.29 -> 3.1.31
kennethmyhra Nov 29, 2022
c39c7e8
deps: Upgrade Newtonsoft.Json 13.0.1 -> 13.0.2
kennethmyhra Nov 29, 2022
603ed63
deps: Upgrade NuGet.Versioning 6.3.1 -> 6.4.0
kennethmyhra Nov 29, 2022
a802a31
deps: Upgrade SharpZipLib 1.4.0 -> 1.4.1
kennethmyhra Nov 29, 2022
1cbe331
deps: Upgrade ZstdSharp.Port 0.6.4 -> 0.6.5
kennethmyhra Nov 29, 2022
9455876
deps: Upgrade jquery 3.6.0 -> 3.6.1
kennethmyhra Nov 29, 2022
45cf21e
support _elements
whyfate Dec 2, 2022
34b03bb
add mandatory and modifier elements
whyfate Dec 7, 2022
dd58013
Remove breaking change
whyfate Dec 17, 2022
019eebb
Remove unnecessary using
whyfate Dec 17, 2022
efe0f23
deps: Upgrade Microsoft.*.Identity.EntityFrameworkCore 6.0.11 -> 6.0.13
kennethmyhra Jan 11, 2023
688447e
deps: Upgrade Microsoft.AspNetCore.Identity.UI 6.0.11 -> 6.0.13
kennethmyhra Jan 11, 2023
eee9065
deps: Upgrade Microsoft.EntityFrameworkCore.Sqlite 6.0.11 -> 6.0.13
kennethmyhra Jan 11, 2023
29b3ef7
deps: Upgrade *.DependencyInjection.Abstractions 3.1.31 -> 3.1.32
kennethmyhra Jan 11, 2023
6ba5c6c
deps: Upgrade Microsoft.NET.Test.Sdk 17.4.0 -> 17.4.1
kennethmyhra Jan 11, 2023
e9ea315
deps: Upgrade Moq 4.18.2 -> 4.18.3
kennethmyhra Jan 11, 2023
34106a0
deps: Upgrade Swashbuckle.AspNetCore 6.4.0 -> 6.5.0
kennethmyhra Jan 11, 2023
01b47fb
dist: Bump version number to 1.5.15
kennethmyhra Jan 11, 2023
65771e6
Search: Combine system and code using 'and' not 'or' for 'not' modifier
whyfate Jan 14, 2023
d959a1c
build(deps): bump http-cache-semantics in /src/Spark.Web/ClientApp
dependabot[bot] Feb 4, 2023
a5cd7bc
build(deps): bump MongoDB.Driver in /src/Spark.Mongo
dependabot[bot] Mar 4, 2023
d5bbb21
build(deps): bump MongoDB.Driver in /src/Spark-Legacy
dependabot[bot] Mar 4, 2023
e03fc18
build(deps-dev): bump webpack in /src/Spark.Web/ClientApp
dependabot[bot] Mar 14, 2023
c1e2783
deps: Upgrade Microsoft.*.Identity.EntityFrameworkCore 6.0.13 -> 6.0.15
kennethmyhra Mar 14, 2023
2542afc
deps: Upgrade Microsoft.AspNetCore.Identity.UI 6.0.13 -> 6.0.15
kennethmyhra Mar 14, 2023
86a8e47
deps: Upgrade Microsoft.EntityFrameworkCore.Sqlite 6.0.13 -> 6.0.15
kennethmyhra Mar 14, 2023
87f33ae
deps: Upgrade Microsoft.NET.Test.Sdk 17.4.1 -> 17.5.0
kennethmyhra Mar 14, 2023
8c3ef63
deps: Upgrade MSTest.{TestAdapter,TestFramework} 2.2.10 -> 3.0.2
kennethmyhra Mar 14, 2023
c415a29
deps: Upgrade NuGet.Versioning 6.4.0 -> 6.5.0
kennethmyhra Mar 14, 2023
7a411c3
dist: Bump version to 1.5.16
kennethmyhra Mar 14, 2023
d5f632a
Engine: Remove unnecessary empty line
kennethmyhra Apr 15, 2023
10533f7
Engine: Externalize entry if State == EntryState.{Undefined,Internal}
kennethmyhra Apr 15, 2023
aa2102d
Engine: Internalize entry if State == EntryState.{Undefined,External}
kennethmyhra Apr 15, 2023
b425158
Engine: Remove empty else-statement.
kennethmyhra Apr 15, 2023
4239c06
Engine: Remove unused method Assert from InteractionExtensions
kennethmyhra Apr 15, 2023
6422a37
Engine: Remove unused method Replace() in InteractionExtensions
kennethmyhra Apr 15, 2023
3b94823
Engine: Remove out commented code in InteractionExtensions
kennethmyhra Apr 15, 2023
d5fa543
Engine: Extract and rename extension method ExtractMeta()
kennethmyhra Apr 15, 2023
207eda6
Engine: Add extension methods for the Coding data type
kennethmyhra Apr 15, 2023
d3a39d1
Engine: Add extension methods for the Meta data type
kennethmyhra Apr 15, 2023
3797abc
Engine: Implement operation meta-add properly for STU3 and R4
kennethmyhra Apr 15, 2023
e6926ba
Engine: Remove the Extension methods and file HttpFhirTagExtensions
kennethmyhra Apr 15, 2023
b62aae1
Meta: Remove disclaimer section
kennethmyhra Apr 16, 2023
904a5da
deps: Upgrade MongoDB.DRvier 2.19.0 -> 2.19.1
kennethmyhra Apr 16, 2023
5a06005
deps: Upgrade Microsoft.*.Identity.EntityFrameworkCore 6.0.15 -> 6.0.16
kennethmyhra Apr 16, 2023
91d59f9
deps: Upgrade Microsoft.AspNetCore.Identity.UI 6.0.15 -> 6.0.16
kennethmyhra Apr 16, 2023
d9889ad
deps: Upgrade Microsoft.EntityFrameworkCore.Sqlite 6.0.15 -> 6.0.16
kennethmyhra Apr 16, 2023
441b0ec
Engine+Mongo: Match any element where [system] match identifier
kennethmyhra May 20, 2023
d0437f8
Engine: Use object intializers to make TokenValue.Parse() more readable
kennethmyhra May 20, 2023
a008c19
Engine: Move *.DependencyInjection.Abstractions to common <ItemGroup>
kennethmyhra May 21, 2023
d586ee7
Tests: Broken tests after refactor of TokenValue
kennethmyhra May 21, 2023
fdd71df
deps: Upgrade NuGet.Versioning 6.5.0 -> 6.6.0
kennethmyhra May 21, 2023
a9ee3ce
Tests: Upgrade Microsoft.NET.Test.Sdk 17.50 -> 17.6.0
kennethmyhra May 21, 2023
b68814b
Tests: Correct TokenValue input so expected value asserts successfully
kennethmyhra May 21, 2023
bba7bd1
Tests: Remove ElementMapTest
kennethmyhra May 21, 2023
312e9d5
Tests: Amend expectation argument of Can_Build_TokenQuery_Filter
kennethmyhra May 21, 2023
0d19b3f
Engine: Avoid adding extra '/' constructing Bundle.link urls
kennethmyhra May 21, 2023
2766157
Engine: Use conditional operator instead of if/else statement
kennethmyhra May 21, 2023
6aee8dd
dist: Bump version to 1.5.17
kennethmyhra May 30, 2023
082252b
build(deps): bump tough-cookie and node-sass in /src/Spark.Web/ClientApp
dependabot[bot] Jul 8, 2023
1c3e9cc
build: Remove myget.org reference in NuGet.config
kennethmyhra Aug 25, 2023
fe3ba9f
build: Remove NuGet.config entirely
kennethmyhra Aug 25, 2023
f070d35
build: Remove references to netcoreapp3.1
kennethmyhra Aug 27, 2023
6e2eeee
docs: Remove references to netcoreapp3.1
kennethmyhra Aug 27, 2023
c786756
Engine: Rename FhirModelExtensions to BundleExtensions
kennethmyhra Aug 27, 2023
f500d6b
Meta: Remove code style rule private_method_should_be_camelcase
kennethmyhra Sep 10, 2023
7eae1f4
Engine: Return FHIR version from SparkSettings.FhirRelease
kennethmyhra Sep 10, 2023
8b1f878
Mongo: Add GuidGenerator a new unique identity generator
kennethmyhra Sep 9, 2023
2722503
Mongo: Wire up GuidGenerator the new unique Id generator
kennethmyhra Sep 9, 2023
af9e85a
Meta: Update the backup image of spark example database
kennethmyhra Sep 10, 2023
5f0a06e
Documentation: Start documenting migration process from v1 to v2
kennethmyhra Sep 11, 2023
1560718
Mongo: Add copyright header to IServiceCollectionExtensions.cs
kennethmyhra Sep 11, 2023
1d4567b
Meta: Add dependabot configuration to update NuGet and GitHub actions
kennethmyhra Sep 11, 2023
64e9a6a
build(deps): bump yuzutech/annotations-action from 0.1.0 to 0.4.0
dependabot[bot] Sep 11, 2023
e1e2cbe
build(deps): bump actions/checkout from 3 to 4
dependabot[bot] Sep 11, 2023
915ed1e
build(deps): bump jQuery from 3.6.1 to 3.7.1
dependabot[bot] Sep 11, 2023
2957ab9
build(deps): bump actions/upload-artifact from 2 to 3
dependabot[bot] Sep 11, 2023
5527838
build(deps): bump bootstrap from 5.2.2 to 5.3.1
dependabot[bot] Sep 11, 2023
9988348
build(deps): bump Autofac from 6.5.0 to 7.1.0
dependabot[bot] Sep 11, 2023
e5c57ce
build(deps): bump Fhir.Metrics from 1.2.1 to 1.2.2
dependabot[bot] Sep 11, 2023
de3ca84
Engine: Better resolve handling for search parameters of type reference
kennethmyhra Aug 27, 2023
5eff482
Engine: Wire up ResourceResolver to our IndexService
kennethmyhra Aug 27, 2023
6fa5d32
Meta: Update backup image of spark example database
kennethmyhra Sep 11, 2023
f4b3bab
Documentation: Add note on rebuilding the index
kennethmyhra Sep 11, 2023
b74b1b5
Documentation: Reformat MigrateFromv1Tov2.md
kennethmyhra Sep 11, 2023
f234a0b
Meta: Add MigrateFromv1Tov2.md to the docs section in the solution file
kennethmyhra Sep 11, 2023
feed5d0
Engine: Null check arguments passed to IndexService's constructor
kennethmyhra Sep 11, 2023
43d2cdf
build(deps): bump SharpZipLib from 1.4.1 to 1.4.2
dependabot[bot] Sep 12, 2023
6114594
build(deps): bump MSTest.TestFramework from 3.0.2 to 3.1.1
dependabot[bot] Sep 12, 2023
52493be
build(deps): bump ZstdSharp.Port from 0.6.5 to 0.7.2
dependabot[bot] Sep 12, 2023
66b5519
build(deps): bump SharpCompress from 0.32.2 to 0.33.0
dependabot[bot] Sep 12, 2023
83733fb
Meta: Add dependabot.yml to the .github section of the solution file
kennethmyhra Sep 12, 2023
ee51aac
build(deps): bump MSTest.TestAdapter from 3.0.2 to 3.1.1
dependabot[bot] Sep 13, 2023
e51bf88
build(deps): bump Snappier from 1.0.0 to 1.1.1
dependabot[bot] Sep 13, 2023
6160de8
deps: Bump *.AspNetCore.Identity.EntityFrameworkCore 6.0.16 -> 6.0.22
kennethmyhra Sep 13, 2023
fbdfcf3
deps: Bump Microsoft.AspNetCore.Identity.UI 6.0.16 -> 6.0.22
kennethmyhra Sep 13, 2023
8a51036
deps: Bump Microsoft.EntityFrameworkCore.Sqlite 6.0.16 -> 6.0.22
kennethmyhra Sep 13, 2023
64b69e2
deps: Bump Microsoft.NET.Test.Sdk 17.6.0 -> 17.7.2
kennethmyhra Sep 13, 2023
047a96b
deps: Bump MongoDB.Driver 2.19.1 -> 2.21.0
kennethmyhra Sep 13, 2023
06aece7
deps: Bump Moq 4.18.4 -> 4.20.69
kennethmyhra Sep 13, 2023
0536411
deps: Bump NuGet.Versioning 6.6.0 -> 6.7.0
kennethmyhra Sep 13, 2023
7dbc003
deps: Bump xunit and xunit.runner.visualstudio 2.4.5 -> 2.5.0
kennethmyhra Sep 13, 2023
755c99c
build(deps): bump MongoDB.Bson from 2.18.0 to 2.21.0
dependabot[bot] Sep 14, 2023
916f319
build(deps): bump MongoDB.Libmongocrypt from 1.6.0 to 1.8.0
dependabot[bot] Sep 14, 2023
48cce99
build(deps): bump MongoDB.Driver from 2.19.0 to 2.21.0
dependabot[bot] Sep 14, 2023
2b53408
Store.Sql: Remove Spark.Store.Sql{.Tests}
kennethmyhra Sep 14, 2023
6d8ad26
Spark-Legacy: Remove Spark-Legacy the original Spark UI
kennethmyhra Sep 14, 2023
91b43c8
Meta: Remove no longer necessary solution files
kennethmyhra Sep 14, 2023
40ca343
Engine: Rename IGenerator to IIdentityGenerator
kennethmyhra Sep 12, 2023
edbbff9
Mongo: Rename GuidGenerator to GuidIdentityGenerator
kennethmyhra Sep 12, 2023
49edd9b
Documentation: Add note about rename of IGenerator to IIdentityGenerator
kennethmyhra Sep 12, 2023
1e02599
workflows: Add linux (ubuntu-latest) as run target to CI
kennethmyhra Sep 14, 2023
774462f
Everywhere: Support FHIR R4B
kennethmyhra Sep 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified .docker/linux/r4.archive.gz
Binary file not shown.
3 changes: 1 addition & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case

dotnet_naming_rule.private_method_should_be_camelcase.severity = suggestion
dotnet_naming_rule.private_method_should_be_camelcase.symbols = private_method
dotnet_naming_rule.private_method_should_be_camelcase.style = camelcase

Expand Down Expand Up @@ -242,4 +241,4 @@ dotnet_naming_style._camelcase.capitalization = camel_case
dotnet_naming_style.allupper.required_prefix =
dotnet_naming_style.allupper.required_suffix =
dotnet_naming_style.allupper.word_separator =
dotnet_naming_style.allupper.capitalization = all_upper
dotnet_naming_style.allupper.capitalization = all_upper
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
4 changes: 2 additions & 2 deletions .github/workflows/docker_image_linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker Release
name: Docker Release

on:
release:
Expand All @@ -8,7 +8,7 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Get the version
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Integration Tests
name: Integration Tests

on:
workflow_dispatch:
Expand All @@ -13,7 +13,7 @@ jobs:
steps:
-
name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
-
name: Build the latest Spark Docker image
run: docker build . --file .docker/linux/Spark.Dockerfile
Expand All @@ -37,35 +37,35 @@ jobs:
-
name: Attach test results
if: github.event_name != 'pull_request'
uses: yuzutech/annotations-action@v0.1.0
uses: yuzutech/annotations-action@v0.4.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
input: tests/integration-tests/annotations.json
-
name: Archive logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: logs-r4-${{ github.sha }}
path: tests/integration-tests/logs/*.log*
-
name: Archive test reports
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: html_summaries-r4-${{ github.sha }}
path: tests/integration-tests/html_summaries/**/*.html
-
name: Archive JSON results
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: json_results-r4-${{ github.sha }}
path: tests/integration-tests/json_results/**/*.json
-
name: Archive annotations file
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: annotations-r4-${{ github.sha }}
path: tests/integration-tests/annotations.json
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nuget_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Build
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Tests

on:
push:
Expand All @@ -9,12 +9,15 @@ on:
jobs:
build:

runs-on: windows-latest
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ windows-latest, ubuntu-latest ]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Build with dotnet
Expand All @@ -23,4 +26,3 @@ jobs:
run: |
dotnet test "./src/Spark.Engine.Test/Spark.Engine.Test.csproj"
dotnet test "./src/Spark.Mongo.Tests/Spark.Mongo.Tests.csproj"
dotnet test "./src/Spark.Store.Sql.Tests/Spark.Store.Sql.Tests.csproj"
2 changes: 1 addition & 1 deletion Directory.build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>1.5.14</Version>
<Version>1.5.17</Version>
</PropertyGroup>
<PropertyGroup>
<Authors>Firely, Incendi and contributors</Authors>
Expand Down
18 changes: 0 additions & 18 deletions NuGet.config

This file was deleted.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ and maintenance is now done by Incendi.
Spark implements a major part of the FHIR specification and has been used and tested during several
HL7 WGM Connectathons.

**DISCLAIMER: The web projects Spark.Web and Spark are meant as reference implementations and should never be used out of the box in a production environment without adding as a minimum security features.**

### Get Started
There are two ways to get started with Spark. Either by using the NuGet packages and following the Quickstart Tutorial, or by using the Docker Images.

Expand Down
121 changes: 0 additions & 121 deletions Spark-All.sln

This file was deleted.

94 changes: 0 additions & 94 deletions Spark-Legacy.sln

This file was deleted.

Loading
Loading