An example operation may include one or more of receiving medical data of a user, creating metadata of the medical data which includes a unique identifier of the user and a searchable description of the medical data which describes one or more attributes included in the medical data but does not expose the medical data, encrypting the medical data to generate encrypted medical data, generating a data block having stored therein the created metadata of the medical data and the encrypted medical data, and storing the generated data block within a distributed ledger such that the generated data block is hash-linked to a previous data block on the distributed ledger.