Smart Contract Automation
Procedure
In this simulation, we will demonstrate Pharmaceutical Supply Chain Simulation with Blockchain.
To demonstrate the application of blockchain in enhancing transparency, traceability, and security in the pharmaceutical supply chain, mitigating the risks associated with the transportation of medicines.
1. Shipment of Goods
The manufacturer initiates the simulation by adding a new set of goods for shipment.
The blockchain network notifies all relevant entities, including distributors, retailers, pharmacists, and customers.
- Choose medicine name and quantity from the list and set an expiry date. Upon submitting the form, a table containing the details of the medicine will be visible.
- Observe a new block being added to the ledger containing all the details of the medicine.

2. Goods in Transit
The distributor picks up the goods from the manufacturer.
During transit, real-time information about the medicine, such as temperature, expiry date, and humidity, is recorded on the blockchain.
- Copy and paste the batch number from the medicine data table and click on View Details to get detailed information about the medicine.

3. Goods Arrival at Warehouse
Goods reach the warehouse. Warehouse personnel can access current details of the medicine through the blockchain, ensuring transparency and traceability.
- Copy and paste the batch number from the medicine data table and click on View Details to get information about the medicine.
- Observe the blocks being added to the ledger containing the details of the medicine.

4. Order Placement: Retailer Stage
The retailer checks the current details of the medicine.
The pharmacist places an order based on stock and demand, and the blockchain records the transaction.
- Choose the medicine that needs to be restocked according to demand and available stock.

- Enter the required quantity of medicine, set the expected delivery date, and click on the Place Order button.

5. Goods Dispatch from Warehouse
The retailer dispatches the ordered goods to the pharmacy.
The pharmacist checks the details of the medicine through the blockchain before accepting the shipment.
- Click the Next button to proceed to the next stage of the process.
- Observe the blocks being added to the ledger and the corresponding changes in the ledger as the pharmacist places an order and goods are dispatched.
- Observe the reduction in total medicine quantity in the warehouse, reflecting the sale to the pharmacy.

6. Order Placement: Customer Stage
Customers receive notifications and place orders. The blockchain records the order transactions.
- Click on any of the available options and enter the medicine name and quantity.

Completion & Key Benefits and Outcomes

- The simulation concludes once the medicine successfully passes through each stage.
- Each transaction adds a block to the blockchain ledger, providing a tamper-proof record of the entire supply chain process.
- Enhanced Traceability: Blockchain ensures a transparent and traceable record of the medicine’s journey.
- Improved Temperature Control: Real-time monitoring of temperature during transportation.
- Tamper-Proof Records: Every transaction is securely recorded on the blockchain, preventing unauthorized alterations.