ResMed Core Implementation Guide
0.37.0 - ci-build International flag

ResMed Core Implementation Guide - Local Development build (v0.37.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: ResMed Operation Failed AuditEvent

Official URL: http://resmed.com/fhir/core/StructureDefinition/auditevent-rmd-operation-failed Version: 0.37.0
Draft as of 2024-01-11 Computable Name: AuditEventRmdOperationFailed

Basic AuditEvent for a failed REST-ful operation

Usage:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from AuditEvent

NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent C0..*AuditEventEvent record kept for security purposes
agent-is-a-resmed-system: Agent
... Slices for contained 1..*ResourceContained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:outcome S1..*OperationOutcomeContained, inline Resources
... type 1..1CodingRestful Operation
Required Pattern: At least the following
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-event-type
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: rest
... Slices for subtype S1..*CodingMore specific type/id for the event
Slice: Unordered, Open by value:$this
.... subtype:anyOp 1..1CodingMore specific type/id for the event
Binding: TypeRestfulInteraction (required)
... Slices for agent S2..*BackboneElementActor involved in the event
Slice: Unordered, Open by pattern:type
.... agent:clientOrServer 2..2BackboneElementActor involved in the event
..... type S1..1CodeableConceptHow agent participated
Binding: ResMed AuditEvent Application Agent Role ValueSet (required)
..... requestor 1..1booleanWhether user is initiator
Required Pattern: false
..... media 0..0
..... network 1..1BackboneElementLogical network location for application activity
.... agent:ouser 0..1BackboneElementA user agent profile that (sort of) follows the IHE.BasicAudit.OAUTHaccessTokenUse.Minimal profile.
..... type 1..1CodeableConceptHow agent participated
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/UserAgentTypes
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: UserOauthAgent
..... who 1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Identifier of who
...... identifier S1..1IdentifierLogical reference, when literal reference is not known
....... system 1..1uriOAuth Token Issuer
....... value 1..1stringUser ID, i.e. OAuth sub claim.
..... requestor 1..1booleanWhether user is initiator
Required Pattern: true
..... policy S1..1uriJTI (JWT ID)
... source
.... site S1..1stringThe fully qualified domain name of the ResMed system authoring these events.
.... observer 1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)The identifier of the ResMed system.
..... identifier 1..1IdentifierLogical reference, when literal reference is not known
...... system 1..1uriThe namespace for the identifier value
Required Pattern: http://terminology.resmed.com/CodeSystem/resmed-system-identifier
... Slices for entity S1..*BackboneElementData or objects used
Slice: Unordered, Open by pattern:type
.... entity:transaction 0..1BackboneElementAn entity representing the client request ID. This is a replication of the same entity found in the IHE BALP profiles.
..... what 1..1Reference(Resource)Specific instance of resource
...... identifier 1..1Identifierthe value of X-Request-Id
....... value 1..1stringThe value that is unique
..... type 1..1CodingType of entity involved
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: XrequestId
.... entity:outcome 1..1BackboneElementData or objects used
..... what 1..1Reference(OperationOutcome)Specific instance of resource
..... type 1..1CodingSystem Object
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-entity-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 2
..... role 1..1CodingDomain Resource
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/object-role
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 4
.... entity:tenantId 0..1BackboneElementData or objects used
..... what S1..1Reference(Resource)Specific instance of resource
...... reference 0..0
...... identifier S1..1IdentifierLogical reference, when literal reference is not known
....... value S1..1stringThe value that is unique
..... type 1..1CodingType of entity involved
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: tenant-id
.... entity:traceId 0..1BackboneElementData or objects used
..... what S1..1Reference(Resource)Specific instance of resource
...... reference 0..0
...... identifier S1..1IdentifierLogical reference, when literal reference is not known
....... value S1..1stringThe value that is unique
..... type 1..1CodingType of entity involved
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: trace-id

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
AuditEvent.subtype:anyOprequiredTypeRestfulInteraction
AuditEvent.outcomerequiredValueSetResMedAuditEventOutcome
AuditEvent.agent:clientOrServer.typerequiredValueSetResMedAuditEventAppAgentRole

Constraints

IdGradePath(s)DetailsRequirements
agent-is-a-resmed-systemerrorAuditEventAgent
: agent.who.identifier.exists(system = 'http://terminology.resmed.com/CodeSystem/resmed-system-identifier')
NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent C0..*AuditEventEvent record kept for security purposes
agent-is-a-resmed-system: Agent
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for contained 1..*ResourceContained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:outcome S1..*OperationOutcomeContained, inline Resources
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-event-type
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: rest
... Slices for subtype SΣ1..*CodingMore specific type/id for the event
Slice: Unordered, Open by value:$this
Binding: AuditEventSub-Type (extensible): Sub-type of event.


.... subtype:anyOp Σ1..1CodingMore specific type/id for the event
Binding: TypeRestfulInteraction (required)
... recorded Σ1..1instantTime when the event was recorded
... outcome SΣ1..1codeWhether the event succeeded or failed
Binding: ResMed AuditEvent Outcome ValueSet (required)
... Slices for agent S2..*BackboneElementActor involved in the event
Slice: Unordered, Open by pattern:type
.... agent:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... requestor Σ1..1booleanWhether user is initiator
.... agent:clientOrServer 2..2BackboneElementActor involved in the event
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type S1..1CodeableConceptHow agent participated
Binding: ResMed AuditEvent Application Agent Role ValueSet (required)
..... requestor Σ1..1booleanWhether user is initiator
Required Pattern: false
..... network 1..1BackboneElementLogical network location for application activity
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... agent:ouser 0..1BackboneElementA user agent profile that (sort of) follows the IHE.BasicAudit.OAUTHaccessTokenUse.Minimal profile.
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 1..1CodeableConceptHow agent participated
Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/UserAgentTypes
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: UserOauthAgent
..... who Σ1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Identifier of who
...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... system Σ1..1uriOAuth Token Issuer
Example General: http://www.acme.com/identifiers/patient
....... value Σ1..1stringUser ID, i.e. OAuth sub claim.
Example General: 123456
..... requestor Σ1..1booleanWhether user is initiator
Required Pattern: true
..... policy S1..1uriJTI (JWT ID)
... source 1..1BackboneElementAudit Event Reporter
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... site S1..1stringThe fully qualified domain name of the ResMed system authoring these events.
.... observer Σ1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)The identifier of the ResMed system.
..... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
...... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

