CH ATC (R4)
3.2.0-ballot - Draft Switzerland flag

This page is part of the CH ATC (R4) (v3.2.0-ballot: Draft Ballot 3) based on FHIR 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.

1. AuditEvent
InvariantsDefined on this element
ch-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
Binding
3. AuditEvent.subtype
Control10..*
SlicingThis element introduces a set of slices on AuditEvent.subtype. The slices are unordered and Open, and can be differentiated using the following discriminators:
  • value @ system
4. AuditEvent.subtype:DocumentAuditEventType
SliceNameDocumentAuditEventType
Control1..1
BindingThe codes SHALL be taken from DocumentAuditEventType Document Audit Event Typ
5. AuditEvent.subtype:DocumentAuditEventType.system
Control1..?
Fixed Valueurn:oid:2.16.756.5.30.1.127.3.10.7
6. AuditEvent.recorded
7. AuditEvent.purposeOfEvent
Control10..1*
BindingThe codes SHALL be taken from EprPurposeOfUseThe codes SHALL be taken from PurposeOfUse; other codes may be used where these codes are not suitable

EPR Purpose of Use

The reason the activity took place.

8. AuditEvent.agent
9. AuditEvent.agent.role
Control10..1*
BindingThe codes SHALL be taken from EprParticipantFor example codes, see SecurityRoleType

EPR Participant

What security role enabled the agent to participate in the event.

10. AuditEvent.agent.who
Control0..?
11. AuditEvent.agent.who.identifier
NoteThis is a business identifier, not a resource identifier (see discussion)
Control1..1
TypeIdentifier
12. AuditEvent.agent.name
Definition

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

Human-meaningful name for the agent.

Control10..1
13. AuditEvent.agent.requestor
14. AuditEvent.entity
SlicingThis element introduces a set of slices on AuditEvent.entity. The slices are unordered and Open, and can be differentiated using the following discriminators:
  • value @ type.code
  • value @ type.code,
15. AuditEvent.entity:Patient
SliceNamePatient
Control1..1
16. AuditEvent.entity:Patient.what
Control0..?
17. AuditEvent.entity:Patient.what.identifier
NoteThis is a business identifier, not a resource identifier (see discussion)
Control1..1
TypeIdentifier
18. AuditEvent.entity:Patient.what.identifier.system
Control1..?
Fixed Valueurn:oid:2.16.756.5.30.1.127.3.10.3
19. AuditEvent.entity:Patient.type
Control1..?
20. AuditEvent.entity:Patient.type.code
Control1..?
Fixed Value1
21. AuditEvent.entity:Patient.role
Control1..?
22. AuditEvent.entity:Patient.role.code
Control1..?
Fixed Value1
23. AuditEvent.entity:Document
SliceNameDocument
Control0..1
24. AuditEvent.entity:Document.what
Control0..?
25. AuditEvent.entity:Document.what.identifier
NoteThis is a business identifier, not a resource identifier (see discussion)
Control1..1
TypeIdentifier
26. AuditEvent.entity:Document.type
Control1..?
27. AuditEvent.entity:Document.type.code
Control1..?
Fixed Value2
28. AuditEvent.entity:Document.role
Control1..?
29. AuditEvent.entity:Document.role.code
Control1..?
Fixed Value3
30. AuditEvent.entity:Document.detail
Control4..?
SlicingThis element introduces a set of slices on AuditEvent.entity.detail. The slices are unordered and Open, and can be differentiated using the following discriminators:
  • value @ type
31. AuditEvent.entity:Document.detail:repositoryUniqueId
SliceNamerepositoryUniqueId
Control1..1
32. AuditEvent.entity:Document.detail:repositoryUniqueId.type
Control0..?
Fixed ValueRepository Unique Id
33. AuditEvent.entity:Document.detail:repositoryUniqueId.value
Definition

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

Control0..?
Typebase64Binary
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Comments

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

34. AuditEvent.entity:Document.detail:homeCommunityID
SliceNamehomeCommunityID
Control1..1
35. AuditEvent.entity:Document.detail:homeCommunityID.type
Control0..?
Fixed ValuehomeCommunityID
36. AuditEvent.entity:Document.detail:homeCommunityID.value
Definition

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

Control0..?
Typebase64Binary
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Comments

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

37. AuditEvent.entity:Document.detail:EprDocumentTypeCode
SliceNameEprDocumentTypeCode
Control1..1
38. AuditEvent.entity:Document.detail:EprDocumentTypeCode.type
Control0..?
Fixed ValueEprDocumentTypeCode
39. AuditEvent.entity:Document.detail:EprDocumentTypeCode.value
Definition

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

Control0..?
Typebase64Binary
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Comments

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

40. AuditEvent.entity:Document.detail:title
SliceNametitle
Control1..1
41. AuditEvent.entity:Document.detail:title.type
Control0..?
Fixed Valuetitle
42. AuditEvent.entity:Document.detail:title.value
Definition

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

Control0..?
Typebase64Binary
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Comments

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

43. AuditEvent.entity:Query
SliceNameQuery
Control0..1
44. AuditEvent.entity:Query.what
Control0..?
45. AuditEvent.entity:Query.what.identifier
NoteThis is a business identifier, not a resource identifier (see discussion)
Control1..1
TypeIdentifier
46. AuditEvent.entity:Query.type
Control1..?
47. AuditEvent.entity:Query.type.code
Control1..?
Fixed Value2
48. AuditEvent.entity:Query.role
Control1..?
49. AuditEvent.entity:Query.role.code
Control1..?
Fixed Value24