The sample create folder JSON in EHRBase is as below and does not show the ‘details’ array that can be used for adding more context information to the folder
"_type": "FOLDER",
"name": {
"_type": "DV_TEXT",
"value": "root"
},
"uid": {
"_type": "OBJECT_VERSION_ID",
"value": "6e13bbdb-893c-4260-b47d-f3585d178667::example.domain.com::1"
},
"folders": [
{
"_type": "FOLDER",
"name": {
"_type": "DV_TEXT",
"value": "subject"
}
},
{
"_type": "FOLDER",
"name": {
"_type": "DV_TEXT",
"value": "persistent"
}
}
],
"items": [
{
"id": {
"_type": "OBJECT_VERSION_ID",
"value": "8849182c-82ad-4088-a07f-48ead4180515::example.domain.com::1"
},
"namespace": "example.domain.com",
"type": "VERSIONED_COMPOSITION"
}
]
}
I want to be able to add more details as below
- status - CODED_TXT
- Composer
- Health care facility
- Start & end dates
Are there any examples to know how this can be done?
If some of these are mandatory, how is it enforced?
regards