diff --git a/input/images-source/add-ra-record-sequence.plantuml b/input/images-source/add-ra-record-sequence.plantuml index c51a76a..4eaa614 100644 --- a/input/images-source/add-ra-record-sequence.plantuml +++ b/input/images-source/add-ra-record-sequence.plantuml @@ -5,20 +5,14 @@ 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 @@ -48,3 +42,4 @@ pra <-- api : OperationOutcome @enduml + diff --git a/input/images-source/remove-ra-record-sequence.plantuml b/input/images-source/remove-ra-record-sequence.plantuml index 64a9c48..7a835ac 100644 --- a/input/images-source/remove-ra-record-sequence.plantuml +++ b/input/images-source/remove-ra-record-sequence.plantuml @@ -5,26 +5,20 @@ 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 -> pat : Consult - 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 + alt Validation passed api -> pfg : Delete adjustment patient flag api -> adj : Delete adjustment flag(s) api -> cod : Delete condition flag(s) pra <-- api : OperationOutcome + else Validation failed + api -> api : rollback + pra <-- api : OperationOutcome end @enduml diff --git a/input/images-source/retrieve-ra-record-sequence.plantuml b/input/images-source/retrieve-ra-record-sequence.plantuml index 74593b9..c7ef0a0 100644 --- a/input/images-source/retrieve-ra-record-sequence.plantuml +++ b/input/images-source/retrieve-ra-record-sequence.plantuml @@ -3,37 +3,19 @@ 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 + pra -> api : Query for records -alt Consent provided - pra <-- pat : Provide consent + api -> pfg : Query for records + api -> adj : Query for records + api -> cod : Query for records - pra -> api : Query for records + api -> api : Assemble returns 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 +@enduml \ No newline at end of file