Open qligier opened 4 months ago
Two known errors time of publication
This element does not match any known slice defined in the profile https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.ProvideBundle.Audit.Source|4.2.1 and slicing is CLOSED: AuditEvent.entity[2]: Does not match slice 'patient' (discriminator: type.where((system = 'http://terminology.hl7.org/CodeSystem/audit-entity-type') and (code = '1') and (display = 'Person')).exists()), AuditEvent.entity[2]: Does not match slice 'submissionSet' (discriminator: type.where((system = 'http://terminology.hl7.org/CodeSystem/audit-entity-type') and (code = '2') and (display = 'System Object')).exists()) AuditEvent.entity: max allowed = 2, but found 3 (from https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.ProvideBundle.Audit.Source|4.2.1)
This will be resolved as soon as an updated BALP, MHD are published
7.5: corrected in IHE MHD, will be fixed with the next publication of MHD which is targeted in a few weeks.
For us to support the Tracecontext header value in audit events, we need to adapt two IHE profiles:
BALP
We need to add the
Tracecontext
code to CodeSystem/BasicAuditEntityType and ValueSet/BasicAuditEntityTypesVS, and adapt the profiles. It is reported in https://github.com/IHE/ITI.BasicAudit/issues/94 and done in https://github.com/IHE/ITI.BasicAudit/pull/100.MHD
In StructureDefinition/IHE.MHD.ProvideBundle.Audit.Recipient and StructureDefinition/IHE.MHD.ProvideBundle.Audit.Source, the
AuditEvent.entity
slice is closed and does not containentity:transaction
. This is reported in https://github.com/IHE/ITI.MHD/issues/220.In other profiles, the
AuditEvent.entity
slice is open, but theentity:transaction
(when present) is restricted toXRequestId
. We may want to ensure the slice is present everywhere, and that it allows theTracecontext
code.