1 Definition 2 Functional Requirements 3 Syntax 4 Semantics

1 Definition

AIH Data is Health Data that has been stored in the End User’s Front End, further processed, and sent to the Back End with an attached Model Licence. The Back End requests the Blockchain to convert the Model Licence into a Licence and adds the Licence ID obtained from the Blockchain to the AIH Data.

2 Functional Requirements

AIH Data may be

  1. Retrieved from the HFE Secure Storage,
  2. Processed.
  3. Stored in the HFE Secure Storage.

Additionally, the End User may define a Model Licence and send the AIH Data with the corresponding MLicence to the Back End. where:

  1. The HBE requests a Licence for the received AIH Data by providing the Model Licence.
  2. The Blockchain stores a Smart Contract using the Model Licence and sends the Licence ID to the HBE.
  3. The HBE adds the Licence ID to the AIH Data.
  4. Stores AIH Data to the HBE Secure Storage.

When the HBE needs to Process AIH Data either because it needs that processing or because a Third Party User has requested it

  1. Issues a Confirmation Request to the Blockchain
  2. Retrieves AIH Data from the HBE Secure Storage.
  3. Performs the Processing.
  4. Requests a Licence for the Processed AIH Data.
  5. Attached the Licence to the Processed AIH dat.
  6. Stores and transmits to the requesting Third Party User the Processed AIH Data with attached Licence.

Therefore AIH Data includes the actual AIH Data and

  1. The ID of the Model Licence (when AIH Data is sent to the Back End).
  2. The ID of the Licence (when in the Back End).

3 Syntax

https://schemas.mpai.community/AIH1/V1.0/data/AIHData.json

4 Semantics

Label Size Description
Header N1 Bytes AIH Data Header
– Standard -AIHData 9 Bytes The characters AIH-AHD-V
– Version N2 Bytes Major version – 1 or 2 characters
– Dot-separator 1 Byte The character .
– Subversion N3 Bytes Minor version – 1 or 2 characters
MInstanceID N4 Bytes Identifier of M-Instance.
AIHDataID N5 Bytes Identifier of AIH Data.
EndUserID N6 Bytes ID of End User producing this AIH Data instance.
AIHDataTime N7 Bytes Time of AIH Data.
AIHData N8 Bytes The actual AIH Data.
AIHDataQualifier N9 Bytes AIH Data Qualifier.
ModelLicence N10 Bytes Model Licence as defined by End User
LicenceID N11 Bytes ID of Smart Contract produced by End User.
DescrMetadata N12 Bytes Descriptive Metadata