### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/AuditEvent.json
### ----------------------------------------------------
### -- Chunk 10 of 12
alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "AuditEvent.source.site",
      "path" : "AuditEvent.source.site",
      "short" : "Logical source location within the enterprise",
      "definition" : "Logical source location within the healthcare enterprise network.  For example, a hospital or other provider location within a multi-entity provider group.",
      "requirements" : "This value differentiates among the sites in a multi-site enterprise health information system.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.source.site",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.witness"
      },
      {
        "identity" : "rim",
        "map" : ".scopedRole[classCode=LOCE].player.desc"
      },
      {
        "identity" : "dicom",
        "map" : "AuditEnterpriseSiteId"
      }]
    },
    {
      "id" : "AuditEvent.source.observer",
      "path" : "AuditEvent.source.observer",
      "short" : "The identity of source detecting the event",
      "definition" : "Identifier of the source where the event was detected.",
      "requirements" : "This field ties the event to a specific source system. It may be used to group events for analysis according to where the event was detected.",
      "alias" : ["SourceId"],
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.source.observer",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/Organization",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.witness"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      },
      {
        "identity" : "dicom",
        "map" : "AuditSourceId"
      }]
    },
    {
      "id" : "AuditEvent.source.type",
      "path" : "AuditEvent.source.type",
      "short" : "The type of source where event originated",
      "definition" : "Code specifying the type of source where event originated.",
      "requirements" : "This field indicates which type of source is identified by the Audit Source ID. It is an optional value that may be used to group events for analysis according to the type of source where the event occurred.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "AuditEvent.source.type",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Coding"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AuditEventSourceType"
        }],
        "strength" : "extensible",
        "description" : "Code specifying the type of system that detected and recorded the event.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/audit-source-type"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.witness"
      },
      {
        "identity" : "rim",
        "map" : ".code"
      },
      {
        "identity" : "dicom",
        "map" : "AuditSourceTypeCode"
      }]
    },
    {
      "id" : "AuditEvent.entity",
      "path" : "AuditEvent.entity",
      "short" : "Data or objects used",
      "definition" : "Specific instances of data or objects that have been accessed.",
      "comment" : "Required unless the values for event identification, agent identification, and audit source identification are sufficient to document the entire auditable event. Because events may have more than one entity, this group can be a repeating set of values.",
      "requirements" : "The event may have other entities involved.",
      "alias" : ["ParticipantObject"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "AuditEvent.entity",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      },
      {
        "key" : "sev-1",
        "severity" : "error",
        "human" : "Either a name or a query (NOT both)",
        "expression" : "name.empty() or query.empty()",
        "xpath" : "not(exists(f:name)) or not(exists(f:query))"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=SUBJ].target  or  .participation[typeCode=SBJ].role"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectIdentification"
      },
      {
        "identity" : "w3c.prov",
        "map" : "Entity"
      },
      {
        "identity" : "fhirprovenance",
        "map" : "Provenance.target, Provenance.entity"
      }]
    },
    {
      "id" : "AuditEvent.entity.id",
      "path" : "AuditEvent.entity.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "AuditEvent.entity.extension",
      "path" : "AuditEvent.entity.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "AuditEvent.entity.modifierExtension",
      "path" : "AuditEvent.entity.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "AuditEvent.entity.what",
      "path" : "AuditEvent.entity.what",
      "short" : "Specific instance of resource",
      "definition" : "Identifies a specific instance of the entity. The reference should be version specific.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.entity.what",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectID and ParticipantObjectIDTypeCode"
      },
      {
        "identity" : "fhirprovenance",
        "map" : "Provenance.target, Provenance.entity.what"
      }]
    },
    {
      "id" : "AuditEvent.entity.type",
      "path" : "AuditEvent.entity.type",
      "short" : "Type of entity involved",
      "definition" : "The type of the object that was involved in this audit event.",
      "comment" : "This value is distinct from the user's role or any user relationship to the entity.",
      "requirements" : "To describe the object being acted upon. In addition to queries on the subject of the action in an auditable event, it is also important to be able to query on the object type for the action.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.entity.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Coding"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AuditEventEntityType"
        }],
        "strength" : "extensible",
        "description" : "Code for the entity type involved in the audit event.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/audit-entity-type"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : "[self::Act].code or role.player.code"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectTypeCode"
      },
      {
        "identity" : "w3c.prov",
        "map" : "Entity.type"
      },
      {
        "identity" : "fhirprovenance",
        "map" : "Provenance.entity.type"
      }]
    },
    {
      "id" : "AuditEvent.entity.role",
      "path" : "AuditEvent.entity.role",
      "short" : "What role the entity played",
      "definition" : "Code representing the role the entity played in the event being audited.",
      "requirements" : "For some detailed audit analysis it may be necessary to indicate a more granular type of entity, based on the application role it serves.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.entity.role",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Coding"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AuditEventEntityRole"
        }],
        "strength" : "extensible",
        "description" : "Code representing the role the entity played in the audit event.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/object-role"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "rim",
        "map" : "role.code (not sure what this would mean for an Act)"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectTypeCodeRole"
      },
      {
        "identity" : "w3c.prov",
        "map" : "Entity.role"
      }]
    },
    {
      "id" : "AuditEvent.entity.lifecycle",
      "path" : "AuditEvent.entity.lifecycle",
      "short" : "Life-cycle stage for the entity",
      "definition" : "Identifier for the data life-cycle stage for the entity.",
      "comment" : "This can be used to provide an audit trail for data, over time, as it passes through the system.",
      "requirements" : "Institutional policies for privacy and security may optionally fall under different accountability rules based on data life cycle. This provides a differentiating value for those cases.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.entity.lifecycle",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Coding"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AuditEventEntityLifecycle"
        }],
        "strength" : "extensible",
        "description" : "Identifier for the data life-cycle stage for the entity.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/object-lifecycle-events"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "rim",
        "map" : "target of ObservationEvent[code=\"lifecycle\"].value"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectDataLifeCycle"
      },
      {
        "identity" : "w3c.prov",
        "map" : "Entity.role"
      },
      {
        "identity" : "fhirprovenance",
        "map" : "Provenance.entity.role"
      }]
    },
    {
      "id" : "AuditEvent.entity.securityLabel",
      "path" : "AuditEvent.entity.securityLabel",
      "short" : "Security labels on the entity",
      "definition" : "Security labels for the identified entity.",
      "comment" : "Copied from entity meta security tags.",
      "requirements" : "This field identifies the security labels for a specific instance of an object, such as a patient, to detect/track privacy and security issues.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "AuditEvent.entity.securityLabel",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Coding"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SecurityLabels"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "extensible",
        "description" : "Security Labels from the Healthcare Privacy and Security Classification System.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/security-labels"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "rim",
        "map" : ".confidentialityCode"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectSensitivity"
      }]
    },
    {
      "id" : "AuditEvent.entity.name",
      "path" : "AuditEvent.entity.name",
      "short" : "Descriptor for entity",
      "definition" : "A name of the entity in the audit event.",
      "comment" : "This field may be used in a query/report to identify audit events for a specific person.  For example, where multiple synonymous entity identifiers (patient number, medical record number, encounter number, etc.) have been used.",
      "requirements" : "Use only where entity can't be identified with an identifier.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.entity.name",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "condition" : ["sev-1"],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "rim",
        "map" : ".title"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectName"
      },
      {
        "identity" : "w3c.prov",
        "map" : "Entity.Label"
      }]
    },
    {
      "id" : "AuditEvent.entity.description",
      "path" : "AuditEvent.entity.description",
      "short" : "Descriptive text",
      "definition" : "Text that describes the entity in more detail.",
      "requirements" : "Use only where entity can't be identified with an identifier.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.entity.description",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "rim",
        "map" : ".text"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectDescription"
      }]
    },
    {
      "id" : "AuditEvent.entity.query",
      "path" : "AuditEvent.entity.query",
      "short" : "Query parameters",
      "definition" : "The query parameters for a query-type entities.",
      "comment" : "The meaning and secondary-encoding of the content of base64 encoded blob is specific to the AuditEvent.type, AuditEvent.subtype, AuditEvent.entity.type, and AuditEvent.entity.role.  The base64 is a general-use and safe container for event specific data blobs regardless of the encoding used by the transaction being recorded.  An AuditEvent consuming application must understand the event it is consuming and the formats used by the event. For example, if auditing an Oracle network database access, the Oracle formats must be understood as they will be simply encoded in the base64binary blob.",
      "requirements" : "For query events, it may be necessary to capture the actual query input to the query process in order to identify the specific event. Because of differences among query implementations and data encoding for them, this is a base 64 encoded data blob. It may be subsequently decoded or interpreted by downstream audit analysis processing.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.entity.query",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "base64Binary"
      }],
      "condition" : ["sev-1"],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "rim",
        "map" : "No mapping"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectQuery"
      }]
    },
    {
      "id" : "AuditEvent.entity.detail",
      "path" : "AuditEvent.entity.detail",
      "short" : "Additional Information about the entity",
      "definition" : "Tagged value pairs for conveying additional information about the entity.",
      "requirements" : "Implementation-defined data about specific details of the object accessed or used.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "AuditEvent.entity.detail",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectDetail"
      }]
    },
    {
      "id" : "AuditEvent.entity.detail.id",
      "path" : "AuditEvent.entity.detail.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "AuditEvent.entity.detail.extension",
      "path" : "AuditEvent.entity.detail.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "AuditEvent.entity.detail.modifierExtension",
      "path" : "AuditEvent.entity.detail.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "AuditEvent.entity.detail.type",
      "path" : "AuditEvent.entity.detail.type",
      "short" : "Name of the property",
      "definition" : "The type of extra detail provided in the value.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.entity.detail.type",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "rim",
        "map" : ".code"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectDetail.type"
      }]
    },
    {
      "id" : "AuditEvent.entity.detail.value[x]",
      "path" : "AuditEvent.entity.detail.value[x]",
      "short" : "Property value",
      "definition" : "The  value of the extra detail.",
      "comment" : "The value can be string when known to be a string, else base64 encoding should be used to protect binary or undefined content.  The meaning and secondary-encoding of the content of base64 encoded blob is specific to the AuditEvent.type, AuditEvent.subtype, AuditEvent.entity.type, and AuditEvent.entity.role.  The base64 is a general-use and safe container for event specific data blobs regardless of the encoding used by the transaction being recorded.  An AuditEvent consuming application must understand the event it is consuming and the formats used by the event. For example if auditing an Oracle network database access, the Oracle formats must be understood as they will be simply encoded in the base64binary blob.",
      "requirements" : "Should not duplicate the entity value unless absolutely necessary.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "AuditEvent.entity.detail.value[x]",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      },
      {
        "code" : "base64Binary"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "rim",
        "map" : ".value"
      },
      {
        "identity" : "dicom",
        "map" : "ParticipantObjectDetail.value"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "AuditEvent",
      "path" : "AuditEvent",
      "short" : "Event record kept for security purposes",
      "definition" : "A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage.",
      "comment" : "Based on IHE-ATNA.",
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event"
      },
      {
        "identity" : "rim",
        "map" : "ControlAct[moodCode=EVN]"
      },
      {
        "identity" : "dicom",
        "map" : "Message"
      }]
    },
    {
      "id" : "AuditEvent.type",
      "path" : "AuditEvent.type",
      "short" : "Type/identifier of event",
      "definition" : "Identifier for a family of the event.  For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function.",
      "requirements" : "This identifies the performed function. For \"Execute\" Event Action Code audit records, this identifies the application function performed.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Coding"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AuditEventType"
        }],
        "strength" : "extensible",
        "description" : "Type of event.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/audit-event-type"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.code"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "rim",
        "map" : ".code (type, subtype and action are pre-coordinated or sent as translations)"
      },
      {
        "identity" : "dicom",
        "map" : "EventId"
      },
      {
        "identity" : "w3c.prov",
        "map" : "Activity"
      }]
    },
    {
      "id" : "AuditEvent.subtype",
      "path" : "AuditEvent.subtype",
      "short" : "More specific type/id for the event",
      "definition" : "Identifier for the category of event.",
      "requirements" : "This field enables queries of messages by implementation-defined event categories.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Coding"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AuditEventSubType"
        }],
        "strength" : "extensible",
        "description" : "Sub-type of event.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/audit-event-sub-type"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" :