...... system Σ1..1uriThe namespace for the identifier value
Required Pattern: http://terminology.resmed.com/CodeSystem/resmed-system-identifier
... Slices for entity SC1..*BackboneElementData or objects used
Slice: Unordered, Open by pattern:type
.... entity:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... entity:transaction C0..1BackboneElementAn entity representing the client request ID. This is a replication of the same entity found in the IHE BALP profiles.
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what Σ1..1Reference(Resource)Specific instance of resource
...... identifier Σ1..1Identifierthe value of X-Request-Id
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... value Σ1..1stringThe value that is unique
Example General: 123456
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: XrequestId
.... entity:outcome C1..1BackboneElementData or objects used
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what Σ1..1Reference(OperationOutcome)Specific instance of resource
..... type 1..1CodingSystem Object
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-entity-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 2
..... role 1..1CodingDomain Resource
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.


Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/object-role
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 4
.... entity:tenantId C0..1BackboneElementData or objects used
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what SΣ1..1Reference(Resource)Specific instance of resource
...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... value SΣ1..1stringThe value that is unique
Example General: 123456
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: tenant-id
.... entity:traceId C0..1BackboneElementData or objects used
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what SΣ1..1Reference(Resource)Specific instance of resource
...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... value SΣ1..1stringThe value that is unique
Example General: 123456
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: trace-id

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
AuditEvent.typeextensiblePattern: rest
AuditEvent.subtypeextensibleAuditEventSub-Type
AuditEvent.subtype:anyOprequiredTypeRestfulInteraction
AuditEvent.outcomerequiredValueSetResMedAuditEventOutcome
AuditEvent.agent:clientOrServer.typerequiredValueSetResMedAuditEventAppAgentRole
AuditEvent.agent:ouser.typeextensiblePattern: UserOauthAgent
AuditEvent.agent:ouser.who.identifier.userequiredIdentifierUse
AuditEvent.source.observer.identifier.userequiredIdentifierUse
AuditEvent.entity:transaction.what.identifier.userequiredIdentifierUse
AuditEvent.entity:transaction.typeextensiblePattern: XrequestId
AuditEvent.entity:outcome.typeextensiblePattern: 2
AuditEvent.entity:outcome.roleextensiblePattern: 4
AuditEvent.entity:tenantId.what.identifier.userequiredIdentifierUse
AuditEvent.entity:tenantId.typeextensiblePattern: tenant-id
AuditEvent.entity:traceId.what.identifier.userequiredIdentifierUse
AuditEvent.entity:traceId.typeextensiblePattern: trace-id

Constraints

IdGradePath(s)DetailsRequirements
agent-is-a-resmed-systemerrorAuditEventAgent
: agent.who.identifier.exists(system = 'http://terminology.resmed.com/CodeSystem/resmed-system-identifier')
dom-2errorAuditEventIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAuditEventIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAuditEventIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorAuditEventIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAuditEventA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
sev-1errorAuditEvent.entity, AuditEvent.entity:transaction, AuditEvent.entity:outcome, AuditEvent.entity:tenantId, AuditEvent.entity:traceIdEither a name or a query (NOT both)
: name.empty() or query.empty()
NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent C0..*AuditEventEvent record kept for security purposes
agent-is-a-resmed-system: Agent
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... Slices for contained 1..*ResourceContained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:outcome S1..*OperationOutcomeContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... type Σ1..1CodingRestful Operation
Binding: AuditEventID (extensible): Type of event.


Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-event-type
.... version0..1stringVersion of the system - if relevant
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: rest
.... display0..1stringRepresentation defined by the system
.... userSelected0..1booleanIf this coding was chosen directly by the user
... Slices for subtype SΣ1..*CodingMore specific type/id for the event
Slice: Unordered, Open by value:$this
Binding: AuditEventSub-Type (extensible): Sub-type of event.


.... subtype:anyOp Σ1..1CodingMore specific type/id for the event
Binding: TypeRestfulInteraction (required)
... action Σ0..1codeType of action performed during the event
Binding: AuditEventAction (required): Indicator for type of action performed during the event that generated the event.

... period 0..1PeriodWhen the activity occurred
... recorded Σ1..1instantTime when the event was recorded
... outcome SΣ1..1codeWhether the event succeeded or failed
Binding: ResMed AuditEvent Outcome ValueSet (required)
... outcomeDesc Σ0..1stringDescription of the event outcome
... purposeOfEvent Σ0..*CodeableConceptThe purposeOfUse of the event
Binding: PurposeOfUse (extensible): The reason the activity took place.


... Slices for agent S2..*BackboneElementActor involved in the event
Slice: Unordered, Open by pattern:type
.... agent:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 0..1CodeableConceptHow agent participated
Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event.

..... role 0..*CodeableConceptAgent role in the event
Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event.


..... who Σ0..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Identifier of who
..... altId 0..1stringAlternative User identity
..... name 0..1stringHuman friendly name for the agent
..... requestor Σ1..1booleanWhether user is initiator
..... location 0..1Reference(Location)Where
..... policy 0..*uriPolicy that authorized event
..... media 0..1CodingType of media
Binding: MediaTypeCode (extensible): Used when the event is about exporting/importing onto media.

..... network 0..1BackboneElementLogical network location for application activity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... address 0..1stringIdentifier for the network access point of the user device
...... type 0..1codeThe type of network access point
Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event.

..... purposeOfUse 0..*CodeableConceptReason given for this user
Binding: PurposeOfUse (extensible): The reason the activity took place.


