PackagesCanonicalsLogsProblems
    Packages
    ca.qc.sq.sgrdv@1.0.6
    http://sante.quebec/fhir/StructureDefinition/sgrdv-audit-event
{
  "description": "Profil unique d'AuditEvent pour les journaux d'audit affaire SGRDV. Porte la direction (extension dédiée), le type de transaction (find, lock, aggregate), les agents source et destination (références vers des SGRDVAuditAgent dans le même Bundle) et la référence au payload de la transaction.",
  "_filename": "StructureDefinition-sgrdv-audit-event.json",
  "package_name": "ca.qc.sq.sgrdv",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "SGRDVAuditEvent",
  "abstract": false,
  "type": "AuditEvent",
  "experimental": "true",
  "resourceType": "StructureDefinition",
  "title": "Événement d'audit SGRDV",
  "package_version": "1.0.6",
  "status": "draft",
  "id": "36dba1a2-6acd-46c6-95fd-04d782403234",
  "kind": "resource",
  "url": "http://sante.quebec/fhir/StructureDefinition/sgrdv-audit-event",
  "version": null,
  "differential": {
    "element": [ {
      "id": "AuditEvent.extension",
      "min": 1,
      "path": "AuditEvent.extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "AuditEvent.extension:direction",
      "max": "1",
      "min": 1,
      "path": "AuditEvent.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-audit-direction-extension" ]
      } ],
      "sliceName": "direction",
      "mustSupport": true
    }, {
      "id": "AuditEvent.extension:direction.value[x]",
      "path": "AuditEvent.extension.value[x]",
      "mustSupport": true
    }, {
      "id": "AuditEvent.type",
      "path": "AuditEvent.type",
      "mustSupport": true
    }, {
      "id": "AuditEvent.type.system",
      "path": "AuditEvent.type.system",
      "fixedUri": "http://sante.quebec/fhir/CodeSystem/sgrdv-audit-transaction-type"
    }, {
      "id": "AuditEvent.type.code",
      "min": 1,
      "path": "AuditEvent.type.code",
      "mustSupport": true
    }, {
      "id": "AuditEvent.action",
      "min": 1,
      "path": "AuditEvent.action",
      "fixedCode": "E",
      "mustSupport": true
    }, {
      "id": "AuditEvent.recorded",
      "path": "AuditEvent.recorded",
      "mustSupport": true
    }, {
      "id": "AuditEvent.outcome",
      "min": 1,
      "path": "AuditEvent.outcome",
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent",
      "min": 2,
      "path": "AuditEvent.agent",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "type",
          "type": "pattern"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent:source",
      "max": "1",
      "min": 1,
      "path": "AuditEvent.agent",
      "sliceName": "source",
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent:source.type",
      "min": 1,
      "path": "AuditEvent.agent.type",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "source",
          "system": "http://sante.quebec/fhir/CodeSystem/sgrdv-audit-agent-type"
        } ]
      }
    }, {
      "id": "AuditEvent.agent:source.who",
      "min": 1,
      "path": "AuditEvent.agent.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-audit-agent" ]
      } ],
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent:source.who.reference",
      "min": 1,
      "path": "AuditEvent.agent.who.reference",
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent:source.requestor",
      "path": "AuditEvent.agent.requestor",
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent:destination",
      "max": "1",
      "min": 1,
      "path": "AuditEvent.agent",
      "sliceName": "destination",
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent:destination.type",
      "min": 1,
      "path": "AuditEvent.agent.type",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "destination",
          "system": "http://sante.quebec/fhir/CodeSystem/sgrdv-audit-agent-type"
        } ]
      }
    }, {
      "id": "AuditEvent.agent:destination.who",
      "min": 1,
      "path": "AuditEvent.agent.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-audit-agent" ]
      } ],
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent:destination.who.reference",
      "min": 1,
      "path": "AuditEvent.agent.who.reference",
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent:destination.requestor",
      "path": "AuditEvent.agent.requestor",
      "mustSupport": true
    }, {
      "id": "AuditEvent.source",
      "path": "AuditEvent.source",
      "mustSupport": true
    }, {
      "id": "AuditEvent.source.observer",
      "path": "AuditEvent.source.observer",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://sante.quebec/fhir/StructureDefinition/sgrdv-audit-agent" ]
      } ],
      "mustSupport": true
    }, {
      "id": "AuditEvent.source.observer.reference",
      "min": 1,
      "path": "AuditEvent.source.observer.reference",
      "mustSupport": true
    }, {
      "id": "AuditEvent.entity",
      "min": 1,
      "path": "AuditEvent.entity",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "type.code",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "AuditEvent.entity:payload",
      "max": "1",
      "min": 1,
      "path": "AuditEvent.entity",
      "sliceName": "payload",
      "mustSupport": true
    }, {
      "id": "AuditEvent.entity:payload.what",
      "min": 1,
      "path": "AuditEvent.entity.what",
      "mustSupport": true
    }, {
      "id": "AuditEvent.entity:payload.what.reference",
      "min": 1,
      "path": "AuditEvent.entity.what.reference",
      "mustSupport": true
    }, {
      "id": "AuditEvent.entity:payload.type",
      "min": 1,
      "path": "AuditEvent.entity.type",
      "mustSupport": true
    }, {
      "id": "AuditEvent.entity:payload.type.code",
      "min": 1,
      "path": "AuditEvent.entity.type.code",
      "patternCode": "payload"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AuditEvent"
}