-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85d9d0e
commit 8a4bf39
Showing
18 changed files
with
205 additions
and
30 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
@startuml | ||
|
||
skinparam actorStyle hollow | ||
|
||
actor "Practitioner" as pra | ||
actor "Patient" as pat | ||
participant "FHIR API" as api | ||
entity "Consent" as con | ||
entity "Patient Flag" as flg | ||
entity "Adjustment Flag" as adj | ||
entity "Condition" as cod | ||
|
||
pra -> pat : Examine patient | ||
pra -> pat : Suggest adjustments | ||
pra <-- pat : Provide consent\nto share information | ||
|
||
pra -> api : Record adjustment record (transaction Bundle) | ||
|
||
api -> con : Create/update resource | ||
con -> con : Validate | ||
api <-- con : return | ||
alt Validation failed | ||
api -> api : rollback | ||
end | ||
|
||
api -> flg : Create/update resource | ||
flg -> flg : Validate | ||
api <-- flg : return | ||
alt Validation failed | ||
api -> api : rollback | ||
end | ||
|
||
api -> adj : Create/update resource | ||
adj -> adj : Validate | ||
api <-- adj : return | ||
alt Validation failed | ||
api -> api : rollback | ||
end | ||
|
||
alt Condition also to be recorded | ||
api -> cod : Create/update resource | ||
cod -> cod : Validate | ||
api <-- cod : return | ||
alt Validation failed | ||
api -> api : rollback | ||
end | ||
pra <-- api : OperationOutcome | ||
|
||
@enduml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@startuml | ||
|
||
skinparam actorStyle awesome | ||
|
||
actor Practitioner as pra | ||
package Consenter { | ||
actor "Patient Advocate" as pad | ||
actor Patient as pat | ||
} | ||
|
||
usecase "Consent to share information" as CON | ||
usecase "Add Reasonable Adjustment record" as ADD | ||
|
||
pat -- CON | ||
pad -- CON | ||
pra -- CON | ||
pra -- ADD | ||
|
||
CON <.. ADD : include | ||
|
||
@enduml |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@startuml | ||
|
||
skinparam actorStyle hollow | ||
|
||
actor "Practitioner" as pra | ||
actor "Patient" as pat | ||
participant "FHIR API" as api | ||
entity "Consent" as con | ||
entity "Patient Flag" as pfg | ||
entity "Adjustment Flag" as adj | ||
entity "Condition" as cod | ||
|
||
pra -> pat : Request consent | ||
pra <-- pat : Deny/revoke consent | ||
|
||
pra -> api : Record consent was not given | ||
api -> con : Update resource | ||
con -> con : Validate | ||
api <-- con : return | ||
alt Validation failed | ||
api -> api : rollback | ||
pra <-- api : OperationOutcome | ||
else Validation passed | ||
api -> pfg : Delete adjustment patient flag | ||
api -> adj : Delete adjustment flag(s) | ||
api -> cod : Delete condition flag(s) | ||
pra <-- api : OperationOutcome | ||
end | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@startuml | ||
|
||
skinparam actorStyle awesome | ||
|
||
actor Practitioner as pra | ||
package Consenter { | ||
actor "Patient Advocate" as pad | ||
actor Patient as pat | ||
} | ||
|
||
usecase "Consent to share information" as CON | ||
usecase "Remove Reasonable Adjustment record" as RET | ||
|
||
pat -- CON | ||
pad -- CON | ||
pra -- CON | ||
pra -- RET | ||
CON <.. RET : include | ||
|
||
|
||
@enduml |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@startuml | ||
|
||
skinparam actorStyle hollow | ||
|
||
actor "Practitioner" as pra | ||
actor "Patient" as pat | ||
participant "FHIR API" as api | ||
entity "Consent" as con | ||
entity "Patient Flag" as pfg | ||
entity "Adjustment Flag" as adj | ||
entity "Condition" as cod | ||
|
||
pra -> pat : Request confirmation\n of consent to\n access information | ||
|
||
alt Consent provided | ||
pra <-- pat : Provide consent | ||
|
||
pra -> api : Query for records | ||
pra <-- api : SearchSet Bundle | ||
else Consent not provided | ||
pra <-- pat : No consent provided | ||
else Consent revoked | ||
pra <-- pat : Previous consent is revoked | ||
|
||
pra -> api : Record consent was revoked | ||
api -> con : Update resource | ||
con -> con : Validate | ||
api <-- con : return | ||
alt Validation failed | ||
api -> api : rollback | ||
else Consent updated | ||
api -> pfg : Delete adjustment patient flag | ||
api -> adj : Delete adjustment flag(s) | ||
api -> cod : Delete condition flag(s) | ||
end | ||
pra <-- api : OperationOutcome | ||
end | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@startuml | ||
|
||
skinparam actorStyle awesome | ||
|
||
actor Practitioner as pra | ||
package Consenter { | ||
actor "Patient Advocate" as pad | ||
actor Patient as pat | ||
} | ||
|
||
usecase "Consent to share information" as CON | ||
usecase "Retrieve Reasonable Adjustment record" as RET | ||
|
||
pat -- CON | ||
pad -- CON | ||
pra -- CON | ||
pra -- RET | ||
|
||
CON <.. RET : include | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters