Need help to implement HIU consent flow

I have implemented all the HIU APIs but still, I am figuring out what all things I need to store at the HIU end and how? for example, I will store public and private key generated on the HIU side before sending it to HIP along with consent_id in a table so that I can decrypt the data using a similar key.

could someone help with the schema of that table like what all columns should be there and how to store consent_artifact ids?

Should I divide the above table into 2 using normalization like in one table I will store consent-id and another table I will store multiple care_context_ids associated to one consent request?

Thanks in advance.

@ninad3188

I also have the same query, Did you get the solution?

@Govind_Deshmukh kindly look.

Hi @ninad3188 you can have the common schema.

And the columns for the schema will be:
id
consent_artefact
date_created
status
date_modified
consent_artefact_id
consent_request_id

Thanks

@ninad3188 - please confirm whether issue is resolved or not.

Hi @Sunil_Yadav,

This issue is resolved.

Thanks,
Govind D