Audit Message : epSOS - ConsentService:put() Audit (Service Provider)

Back to list

Name
epSOS - ConsentService:put() Audit (Service Provider)
OID
1.3.6.1.4.1.12559.11.1.2.1.12.38
Document reference
WP3.4 Deliverable D3.4.2
Section
3.6.1.7
Last change
3/23/15 3:50:46 PM (CET GMT+0100) by aboufahj
Schema
/opt/XDStarClient/xsd/RFC3881.xsd
Dicom compatible
Deprecate RFC3881 Validation
false
Deprecated Validator
Field Name Opt Value Regex
EventIdentification EventID M
EventActionCode M
EventDateTime M
EventOutcomeIndicator M ^0|1|4|8$
EventTypeCode U
HumanRequestor
1 .. *
ServiceConsumerNCP
1 .. 1
ServiceProviderNCP
1 .. 1
AuditSourceIdentification
1 .. *
ErrorMessage
0 .. *
RequestMessage
1 .. 1
ResponseMessage
1 .. 1
Patient
1 .. *
EventTarget
1 .. 1
Field Name Opt Value Regex
HumanRequestor ActiveParticipant Distinguisher RoleIDCode[@code='dentist' or @code='nurse' or @code='pharmacist' or @code='physician' or @code='medical doctor' or @code='nurse midwife' or @code='admission clerk' or @code='ancillary services' or @code='clinical services']
UserID M .*<.+@.+>
AlternativeUserID M
UserName U
UserIsRequestor M true
RoleIDCode M
NetworkAccessPointTypeCode U
NetworkAccessPointID U
Field Name Opt Value Regex
ServiceConsumerNCP ActiveParticipant Distinguisher RoleIDCode[@code='ServiceConsumer']
UserID M
AlternativeUserID U
UserName U
UserIsRequestor M true
RoleIDCode M
NetworkAccessPointTypeCode U
NetworkAccessPointID U
Field Name Opt Value Regex
ServiceProviderNCP ActiveParticipant Distinguisher RoleIDCode[@code='ServiceProvider']
UserID M
AlternativeUserID U
UserName U
UserIsRequestor M false
RoleIDCode M
NetworkAccessPointTypeCode U
NetworkAccessPointID U
Field Name Opt Value Regex
AuditSourceIdentification AuditSourceID M ^[A-Z][A-Z]-[A-Z0-9]{1,3}$
AuditEnterpriseSiteID U
AuditSourceTypeCode U
Field Name Opt Value Regex
ErrorMessage ParticipantObjectIdentification Distinguisher @ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'
ParticipantObjectTypeCode M 2
ParticipantObjectTypeCodeRole M 3
ParticipantObjectDataLifeCycle U
ParticipantObjectIDTypeCode M 9
ParticipantObjectSensitivity U
ParticipantObjectID M
ParticipantObjectName U
ParticipantObjectQuery U
ParticipantObjectDetail M
Field Name Opt Value Regex
RequestMessage ParticipantObjectIdentification Distinguisher ParticipantObjectIDTypeCode[@code='req']
ParticipantObjectTypeCode M 4
ParticipantObjectTypeCodeRole U
ParticipantObjectDataLifeCycle U
ParticipantObjectIDTypeCode M EV('req', 'epSOS Msg', 'Request Message')
ParticipantObjectSensitivity U
ParticipantObjectID M urn:uuid:.*
ParticipantObjectName U
ParticipantObjectQuery U
ParticipantObjectDetail M
Field Name Opt Value Regex
ResponseMessage ParticipantObjectIdentification Distinguisher ParticipantObjectIDTypeCode[@code='rsp']
ParticipantObjectTypeCode M 4
ParticipantObjectTypeCodeRole U
ParticipantObjectDataLifeCycle U
ParticipantObjectIDTypeCode M EV('rsp', 'epSOS Msg', 'Response Message')
ParticipantObjectSensitivity U
ParticipantObjectID M urn:uuid:.*
ParticipantObjectName U
ParticipantObjectQuery U
ParticipantObjectDetail M
Field Name Opt Value Regex
Patient ParticipantObjectIdentification Distinguisher @ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'
ParticipantObjectTypeCode M 1
ParticipantObjectTypeCodeRole M 1
ParticipantObjectDataLifeCycle U
ParticipantObjectIDTypeCode M EV('2', 'RFC-3881', 'Patient Number')
ParticipantObjectSensitivity U
ParticipantObjectID M
ParticipantObjectName U
ParticipantObjectQuery U
ParticipantObjectDetail U
Field Name Opt Value Regex
EventTarget ParticipantObjectIdentification Distinguisher ParticipantObjectIDTypeCode[@code='12']
ParticipantObjectTypeCode M 2
ParticipantObjectTypeCodeRole M 4
ParticipantObjectDataLifeCycle U
ParticipantObjectIDTypeCode M
ParticipantObjectSensitivity U
ParticipantObjectID M
ParticipantObjectName U
ParticipantObjectQuery U
ParticipantObjectDetail U

