Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-27811

List Entries have a active flag but lack when they became inactive

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Not Persuasive
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R4
    • FHIR Infrastructure
    • List
    • Hide

      Reviewing the List resource: List.entry values are only allowed to communicated item deletion when List.mode is "changes". An ordinary snapshot-mode list can't be used to communicate entry deletions, according to LST-2 (http://build.fhir.org/list.html#invs).

      Depending on your use case, you might want to use Group instead of List (if applicable). Group.members can track a period (start + end) of membership.

      Otherwise, FHIR's List.entry.deleted can only be used in "changes"-mode lists; if you want to track deletion dates for a FHIR List in "snapshot" or "working" mode, we recommend:

      • Do note populate List.entry.deleted (because it's not allowed)
      • Create a value for List.entry.flag to communicate the deletion status
      • Create your own extension to indicate that (and when) an entry has been deleted. (Or if you prefer not to create a List.entry.flag value, then create a modiferExtension to indicate deletion status and date.)

      If you're using a "changes"-mode List, then List.date should be used to communicate the date of deletion of the List.entries.

      Show
      Reviewing the List resource: List.entry values are only allowed to communicated item deletion when List.mode is "changes". An ordinary snapshot-mode list can't be used to communicate entry deletions, according to LST-2 ( http://build.fhir.org/list.html#invs). Depending on your use case, you might want to use Group instead of List (if applicable). Group.members can track a period (start + end) of membership. Otherwise, FHIR's List.entry.deleted can only be used in "changes"-mode lists; if you want to track deletion dates for a FHIR List in "snapshot" or "working" mode, we recommend: Do note populate List.entry.deleted (because it's not allowed) Create a value for List.entry.flag to communicate the deletion status Create your own extension to indicate that (and when) an entry has been deleted. (Or if you prefer not to create a List.entry.flag value, then create a modiferExtension to indicate deletion status and date.) If you're using a "changes"-mode List, then List.date should be used to communicate the date of deletion of the List.entries.
    • Rick Geimer / Vassil Peytchev: 11-0-0

    Description

      The list items/members (List.entry) have a timestamp when they were added and a deleted flag, however we track both when it was added and removed, changing deleted to a date would enable both.

      If the date is empty then the item is still part of the list and if the date has a value it was removed on the specified date. Otherwise Health Canada will have to add an extension to track when the item was removed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            peter.bomberg Peter Bomberg
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: