DataStore

The contract is used to publish the content of EHR documents.

There is no data storage in the contract. The data index is built by Stat workers by retrieving information from transactions call data.

Functions

dataUpdate

function dataUpdate(
    bytes32 groupID,
    bytes32 dataID,
    bytes32 ehrID,
    bytes calldata data,
    address signer,
    uint deadline,
    bytes calldata signature
) external onlyAllowed(msg.sender) 

Parameters

NameTypeDescription

groupID

bytes32

dataID

bytes32

ehrID

bytes32

data

bytes

signer

address

Address of the signer of the request

deadline

uint

Expiration timestamp of the request

signature

bytes

Cryptographic signature of the request performed by the signer's key

Models

Last updated