openhie / covid-ig

Implementation Guide for the OpenHIE Covid-19 Task force
https://openhie.github.io/covid-ig
4 stars 3 forks source link

Logical Model Change contact exposure to period #39

Closed ElliotSilver closed 3 years ago

askanter commented 3 years ago

Exposure has a start data and end date. What is this issue asking? Should there be an array of exposure periods?

ElliotSilver commented 3 years ago

In the current logical model, there are separate first and last dates for contact exposure. These values are stored in separate elements of type date. The proposal is to change to a single element of type period, which has begin and end sub-elements. Essentially the same data is carried in both representations, but the use of the period data type conveys the relationship between the two values.

I don't think making the contact begin/end elements or contact period element repeat is necessary for the purposes of this form. In cases of multiple exposure with the same contact, I would suggest recording the beginning of the first exposure and the end of the last; or, alternatively, create multiple contact entries each for the same person.

I'll mark this for discussion.

ElliotSilver commented 3 years ago

Group: allow period/setting to repeat per contact.