@d4l/collect-lib 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -107,6 +107,10 @@ interface SeenDisplay {
107
107
  * Date at which the display was seen by the user
108
108
  */
109
109
  seenAt: string;
110
+ /**
111
+ * Date the display was created
112
+ */
113
+ effectiveDate: string;
110
114
  /**
111
115
  * The app language at the point at which the user has seen the display
112
116
  */
package/dist/index.d.ts CHANGED
@@ -107,6 +107,10 @@ interface SeenDisplay {
107
107
  * Date at which the display was seen by the user
108
108
  */
109
109
  seenAt: string;
110
+ /**
111
+ * Date the display was created
112
+ */
113
+ effectiveDate: string;
110
114
  /**
111
115
  * The app language at the point at which the user has seen the display
112
116
  */
package/dist/index.js CHANGED
@@ -5155,6 +5155,7 @@ function generateFHIRSeenDisplay(id, seenDisplay) {
5155
5155
  id,
5156
5156
  resourceType: "Communication",
5157
5157
  status: "completed",
5158
+ sent: seenDisplay.effectiveDate,
5158
5159
  received: seenDisplay.seenAt,
5159
5160
  basedOn: [{ reference: seenDisplay.name }],
5160
5161
  payload