.... agent:clientOrServer 2..2BackboneElementActor involved in the event
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type S1..1CodeableConceptHow agent participated
Binding: ResMed AuditEvent Application Agent Role ValueSet (required)
..... role 0..*CodeableConceptAgent role in the event
Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event.


..... who Σ0..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Identifier of who
..... altId 0..1stringAlternative User identity
..... name 0..1stringHuman friendly name for the agent
..... requestor Σ1..1booleanWhether user is initiator
Required Pattern: false
..... location 0..1Reference(Location)Where
..... policy 0..*uriPolicy that authorized event
..... network 1..1BackboneElementLogical network location for application activity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... address 0..1stringIdentifier for the network access point of the user device
...... type 0..1codeThe type of network access point
Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event.

..... purposeOfUse 0..*CodeableConceptReason given for this user
Binding: PurposeOfUse (extensible): The reason the activity took place.


.... agent:ouser 0..1BackboneElementA user agent profile that (sort of) follows the IHE.BasicAudit.OAUTHaccessTokenUse.Minimal profile.
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 1..1CodeableConceptHow agent participated
Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/UserAgentTypes
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: UserOauthAgent
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... role 0..*CodeableConceptAgent role in the event
Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event.


..... who Σ1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Identifier of who
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

....... system Σ1..1uriOAuth Token Issuer
Example General: http://www.acme.com/identifiers/patient
....... value Σ1..1stringUser ID, i.e. OAuth sub claim.
Example General: 123456
....... period Σ0..1PeriodTime period when id is/was valid for use
....... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
...... display Σ0..1stringText alternative for the resource
..... altId 0..1stringAlternative User identity
..... name 0..1stringHuman friendly name for the agent
..... requestor Σ1..1booleanWhether user is initiator
Required Pattern: true
..... location 0..1Reference(Location)Where
..... policy S1..1uriJTI (JWT ID)
..... media 0..1CodingType of media
Binding: MediaTypeCode (extensible): Used when the event is about exporting/importing onto media.

..... network 0..1BackboneElementLogical network location for application activity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... address 0..1stringIdentifier for the network access point of the user device
...... type 0..1codeThe type of network access point
Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event.

..... purposeOfUse 0..*CodeableConceptReason given for this user
Binding: PurposeOfUse (extensible): The reason the activity took place.


... source 1..1BackboneElementAudit Event Reporter
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... site S1..1stringThe fully qualified domain name of the ResMed system authoring these events.
.... observer Σ1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)The identifier of the ResMed system.
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

...... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

...... system Σ1..1uriThe namespace for the identifier value
Required Pattern: http://terminology.resmed.com/CodeSystem/resmed-system-identifier
...... value Σ0..1stringThe value that is unique
Example General: 123456
...... period Σ0..1PeriodTime period when id is/was valid for use
...... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
..... display Σ0..1stringText alternative for the resource
.... type 0..*CodingThe type of source where event originated
Binding: AuditEventSourceType (extensible): Code specifying the type of system that detected and recorded the event.


... Slices for entity SC1..*BackboneElementData or objects used
Slice: Unordered, Open by pattern:type
.... entity:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what Σ0..1Reference(Resource)Specific instance of resource
..... type 0..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.

..... role 0..1CodingWhat role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.

..... lifecycle 0..1CodingLife-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.

..... securityLabel 0..*CodingSecurity labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... name ΣC0..1stringDescriptor for entity
..... description 0..1stringDescriptive text
..... query ΣC0..1base64BinaryQuery parameters
..... detail 0..*BackboneElementAdditional Information about the entity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... type 1..1stringName of the property
...... value[x] 1..1Property value
....... valueStringstring
....... valueBase64Binarybase64Binary
.... entity:transaction C0..1BackboneElementAn entity representing the client request ID. This is a replication of the same entity found in the IHE BALP profiles.
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what Σ1..1Reference(Resource)Specific instance of resource
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ1..1Identifierthe value of X-Request-Id
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

....... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
....... value Σ1..1stringThe value that is unique
Example General: 123456
....... period Σ0..1PeriodTime period when id is/was valid for use
....... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
...... display Σ0..1stringText alternative for the resource
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: XrequestId
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... role 0..1CodingWhat role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.

..... lifecycle 0..1CodingLife-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.

..... securityLabel 0..*CodingSecurity labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... name ΣC0..1stringDescriptor for entity
..... description 0..1stringDescriptive text
..... query ΣC0..1base64BinaryQuery parameters
..... detail 0..*BackboneElementAdditional Information about the entity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... type 1..1stringName of the property
...... value[x] 1..1Property value
....... valueStringstring
....... valueBase64Binarybase64Binary
.... entity:outcome C1..1BackboneElementData or objects used
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what Σ1..1Reference(OperationOutcome)Specific instance of resource
..... type 1..1CodingSystem Object
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-entity-type
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 2
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... role 1..1CodingDomain Resource
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/object-role
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 4
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... lifecycle 0..1CodingLife-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.

..... securityLabel 0..*CodingSecurity labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... name ΣC0..1stringDescriptor for entity
..... description 0..1stringDescriptive text
..... query ΣC0..1base64BinaryQuery parameters
..... detail 0..*BackboneElementAdditional Information about the entity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... type 1..1stringName of the property
...... value[x] 1..1Property value
....... valueStringstring
....... valueBase64Binarybase64Binary
.... entity:tenantId C0..1BackboneElementData or objects used
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what SΣ1..1Reference(Resource)Specific instance of resource
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

....... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
....... value SΣ1..1stringThe value that is unique
Example General: 123456
....... period Σ0..1PeriodTime period when id is/was valid for use
....... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
...... display Σ0..1stringText alternative for the resource
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: tenant-id
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... role 0..1CodingWhat role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.

..... lifecycle 0..1CodingLife-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.