Extra constraints :

IdKindxPathDescription
217errorevery $partid in /AuditMessage/ParticipantObjectIdentification[ParticipantObjectIDTypeCode[@code='rsp']] satisfies (every $i in $partid/ParticipantObjectDetail satisfies $i/@type='securityheader')ResponseMessage/ParticipantObjectDetail shall have the type=securityheader
218errorevery $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@code='ServiceConsumer']] satisfies $actpart/RoleIDCode/@codeSystem='epSOS' and $actpart/RoleIDCode/@displayName='epSOS Service Consumer'ServiceConsumerNCP/RoleIDCode/@codeSystem shall be equals to 'epSOS' and the displayName='epSOS Service Consumer'
219errorevery $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@code='ServiceProvider']] satisfies $actpart/RoleIDCode/@codeSystem='epSOS' and $actpart/RoleIDCode/@displayName='epSOS Service Provider'ServiceProviderNCP/RoleIDCode/@codeSystem shall be equals to 'epSOS' and the displayName='epSOS Service Provider'
220errormatches(/AuditMessage/EventIdentification/EventID/@code,'^(epsos-11|epsos-21|epsos-31|epsos-41|epsos-42|epsos-51|epsos-52|epsos-53|epsos-91|epsos-92|epsos-93|epsos-94|epsos-00)$')Event/EventID@code SHALL be from the list : epsos-11, epsos-21, epsos-31, epsos-41, epsos-42, epsos-51, epsos-52, epsos-53, epsos-91, epsos-92, epsos-93, epsos-94, epsos-00
221errorevery $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies (every $i in $partid/ParticipantObjectDetail satisfies $i/@type='errormsg')ErrorMessage/ParticipantObjectDetail must have the type='errormsg'
222errorevery $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies (every $i in $partid/ParticipantObjectDetail[@type='errormsg'] satisfies matches($i/@value,'^\w+$'))ErrorMessage/ParticipantObjectDetail with type='errormsg' shall have a value coded base 64
223errorevery $partid in /AuditMessage/ParticipantObjectIdentification[ParticipantObjectIDTypeCode[@code='req']] satisfies (every $i in $partid/ParticipantObjectDetail satisfies $i/@type='securityheader')RequestMessage/ParticipantObjectDetail shall have the type=securityheader
224errorevery $partid in /AuditMessage/ParticipantObjectIdentification[ParticipantObjectIDTypeCode[@code='rsp']] satisfies (every $i in $partid/ParticipantObjectDetail satisfies $i/@type='securityheader')ResponseMessage/ParticipantObjectDetail shall have the type=securityheader
225errormatches(/AuditMessage/EventIdentification/EventID/@codeSystemName,'^epSOS Transaction|unknown$')Event/EventID@codeSystemName SHALL be 'epSOS Transaction'
226error/AuditMessage/EventIdentification[@EventActionCode='E' and EventID[@code='epsos-11' or @code='epsos-91' or @code='epsos-92' or @code='epsos-93' or @code='epsos-94' or @code='epsos-00']] or /AuditMessage/EventIdentification[@EventActionCode='R' and EventID[@code='epsos-21' or @code='epsos-31' or @code='epsos-53']] or /AuditMessage/EventIdentification[@EventActionCode='U' and EventID[@code='epsos-41' or @code='epsos-51']] or /AuditMessage/EventIdentification[@EventActionCode='D' and EventID[@code='epsos-42' or @code='epsos-52']]/EventID@EventActionCode SHALL be conform to the value of Event/EventID according to the table 4.5.8.1
227error/AuditMessage/EventIdentification/EventID[(@code='epsos-11' and @displayName='epsosIdentityService::FindIdentityByTraits') or (@code='epsos-21' and @displayName='epsosPatientService::List') or (@code='epsos-31' and @displayName='epsosOrderService::List') or (@code='epsos-41' and @displayName='epsosDispensationService::Initialize') or (@code='epsos-42' and @displayName='epsosDispensationService::Discard') or (@code='epsos-51' and @displayName='epsosConsentService::Put') or (@code='epsos-52' and @displayName='epsosConsentService::Discard') or (@code='epsos-53' and @displayName='epSOSConsentService::PIN') or (@code='epsos-91' and @displayName='identityProvider::HcpAuthentication') or (@code='epsos-92' and @displayName='ncp::TrcAssertion') or (@code='epsos-93' and @displayName='ncpConfigurationManager::ImportNSL') or (@code='epsos-94' and @displayName='ncpTransformationMgr::Translate') or (@code='epsos-00' and @displayName='unknown')]Event/EventID@displayName SHALL be conform to the specification on the table 4.5.8.1
228error/AuditMessage/EventIdentification/EventID[@codeSystemName!='unknown' or @code='epsos-00']Event/EventID shall have the codeSystemName!=unknown, or the code=epsos-00

Back to list