AuditEvent

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
resource-originI0..1Extension(Reference(KT2_Device))
traceIdI0..1Extension(id)
correlationIdI0..1Extension(id)
requestIdI0..1Extension(id)
modifierExtension?! I0..*Extension
typeΣ1..1CodingBinding
subtypeΣ0..*CodingBinding
actionΣ0..1codeBinding
periodI0..1Period
recordedΣ1..1instant
outcomeΣ0..1codeBinding
outcomeDescΣ0..1string
purposeOfEventΣ0..0CodeableConceptBinding
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
type1..1CodeableConceptBinding
role0..*CodeableConcept
whoΣ I1..1Reference(KT2_Device)
altId0..0string
name0..0string
requestorΣ1..1boolean
locationI0..0Reference(Location)
policy0..0uri
media0..0CodingBinding
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
address0..1string
type0..1codeBinding
purposeOfUse0..0CodeableConceptBinding
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
site0..1string
observerΣ I1..1Reference(KT2_Device)
type0..*CodingBinding
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
whatΣ I0..1Reference(Resource)
type0..1CodingBinding
role0..1CodingBinding
lifecycle0..1CodingBinding
securityLabel0..*CodingBinding
nameΣ I0..1string
description0..1string
queryΣ I0..1base64Binary

AuditEvent.type

For the type element the generic VZVZ ValueSet for this element is used. This set contains only the relevant codes from the DICOM CodeSystem as used in Koppeltaal. The other Codesystems contain the remaining codes.

Note: for the code transmit use

{
    "system": "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
    "code": "transmit
}

AuditEvent.subtype

The ValueSet for this element contains codes from several Codesystems. See: ValueSet AuditEvent Subtype

For FHIR actions such as read, search and create, use the codes from the CodeSystem http://hl7.org/fhir/restful-interaction. Example:

{
    "system": "http://hl7.org/fhir/restful-interaction",
    "code": "search"
}

For interactions related to application launches and such use codes from the DICOM CodeSystem. Example (Application Start):

{
    "system": "http://dicom.nema.org/resources/ontology/DCM",
    "code": "110120"
}

Agent

The AuditEvent resource instance should always contain at least 2 agents, one for the source, one for the destination.

If necessary the patient to which this event relates can be added as a third agent. For examples see the section Agent.type.

The agent.network.address is used to store the url of the source and the endpoint of the destination.

Agent.type

For the type element the generic VZVZ ValueSet for this element is used. This set contains only the relevant codes from the DICOM CodeSystem as used in Koppeltaal. The other Codesystems contain the remaining codes.

As mentioned above, there are several agent elements, one for the source, one for the destination and one that refers to the patient. The examples below only show the relevant elements of agent, not the full set.

source

"agent": [
    {
        "type": {
            "coding": {
                "system": "http://dicom.nema.org/resources/ontology/DCM",
                "code": "110153"
            }
        },
        "requestor": "true"
    }
]

destination

"agent": [
    {
        "type": {
            "coding": {
                "system": "http://dicom.nema.org/resources/ontology/DCM",
                "code": "110152"
            }
        },
        "requestor": "false"
    }
]

patient

"agent": [
    {
        "type": {
            "coding": {
                "system": "http://terminology.hl7.org/CodeSystem/v3-RoleClass",
                "code": "PAT"
            }
        },
        "requestor": "false"
    }
]

Entity.type

For this element, from the ValueSet only use the CodeSystem ResourceType to indicate which FHIR Resource type was used. Example:

{
    "system": "http://hl7.org/fhir/resource-types",
    "code": "CareTeam"
}