..... securityLabel 0..*CodingSecurity labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... name ΣC0..1stringDescriptor for entity
..... description 0..1stringDescriptive text
..... query ΣC0..1base64BinaryQuery parameters
..... detail 0..*BackboneElementAdditional Information about the entity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... type 1..1stringName of the property
...... value[x] 1..1Property value
....... valueStringstring
....... valueBase64Binarybase64Binary
.... entity:traceId C0..1BackboneElementData or objects used
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what SΣ1..1Reference(Resource)Specific instance of resource
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

....... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
....... value SΣ1..1stringThe value that is unique
Example General: 123456
....... period Σ0..1PeriodTime period when id is/was valid for use
....... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
...... display Σ0..1stringText alternative for the resource
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: trace-id
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... role 0..1CodingWhat role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.

..... lifecycle 0..1CodingLife-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.

..... securityLabel 0..*CodingSecurity labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... name ΣC0..1stringDescriptor for entity
..... description 0..1stringDescriptive text
..... query ΣC0..1base64BinaryQuery parameters
..... detail 0..*BackboneElementAdditional Information about the entity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... type 1..1stringName of the property
...... value[x] 1..1Property value
....... valueStringstring
....... valueBase64Binarybase64Binary

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
AuditEvent.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
AuditEvent.typeextensiblePattern: rest
AuditEvent.subtypeextensibleAuditEventSub-Type
AuditEvent.subtype:anyOprequiredTypeRestfulInteraction
AuditEvent.actionrequiredAuditEventAction
AuditEvent.outcomerequiredValueSetResMedAuditEventOutcome
AuditEvent.purposeOfEventextensiblePurposeOfUse
AuditEvent.agent.typeextensibleParticipationRoleType
AuditEvent.agent.roleexampleSecurityRoleType
AuditEvent.agent.mediaextensibleMediaTypeCode
AuditEvent.agent.network.typerequiredAuditEventAgentNetworkType
AuditEvent.agent.purposeOfUseextensiblePurposeOfUse
AuditEvent.agent:clientOrServer.typerequiredValueSetResMedAuditEventAppAgentRole
AuditEvent.agent:clientOrServer.roleexampleSecurityRoleType
AuditEvent.agent:clientOrServer.network.typerequiredAuditEventAgentNetworkType
AuditEvent.agent:clientOrServer.purposeOfUseextensiblePurposeOfUse
AuditEvent.agent:ouser.typeextensiblePattern: UserOauthAgent
AuditEvent.agent:ouser.roleexampleSecurityRoleType
AuditEvent.agent:ouser.who.typeextensibleResourceType
AuditEvent.agent:ouser.who.identifier.userequiredIdentifierUse
AuditEvent.agent:ouser.who.identifier.typeextensibleIdentifier Type Codes
AuditEvent.agent:ouser.mediaextensibleMediaTypeCode
AuditEvent.agent:ouser.network.typerequiredAuditEventAgentNetworkType
AuditEvent.agent:ouser.purposeOfUseextensiblePurposeOfUse
AuditEvent.source.observer.typeextensibleResourceType
AuditEvent.source.observer.identifier.userequiredIdentifierUse
AuditEvent.source.observer.identifier.typeextensibleIdentifier Type Codes
AuditEvent.source.typeextensibleAuditEventSourceType
AuditEvent.entity.typeextensibleAuditEventEntityType
AuditEvent.entity.roleextensibleAuditEventEntityRole
AuditEvent.entity.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity.securityLabelextensibleAll Security Labels
AuditEvent.entity:transaction.what.typeextensibleResourceType
AuditEvent.entity:transaction.what.identifier.userequiredIdentifierUse
AuditEvent.entity:transaction.what.identifier.typeextensibleIdentifier Type Codes
AuditEvent.entity:transaction.typeextensiblePattern: XrequestId
AuditEvent.entity:transaction.roleextensibleAuditEventEntityRole
AuditEvent.entity:transaction.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity:transaction.securityLabelextensibleAll Security Labels
AuditEvent.entity:outcome.typeextensiblePattern: 2
AuditEvent.entity:outcome.roleextensiblePattern: 4
AuditEvent.entity:outcome.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity:outcome.securityLabelextensibleAll Security Labels
AuditEvent.entity:tenantId.what.typeextensibleResourceType
AuditEvent.entity:tenantId.what.identifier.userequiredIdentifierUse
AuditEvent.entity:tenantId.what.identifier.typeextensibleIdentifier Type Codes
AuditEvent.entity:tenantId.typeextensiblePattern: tenant-id
AuditEvent.entity:tenantId.roleextensibleAuditEventEntityRole
AuditEvent.entity:tenantId.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity:tenantId.securityLabelextensibleAll Security Labels
AuditEvent.entity:traceId.what.typeextensibleResourceType
AuditEvent.entity:traceId.what.identifier.userequiredIdentifierUse
AuditEvent.entity:traceId.what.identifier.typeextensibleIdentifier Type Codes
AuditEvent.entity:traceId.typeextensiblePattern: trace-id
AuditEvent.entity:traceId.roleextensibleAuditEventEntityRole
AuditEvent.entity:traceId.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity:traceId.securityLabelextensibleAll Security Labels

Constraints

IdGradePath(s)DetailsRequirements
agent-is-a-resmed-systemerrorAuditEventAgent
: agent.who.identifier.exists(system = 'http://terminology.resmed.com/CodeSystem/resmed-system-identifier')
dom-2errorAuditEventIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAuditEventIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAuditEventIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorAuditEventIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAuditEventA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
sev-1errorAuditEvent.entity, AuditEvent.entity:transaction, AuditEvent.entity:outcome, AuditEvent.entity:tenantId, AuditEvent.entity:traceIdEither a name or a query (NOT both)
: name.empty() or query.empty()

This structure is derived from AuditEvent

Summary

Mandatory: 15 elements (18 nested mandatory elements)
Must-Support: 15 elements
Prohibited: 3 elements

Slices

This structure defines the following Slices:

  • The element AuditEvent.contained is sliced based on the value of type:$this
  • The element AuditEvent.subtype is sliced based on the value of value:$this
  • The element AuditEvent.agent is sliced based on the value of pattern:type
  • The element AuditEvent.entity is sliced based on the value of pattern:type

