"source":
"object":
"participant":
"event":
{
"resourceType" : "AuditEvent",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"event" : { // R! What was done
"type" : { Coding }, // R! Type/identifier of event
"subtype" : [{ Coding }], // More specific type/id for the event
"action" : "<code>", // Type of action performed during the event
"dateTime" : "<instant>", // R! Time when the event occurred on source
"outcome" : "<code>", // Whether the event succeeded or failed
"outcomeDesc" : "<string>", // Description of the event outcome
"purposeOfEvent" : [{ Coding }] // The purposeOfUse of the event
},
"participant" : [{ // R! A person, a hardware device or software process
"role" : [{ CodeableConcept }], // User roles (e.g. local RBAC codes)
"reference" : { Reference(Practitioner|Organization|Device|Patient|
RelatedPerson) }, // Direct reference to resource
"userId" : { Identifier }, // Unique identifier for the user
"altId" : "<string>", // Alternative User id e.g. authentication
"name" : "<string>", // Human-meaningful name for the user
"requestor" : <boolean>, // R! Whether user is initiator
"location" : { Reference(Location) }, // Where
"policy" : ["<uri>"], // Policy that authorized event
"media" : { Coding }, // Type of media
"network" : { // Logical network location for application activity
"address" : "<string>", // Identifier for the network access point of the user device
"type" : "<code>" // The type of network access point
},
"purposeOfUse" : [{ Coding }] // Reason given for this user
}],
"source" : { // R! Application systems and processes
"site" : "<string>", // Logical source location within the enterprise
"identifier" : { Identifier }, // R! The identity of source detecting the event
"type" : [{ Coding }] // The type of source where event originated
},
"object" : [{ // Specific instances of data or objects that have been accessed
"identifier" : { Identifier }, // Specific instance of object (e.g. versioned)
"reference" : { Reference(Any) }, // Specific instance of resource (e.g. versioned)
"type" : { Coding }, // Type of object involved
"role" : { Coding }, // What role the Object played
"lifecycle" : { Coding }, // Life-cycle stage for the object
"securityLabel" : [{ Coding }], // Security labels applied to the object
"name" : "<string>", // C? Instance-specific descriptor for Object
"description" : "<string>", // Descriptive text
"query" : "<base64Binary>", // C? Actual query for object
"detail" : [{ // Additional Information about the Object
"type" : "<string>", // R! Name of the property
"value" : "<base64Binary>" // R! Property value
}]
}]
}
The following search parameters can be used to query AuditEvent resources. Just submit them like so:
https://api.1up.health/fhir/dstu2/AuditEvent?query-param=queryvalue
Search Parameter | Field Type | Resource Fields Searched |
---|---|---|
action | text | event.action |
address | text | participant.network.address |
altid | text | participant.altId |
date | date | event.dateTime |
desc | text | object.name |
identity | text | object.identifier |
name | text | participant.name |
object-type | text | object.type |
participant | reference | participant.reference |
patient | reference | participant.reference, AuditEvent.object.reference |
policy | uri | participant.policy |
reference | reference | object.reference |
site | text | source.site |
source | text | source.identifier |
subtype | text | event.subtype |
type | text | event.type |
user | text | participant.userId |