Suppose each patient has multiple documents when they visit the hospital, each document has multiple notes or text and reports i.e. blood, urine, heart and text and report can be in any order. How to store that in postgress as each of these reports will be stored as different entities. Whenever we fetch these stored data we should be able to form the document which we stored in same order.