Differential View

This structure is derived from AuditEvent

NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent C0..*AuditEventEvent record kept for security purposes
agent-is-a-resmed-system: Agent
... Slices for contained 1..*ResourceContained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:outcome S1..*OperationOutcomeContained, inline Resources
... type 1..1CodingRestful Operation
Required Pattern: At least the following
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-event-type
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: rest
... Slices for subtype S1..*CodingMore specific type/id for the event
Slice: Unordered, Open by value:$this
.... subtype:anyOp 1..1CodingMore specific type/id for the event
Binding: TypeRestfulInteraction (required)
... Slices for agent S2..*BackboneElementActor involved in the event
Slice: Unordered, Open by pattern:type
.... agent:clientOrServer 2..2BackboneElementActor involved in the event
..... type S1..1CodeableConceptHow agent participated
Binding: ResMed AuditEvent Application Agent Role ValueSet (required)
..... requestor 1..1booleanWhether user is initiator
Required Pattern: false
..... media 0..0
..... network 1..1BackboneElementLogical network location for application activity
.... agent:ouser 0..1BackboneElementA user agent profile that (sort of) follows the IHE.BasicAudit.OAUTHaccessTokenUse.Minimal profile.
..... type 1..1CodeableConceptHow agent participated
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/UserAgentTypes
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: UserOauthAgent
..... who 1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Identifier of who
...... identifier S1..1IdentifierLogical reference, when literal reference is not known
....... system 1..1uriOAuth Token Issuer
....... value 1..1stringUser ID, i.e. OAuth sub claim.
..... requestor 1..1booleanWhether user is initiator
Required Pattern: true
..... policy S1..1uriJTI (JWT ID)
... source
.... site S1..1stringThe fully qualified domain name of the ResMed system authoring these events.
.... observer 1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)The identifier of the ResMed system.
..... identifier 1..1IdentifierLogical reference, when literal reference is not known
...... system 1..1uriThe namespace for the identifier value
Required Pattern: http://terminology.resmed.com/CodeSystem/resmed-system-identifier
... Slices for entity S1..*BackboneElementData or objects used
Slice: Unordered, Open by pattern:type
.... entity:transaction 0..1BackboneElementAn entity representing the client request ID. This is a replication of the same entity found in the IHE BALP profiles.
..... what 1..1Reference(Resource)Specific instance of resource
...... identifier 1..1Identifierthe value of X-Request-Id
....... value 1..1stringThe value that is unique
..... type 1..1CodingType of entity involved
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: XrequestId
.... entity:outcome 1..1BackboneElementData or objects used
..... what 1..1Reference(OperationOutcome)Specific instance of resource
..... type 1..1CodingSystem Object
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-entity-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 2
..... role 1..1CodingDomain Resource
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/object-role
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 4
.... entity:tenantId 0..1BackboneElementData or objects used
..... what S1..1Reference(Resource)Specific instance of resource
...... reference 0..0
...... identifier S1..1IdentifierLogical reference, when literal reference is not known
....... value S1..1stringThe value that is unique
..... type 1..1CodingType of entity involved
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: tenant-id
.... entity:traceId 0..1BackboneElementData or objects used
..... what S1..1Reference(Resource)Specific instance of resource
...... reference 0..0
...... identifier S1..1IdentifierLogical reference, when literal reference is not known
....... value S1..1stringThe value that is unique
..... type 1..1CodingType of entity involved
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: trace-id

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
AuditEvent.subtype:anyOprequiredTypeRestfulInteraction
AuditEvent.outcomerequiredValueSetResMedAuditEventOutcome
AuditEvent.agent:clientOrServer.typerequiredValueSetResMedAuditEventAppAgentRole

Constraints

IdGradePath(s)DetailsRequirements
agent-is-a-resmed-systemerrorAuditEventAgent
: agent.who.identifier.exists(system = 'http://terminology.resmed.com/CodeSystem/resmed-system-identifier')

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent C0..*AuditEventEvent record kept for security purposes
agent-is-a-resmed-system: Agent
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for contained 1..*ResourceContained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:outcome S1..*OperationOutcomeContained, inline Resources
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-event-type
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: rest
... Slices for subtype SΣ1..*CodingMore specific type/id for the event
Slice: Unordered, Open by value:$this
Binding: AuditEventSub-Type (extensible): Sub-type of event.


.... subtype:anyOp Σ1..1CodingMore specific type/id for the event
Binding: TypeRestfulInteraction (required)
... recorded Σ1..1instantTime when the event was recorded
... outcome SΣ1..1codeWhether the event succeeded or failed
Binding: ResMed AuditEvent Outcome ValueSet (required)
... Slices for agent S2..*BackboneElementActor involved in the event
Slice: Unordered, Open by pattern:type
.... agent:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... requestor Σ1..1booleanWhether user is initiator
.... agent:clientOrServer 2..2BackboneElementActor involved in the event
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type S1..1CodeableConceptHow agent participated
Binding: ResMed AuditEvent Application Agent Role ValueSet (required)
..... requestor Σ1..1booleanWhether user is initiator
Required Pattern: false
..... network 1..1BackboneElementLogical network location for application activity
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... agent:ouser 0..1BackboneElementA user agent profile that (sort of) follows the IHE.BasicAudit.OAUTHaccessTokenUse.Minimal profile.
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 1..1CodeableConceptHow agent participated
Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/UserAgentTypes
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: UserOauthAgent
..... who Σ1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Identifier of who
...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... system Σ1..1uriOAuth Token Issuer
Example General: http://www.acme.com/identifiers/patient
....... value Σ1..1stringUser ID, i.e. OAuth sub claim.
Example General: 123456
..... requestor Σ1..1booleanWhether user is initiator
Required Pattern: true
..... policy S1..1uriJTI (JWT ID)
... source 1..1BackboneElementAudit Event Reporter
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... site S1..1stringThe fully qualified domain name of the ResMed system authoring these events.
.... observer Σ1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)The identifier of the ResMed system.
..... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
...... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

