Audit Message : epSOS - DispensationService:Discard() Audit (Service Consumer)

Back to list

Name
epSOS - DispensationService:Discard() Audit (Service Consumer)
OID
1.3.6.1.4.1.12559.11.1.2.1.12.46
Document reference
WP3.4 Deliverable D3.4.2
Section
3.5.2.7
Last change
3/23/15 10:50:46 AM (EDT GMT-0400) by aboufahj
Schema
/opt/XDStarClient/xsd/RFC3881.xsd
Dicom compatible
Deprecate RFC3881 Validation
false
Deprecated Validator
false
Field Name Opt Value Regex
EventIdentification EventID M
EventActionCode M
EventDateTime M
EventOutcomeIndicator M ^0|1|4|8$
EventTypeCode U
HumanRequestor
1 .. *
PointOfCare
1 .. *
ServiceConsumerNCP
1 .. 1
ServiceProviderNCP
1 .. 1
AuditSourceIdentification
1 .. *
ErrorMessage
0 .. *
RequestMessage
1 .. 1
Patient
1 .. *
EventTarget
1 .. *
ResponseMessage
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
PointOfCare ActiveParticipant Distinguisher RoleIDCode[@codeSystem='1.3.6.1.4.1.12559.11.10.1.3.2.2.2' or @codeSystemName='urn:epsos:names:wp3.4:subject:healthcare-facility-type']
UserID M .+
AlternativeUserID U
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
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 M 14
ParticipantObjectIDTypeCode M
ParticipantObjectSensitivity U
ParticipantObjectID M
ParticipantObjectName U
ParticipantObjectQuery U
ParticipantObjectDetail U
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

Extra constraints :

IdKindxPathDescription
348errorevery $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@codeSystem='1.3.6.1.4.1.12559.11.10.1.3.2.2.2' or @codeSystemName='urn:epsos:names:wp3.4:subject:healthcare-facility-type']] satisfies matches($actpart/RoleIDCode/@code, '^Hospital|Resident Physician|Pharmacy|Other$')PointOfCare/RoleIDCode/@code SHALL be from HCPO Type
349errorevery $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
350errorevery $partid in /AuditMessage/ParticipantObjectIdentification[ParticipantObjectIDTypeCode[@code='req']] satisfies (every $i in $partid/ParticipantObjectDetail satisfies $i/@type='securityheader')RequestMessage/ParticipantObjectDetail shall have the type=securityheader
351errorevery $partid in /AuditMessage/ParticipantObjectIdentification[ParticipantObjectIDTypeCode[@code='rsp']] satisfies (every $i in $partid/ParticipantObjectDetail satisfies $i/@type='securityheader')ResponseMessage/ParticipantObjectDetail shall have the type=securityheader
352errorevery $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'
353errormatches(/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
354errorevery $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'
355errorevery $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'
356errormatches(/AuditMessage/EventIdentification/EventID/@codeSystemName,'^epSOS Transaction|unknown$')Event/EventID@codeSystemName SHALL be 'epSOS Transaction'
357error/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
358error/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
359error/AuditMessage/EventIdentification/EventID[@codeSystemName!='unknown' or @code='epsos-00']Event/EventID shall have the codeSystemName!=unknown, or the code=epsos-00

Back to list