Audit Message : EPR - ADR - Authorization Decisions Provider Audit Message

Back to list

Name
EPR - ADR - Authorization Decisions Provider Audit Message
OID
1.3.6.1.4.1.12559.11.25.1.4.1.69
Document reference
Anhang 5 Ergänzung 2.1 der EPDV-EDI_Fassung vom 1. Juni 2023
Section
3.1.6
Last change
8/21/23 4:35:32 PM (CEST GMT+0200) by vhofman
Schema
Dicom compatible
true
Deprecate RFC3881 Validation
true
Deprecated Validator
false
Field Name Opt Value Regex
EventIdentification EventID M EV('110112', 'DCM', 'Query')
EventActionCode M E
EventDateTime M
EventOutcomeIndicator M
EventTypeCode M EV('ADR', 'e-health-suisse', 'Authorization Decisions Query')
Source
1 .. 1
Destination
1 .. 1
HumanRequestor
0 .. *
AuditSourceIdentification
1 .. 1
Requester Entity
1 .. 1
Authorization Result
1 .. *
Field Name Opt Value Regex
Source ActiveParticipant Distinguisher RoleIDCode[@code='110153']
UserID U
AlternativeUserID U
UserName U
UserIsRequestor U
RoleIDCode M EV('110153', 'DCM', 'Source')
NetworkAccessPointTypeCode U ^1|2$
NetworkAccessPointID U
Field Name Opt Value Regex
Destination ActiveParticipant Distinguisher RoleIDCode[@code='110152']
UserID M
AlternativeUserID M
UserName U
UserIsRequestor U
RoleIDCode M EV('110152', 'DCM', 'Destination')
NetworkAccessPointTypeCode U ^1|2$
NetworkAccessPointID U
Field Name Opt Value Regex
HumanRequestor ActiveParticipant Distinguisher not(RoleIDCode) or RoleIDCode[@code!='110153' and @code!='110152']
UserID M
AlternativeUserID U
UserName U
UserIsRequestor U true
RoleIDCode U
NetworkAccessPointTypeCode NA
NetworkAccessPointID NA
Field Name Opt Value Regex
AuditSourceIdentification AuditSourceID M
AuditEnterpriseSiteID M [0-2]((\.0)|(\.[1-9][0-9]*))*
AuditSourceTypeCode U
AuditSourceCodeValue U
Field Name Opt Value Regex
Requester Entity ParticipantObjectIdentification Distinguisher @ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='11'
ParticipantObjectTypeCode M 1
ParticipantObjectTypeCodeRole M 11
ParticipantObjectDataLifeCycle U
ParticipantObjectIDTypeCode M
ParticipantObjectSensitivity U
ParticipantObjectID M
ParticipantObjectName U
ParticipantObjectQuery U
ParticipantObjectDetail U
Field Name Opt Value Regex
Authorization Result ParticipantObjectIdentification Distinguisher @ParticipantObjectTypeCode='2'
ParticipantObjectTypeCode M 2
ParticipantObjectTypeCodeRole M ^3|13|17$
ParticipantObjectDataLifeCycle U
ParticipantObjectIDTypeCode U
ParticipantObjectSensitivity U
ParticipantObjectID M
ParticipantObjectName U
ParticipantObjectQuery U
ParticipantObjectDetail C

Extra constraints :

IdKindxPathDescription
2731errorevery $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='11'] satisfies matches($partid/@ParticipantObjectID, '.')AuditMessage/ParticipantObjectIdentification/@ParticipatObjectID must be present and not empty.
2732errorevery $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies( every $i in $partid/ParticipantObjectDetail satisfies ($i/@value='UGVybWl0' or $i/@value='RGVueQ==' or $i/@value='Tm90QXBwbGljYWJsZQ==' or $i/@value='SW5kZXRlcm1pbmF0ZQ==')) AuthorizationResult/ParticipantObjectDetail SHALL have the base64 value 'Permit', 'Deny', 'NotApplicable' or 'Indeterminate'
2733warningfalse()This condition is not checked by the validator: In the AuditMessage/ParticipantObjectIdentification node, for the value of the @ParticipantObjectSensitivity field, the current confidentiality code of the object MUST be specified when the object is a document in the EPR. This value MUST represent a value from the Swiss Metadata Value-Set “xds-confCod” (2.16.756.5.30.1.127.3.10.1.5) in the HL7 CNE datatype format.(CH-ATNA-007)
2734errorevery $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies( every $i in $partid/ParticipantObjectDetail satisfies ($i/@value='UGVybWl0' or $i/@value='RGVueQ==' or $i/@value='Tm90QXBwbGljYWJsZQ==' or $i/@value='SW5kZXRlcm1pbmF0ZQ==')) AuthorizationResult/ParticipantObjectDetail SHALL have the base64 value 'Permit', 'Deny', 'NotApplicable' or 'Indeterminate'
2735errorvery $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='17'] satisfies( every $i in $partid/ParticipantObjectDetail satisfies ($i/@value='UGVybWl0' or $i/@value='RGVueQ==' or $i/@value='Tm90QXBwbGljYWJsZQ==' or $i/@value='SW5kZXRlcm1pbmF0ZQ=='))AuthorizationResult/ParticipantObjectDetail SHALL have the base64 value 'Permit', 'Deny', 'NotApplicable' or 'Indeterminate'
2736errorevery $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='11'] satisfies (every $i in $partid/ParticipantObjectIDTypeCode satisfies ($i/@csd-code='HCP' or $i/@csd-code='PAT' or $i/@csd-code='REP' or $i/@csd-code='ASS' )) AuditMessage/ParticipantObjectIdentification/ParticipantObjectIDTypeCode/@csd-code SHALL BE "HCP" or "PAT" or "ASS" or "REP"
2737errorevery $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='17'] satisfies( every $i in $partid/ParticipantObjectDetail satisfies ($i/@type='decision'))AuthorizationResult/ParticipantObjectDetail SHALL have the type 'decison'
2738errorevery $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies( every $i in $partid/ParticipantObjectDetail satisfies ($i/@type='decision'))AuthorizationResult/ParticipantObjectDetail SHALL have the type 'decison'
2739errorevery $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies( every $i in $partid/ParticipantObjectDetail satisfies ($i/@type='decision'))AuthorizationResult/ParticipantObjectDetail SHALL have the type 'decison'

Back to list