Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Field recordedDate has date of last export #14

Open
makampf opened this issue Jan 28, 2021 · 3 comments
Open

Field recordedDate has date of last export #14

makampf opened this issue Jan 28, 2021 · 3 comments
Labels
coordination-necessary Further information/coordination is requested enhancement New feature or request invalid-resources FHIR-Resource is invalid

Comments

@makampf
Copy link

makampf commented Jan 28, 2021

Describe the bug
When exporting a resource like Patient from EDC, the recordedDate value is the time when the resource was exported ("created by the exporter").

To Reproduce
Steps to reproduce the behavior:
Export any resource with odm2fhir

Expected behavior
In my understanding, this date should be the date when the information was captured/saved in the eCRF ("recorded in redcap")

CC: @noemide

@cerbelding
Copy link
Member

cerbelding commented Jan 28, 2021

You're absolutely right.
This is a workaround which sets recordedDate to DateTimeType.now(), as the REDCap CDISC-ODM Export does not yet contain a capturedAt-Date.

We update this step as soon as there is a agreed way to answer it.

@cerbelding cerbelding added enhancement New feature or request invalid-resources FHIR-Resource is invalid coordination-necessary Further information/coordination is requested labels Jan 28, 2021
@holger-stenzhorn
Copy link
Collaborator

@makampf I know this does not solve this issue at all but instead of the current date time, i.e. now, epoch time is put where those dates are missing to make it clearer that the given date is a dummy one.

@makampf
Copy link
Author

makampf commented Jan 29, 2021

Maybe also a data-absent-extension would be feasible to not break the semantic of the FHIR profile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
coordination-necessary Further information/coordination is requested enhancement New feature or request invalid-resources FHIR-Resource is invalid
Projects
None yet
Development

No branches or pull requests

3 participants