@startuml skinparam sequenceArrowThickness 2 skinparam roundcorner 5 skinparam maxmessagesize 180 skinparam sequenceParticipant bold title Query PractitionerRole with hpi-person-id (HPI-CPN) sequence diagram actor "Integrating application user" as User #CornflowerBlue participant "Integrating application" as A #CornflowerBlue participant " HPI" as B #CornflowerBlue participant "HPI PractitionerRole database" as C #CornflowerBlue ||| User -> A: User enters identifier to be looked up activate A ||| A -> B: GET/PractitionerRole?practitioner=99ZZZ activate B ||| B -> B: Validate[] ||| B -> C: Get[PractitionerRole] activate C ||| C -[dashed]-> B: deactivate C ||| B -[dashed]-> A:Return Bundle with matching PractitionerRole resources deactivate B ||| A -> User: Display matching PractitionerRole details deactivate A ||| @enduml