Hi, I am having a FHIR encounter resource which has multiple FHIR questionnaire responses representing the type of services done during the particular encounter.
Now I am having the trouble of putting those all the services under visit_source_value in visit_occurrence table since it takes only varchar of 25 size and each entry in the visit_occurence_table takes only one visit_concept_id and not multiple ids.
I was thinking of solving by following two approaches:
- Adding the latest response reason to the visit_occurrence table and creating a custom schema to add the rest of the details.
- Creating a separate column in the visit_occurrence_table which will hold the other reasons and the visit_source_value will have the latest reason from the response.
I am quite confused between the above two approaches because I don’t want to deviate from the OMOP approach. I request you to give me suggestion on the two approaches. Also free feel to add any other approach other than the above two.
Thanks.