I am looking for advice on this use case.
Endpoint software requests that FHIR transaction be sent through service bus from which patient satisfaction surveys will be generated. Source for this data will be parsed through an integration engine from multiple formats (various HL7 v2 and flat file .csv primarily). Result transaction should include:
Meta data about the original source (sender, time received and so forth)
A data set that will contain derived values based on business rules to designate the type of outbound survey and ID according to location and patient type.
Items from clinical context (patient, providers, encounter information etc)
I feel like this is a Bundle of type ‘message’ or ‘transaction’ with resources for the clinical items and a message header. Where would I build the sending meta and the derived values? The meta data type in the message should be meta about the message I am sending. Do the details of the originating message seem like they should go into a different place or are they also meta? Do my derived values need to go into some kind of extension or would they be appropriate to place in tags?
I am thinking something along these lines:
Thank you kindly for your advice.