Skip to content

Commit

Permalink
Merge branch 'master' into do-20230609-trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
dotasek authored Feb 4, 2025
2 parents e264d04 + 3d371a5 commit dd43a04
Show file tree
Hide file tree
Showing 2,312 changed files with 60,271 additions and 215,419 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -380,4 +380,5 @@ gradle-app.setting
source/patient/Patient-rendering.liquid.x

# VS Code local settings
.vscode/
.vscode/
/fhir-error-dump.html
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fhir</name>
<name>fhir-r6</name>
<comment></comment>
<projects>
</projects>
Expand Down
Empty file modified build.sh
100644 → 100755
Empty file.
Empty file modified clean.sh
100644 → 100755
Empty file.
238 changes: 0 additions & 238 deletions fhir-error-dump.html

This file was deleted.

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Versions
kindlingVersion=1.8.9-SNAPSHOT
kindlingVersion=1.9.7-SNAPSHOT

org.gradle.parallel=true
org.gradle.daemon=true
Expand Down
Binary file modified images/administration-module-interactions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/administration-module-prov-dir.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/devicealert-state-machine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added images/immunizationrecommendation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions images/source/rest.plantuml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
hide footbox
participant "Data Consumer" as Consumer
participant "Data Source" as Source
Consumer -> Source: 1a. POST/PUT/PATCH resource/Bundle
Consumer <-- Source: 1b. HTTP 200/201 (possibly with result resource/Bundle)
Source -> Consumer: 1a. POST/PUT/PATCH resource/Bundle
Source <-- Consumer: 1b. HTTP 200/201 (possibly with result resource/Bundle)
@enduml
42 changes: 42 additions & 0 deletions images/subscriptions/subscription-channel-email.plantuml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
@startuml
skin rose
skinparam NoteTextAlignment left
skinparam Padding 2
skinparam ParticipantPadding 40
skinparam LifelineStrategy solid
autonumber

participant "FHIR Server\nREST API" as S
participant "Client" as C
participant "Email Server\n(SMTP/S, Direct)" as E


group Negotiating a Subscription
C -> S: Create Subscription\n""channelType: email""
else Without handshake
S --> C: Success\n""Subscription.status: active""
|||
else With handshake
S --> C: Success\n""Subscription.status: requested""

S -> E: Message with verification, opt-in, opt-out, etc.
return SMTP Success, e.g.:\n""250: OK""

...

note right of S
Server updates Subscription:
""Subscription.status: active""
end note

end

group Email Subscription Processing
else Server sends heartbeat
S -> E: Message with readable content and attached Bundle:\n"" Bundle.type: history""\n""SubscriptionStatus.type: heartbeat""
...
else Server sends event-notification
S -> E: Message with readable content and attached Bundle:\n"" Bundle.type: history""\n""SubscriptionStatus.type: event-notification""
...
end
@enduml
37 changes: 37 additions & 0 deletions images/subscriptions/subscription-channel-messaging.plantuml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@startuml
skin rose
skinparam NoteTextAlignment left
skinparam Padding 2
skinparam ParticipantPadding 40
skinparam LifelineStrategy solid
autonumber

participant "FHIR Server\nREST API" as S
participant "Client" as C
participant "Client FHIR Server\nREST Endpoint" as E

group Subscription Negotiation
C -> S: Create Subscription\n""channelType: message""
return Success\n""Subscription.status: requested""

S ->> E: POST ""$process-message"" (handshake)\n""Bundle:""\n"" Bundle.type: message""\n"" entry[1]: Bundle: subscription-notification""\n"" SubscriptionStatus.type: handshake""
return Success, e.g.:\n""200: OK""

note right of S
Server updates Subscription:
""Subscription.status: active""
end note

end

group FHIR Messaging Subscription Processing
else Server sends heartbeat
S ->> E: POST ""$process-message"" (heartbeat)\n""Bundle:""\n"" Bundle.type: message""\n"" entry[1]: Bundle: subscription-notification""\n"" SubscriptionStatus.type: heartbeat""
return Success, e.g.:\n""200: OK""
...
else Server sends event-notification
S ->> E: POST ""$process-message"" (event-notification)\n""Bundle:""\n"" Bundle.type: message""\n"" entry[1]: Bundle: subscription-notification""\n"" SubscriptionStatus.type: event-notification""
return Success, e.g.:\n""200: OK""
...
end
@enduml
36 changes: 36 additions & 0 deletions images/subscriptions/subscription-channel-rest-hook.plantuml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
@startuml
skin rose
skinparam NoteTextAlignment left
skinparam Padding 2
skinparam ParticipantPadding 50
skinparam LifelineStrategy solid
autonumber

participant "FHIR Server\nREST API" as S
participant "Client" as C
participant "Client Endpoint\n(HTTP/S)" as E

group Subscription Negotiation
C ->> S: Create Subscription\n""channelType: rest-hook""
return Success\n""Subscription.status: requested""

S ->> E: HTTP POST - Handshake\n""Bundle:""\n"" Bundle.type: history""\n""SubscriptionStatus.type: handshake""
return HTTP Success, e.g.:\n""200: OK""

note right of S
Server updates Subscription:
""Subscription.status: active""
end note
end

group REST Subscription Processing
else Server sends heartbeat
S ->> E: HTTP POST - Heartbeat\n""Bundle:""\n"" Bundle.type: history""\n""SubscriptionStatus.type: heartbeat""
return HTTP Success, e.g.:\n""200: OK""
...
else Server sends event-notification
S ->> E: HTTP POST - Notification\n""Bundle:""\n"" Bundle.type: history""\n""SubscriptionStatus.type: event-notification""
return HTTP Success, e.g.:\n""200: OK""
...
end
@enduml
Loading

0 comments on commit dd43a04

Please sign in to comment.