curl --location --request PUT '/medicalrecord/config' \
--header 'auth-bearer: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"sections": [
{
"name": "string",
"active": true,
"fields": [
{
"name": "string",
"type": "string"
}
]
}
],
"medicalCertificates": [
{
"name": "string",
"text": "string"
}
],
"medicalPrescriptions": [
{
"name": "string",
"text": "string",
"isSpecialControl": "string",
"medicines": [
{
"name": "string",
"observation": "string",
"quantity": 0,
"unit": "string"
}
]
}
],
"medicalExaminations": [
{
"name": "string",
"events": [
{
"event": "string",
"quantity": 0
}
]
}
]
}'