CH ATC (R4)
3.3.0 - draft Switzerland flag

This page is part of the CH ATC (R4) (v3.3.0: Draft Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: DocumentAuditEvent - Detailed Descriptions

Active as of 2018-05-28

Definitions for the DocumentAuditEvent resource profile.

Guidance on how to interpret the contents of this table can be found here

0. AuditEvent
ShortDocument Audit Trail Content Profile
Invariantsch-atc-dae-1: subtype needs to be fixed to ValueSet DocumentAuditEventType (subtype.exists() and subtype.count()=1 and subtype[0].code.startsWith('ATC_DOC'))
2. AuditEvent.type
BindingUnless not suitable, these codes SHALL be taken from AuditEventID
(extensible to http://hl7.org/fhir/ValueSet/audit-event-type)

Type of event.

4. AuditEvent.subtype
Control1..?
SlicingThis element introduces a set of slices on AuditEvent.subtype. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ system
  • 6. AuditEvent.subtype:DocumentAuditEventType
    Slice NameDocumentAuditEventType
    ShortDocumentAuditEventType
    Control1..1
    BindingThe codes SHALL be taken from DocumentAuditEventType
    (required to http://fhir.ch/ig/ch-atc/ValueSet/DocumentAuditEventType)

    Document Audit Event Type

    8. AuditEvent.subtype:DocumentAuditEventType.system
    Control1..?
    Fixed Valueurn:oid:2.16.756.5.30.1.127.3.10.7
    10. AuditEvent.recorded
    12. AuditEvent.purposeOfEvent
    Control1..1
    BindingThe codes SHALL be taken from EprPurposeOfUse
    (required to http://fhir.ch/ig/ch-term/ValueSet/EprPurposeOfUse)

    EPR Purpose of Use

    14. AuditEvent.agent
    ShortParticipants
    16. AuditEvent.agent.role
    Control1..1
    BindingThe codes SHALL be taken from EprParticipant
    (required to http://fhir.ch/ig/ch-atc/ValueSet/EprParticipant)

    EPR Participant

    18. AuditEvent.agent.who
    Control0..1
    20. AuditEvent.agent.who.identifier
    NoteThis is a business identifier, not a resource identifier (see discussion)
    Control1..1
    TypeIdentifier
    22. AuditEvent.agent.name
    Definition

    AttributeStatement/Attribute[@Name='urn:oasis:names:tc:xspa:1.0:subject:subject- id']/AttributeValue

    Control1..?
    24. AuditEvent.agent.requestor
    26. AuditEvent.entity
    SlicingThis element introduces a set of slices on AuditEvent.entity. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ type.code
    • value @ role.code
    • 28. AuditEvent.entity:Patient
      Slice NamePatient
      Control1..?
      30. AuditEvent.entity:Patient.what
      32. AuditEvent.entity:Patient.what.identifier
      NoteThis is a business identifier, not a resource identifier (see discussion)
      34. AuditEvent.entity:Document
      Slice NameDocument
      ShortDocument
      Control0..1
      36. AuditEvent.entity:Document.what
      38. AuditEvent.entity:Document.what.identifier
      ShortXDSDocumentEntry.uniqueId
      NoteThis is a business identifier, not a resource identifier (see discussion)
      Control1..1
      TypeIdentifier(Identifier for XDSDocumentEntry.uniqueId)
      40. AuditEvent.entity:Document.type
      Control1..?
      42. AuditEvent.entity:Document.type.code
      Control1..?
      Fixed Value2
      44. AuditEvent.entity:Document.role
      Control1..?
      46. AuditEvent.entity:Document.role.code
      Control1..?
      Fixed Value3
      48. AuditEvent.entity:Document.detail
      Control4..?
      SlicingThis element introduces a set of slices on AuditEvent.entity.detail. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ type
      • 50. AuditEvent.entity:Document.detail:repositoryUniqueId
        Slice NamerepositoryUniqueId
        ShortrepositoryUniqueId
        Control1..1
        52. AuditEvent.entity:Document.detail:repositoryUniqueId.type
        Fixed ValueRepository Unique Id
        54. AuditEvent.entity:Document.detail:repositoryUniqueId.value
        Definition

        The details, base64 encoded. Used to carry bulk information.

        Comments

        The value is base64 encoded to enable various encodings or binary content.

        Typebase64Binary
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        56. AuditEvent.entity:Document.detail:homeCommunityID
        Slice NamehomeCommunityID
        ShorthomeCommunityID
        Control1..1
        58. AuditEvent.entity:Document.detail:homeCommunityID.type
        Fixed ValuehomeCommunityID
        60. AuditEvent.entity:Document.detail:homeCommunityID.value
        Definition

        The details, base64 encoded. Used to carry bulk information.

        Comments

        The value is base64 encoded to enable various encodings or binary content.

        Typebase64Binary
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        62. AuditEvent.entity:Document.detail:EprDocumentTypeCode
        Slice NameEprDocumentTypeCode
        ShortEprDocumentTypeCode
        Control1..1
        64. AuditEvent.entity:Document.detail:EprDocumentTypeCode.type
        Fixed ValueEprDocumentTypeCode
        66. AuditEvent.entity:Document.detail:EprDocumentTypeCode.value
        Definition

        The details, base64 encoded. Used to carry bulk information.

        Comments

        The value is base64 encoded to enable various encodings or binary content.

        Typebase64Binary
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        68. AuditEvent.entity:Document.detail:title
        Slice Nametitle
        Shorttitle
        Control1..1
        70. AuditEvent.entity:Document.detail:title.type
        Fixed Valuetitle
        72. AuditEvent.entity:Document.detail:title.value
        Definition

        The details, base64 encoded. Used to carry bulk information.

        Comments

        The value is base64 encoded to enable various encodings or binary content.

        Typebase64Binary
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        74. AuditEvent.entity:Query
        Slice NameQuery
        ShortQuery
        Control0..1
        76. AuditEvent.entity:Query.what
        78. AuditEvent.entity:Query.what.identifier
        ShortQuery ID (UUID)
        NoteThis is a business identifier, not a resource identifier (see discussion)
        Control1..1
        TypeIdentifier
        80. AuditEvent.entity:Query.type
        Control1..?
        82. AuditEvent.entity:Query.type.code
        Control1..?
        Fixed Value2
        84. AuditEvent.entity:Query.role
        Control1..?
        86. AuditEvent.entity:Query.role.code
        Control1..?
        Fixed Value24