Difference between revisions of "PA Registry State Model"
Line 1: | Line 1: | ||
=HL7 Administrative Registry Behavioral Model= | =HL7 Administrative Registry Behavioral Model= | ||
− | Management of a registry can be described as state changes in a '''Registration Act'''. The following diagram represents the state transition notification messages currently supporte in HL7 v3: | + | Management of a registry can be described as state changes in a '''Registration Act'''. |
+ | |||
+ | == Simplest Registry Management Behavior == | ||
+ | The following diagram represents the state transition notification messages currently supporte in HL7 v3: | ||
[[Image:RegistryActStateModel.gif|Current state model for Registration act]] | [[Image:RegistryActStateModel.gif|Current state model for Registration act]] | ||
Line 30: | Line 33: | ||
|} | |} | ||
+ | == Registry with verification process == | ||
The following diagram imagines a more complex state machine for a registry. | The following diagram imagines a more complex state machine for a registry. |
Revision as of 21:51, 17 December 2010
HL7 Administrative Registry Behavioral Model
Management of a registry can be described as state changes in a Registration Act.
Simplest Registry Management Behavior
The following diagram represents the state transition notification messages currently supporte in HL7 v3:
As of 2010 the HL7 administrative registry domains only include notification messages for the following registration actions:
State Transition | From / To | Business Event |
active | null / active | active record added to registry |
revise | active / active | active record revised in registry |
nullify | normal / nullify | erroneous record in registry nullified |
obsolete | normal / obsolete | duplicate record in registry registry replaced by newer record |
Registry with verification process
The following diagram imagines a more complex state machine for a registry.
Envision a registry that follows a two step process for adding records to the official registry. Each candidate registration must pass certain business processes such as duplicate checking or credentials verification before it is processed into the official registry. The new, held, cancelled states can represent this:
State Transition | From / To | Business Event |
create | null / new | pending record is submited to registry |
activate | new / active | pending record satisfied business rules and is added as an active record to the registry |
hold | new / held | pending record is pulled back from vetting process for exceptional processing |
release | held /new | exceptional processing completed and pending record returned to normal vetting process |
cancel | new / cancelled | pending record processing is stopped because the record failed the vetting process |
cancel | held / cancelled | pending record rejected during exceptional processing |
revise | new / new | pending record is revised |
| active
| null / active
| active record added to registry
|-
|revise
| active / active
| active record revised in registry
|-
|nullify
| normal / nullify
| erroneous record in registry nullified
|-
|obsolete
| normal / obsolete
| duplicate record in registry registry replaced by newer record
|}