Observation for creating diagnosis in visit note

As in the reference application, we can select diseases and mark

  1. Primary or Secondary
  2. Confirmed or not

I want to create the same in android client via rest but I am unable to figure out how to create an observation with the above entries. Right now, we only send concept value and answer in the observation for that encounter. How can we create it using REST, any information will be helpful

Current scenario of app

cc: @f4ww4z @gcliff @dkayiwa @ibacher @herbert24