I have a comment box in a form that I have created, I would like to have the formatting of the text in the box preserved when it goes through the json file to then create the entry in Cliniko with line breaks carried across, is this possible?
I have tried to wrap the tag in <pre> and </pre> in the json file but this has not changed the output in Cliniko.
Thank you
Comments:
- Can you clarify which field you’re trying to populate in Cliniko — Anon
- @ShaunDavis Hi Shaun, trying to populate into a treatment note. Thanks Shaun. — Anon
1 Answers
Answer by Anonymous ✅ (Accepted)
Please edit your Cliniko mapping file and change the value for type from “text” to “paragraph” for each applicable treatment note field
{
"Name": "treatment_notes",
"Attributes": [
{
"Name": "name",
"Value": "Presenting complaint"
},
{
"Name": "type",
"Value": "paragraph"
},
{
"Name": "answer",
"Value": "<<ReasonForVisit>>"
}
]
}
Comments:
- Hi Shaun, — Anon