Adding Folder specific change types

Description

While designing some features using Folders, and checking if I could use AUDIT_DETAILS to store logs for Folder changes, detected for Folders the current change type terminology (for AUDIT_DETAILS.change_type: DV_CODED_TEXT) might not be appropriate.

For instance, on my design I need to log when an item is added or removed from a Folder, and separate both cases. Now I can use "modification" as change type but it doesn't have the required granularity.

I would like to propose adding new change types for Folders:

+ addition: one or more items or subfolders where added to the folder
+ removal: one or more items or subfolders where removed from the folder

For other actions, the current terminology is enough, like "creation" and "deleted"

Environment

None

Activity

Show:
Pablo Pazos
April 26, 2018, 6:16 AM

On the SEC meeting it was agreed to use the AUDIT_DETAILS.description : DV_TEXT as coded text to express more information about the change type and use the "modification" change type for everything related to folders but creation.

Ref http://openehr.org/releases/RM/latest/docs/common/common.html#_audit_details_class

Thomas Beale
April 26, 2018, 7:51 AM

See the CR - that's what I have done, I think.

Reporter

Pablo Pazos

Labels

None

Components

Affects versions

Priority

Major
Configure