6.2. Development and Service Layer

Intelligent contract means that the clauses are recorded in computer language rather than legal language. By using the AI MEDICAL network capability, developers can build a decentralized app based on intelligent contracts with the focus only on business layer development. At present, the main built-in contracts of the system include cross-DAPP communication contracts, data storage contract, computing ability intelligent contracts, token intelligent contracts, and message notification contracts.

6.2.1. Cross-DAPP Communication Contract

Each DAPP is independent on the AI MEDICAL platform, and can intercommunicate with each other to handle tasks through the cross- DAPP communication contract. For example, if a patient uploads a laboratory sheet, then the medical bill OCR DAPP will handle the sheet, and through the across-DAPP communication contract, the handling results will be transferred to the medical bill interpretation DAPP for giving health advice.

6.2.2. Data Storage Contract

The data store contract writes the handling results of DAPP onto the data chain for later retrospect and service effectiveness evaluation.

6.2.3. Computing Ability Intelligent Contract

When DAPP needs to calculate GPU computing ability, computing ability intelligent contracts can choose the nodes that meet your algorithm conditions to conduct a more efficient calculation.

6.2.4. Token Intelligent contract

The token intelligent contract is used for token query, token collection, token refund, and transaction status query.

6.2.5. Message Notification Contract

DAPP actively or passively pushes the message to users via

the message notification contract.

Last updated