...... system Σ1..1uriThe namespace for the identifier value
Required Pattern: http://terminology.resmed.com/CodeSystem/resmed-system-identifier
... Slices for entity SC1..*BackboneElementData or objects used
Slice: Unordered, Open by pattern:type
.... entity:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... entity:transaction C0..1BackboneElementAn entity representing the client request ID. This is a replication of the same entity found in the IHE BALP profiles.
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what Σ1..1Reference(Resource)Specific instance of resource
...... identifier Σ1..1Identifierthe value of X-Request-Id
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... value Σ1..1stringThe value that is unique
Example General: 123456
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: XrequestId
.... entity:outcome C1..1BackboneElementData or objects used
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what Σ1..1Reference(OperationOutcome)Specific instance of resource
..... type 1..1CodingSystem Object
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-entity-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 2
..... role 1..1CodingDomain Resource
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.


Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/object-role
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 4
.... entity:tenantId C0..1BackboneElementData or objects used
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what SΣ1..1Reference(Resource)Specific instance of resource
...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... value SΣ1..1stringThe value that is unique
Example General: 123456
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: tenant-id
.... entity:traceId C0..1BackboneElementData or objects used
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what SΣ1..1Reference(Resource)Specific instance of resource
...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... value SΣ1..1stringThe value that is unique
Example General: 123456
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: trace-id

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
AuditEvent.typeextensiblePattern: rest
AuditEvent.subtypeextensibleAuditEventSub-Type
AuditEvent.subtype:anyOprequiredTypeRestfulInteraction
AuditEvent.outcomerequiredValueSetResMedAuditEventOutcome
AuditEvent.agent:clientOrServer.typerequiredValueSetResMedAuditEventAppAgentRole
AuditEvent.agent:ouser.typeextensiblePattern: UserOauthAgent
AuditEvent.agent:ouser.who.identifier.userequiredIdentifierUse
AuditEvent.source.observer.identifier.userequiredIdentifierUse
AuditEvent.entity:transaction.what.identifier.userequiredIdentifierUse
AuditEvent.entity:transaction.typeextensiblePattern: XrequestId
AuditEvent.entity:outcome.typeextensiblePattern: 2
AuditEvent.entity:outcome.roleextensiblePattern: 4
AuditEvent.entity:tenantId.what.identifier.userequiredIdentifierUse
AuditEvent.entity:tenantId.typeextensiblePattern: tenant-id
AuditEvent.entity:traceId.what.identifier.userequiredIdentifierUse
AuditEvent.entity:traceId.typeextensiblePattern: trace-id

Constraints

IdGradePath(s)DetailsRequirements
agent-is-a-resmed-systemerrorAuditEventAgent
: agent.who.identifier.exists(system = 'http://terminology.resmed.com/CodeSystem/resmed-system-identifier')
dom-2errorAuditEventIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAuditEventIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAuditEventIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorAuditEventIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAuditEventA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
sev-1errorAuditEvent.entity, AuditEvent.entity:transaction, AuditEvent.entity:outcome, AuditEvent.entity:tenantId, AuditEvent.entity:traceIdEither a name or a query (NOT both)
: name.empty() or query.empty()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent C0..*AuditEventEvent record kept for security purposes
agent-is-a-resmed-system: Agent
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... Slices for contained 1..*ResourceContained, inline Resources
Slice: Unordered, Open by type:$this
.... contained:outcome S1..*OperationOutcomeContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... type Σ1..1CodingRestful Operation
Binding: AuditEventID (extensible): Type of event.


Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-event-type
.... version0..1stringVersion of the system - if relevant
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: rest
.... display0..1stringRepresentation defined by the system
.... userSelected0..1booleanIf this coding was chosen directly by the user
... Slices for subtype SΣ1..*CodingMore specific type/id for the event
Slice: Unordered, Open by value:$this
Binding: AuditEventSub-Type (extensible): Sub-type of event.


.... subtype:anyOp Σ1..1CodingMore specific type/id for the event
Binding: TypeRestfulInteraction (required)
... action Σ0..1codeType of action performed during the event
Binding: AuditEventAction (required): Indicator for type of action performed during the event that generated the event.

... period 0..1PeriodWhen the activity occurred
... recorded Σ1..1instantTime when the event was recorded
... outcome SΣ1..1codeWhether the event succeeded or failed
Binding: ResMed AuditEvent Outcome ValueSet (required)
... outcomeDesc Σ0..1stringDescription of the event outcome
... purposeOfEvent Σ0..*CodeableConceptThe purposeOfUse of the event
Binding: PurposeOfUse (extensible): The reason the activity took place.


... Slices for agent S2..*BackboneElementActor involved in the event
Slice: Unordered, Open by pattern:type
.... agent:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 0..1CodeableConceptHow agent participated
Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event.

..... role 0..*CodeableConceptAgent role in the event
Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event.


..... who Σ0..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Identifier of who
..... altId 0..1stringAlternative User identity
..... name 0..1stringHuman friendly name for the agent
..... requestor Σ1..1booleanWhether user is initiator
..... location 0..1Reference(Location)Where
..... policy 0..*uriPolicy that authorized event
..... media 0..1CodingType of media
Binding: MediaTypeCode (extensible): Used when the event is about exporting/importing onto media.

..... network 0..1BackboneElementLogical network location for application activity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... address 0..1stringIdentifier for the network access point of the user device
...... type 0..1codeThe type of network access point
Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event.

..... purposeOfUse 0..*CodeableConceptReason given for this user
Binding: PurposeOfUse (extensible): The reason the activity took place.


.... agent:clientOrServer 2..2BackboneElementActor involved in the event
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type S1..1CodeableConceptHow agent participated
Binding: ResMed AuditEvent Application Agent Role ValueSet (required)
..... role 0..*CodeableConceptAgent role in the event
Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event.


