description: Defines constraints on the AuditEvent Resource to record when a PIXm Query Transaction happens, as recorded by the Patient Identifier Cross-reference Manager.\r\n- Query event for ITI-83\r\n- shall have the source as itself\r\n- shall have a destination\r\n- may have user, app, organization agent(s)\r\n- shall have a source patient identifier\r\n- shall have a the query parameters package_name: ihe.iti.pixm derivation: constraint name: AuditPixmQueryManager type: AuditEvent elements: modifierExtension: {index: 0} type: pattern: type: Coding value: {code: '110112', system: 'http://dicom.nema.org/resources/ontology/DCM', display: Query} index: 1 subtype: pattern: type: Coding value: {code: ITI-83, system: 'urn:ihe:event-type-code', display: Mobile Patient Identifier Cross-reference Query} index: 2 action: pattern: {type: Code, value: E} index: 3 outcome: {index: 4} outcomeDesc: {mustSupport: true, index: 5} agent: array: true min: 2 index: 6 slicing: rules: open description: consumer, manager, and possibly the user who participated discriminator: - {path: type, type: pattern} min: 2 slices: source: match: type: coding: - {code: '110153', system: 'http://dicom.nema.org/resources/ontology/DCM', display: Source Role ID} schema: _required: true index: 7 elements: type: pattern: type: CodeableConcept value: coding: - {code: '110153', system: 'http://dicom.nema.org/resources/ontology/DCM', display: Source Role ID} index: 8 who: {index: 9} network: {index: 10} required: [who, network, type] destination: match: type: coding: - {code: '110152', system: 'http://dicom.nema.org/resources/ontology/DCM', display: Destination Role ID} schema: constraint: val-audit-source: {human: The Audit Source is this agent too., source: 'https://profiles.ihe.net/ITI/PIXm/StructureDefinition/IHE.PIXm.Query.Audit.Manager', severity: error, expression: $this.who = %resource.source.observer} _required: true index: 11 elements: type: pattern: type: CodeableConcept value: coding: - {code: '110152', system: 'http://dicom.nema.org/resources/ontology/DCM', display: Destination Role ID} index: 12 who: {index: 13} network: {index: 14} required: [who, network, type] entity: array: true min: 2 max: 2 index: 15 slicing: rules: closed description: patient and query involved discriminator: - {path: type, type: pattern} min: 2 max: 2 slices: patient: match: type: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: Person} schema: _required: true index: 16 elements: what: index: 17 elements: identifier: {index: 18} required: [identifier] type: pattern: type: Coding value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: Person} index: 19 role: pattern: type: Coding value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Patient} index: 20 required: [what, type] queryParameters: match: type: {code: '2', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: System Object} schema: _required: true index: 21 elements: type: pattern: type: Coding value: {code: '2', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: System Object} index: 22 role: pattern: type: Coding value: {code: '24', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Query} index: 23 query: {index: 24} required: [query, type] package_version: 3.0.2 class: profile kind: resource url: https://profiles.ihe.net/ITI/PIXm/StructureDefinition/IHE.PIXm.Query.Audit.Manager base: http://hl7.org/fhir/StructureDefinition/AuditEvent version: 3.0.2 required: [outcome]