Model FDA Foreign Supplier Verification Program requirements  

Build a regulatory application that automates a smart contract deployed on a business network

Last updated | By Donald Thibeau

Description

Food suppliers must comply with U.S. Food and Drug Administration (FDA) Foreign Supplier Verification Program regulatory requirements before they can ship their products to market. In this developer code pattern, you’ll learn how to use Hyperledger Composer to model food supplier verification regulatory requirements for a distributed business network.

Overview

Updated to support Hyperledger Fabric V1.1 and Hyperledger Composer V0.19

Regulatory compliance is a high-focus area in which developers are looking to build applications that automate and standardize processes used to enforce and execute compliance. Blockchain presents an opportunity to do just that. You can use Hyperledger Composer to easily build a regulatory compliance application and build logic in a smart contract that is deployed on a business network. This pattern focuses on an FDA compliance use case. Get creative and apply it to your own use case of managing regulation compliance.

So in focusing on this use case, imagine that a supplier will transfer the food products to an importer who verifies that the supplier, country, and food type all match the correct identifiers. At the port of entry, the supplier is again checked against a list of known suppliers in a database (managed by the regulator). If the supplier is of type exempt, then products transfer to the retailer. If the supplier is non-exempt, the products are checked against a list of known food products in the database (managed by the regulator). If the food is an exempt product, then it transfers to the retailer. If the food is non-exempt, the importer must conduct the hazard analysis (either independently or by using a third party). The supplier provides the hazard analysis report to the regulator. The regulator reviews compliance and transfers the products to the retailer. In this pattern, we capture the regulatory compliance logic for the FDA Foreign Supplier Verification Program in a smart contract deployed on a business network.

This Hyperledger Composer pattern shows how to model food supplier verification regulatory requirements for a distributed business network. Keep in mind that a business network definition consists of model (.cto), script (.js), and ACL (.acl) files packaged and exported as an archive (.bna) file. The archive file is then deployed to a Hyperledger Fabric network.

Flow

  1. Install Hyperledger Composer development tools.
  2. Configure and start Hyperledger Fabric network.
  3. Generate the Business Network Archive file.
  4. Import the BNA file into Hyperledger Composer Playground.

Related Blogs

Jax 2018 – Just An Awesome Experience

What a week! From 23rd to 27th April our Berlin team attended the Jax conference in Mainz, Germany. We had such a great time sharing our fresh perspectives, in the form of a rousing keynote and two informative sessions. The concept of this annual event with over 2,000 participants, revolves around innovating with Java, architecture,...

Continue reading Jax 2018 – Just An Awesome Experience

CloudNativeCon and KubeCon are coming to Copenhagen!

With May just around the corner, mark your calendars for an exciting event, CloudNativeCon/KubeCon, in Denmark’s capital city of Copenhagen. Many of us in the Cloud Native community already visited this beautiful city for DockerCon EU last year and we’re excited to be able to take in all of the wonderful sites again this year....

Continue reading CloudNativeCon and KubeCon are coming to Copenhagen!

Live analytics with an event store fed from Java and analyzed in Jupyter Notebook

Event-driven analytics requires a data management system that can scale to allow a high rate of incoming events while optimizing to allow immediate analytics. IBM Db2 Event Store extends Apache Spark to provide accelerated queries and lightning fast inserts. This code pattern is a simple introduction to get you started with event-driven analytics. You can...

Continue reading Live analytics with an event store fed from Java and analyzed in Jupyter Notebook

Related Links

GitHub

Check out the source code for Hyperledger Composer V0.19.3.

Blog

Accelerate your blockchain journey with the IBM Blockchain Platform.