..... who Σ0..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Identifier of who
..... altId 0..1stringAlternative User identity
..... name 0..1stringHuman friendly name for the agent
..... requestor Σ1..1booleanWhether user is initiator
Required Pattern: false
..... location 0..1Reference(Location)Where
..... policy 0..*uriPolicy that authorized event
..... network 1..1BackboneElementLogical network location for application activity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... address 0..1stringIdentifier for the network access point of the user device
...... type 0..1codeThe type of network access point
Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event.

..... purposeOfUse 0..*CodeableConceptReason given for this user
Binding: PurposeOfUse (extensible): The reason the activity took place.


.... agent:ouser 0..1BackboneElementA user agent profile that (sort of) follows the IHE.BasicAudit.OAUTHaccessTokenUse.Minimal profile.
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 1..1CodeableConceptHow agent participated
Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/UserAgentTypes
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: UserOauthAgent
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... role 0..*CodeableConceptAgent role in the event
Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event.


..... who Σ1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)Identifier of who
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

....... system Σ1..1uriOAuth Token Issuer
Example General: http://www.acme.com/identifiers/patient
....... value Σ1..1stringUser ID, i.e. OAuth sub claim.
Example General: 123456
....... period Σ0..1PeriodTime period when id is/was valid for use
....... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
...... display Σ0..1stringText alternative for the resource
..... altId 0..1stringAlternative User identity
..... name 0..1stringHuman friendly name for the agent
..... requestor Σ1..1booleanWhether user is initiator
Required Pattern: true
..... location 0..1Reference(Location)Where
..... policy S1..1uriJTI (JWT ID)
..... media 0..1CodingType of media
Binding: MediaTypeCode (extensible): Used when the event is about exporting/importing onto media.

..... network 0..1BackboneElementLogical network location for application activity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... address 0..1stringIdentifier for the network access point of the user device
...... type 0..1codeThe type of network access point
Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event.

..... purposeOfUse 0..*CodeableConceptReason given for this user
Binding: PurposeOfUse (extensible): The reason the activity took place.


... source 1..1BackboneElementAudit Event Reporter
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... site S1..1stringThe fully qualified domain name of the ResMed system authoring these events.
.... observer Σ1..1Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson)The identifier of the ResMed system.
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier Σ1..1IdentifierLogical reference, when literal reference is not known
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

...... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

...... system Σ1..1uriThe namespace for the identifier value
Required Pattern: http://terminology.resmed.com/CodeSystem/resmed-system-identifier
...... value Σ0..1stringThe value that is unique
Example General: 123456
...... period Σ0..1PeriodTime period when id is/was valid for use
...... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
..... display Σ0..1stringText alternative for the resource
.... type 0..*CodingThe type of source where event originated
Binding: AuditEventSourceType (extensible): Code specifying the type of system that detected and recorded the event.


... Slices for entity SC1..*BackboneElementData or objects used
Slice: Unordered, Open by pattern:type
.... entity:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what Σ0..1Reference(Resource)Specific instance of resource
..... type 0..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.

..... role 0..1CodingWhat role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.

..... lifecycle 0..1CodingLife-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.

..... securityLabel 0..*CodingSecurity labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... name ΣC0..1stringDescriptor for entity
..... description 0..1stringDescriptive text
..... query ΣC0..1base64BinaryQuery parameters
..... detail 0..*BackboneElementAdditional Information about the entity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... type 1..1stringName of the property
...... value[x] 1..1Property value
....... valueStringstring
....... valueBase64Binarybase64Binary
.... entity:transaction C0..1BackboneElementAn entity representing the client request ID. This is a replication of the same entity found in the IHE BALP profiles.
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what Σ1..1Reference(Resource)Specific instance of resource
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ1..1Identifierthe value of X-Request-Id
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

....... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
....... value Σ1..1stringThe value that is unique
Example General: 123456
....... period Σ0..1PeriodTime period when id is/was valid for use
....... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
...... display Σ0..1stringText alternative for the resource
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: XrequestId
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... role 0..1CodingWhat role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.

..... lifecycle 0..1CodingLife-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.

..... securityLabel 0..*CodingSecurity labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... name ΣC0..1stringDescriptor for entity
..... description 0..1stringDescriptive text
..... query ΣC0..1base64BinaryQuery parameters
..... detail 0..*BackboneElementAdditional Information about the entity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... type 1..1stringName of the property
...... value[x] 1..1Property value
....... valueStringstring
....... valueBase64Binarybase64Binary
.... entity:outcome C1..1BackboneElementData or objects used
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what Σ1..1Reference(OperationOutcome)Specific instance of resource
..... type 1..1CodingSystem Object
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/audit-entity-type
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 2
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... role 1..1CodingDomain Resource
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/object-role
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: 4
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... lifecycle 0..1CodingLife-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.

..... securityLabel 0..*CodingSecurity labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... name ΣC0..1stringDescriptor for entity
..... description 0..1stringDescriptive text
..... query ΣC0..1base64BinaryQuery parameters
..... detail 0..*BackboneElementAdditional Information about the entity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... type 1..1stringName of the property
...... value[x] 1..1Property value
....... valueStringstring
....... valueBase64Binarybase64Binary
.... entity:tenantId C0..1BackboneElementData or objects used
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what SΣ1..1Reference(Resource)Specific instance of resource
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

....... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
....... value SΣ1..1stringThe value that is unique
Example General: 123456
....... period Σ0..1PeriodTime period when id is/was valid for use
....... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
...... display Σ0..1stringText alternative for the resource
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: tenant-id
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... role 0..1CodingWhat role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.

..... lifecycle 0..1CodingLife-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.

..... securityLabel 0..*CodingSecurity labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... name ΣC0..1stringDescriptor for entity
..... description 0..1stringDescriptive text
..... query ΣC0..1base64BinaryQuery parameters
..... detail 0..*BackboneElementAdditional Information about the entity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... type 1..1stringName of the property
...... value[x] 1..1Property value
....... valueStringstring
....... valueBase64Binarybase64Binary
.... entity:traceId C0..1BackboneElementData or objects used
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... what SΣ1..1Reference(Resource)Specific instance of resource
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier SΣ1..1IdentifierLogical reference, when literal reference is not known
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

....... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

....... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
....... value SΣ1..1stringThe value that is unique
Example General: 123456
....... period Σ0..1PeriodTime period when id is/was valid for use
....... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
...... display Σ0..1stringText alternative for the resource
..... type 1..1CodingType of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: trace-id
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... role 0..1CodingWhat role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.

..... lifecycle 0..1CodingLife-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.

..... securityLabel 0..*CodingSecurity labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


..... name ΣC0..1stringDescriptor for entity
..... description 0..1stringDescriptive text
..... query ΣC0..1base64BinaryQuery parameters
..... detail 0..*BackboneElementAdditional Information about the entity
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... type 1..1stringName of the property
...... value[x] 1..1Property value
....... valueStringstring
....... valueBase64Binarybase64Binary

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
AuditEvent.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
AuditEvent.typeextensiblePattern: rest
AuditEvent.subtypeextensibleAuditEventSub-Type
AuditEvent.subtype:anyOprequiredTypeRestfulInteraction
AuditEvent.actionrequiredAuditEventAction
AuditEvent.outcomerequiredValueSetResMedAuditEventOutcome
AuditEvent.purposeOfEventextensiblePurposeOfUse
AuditEvent.agent.typeextensibleParticipationRoleType
AuditEvent.agent.roleexampleSecurityRoleType
AuditEvent.agent.mediaextensibleMediaTypeCode
AuditEvent.agent.network.typerequiredAuditEventAgentNetworkType
AuditEvent.agent.purposeOfUseextensiblePurposeOfUse
AuditEvent.agent:clientOrServer.typerequiredValueSetResMedAuditEventAppAgentRole
AuditEvent.agent:clientOrServer.roleexampleSecurityRoleType
AuditEvent.agent:clientOrServer.network.typerequiredAuditEventAgentNetworkType
AuditEvent.agent:clientOrServer.purposeOfUseextensiblePurposeOfUse
AuditEvent.agent:ouser.typeextensiblePattern: UserOauthAgent
AuditEvent.agent:ouser.roleexampleSecurityRoleType
AuditEvent.agent:ouser.who.typeextensibleResourceType
AuditEvent.agent:ouser.who.identifier.userequiredIdentifierUse
AuditEvent.agent:ouser.who.identifier.typeextensibleIdentifier Type Codes
AuditEvent.agent:ouser.mediaextensibleMediaTypeCode
AuditEvent.agent:ouser.network.typerequiredAuditEventAgentNetworkType
AuditEvent.agent:ouser.purposeOfUseextensiblePurposeOfUse
AuditEvent.source.observer.typeextensibleResourceType
AuditEvent.source.observer.identifier.userequiredIdentifierUse
AuditEvent.source.observer.identifier.typeextensibleIdentifier Type Codes
AuditEvent.source.typeextensibleAuditEventSourceType
AuditEvent.entity.typeextensibleAuditEventEntityType
AuditEvent.entity.roleextensibleAuditEventEntityRole
AuditEvent.entity.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity.securityLabelextensibleAll Security Labels
AuditEvent.entity:transaction.what.typeextensibleResourceType
AuditEvent.entity:transaction.what.identifier.userequiredIdentifierUse
AuditEvent.entity:transaction.what.identifier.typeextensibleIdentifier Type Codes
AuditEvent.entity:transaction.typeextensiblePattern: XrequestId
AuditEvent.entity:transaction.roleextensibleAuditEventEntityRole
AuditEvent.entity:transaction.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity:transaction.securityLabelextensibleAll Security Labels
AuditEvent.entity:outcome.typeextensiblePattern: 2
AuditEvent.entity:outcome.roleextensiblePattern: 4
AuditEvent.entity:outcome.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity:outcome.securityLabelextensibleAll Security Labels
AuditEvent.entity:tenantId.what.typeextensibleResourceType
AuditEvent.entity:tenantId.what.identifier.userequiredIdentifierUse
AuditEvent.entity:tenantId.what.identifier.typeextensibleIdentifier Type Codes
AuditEvent.entity:tenantId.typeextensiblePattern: tenant-id
AuditEvent.entity:tenantId.roleextensibleAuditEventEntityRole
AuditEvent.entity:tenantId.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity:tenantId.securityLabelextensibleAll Security Labels
AuditEvent.entity:traceId.what.typeextensibleResourceType
AuditEvent.entity:traceId.what.identifier.userequiredIdentifierUse
AuditEvent.entity:traceId.what.identifier.typeextensibleIdentifier Type Codes
AuditEvent.entity:traceId.typeextensiblePattern: trace-id
AuditEvent.entity:traceId.roleextensibleAuditEventEntityRole
AuditEvent.entity:traceId.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity:traceId.securityLabelextensibleAll Security Labels

Constraints

IdGradePath(s)DetailsRequirements
agent-is-a-resmed-systemerrorAuditEventAgent
: agent.who.identifier.exists(system = 'http://terminology.resmed.com/CodeSystem/resmed-system-identifier')
dom-2errorAuditEventIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAuditEventIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAuditEventIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorAuditEventIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAuditEventA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
sev-1errorAuditEvent.entity, AuditEvent.entity:transaction, AuditEvent.entity:outcome, AuditEvent.entity:tenantId, AuditEvent.entity:traceIdEither a name or a query (NOT both)
: name.empty() or query.empty()

This structure is derived from AuditEvent

Summary

Mandatory: 15 elements (18 nested mandatory elements)
Must-Support: 15 elements
Prohibited: 3 elements

Slices

This structure defines the following Slices:

  • The element AuditEvent.contained is sliced based on the value of type:$this
  • The element AuditEvent.subtype is sliced based on the value of value:$this
  • The element AuditEvent.agent is sliced based on the value of pattern:type
  • The element AuditEvent.entity is sliced based on the value of pattern:type

 

Other representations of profile: CSV, Excel, Schematron