Use case 1 – requested scan Medication informer requests a code from Barcode reader (“please go ahead and read something”) This triggers the reader to “scan” Reader sends the encoded content back to the medication informer (“I have scanned this: 01000018237984729387642038476”) Medication Informer requests an interpretation from the Barcode Processor (“please decode “01934875208475903485” to something understandable”) Barcode processor returns the representation of the object with attributes (“your code has a GTIN code 12391239, exp date xx/xx, serial, etc”) Next to this, we have further lookup of the product
UBP-2: Interpret the content of the barcode UBP 1: Request a scan UBP-2: Interpret the content of the barcode (return a GTIN, NOT the product name) Product data requester Medication Administration Informer (HMW) Barcode Processor Barcode Consumer UBP-2 UBP-1 Barcode Reader These transactions are just for the barcode uses Examples of other actors that can be grouped to add the functionality: Inventory Consumer Product data requester Inventory manager
Use Case 2 – Unrequested / asynchronous scan Scanner reads the code “I read 9218374923874” Scanner sends the code to the barcode consumer Here it is 2138472938472344 The consumer asks the decoder… ...
Medication Administration Informer (HMW) Inventory manager Inventory Consumer Medication Administration Informer (HMW) Inventory manager Product data requester Barcode Consumer Barcode Processor UBP-2 UBP-3? Is UBP-3 a new transaction? What are the approaches? UBP-1 and UMP-3 are different UBP-1 is just the request, UBP-3 is just the response, so UBP-3 is common ...? Barcode Reader