FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example StructureDefinition/AuditEvent (XML)

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

StructureDefinition for auditevent

<?xml version="1.0" encoding="UTF-8"?>

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="AuditEvent"/> 
  <meta> 
    <lastUpdated value="2024-03-27T11:56:58.316+00:00"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align:
       top;">
        <tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align:
         top">
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a> 
          </th> 
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a> 
          </th> 
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a> 
          </th> 
          <th class="hierarchy" style="width: 100px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a> 
          </th> 
          <th class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a> 
            <span style="float: right">
              <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format">
                <img alt="doco" src="data:(snipped in html view)" style="background-color: inherit"/> 
              </a> 
            </span> 
          </th> 
        </tr> 
        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAJUlEQVR4Xu3IIQEAAAgDsHd9/w4EQIOamFnaBgAA4M
          MKAACAKwNp30CqZFfFmwAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Resource"/>  
            <span title="AuditEvent : A record of an event relevant for purposes such as operations, privacy,
             security, maintenance, and performance analysis.">AuditEvent</span> 
            <a name="AuditEvent"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="versions.html#std-process" style="padding-left: 3px; padding-right: 3px; border: 1px grey solid; font-weight: bold;
             color: black; background-color: #fff5e6" title="Standards Status = Trial Use">TU</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="domainresource.html">DomainResource</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Record of an event
            <br/>  
            <br/>  Elements defined in Ancestors: 
            <a href="resource.html#Resource" title="The logical id of the resource, as used in the URL for the resource. Once assigned,
             this value never changes.">id</a> , 
            <a href="resource.html#Resource" title="The metadata about the resource. This is content that is maintained by the infrastructure.
             Changes to the content might not always be associated with version changes to the
             resource.">meta</a> , 
            <a href="resource.html#Resource" title="A reference to a set of rules that were followed when the resource was constructed,
             and which must be understood when processing the content. Often, this is a reference
             to an implementation guide that defines the special rules along with other profiles
             etc.">implicitRules</a> , 
            <a href="resource.html#Resource" title="The base language in which the resource is written.">language</a> , 
            <a href="domainresource.html#DomainResource" title="A human-readable narrative that contains a summary of the resource and can be used
             to represent the content of the resource to a human. The narrative need not encode
             all the structured data, but is required to contain sufficient detail to make it
             &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions
             may define what content should be represented in the narrative to ensure clinical
             safety.">text</a> , 
            <a href="domainresource.html#DomainResource" title="These resources do not have an independent existence apart from the resource that
             contains them - they cannot be identified independently, nor can they have their
             own independent transaction scope. This is allowed to be a Parameters resource
             if and only if it is referenced by a resource that provides context/meaning.">contained</a> , 
            <a href="domainresource.html#DomainResource" title="May be used to represent additional information that is not part of the basic definition
             of the resource. To make the use of extensions safe and managable, 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.">extension</a> , 
            <a href="domainresource.html#DomainResource" title="May be used to represent additional information that is not part of the basic definition
             of the resource and that modifies the understanding of the element that contains
             it 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 managable, there is a strict set of governance applied to the definition and
             use of extensions. Though any implementer is allowed to 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.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
             DomainResource (including cannot change the meaning of modifierExtension itself).">modifierExtension</a> 
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.type : Partitions the audit event into one or more categories that can
             be used to filter searching, to govern access control and/or to guide system behavior.">type</span> 
            <a name="AuditEvent.type"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">High level categorization of audit event
            <br/>  Binding: 
            <a href="valueset-audit-event-type.html">Audit Event ID</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.subtype : Describes what happened. The most specific codes for the event.">subtype</span> 
            <a name="AuditEvent.subtype"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Specific type of event
            <br/>  Binding: 
            <a href="valueset-audit-event-sub-type.html">Audit Event Sub-Type</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type"/>  
            <span title="AuditEvent.action : Indicator for type of action performed during the event that
             generated the audit.">action</span> 
            <a name="AuditEvent.action"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#code">code</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Type of action performed during the event
            <br/>  Binding: 
            <a href="valueset-audit-event-action.html" title="Indicator for type of action performed during the event that generated the event.">Audit Event Action</a>  (
            <a href="terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value
             set.">Required</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="AuditEvent.severity : Indicates and enables segmentation of various severity including
             debugging from critical.">severity</span> 
            <a name="AuditEvent.severity"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#code">code</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">emergency | alert | critical | error | warning | notice | informational | debug
            <br/>  Binding: 
            <a href="valueset-audit-event-severity.html" title="The severity of the audit entry.">Audit Event Severity</a>  (
            <a href="terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value
             set.">Required</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Choice of Types"/>  
            <span title="AuditEvent.occurred[x] : The time or period during which the activity occurred.">occurred[x]</span> 
            <a name="AuditEvent.occurred_x_"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">When the activity occurred
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="A time period defined by a start and end date and optionally time.">occurredPeriod</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Period">Period</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type"/>  
            <span title="A date, date-time or partial date (e.g. just year or year + month).  If hours and
             minutes are specified, a UTC offset SHALL be populated. The format is a union of
             the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided
             due to schema type constraints but may be zero-filled and may be ignored.     
                        Dates SHALL be valid dates.">occurredDateTime</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#dateTime">dateTime</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="AuditEvent.recorded : The time when the event was recorded.">recorded</span> 
            <a name="AuditEvent.recorded"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#instant">instant</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Time when the event was recorded
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Element"/>  
            <span title="AuditEvent.outcome : Indicates whether the event succeeded or failed. A free text
             descripiton can be given in outcome.text.">outcome</span> 
            <a name="AuditEvent.outcome"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="types.html#BackBoneElement">BackboneElement</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Whether the event succeeded or failed
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.outcome.code : Indicates whether the event succeeded or failed.">code</span> 
            <a name="AuditEvent.outcome.code"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Coding">Coding</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Whether the event succeeded or failed
            <br/>  Binding: 
            <a href="valueset-audit-event-outcome.html" title="Indicates whether the event succeeded or failed.">Audit Event Outcome</a>  (
            <a href="terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability
             purposes but are not required to do so to be considered conformant.">Preferred</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.outcome.detail : Additional details about the error. This may be a text
             description of the error or a system code that identifies the error.">detail</span> 
            <a name="AuditEvent.outcome.detail"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Additional outcome detail
            <br/>  Binding: 
            <a href="valueset-audit-event-outcome-detail.html">Audit Event Outcome Detail</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.authorization : The authorization (e.g., PurposeOfUse) that was used
             during the event being recorded.">authorization</span> 
            <a name="AuditEvent.authorization"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Authorization related to the event
            <br/>  Binding: 
            <a href="http://terminology.hl7.org/5.5.0/ValueSet-v3-PurposeOfUse.html">PurposeOfUse</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  
            <span title="AuditEvent.basedOn : Allows tracing of authorizatino for the events and tracking
             whether proposals/recommendations were acted upon.">basedOn</span> 
            <a name="AuditEvent.basedOn"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="resourcelist.html">Any</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Workflow authorization within which this event occurred
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Reference to another Resource"/>  
            <span title="AuditEvent.patient : The patient element is available to enable deterministic tracking
             of activities that involve the patient as the subject of the data used in an activity.">patient</span> 
            <a name="AuditEvent.patient"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
            <a href="versions.html#std-process" style="padding-left: 3px; padding-right: 3px; border: 1px grey solid; font-weight: bold;
             color: black; background-color: #fff5e6" title="Standards Status = Trial Use">TU</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="patient.html">Patient</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">The patient is the subject of the data used/created/updated/deleted during the
             activity
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  
            <span title="AuditEvent.encounter : This will typically be the encounter the event occurred,
             but some events may be initiated prior to or after the official completion of an
             encounter but still be tied to the context of the encounter (e.g. pre-admission
             lab tests).">encounter</span> 
            <a name="AuditEvent.encounter"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="encounter.html">Encounter</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Encounter within which this event occurred or which the event is tightly associated
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Element"/>  
            <span title="AuditEvent.agent : An actor taking an active role in the event or activity that
             is logged.">agent</span> 
            <a name="AuditEvent.agent"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">1..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="types.html#BackBoneElement">BackboneElement</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Actor involved in the event
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.agent.type : The Functional Role of the user when performing the event.">type</span> 
            <a name="AuditEvent.agent.type"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">How agent participated
            <br/>  Binding: 
            <a href="valueset-participation-role-type.html">Participation Role Type</a>  (
            <a href="terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability
             purposes but are not required to do so to be considered conformant.">Preferred</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.agent.role : The structural roles of the agent indicating the agent's
             competency. The security role enabling the agent with respect to the activity.">role</span> 
            <a name="AuditEvent.agent.role"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Agent role in the event
            <br/>  Binding: 
            <a href="valueset-security-role-type.html">Security Role Type</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  
            <span title="AuditEvent.agent.who : Reference to who this agent is that was involved in the
             event.">who</span> 
            <a name="AuditEvent.agent.who"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="practitioner.html">Practitioner</a>  | 
            <a href="practitionerrole.html">PractitionerRole</a>  | 
            <a href="organization.html">Organization</a>  | 
            <a href="careteam.html">CareTeam</a>  | 
            <a href="patient.html">Patient</a>  | 
            <a href="device.html">Device</a>  | 
            <a href="relatedperson.html">RelatedPerson</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Identifier of who
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="AuditEvent.agent.requestor : Indicator that the user is or is not the requestor,
             or initiator, for the event being audited.">requestor</span> 
            <a name="AuditEvent.agent.requestor"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#boolean">boolean</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Whether user is initiator
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  
            <span title="AuditEvent.agent.location : Where the agent location is known, the agent location
             when the event occurred.">location</span> 
            <a name="AuditEvent.agent.location"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="location.html">Location</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">The agent location when the event occurred
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="AuditEvent.agent.policy : Where the policy(ies) are known that authorized the agent
             participation in the event. Typically, a single activity may have multiple applicable
             policies, such as patient consent, guarantor funding, etc. The policy would also
             indicate the security token used.">policy</span> 
            <a name="AuditEvent.agent.policy"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#uri">uri</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Policy that authorized the agent participation in the event
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Choice of Types"/>  
            <span title="AuditEvent.agent.network[x] : When the event utilizes a network there should be
             an agent describing the local system, and an agent describing remote system, with
             the network interface details.">network[x]</span> 
            <a name="AuditEvent.agent.network_x_"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">This agent network location for the activity
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LsQ0AIAwDwezq/WcAaqhSoDRn6ZqXXE
          mq42zdrWP6DwAAzHkCAADALxtMUUAsbN3VPQAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Reference to another Resource"/>  networkReference
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="endpoint.html">Endpoint</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LsQ0AIAw
          Dwezq/WcAaqhSoDRn6ZqXXEmq42zdrWP6DwAAzHkCAADALxtMUUAsbN3VPQAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type"/>  
            <span title="String of characters used to identify a name or a resource">networkUri</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#uri">uri</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="A sequence of Unicode characters">networkString</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#string">string</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.agent.authorization : The authorization (e.g., PurposeOfUse) that was
             used during the event being recorded.">authorization</span> 
            <a name="AuditEvent.agent.authorization"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Allowable authorization for this agent
            <br/>  Binding: 
            <a href="http://terminology.hl7.org/5.5.0/ValueSet-v3-PurposeOfUse.html">PurposeOfUse</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAwEwfT6/ddA0GBAxO3NrLlKUj
          9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Element"/>  
            <span title="AuditEvent.source : The actor that is reporting the event.">source</span> 
            <a name="AuditEvent.source"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="types.html#BackBoneElement">BackboneElement</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Audit Event Reporter
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBA
          Dwftr/v8GtdbqEAthAtMspJJUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  
            <span title="AuditEvent.source.site : Logical source location within the healthcare enterprise
             network.  For example, a hospital or other provider location within a multi-entity
             provider group.">site</span> 
            <a name="AuditEvent.source.site"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="location.html">Location</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Logical source location within the enterprise
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LMQoAIBADwftr/v8GtdbqEAthAtMspJ
          JUx9rYW8ftHwAA+NcRAAAAXplLq0BWj/rZigAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Reference to another Resource"/>  
            <span title="AuditEvent.source.observer : Identifier of the source where the event was detected.">observer</span> 
            <a name="AuditEvent.source.observer"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="practitioner.html">Practitioner</a>  | 
            <a href="practitionerrole.html">PractitionerRole</a>  | 
            <a href="organization.html">Organization</a>  | 
            <a href="careteam.html">CareTeam</a>  | 
            <a href="patient.html">Patient</a>  | 
            <a href="device.html">Device</a>  | 
            <a href="relatedperson.html">RelatedPerson</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">The identity of source detecting the event
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALUlEQVR4Xu3IoREAIAw
          EwfT6/ddA0GBAxO3NrLlKUj9263wAAAAvrgEAADClAVWFQIBRHMicAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.source.type : Code specifying the type of source where event originated.">type</span> 
            <a name="AuditEvent.source.type"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">The type of source where event originated
            <br/>  Binding: 
            <a href="valueset-security-source-type.html">Audit Event Source Type</a>  (
            <a href="terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability
             purposes but are not required to do so to be considered conformant.">Preferred</a> )
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAJUlEQVR4Xu3IIQEAAAgDsHd9/w4EQIOamFnaBgAA4M
          MKAACAKwNp30CqZFfFmwAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Element"/>  
            <span title="AuditEvent.entity : Specific instances of data or objects that have been accessed.">entity</span> 
            <a name="AuditEvent.entity"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="types.html#BackBoneElement">BackboneElement</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Data or objects used
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALElEQVR4Xu3IsQ0AIAw
          Esez6+89AqKGGJj7JzVWS+mm3zgcAAMxwDQAAgFcaYAVAgNGLTjgAAAAASUVORK5CYII=)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource"/>  
            <span title="AuditEvent.entity.what : Identifies a specific instance of the entity. The reference
             should be version specific. This is allowed to be a Parameters resource.">what</span> 
            <a name="AuditEvent.entity.what"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="references.html#Reference">Reference</a> (
            <a href="resourcelist.html">Any</a> )
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Specific instance of resource
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALElEQVR4Xu3IsQ0AIAwEsez6+89AqKGGJj7JzVWS+m
          m3zgcAAMxwDQAAgFcaYAVAgNGLTjgAAAAASUVORK5CYII=)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.entity.role : Code representing the role the entity played in the event
             being audited.">role</span> 
            <a name="AuditEvent.entity.role"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">What role the entity played
            <br/>  Binding: 
            <a href="valueset-object-role.html" title="Code representing the role the entity played in the audit event.">Audit Event Entity Role</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALElEQVR4Xu3IsQ0AIAw
          Esez6+89AqKGGJj7JzVWS+mm3zgcAAMxwDQAAgFcaYAVAgNGLTjgAAAAASUVORK5CYII=)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.entity.securityLabel : Security labels for the identified entity.">securityLabel</span> 
            <a name="AuditEvent.entity.securityLabel"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Security labels on the entity
            <br/>  Binding: 
            <a href="valueset-security-label-examples.html">Example set of Security Labels</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALElEQVR4Xu3IsQ0AIAwEsez6+89AqKGGJj7JzVWS+m
          m3zgcAAMxwDQAAgFcaYAVAgNGLTjgAAAAASUVORK5CYII=)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="AuditEvent.entity.query : The query parameters for a query-type entities.">query</span> 
            <a name="AuditEvent.entity.query"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="elementdefinition-definitions.html#ElementDefinition.isSummary" style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">0..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#base64Binary">base64Binary</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Query parameters
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALElEQVR4Xu3IsQ0AIAw
          Esez6+89AqKGGJj7JzVWS+mm3zgcAAMxwDQAAgFcaYAVAgNGLTjgAAAAASUVORK5CYII=)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Element"/>  
            <span title="AuditEvent.entity.detail : Tagged value pairs for conveying additional information
             about the entity.">detail</span> 
            <a name="AuditEvent.entity.detail"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="types.html#BackBoneElement">BackboneElement</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Additional Information about the entity
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMUlEQVR4Xu3LsQkAIBRDwb9r9p9BrbUSUZsLXPMgla
          ReGmtz23H6BwAA/lkCAADALR1gq0BWueJ34gAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="AuditEvent.entity.detail.type : The type of extra detail provided in the value.">type</span> 
            <a name="AuditEvent.entity.detail.type"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">Name of the property
            <br/>  Binding: 
            <a href="valueset-audit-event-type.html">Audit Event ID</a>  (
            <a href="terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value
             set.  The value set merely provides examples of the types of concepts intended
             to be included.">Example</a> )
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALElEQVR4Xu3IsQ0AIAw
          Esez6+89AqKGGJj7JzVWS+mm3zgcAAMxwDQAAgFcaYAVAgNGLTjgAAAAASUVORK5CYII=)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Choice of Types"/>  
            <span title="AuditEvent.entity.detail.value[x] : The  value of the extra detail.">value[x]</span> 
            <a name="AuditEvent.entity.detail.value_x_"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">1..1</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Property value
            <br/>  
          </td> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR4Xu3NoREAIBADwe81/dcAaNA8gs3MmjOpJN
          Vpbeyt0+t/AAD42REAAABumWsrQFb95aLsAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="A measured amount (or an amount that can potentially be measured). Note that measured
             amounts include amounts that are not precisely quantified, including amounts involving
             arbitrary units and floating currencies.">valueQuantity</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Quantity">Quantity</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR4Xu3NoREAIBA
          Dwe81/dcAaNA8gs3MmjOpJNVpbeyt0+t/AAD42REAAABumWsrQFb95aLsAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="A concept that may be defined by a formal reference to a terminology or ontology
             or may be provided by text.">valueCodeableConcept</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#CodeableConcept">CodeableConcept</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR4Xu3NoREAIBADwe81/dcAaNA8gs3MmjOpJN
          Vpbeyt0+t/AAD42REAAABumWsrQFb95aLsAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="A sequence of Unicode characters">valueString</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#string">string</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR4Xu3NoREAIBA
          Dwe81/dcAaNA8gs3MmjOpJNVpbeyt0+t/AAD42REAAABumWsrQFb95aLsAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type"/>  
            <span title="Value of &quot;true&quot; or &quot;false&quot;">valueBoolean</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#boolean">boolean</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR4Xu3NoREAIBADwe81/dcAaNA8gs3MmjOpJN
          Vpbeyt0+t/AAD42REAAABumWsrQFb95aLsAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="A whole number">valueInteger</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#integer">integer</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR4Xu3NoREAIBA
          Dwe81/dcAaNA8gs3MmjOpJNVpbeyt0+t/AAD42REAAABumWsrQFb95aLsAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="A set of ordered Quantities defined by a low and high limit.">valueRange</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Range">Range</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR4Xu3NoREAIBADwe81/dcAaNA8gs3MmjOpJN
          Vpbeyt0+t/AAD42REAAABumWsrQFb95aLsAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Data Type"/>  
            <span title="A relationship of two Quantity values - expressed as a numerator and a denominator.">valueRatio</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Ratio">Ratio</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR4Xu3NoREAIBA
          Dwe81/dcAaNA8gs3MmjOpJNVpbeyt0+t/AAD42REAAABumWsrQFb95aLsAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type"/>  
            <span title="A time during the day, with no date specified">valueTime</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#time">time</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR4Xu3NoREAIBADwe81/dcAaNA8gs3MmjOpJN
          Vpbeyt0+t/AAD42REAAABumWsrQFb95aLsAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="A date, date-time or partial date (e.g. just year or year + month).  If hours and
             minutes are specified, a UTC offset SHALL be populated. The format is a union of
             the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided
             due to schema type constraints but may be zero-filled and may be ignored.     
                        Dates SHALL be valid dates.">valueDateTime</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#dateTime">dateTime</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAMElEQVR4Xu3NoREAIBA
          Dwe81/dcAaNA8gs3MmjOpJNVpbeyt0+t/AAD42REAAABumWsrQFb95aLsAAAAAElFTkSuQmCC)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Data Type"/>  
            <span title="A time period defined by a start and end date and optionally time.">valuePeriod</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#Period">Period</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         white">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(data:image/png;bas
          e64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAALElEQVR4Xu3IsQ0AIAwEsez6+89AqKGGJj7JzVWS+m
          m3zgcAAMxwDQAAgFcaYAVAgNGLTjgAAAAASUVORK5CYII=)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: white; background-color: inherit" title="Primitive Data Type"/>  
            <span title="A stream of bytes">valueBase64Binary</span> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px">
            <a href="datatypes.html#base64Binary">base64Binary</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0
           solid; padding:0px 4px 0px 4px"/> 
        </tr> 

        <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color:
         #F7F7F7">
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image:
           url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAACCAYAAACg/LjIAAAAJUlEQVR4Xu3IIQEAAAg
          DsHd9/w4EQIOamFnaBgAA4MMKAACAKwNp30CqZFfFmwAAAABJRU5ErkJggg==)">
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: inherit"/> 
            <img alt="." class="hierarchy" src="data:(snipped in html view)" style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Element"/>  
            <span title="AuditEvent.entity.agent : The entity is attributed to an agent to express the agent's
             responsibility for that entity in the activity. This is most used to indicate when
             persistence media (the entity) are used by an agent. For example when importing
             data from a device, the device would be described in an entity, and the user importing
             data from that media would be indicated as the entity.agent.">agent</span> 
            <a name="AuditEvent.entity.agent"> </a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px"/> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">0..*</td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">see 
            <a href="#AuditEvent.agent" title="AuditEvent.agent">agent</a> 
          </td> 
          <td class="hierarchy" style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px
           #F0F0F0 solid; padding:0px 4px 0px 4px">Entity is attributed to this agent
            <br/>  
            <br/>  
          </td> 
        </tr> 

        <tr> 
          <td class="hierarchy" colspan="5">
            <br/>  
            <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format">
              <img alt="doco" src="data:(snipped in html view)" style="background-color: inherit"/>  Documentation for this format
            </a> 
          </td> 
        </tr> 
      </table> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="sec"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="4"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="not-classified"/> 
  </extension> 
  <url value="http://hl7.org/fhir/StructureDefinition/AuditEvent"/> 
  <version value="6.0.0-cibuild"/> 
  <name value="AuditEvent"/> 
  <status value="draft"/> 
  <experimental value="false"/> 
  <date value="2024-03-27T11:56:58+00:00"/> 
  <publisher value="HL7 International / Security"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </telecom> 
  </contact> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/secure"/> 
    </telecom> 
  </contact> 
  <description value="A record of an event relevant for purposes such as operations, privacy, security,
   maintenance, and performance analysis."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <fhirVersion value="6.0.0-cibuild"/> 
  <mapping> 
    <identity value="workflow"/> 
    <uri value="http://hl7.org/fhir/workflow"/> 
    <name value="Workflow Pattern"/> 
  </mapping> 
  <mapping> 
    <identity value="w5"/> 
    <uri value="http://hl7.org/fhir/fivews"/> 
    <name value="FiveWs Pattern Mapping"/> 
  </mapping> 
  <mapping> 
    <identity value="rim"/> 
    <uri value="http://hl7.org/v3"/> 
    <name value="RIM Mapping"/> 
  </mapping> 
  <mapping> 
    <identity value="dicom"/> 
    <uri value="http://nema.org/dicom"/> 
    <name value="DICOM Tag Mapping"/> 
  </mapping> 
  <mapping> 
    <identity value="w3c.prov"/> 
    <uri value="http://www.w3.org/ns/prov"/> 
    <name value="W3C PROV"/> 
  </mapping> 
  <mapping> 
    <identity value="fhirprovenance"/> 
    <uri value="http://hl7.org/fhir/provenance"/> 
    <name value="FHIR Provenance Mapping"/> 
  </mapping> 
  <kind value="resource"/> 
  <abstract value="false"/> 
  <type value="AuditEvent"/> 
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
  <derivation value="specialization"/> 
  <snapshot> 
    <element id="AuditEvent">
      <path value="AuditEvent"/> 
      <short value="Record of an event"/> 
      <definition value="A record of an event relevant for purposes such as operations, privacy, security,
       maintenance, and performance analysis."/> 
      <comment value="Based on IHE-ATNA."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <constraint> 
        <key value="dom-2"/> 
        <severity value="error"/> 
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/> 
        <expression value="contained.contained.empty()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
      </constraint> 
      <constraint> 
        <key value="dom-3"/> 
        <severity value="error"/> 
        <human value="If the resource is contained in another resource, it SHALL be referred to from
         elsewhere in the resource or SHALL refer to the containing resource"/> 
        <expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofTy
        pe(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url)))
         or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical)
         = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmat
        ched', id).empty()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
      </constraint> 
      <constraint> 
        <key value="dom-4"/> 
        <severity value="error"/> 
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId
         or a meta.lastUpdated"/> 
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
      </constraint> 
      <constraint> 
        <key value="dom-5"/> 
        <severity value="error"/> 
        <human value="If a resource is contained in another resource, it SHALL NOT have a security label"/> 
        <expression value="contained.meta.security.empty()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
      </constraint> 
      <constraint> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
          <valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can
           display the resource to a human safely. Including a human readable representation
           in the resource makes for a much more robust eco-system and cheaper handling of
           resources by intermediary systems. Some ecosystems restrict distribution of resources
           to only those systems that do fully understand the resources, and as a consequence
           implementers may believe that the narrative is superfluous. However experience
           shows that such eco-systems often open up to new participants over time."/> 
        </extension> 
        <key value="dom-6"/> 
        <severity value="warning"/> 
        <human value="A resource should have narrative for robust management"/> 
        <expression value="text.`div`.exists()"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Entity, Role, or Act,ControlAct[moodCode=EVN]"/> 
      </mapping> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="infrastructure.information"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="Message"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.id">
      <path value="AuditEvent.id"/> 
      <short value="Logical id of this artifact"/> 
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned,
       this value never changes."/> 
      <comment value="Within the context of the FHIR RESTful interactions, the resource has an id except
       for cases like the create and conditional update. Otherwise, the use of the resouce
       id depends on the given use case."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="id"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="AuditEvent.meta">
      <path value="AuditEvent.meta"/> 
      <short value="Metadata about the resource"/> 
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure.
       Changes to the content might not always be associated with version changes to the
       resource."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.meta"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Meta"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="AuditEvent.implicitRules">
      <path value="AuditEvent.implicitRules"/> 
      <short value="A set of rules under which this content was created"/> 
      <definition value="A reference to a set of rules that were followed when the resource was constructed,
       and which must be understood when processing the content. Often, this is a reference
       to an implementation guide that defines the special rules along with other profiles
       etc."/> 
      <comment value="Asserting this rule set restricts the content to be only understood by a limited
       set of trading partners. This inherently limits the usefulness of the data in the
       long term. However, the existing health eco-system is highly fractured, and not
       yet ready to define, collect, and exchange data in a generally computable sense.
       Wherever possible, implementers and/or specification writers should avoid using
       this element. Often, when used, the URL is a reference to an implementation guide
       that defines these special rules as part of its narrative along with other profiles,
       value sets, etc."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.implicitRules"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="uri"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="true"/> 
      <isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional
       knowledge about the resource that modifies its meaning or interpretation"/> 
      <isSummary value="true"/> 
    </element> 
    <element id="AuditEvent.language">
      <path value="AuditEvent.language"/> 
      <short value="Language of the resource content"/> 
      <definition value="The base language in which the resource is written."/> 
      <comment value="Language is provided to support indexing and accessibility (typically, services
       such as text to speech use the language tag). The html language tag in the narrative
       applies  to the narrative. The language tag on the resource may be used to specify
       the language of other presentations generated from the data in the resource. Not
       all the content has to be in the base language. The Resource.language should not
       be assumed to apply to the narrative automatically. If a language is specified,
       it should it also be specified on the div element in the html (see rules in HTML5
       for information about the relationship between xml:lang and the html lang attribute)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Resource.language"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="required"/> 
        <description value="IETF language tag for a human language"/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-cibuild"/> 
        <additional> 
          <purpose value="starter"/> 
          <valueSet value="http://hl7.org/fhir/ValueSet/languages"/> 
        </additional> 
      </binding> 
    </element> 
    <element id="AuditEvent.text">
      <path value="AuditEvent.text"/> 
      <short value="Text summary of the resource, for human interpretation"/> 
      <definition value="A human-readable narrative that contains a summary of the resource and can be used
       to represent the content of the resource to a human. The narrative need not encode
       all the structured data, but is required to contain sufficient detail to make it
       &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions
       may define what content should be represented in the narrative to ensure clinical
       safety."/> 
      <comment value="Contained resources do not have a narrative. Resources that are not contained SHOULD
       have a narrative. In some cases, a resource may only have text with little or no
       additional discrete data (as long as all minOccurs=1 elements are satisfied). 
       This may be necessary for data from legacy systems where information is captured
       as a &quot;text blob&quot; or where text is additionally entered raw or narrated
       and encoded information is added later."/> 
      <alias value="narrative"/> 
      <alias value="html"/> 
      <alias value="xhtml"/> 
      <alias value="display"/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="DomainResource.text"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Narrative"/> 
      </type> 
      <condition value="dom-6"/> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.text?"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.contained">
      <path value="AuditEvent.contained"/> 
      <short value="Contained, inline Resources"/> 
      <definition value="These resources do not have an independent existence apart from the resource that
       contains them - they cannot be identified independently, nor can they have their
       own independent transaction scope. This is allowed to be a Parameters resource
       if and only if it is referenced by a resource that provides context/meaning."/> 
      <comment value="This should never be done when the content can be identified properly, as once
       identification is lost, it is extremely difficult (and context dependent) to restore
       it again. Contained resources may have profiles and tags in their meta elements,
       but SHALL NOT have security labels."/> 
      <alias value="inline resources"/> 
      <alias value="anonymous resources"/> 
      <alias value="contained resources"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="DomainResource.contained"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Resource"/> 
      </type> 
      <condition value="dom-2"/> 
      <condition value="dom-4"/> 
      <condition value="dom-3"/> 
      <condition value="dom-5"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.extension">
      <path value="AuditEvent.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the resource. To make the use of extensions safe and managable, 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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="DomainResource.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.modifierExtension">
      <path value="AuditEvent.modifierExtension"/> 
      <short value="Extensions that cannot be ignored"/> 
      <definition value="May be used to represent additional information that is not part of the basic definition
       of the resource and that modifies the understanding of the element that contains
       it 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 managable, there is a strict set of governance applied to the definition and
       use of extensions. Though any implementer is allowed to 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.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="DomainResource.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       resource that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.type">
      <path value="AuditEvent.type"/> 
      <short value="High level categorization of audit event"/> 
      <definition value="Partitions the audit event into one or more categories that can be used to filter
       searching, to govern access control and/or to guide system behavior."/> 
      <comment value="Categorization might be done automatically (inferred by code) or manually by user
       assertion.  The absence of a category may limit the ability to determine when the
       element should be handled, so strong consideration should be given to how systems
       will be able to determine category values for legacy data and how data that cannot
       be categorized will be handled.  As well, some categories might not be mutually
       exclusive, so systems should prepare for multiple declared categories - even within
       a single category 'axis'.
In general, there should not be a 'strong' binding ('required' or 'extensible')
       on the category element overall.  Instead, the element can be sliced and bindings
       can be asserted that apply to particular repetitions."/> 
      <alias value="category"/> 
      <alias value="EventTypeCode"/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.type"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Type of event."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-type"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.category"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.class"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code (type, subtype and action are pre-coordinated or sent as translations)"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventTypeCode"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.subtype">
      <path value="AuditEvent.subtype"/> 
      <short value="Specific type of event"/> 
      <definition value="Describes what happened. The most specific codes for the event."/> 
      <requirements value="This field enables queries of messages by implementation-defined event categories."/> 
      <alias value="code"/> 
      <alias value="EventID"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.subtype"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventSubType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Specific type of event."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-sub-type"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code (type, subtype and action are pre-coordinated or sent as translations)"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventID"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.activity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.action">
      <path value="AuditEvent.action"/> 
      <short value="Type of action performed during the event"/> 
      <definition value="Indicator for type of action performed during the event that generated the audit."/> 
      <requirements value="This broadly indicates what kind of action was done on the AuditEvent.entity by
       the AuditEvent.agent."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.action"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="Indicator for type of action performed during the event that generated the event."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventAction"/> 
        </extension> 
        <strength value="required"/> 
        <description value="DICOM Audit Event Action"/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-action|6.0.0-cibuild"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code (type, subtype and action are pre-coordinated or sent as translations)"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventActionCode"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.severity">
      <path value="AuditEvent.severity"/> 
      <short value="emergency | alert | critical | error | warning | notice | informational | debug"/> 
      <definition value="Indicates and enables segmentation of various severity including debugging from
       critical."/> 
      <comment value="ATNA will map this to the SYSLOG PRI element."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.severity"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="code"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="The severity of the audit entry."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventSeverity"/> 
        </extension> 
        <strength value="required"/> 
        <description value="This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3"/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-severity|6.0.0-cibuild"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="PRI"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.occurred[x]">
      <path value="AuditEvent.occurred[x]"/> 
      <short value="When the activity occurred"/> 
      <definition value="The time or period during which the activity occurred."/> 
      <comment value="The time or period can be a little arbitrary; where possible, the time should correspond
       to human assessment of the activity time."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.occurred[x]"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Period"/> 
      </type> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.occurrence"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.done[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./effectiveTime[type=IVL_TS]"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.startTime &amp; Activity.endTime"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.occurred[x]"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.recorded">
      <path value="AuditEvent.recorded"/> 
      <short value="Time when the event was recorded"/> 
      <definition value="The time when the event was recorded."/> 
      <comment value="In a distributed system, some sort of common time base (e.g. an NTP [RFC1305] server)
       is a good implementation tactic."/> 
      <requirements value="This ties an event to a specific date and time. Security audits typically require
       a consistent time base (e.g. UTC), to eliminate time-zone issues arising from geographical
       distribution."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.recorded"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="instant"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.recorded"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".effectiveTime"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventDateTime"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.when"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.recorded"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.outcome">
      <path value="AuditEvent.outcome"/> 
      <short value="Whether the event succeeded or failed"/> 
      <definition value="Indicates whether the event succeeded or failed. A free text descripiton can be
       given in outcome.text."/> 
      <comment value="In some cases a &quot;success&quot; may be partial, for example, an incomplete
       or interrupted transfer of a radiological study. For the purpose of establishing
       accountability, these distinctions are not relevant."/> 
      <requirements value="when a code is given there must be one code from the given codeSystem, and may
       be other equivilant codes from other codeSystems (for example http response codes
       such as 2xx, 4xx, or 5xx)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.outcome"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=OUT].target.text"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.outcome.id">
      <path value="AuditEvent.outcome.id"/> 
      <representation value="xmlAttr"/> 
      <short value="Unique id for inter-element referencing"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may
       be any string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <condition value="ele-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.outcome.extension">
      <path value="AuditEvent.outcome.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="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 managable, 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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.outcome.modifierExtension">
      <path value="AuditEvent.outcome.modifierExtension"/> 
      <short value="Extensions that cannot be ignored even if unrecognized"/> 
      <definition value="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 managable, 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.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       element that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.outcome.code">
      <path value="AuditEvent.outcome.code"/> 
      <short value="Whether the event succeeded or failed"/> 
      <definition value="Indicates whether the event succeeded or failed."/> 
      <comment value="In some cases a &quot;success&quot; may be partial, for example, an incomplete
       or interrupted transfer of a radiological study. For the purpose of establishing
       accountability, these distinctions are not relevant."/> 
      <requirements value="when a code is given there must be one code from the given codeSystem."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.outcome.code"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="Indicates whether the event succeeded or failed."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventOutcome"/> 
        </extension> 
        <strength value="preferred"/> 
        <description value="DICOM Audit Event Outcome"/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-outcome"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=OUT].target.text"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventOutcomeIndicator EventOutcomeIndicator"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.outcome.detail">
      <path value="AuditEvent.outcome.detail"/> 
      <short value="Additional outcome detail"/> 
      <definition value="Additional details about the error. This may be a text description of the error
       or a system code that identifies the error."/> 
      <comment value="A human readable description of the error issue SHOULD be placed in details.text."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.outcome.detail"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventOutcomeDetail"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A code that provides details as the exact issue."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-outcome-detail"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=OUT].target.text"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.authorization">
      <path value="AuditEvent.authorization"/> 
      <short value="Authorization related to the event"/> 
      <definition value="The authorization (e.g., PurposeOfUse) that was used during the event being recorded."/> 
      <comment value="Use AuditEvent.agent.authorization when you know that it is specific to the agent,
       otherwise use AuditEvent.authorization. For example, during a machine-to-machine
       transfer it might not be obvious to the audit system who caused the event, but
       it does know why."/> 
      <requirements value="Record of any relevant security context, not restricted to purposeOfUse valueSet.
       May include security compartments, refrain, obligation, or other security tags."/> 
      <alias value="PurposeOfEvent"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.authorization"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditPurposeOfUse"/> 
        </extension> 
        <strength value="example"/> 
        <description value="The authorized purposeOfUse for the activity."/> 
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.reason"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="* .reasonCode [ControlActReason when Act.class = CACT Control Act]
*.outboundRelationship[typeCode=RSON].target"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventPurposeOfUse"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.Activity"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.authorization"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.basedOn">
      <path value="AuditEvent.basedOn"/> 
      <short value="Workflow authorization within which this event occurred"/> 
      <definition value="Allows tracing of authorizatino for the events and tracking whether proposals/recommendations
       were acted upon."/> 
      <requirements value="Allows tracing of authorization for the audit event and tracking whether proposals/recommenda
      tions were acted upon."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.basedOn"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.basedOn"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.Activity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.patient">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use"/> 
      </extension> 
      <path value="AuditEvent.patient"/> 
      <short value="The patient is the subject of the data used/created/updated/deleted during the
       activity"/> 
      <definition value="The patient element is available to enable deterministic tracking of activities
       that involve the patient as the subject of the data used in an activity."/> 
      <requirements value="When the .patient is populated it shall be accurate to the subject of the used
       data. The .patient shall not be populated when the used data used/created/updated/deleted
       (.entity) by the activity does not involve a subject. Note that when the patient
       is an agent, they will be recorded as an agent. When the Patient resource is Created,
       Updated, or Deleted it will be recorded as an entity.  May also affect access control."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.patient"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.subject"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.subject[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="participation[typeCode=RTGT]"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Entity.Identity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.encounter">
      <path value="AuditEvent.encounter"/> 
      <short value="Encounter within which this event occurred or which the event is tightly associated"/> 
      <definition value="This will typically be the encounter the event occurred, but some events may be
       initiated prior to or after the official completion of an encounter but still be
       tied to the context of the encounter (e.g. pre-admission lab tests)."/> 
      <comment value="This will typically be the encounter the audit event was created during, but some
       audit events may be initiated prior to or after the official completion of an encounter
       but still be tied to the context of the encounter (e.g. pre-admission lab tests)."/> 
      <requirements value="Links the audit event to the Encounter context.  May also affect access control."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.encounter"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.encounter"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.Activity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent">
      <path value="AuditEvent.agent"/> 
      <short value="Actor involved in the event"/> 
      <definition value="An actor taking an active role in the event or activity that is logged."/> 
      <comment value="Several agents may be associated (i.e. have some responsibility for an activity)
       with an event or activity.

For example, an activity may be initiated by one user for other users or involve
       more than one user. However, only one user may be the initiator/requestor for the
       activity. 

When a network are used in an event being recorded, there should be distinct agent
       elements for the known actors using the network. The agent with a network detail
       would be the responsible agent for use of that network."/> 
      <requirements value="An agent can be a person, an organization, software, device, or other actors that
       may be ascribed responsibility."/> 
      <alias value="ActiveParticipant"/> 
      <min value="1"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.agent"/> 
        <min value="1"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.who"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ActiveParticipant"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.agent"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.id">
      <path value="AuditEvent.agent.id"/> 
      <representation value="xmlAttr"/> 
      <short value="Unique id for inter-element referencing"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may
       be any string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <condition value="ele-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.extension">
      <path value="AuditEvent.agent.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="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 managable, 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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.modifierExtension">
      <path value="AuditEvent.agent.modifierExtension"/> 
      <short value="Extensions that cannot be ignored even if unrecognized"/> 
      <definition value="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 managable, 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.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       element that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.type">
      <path value="AuditEvent.agent.type"/> 
      <short value="How agent participated"/> 
      <definition value="The Functional Role of the user when performing the event."/> 
      <comment value="For example: assembler, author, prescriber, signer, investigator, etc."/> 
      <requirements value="Functional roles reflect functional aspects of relationships between entities.
       Functional roles are bound to the realization/performance of acts, where actions
       might be concatenated to an activity or even to a process. This element will hold
       the functional role that the agent played in the activity that is the focus of
       this Provenance. Where an agent played multiple functional roles, they will be
       listed as multiple .agent elements representing each functional participation.
       See ISO 21298:2018 - Health Informatics - Functional and structural roles, and
       ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control
       - Part 2: formal models."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.agent.type"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditAgentType"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="preferred"/> 
        <description value="The Participation type of the agent to the event."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/participation-role-type"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.function"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.who"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".typeCode and/or .functionCode"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="prime RoleIdCode"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent.Attribution"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.agent.type"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.role">
      <path value="AuditEvent.agent.role"/> 
      <short value="Agent role in the event"/> 
      <definition value="The structural roles of the agent indicating the agent's competency. The security
       role enabling the agent with respect to the activity."/> 
      <comment value="For example: Chief-of-Radiology, Nurse, Physician, Medical-Student, etc."/> 
      <requirements value="Structural roles reflect the structural aspects of relationships between entities.
       Structural roles describe prerequisites, feasibilities, or competences for acts.
       Functional roles reflect functional aspects of relationships between entities.
       Functional roles are bound to the realization/performance of acts, where actions
       might be concatenated to an activity or even to a process. See ISO 21298:2018 -
       Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health
       Informatics - Privilege Management and Access Control - Part 2: formal models.."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.agent.role"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditAgentRole"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="example"/> 
        <description value="What security role enabled the agent to participate in the event."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/security-role-type"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.who"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".role"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="all RoleIdCode"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent.Attribution"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.agent.role"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.who">
      <path value="AuditEvent.agent.who"/> 
      <short value="Identifier of who"/> 
      <definition value="Reference to who this agent is that was involved in the event."/> 
      <comment value="Where a User ID is available it will go into who.identifier. Where a name of the
       user (human readable) it will go into who.display."/> 
      <requirements value="This field ties an audit event to a specific resource or identifier."/> 
      <alias value="userId"/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.agent.who"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".id"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="UserName and UserId"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent.Identity"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.agent.who"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.who"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.requestor">
      <path value="AuditEvent.agent.requestor"/> 
      <short value="Whether user is initiator"/> 
      <definition value="Indicator that the user is or is not the requestor, or initiator, for the event
       being audited."/> 
      <comment value="There can only be one initiator. If the initiator is not clear, then do not choose
       any one agent as the initiator."/> 
      <requirements value="This value is used to distinguish between requestor-users and recipient-users.
       For example, one person may initiate a report-output to be sent to another user."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.agent.requestor"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <meaningWhenMissing value="false"/> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.who"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="If participation.typeCode was author, then true"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="UserIsRequestor"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.location">
      <path value="AuditEvent.agent.location"/> 
      <short value="The agent location when the event occurred"/> 
      <definition value="Where the agent location is known, the agent location when the event occurred."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.agent.location"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.location"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.where[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="* Role.Class =SDLOC
*Role.Code = ServiceDeliveryLocationRoleType
 *Entity.Code  = PlaceEntityType = df.Types of places for  Entity.Class = PLC
*EntityClass = PLC = df.A physical place or site with its containing structure.
         May be natural or man-made. The geographic position of a place might or might not
         be constant."/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.location"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.location"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.policy">
      <path value="AuditEvent.agent.policy"/> 
      <short value="Policy that authorized the agent participation in the event"/> 
      <definition value="Where the policy(ies) are known that authorized the agent participation in the
       event. Typically, a single activity may have multiple applicable policies, such
       as patient consent, guarantor funding, etc. The policy would also indicate the
       security token used."/> 
      <comment value="For example: Where an OAuth token authorizes, the unique identifier from the OAuth
       token is placed into the policy element Where a policy engine (e.g. XACML) holds
       policy logic, the unique policy identifier is placed into the policy element."/> 
      <requirements value="This value is used retrospectively to determine the authorization policies."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.agent.policy"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="uri"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="ActPolicyType"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantRoleIDCode"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.policy"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.network[x]">
      <path value="AuditEvent.agent.network[x]"/> 
      <short value="This agent network location for the activity"/> 
      <definition value="When the event utilizes a network there should be an agent describing the local
       system, and an agent describing remote system, with the network interface details."/> 
      <comment value="When remote network endpoint is known, another agent representing the remote agent
       would indicate the remote network endpoint used. Convention is to indicate data
       flowing from Source to Destination. The convention for Search, given data flows
       both ways (query parameters vs results), is to have the Source as the initiator
       of the Search Transaction, and the Destination the responder to the Search transaction."/> 
      <requirements value="When a network protocol is used the endpoint is associated with the agent most
       directly using the endpoint. This is usually the software agent that has implemented
       the application level protocol.  Preference is to define network in terms of a
       Reference(Endpoint), or URI; use string only when address or hostname is all that
       is known. When encoding using string it is best to encode using the formal canonical
       host name, but if you can't, then you can encode numeric in Literal address form
       using square brackets '[]' as a v4 string (in dotted notation), or v6 string (in
       colon notation)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.agent.network[x]"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/> 
      </type> 
      <type> 
        <code value="uri"/> 
      </type> 
      <type> 
        <code value="string"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.where[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".player.description"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="NetworkAccessPointID and NetworkAccessPointTypeCode"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent.Location"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.authorization">
      <path value="AuditEvent.agent.authorization"/> 
      <short value="Allowable authorization for this agent"/> 
      <definition value="The authorization (e.g., PurposeOfUse) that was used during the event being recorded."/> 
      <comment value="Use AuditEvent.agent.authorization when you know that is specific to the agent,
       otherwise use AuditEvent.authorization. For example, during a machine-to-machine
       transfer it might not be obvious to the audit system who caused the event, but
       it does know why."/> 
      <requirements value="Record of any relevant security context, not restricted to purposeOfUse valueSet.
       May include security compartments, refrain, obligation, or other security tags."/> 
      <alias value="PurposeOfUse"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.agent.authorization"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditPurposeOfUse"/> 
        </extension> 
        <strength value="example"/> 
        <description value="The reason the activity took place."/> 
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="*.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse
(2.16.840.1.113883.1.11.20448)
* .outboundRelationship[typeCode=RSON or SUBJ].target"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent.Activity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source">
      <path value="AuditEvent.source"/> 
      <short value="Audit Event Reporter"/> 
      <definition value="The actor that is reporting the event."/> 
      <comment value="Events are reported by the actor that detected them. This may be one of the participating
       actors, but may also be different. The actor may be a human such as a medical-records
       clerk disclosing data manually, that clerk would be the source for the record of
       disclosure."/> 
      <requirements value="The event is reported by one source."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.source"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.witness"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=INF].role[classCode=ASSIGN].player[classCode=DEV, determinerCode=INST
        ANCE]"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="AuditSourceIdentification"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source.id">
      <path value="AuditEvent.source.id"/> 
      <representation value="xmlAttr"/> 
      <short value="Unique id for inter-element referencing"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may
       be any string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <condition value="ele-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source.extension">
      <path value="AuditEvent.source.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="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 managable, 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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source.modifierExtension">
      <path value="AuditEvent.source.modifierExtension"/> 
      <short value="Extensions that cannot be ignored even if unrecognized"/> 
      <definition value="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 managable, 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.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       element that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source.site">
      <path value="AuditEvent.source.site"/> 
      <short value="Logical source location within the enterprise"/> 
      <definition value="Logical source location within the healthcare enterprise network.  For example,
       a hospital or other provider location within a multi-entity provider group."/> 
      <requirements value="This value differentiates among the sites in a multi-site enterprise health information
       system."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.source.site"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.witness"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".scopedRole[classCode=LOCE].player.desc"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="AuditEnterpriseSiteId"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source.observer">
      <path value="AuditEvent.source.observer"/> 
      <short value="The identity of source detecting the event"/> 
      <definition value="Identifier of the source where the event was detected."/> 
      <requirements value="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 value="SourceId"/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.source.observer"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.witness"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".id"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="AuditSourceId"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source.type">
      <path value="AuditEvent.source.type"/> 
      <short value="The type of source where event originated"/> 
      <definition value="Code specifying the type of source where event originated."/> 
      <requirements value="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 value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.source.type"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventSourceType"/> 
        </extension> 
        <strength value="preferred"/> 
        <description value="Code specifying the type of system that detected and recorded the event. Use of
         these codes is not required but is encouraged to maintain translation with DICOM
         AuditMessage schema."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/security-source-type"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.witness"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="AuditSourceTypeCode"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity">
      <path value="AuditEvent.entity"/> 
      <short value="Data or objects used"/> 
      <definition value="Specific instances of data or objects that have been accessed."/> 
      <comment value="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 value="The event may have other entities involved."/> 
      <alias value="ParticipantObject"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.entity"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=SUBJ].target  or  .participation[typeCode=SBJ].role"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectIdentification"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Entity"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.target, Provenance.entity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.id">
      <path value="AuditEvent.entity.id"/> 
      <representation value="xmlAttr"/> 
      <short value="Unique id for inter-element referencing"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may
       be any string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <condition value="ele-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.extension">
      <path value="AuditEvent.entity.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="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 managable, 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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.modifierExtension">
      <path value="AuditEvent.entity.modifierExtension"/> 
      <short value="Extensions that cannot be ignored even if unrecognized"/> 
      <definition value="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 managable, 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.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       element that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.what">
      <path value="AuditEvent.entity.what"/> 
      <short value="Specific instance of resource"/> 
      <definition value="Identifies a specific instance of the entity. The reference should be version specific.
       This is allowed to be a Parameters resource."/> 
      <comment value="Use .what.display when all you have is a string (e.g. ParticipantObjectName)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.entity.what"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".id"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectTypeCode, ParticipantObjectName, ParticipantObjectID and ParticipantObjectID
        TypeCode"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.target, Provenance.entity.what"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.role">
      <path value="AuditEvent.entity.role"/> 
      <short value="What role the entity played"/> 
      <definition value="Code representing the role the entity played in the event being audited."/> 
      <requirements value="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 value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.entity.role"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="Code representing the role the entity played in the audit event."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventEntityRole"/> 
        </extension> 
        <strength value="example"/> 
        <description value="DICOM Audit Event Entity Role"/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/object-role"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="role.code (not sure what this would mean for an Act)"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectTypeCodeRole"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Entity.role"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.securityLabel">
      <path value="AuditEvent.entity.securityLabel"/> 
      <short value="Security labels on the entity"/> 
      <definition value="Security labels for the identified entity."/> 
      <comment value="Copied from entity meta security tags."/> 
      <requirements value="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 value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.entity.securityLabel"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SecurityLabels"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Example Security Labels from the Healthcare Privacy and Security Classification
         System."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/security-label-examples"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".confidentialityCode"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectSensitivity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.query">
      <path value="AuditEvent.entity.query"/> 
      <short value="Query parameters"/> 
      <definition value="The query parameters for a query-type entities."/> 
      <comment value="The meaning and secondary-encoding of the content of base64 encoded blob is specific
       to the AuditEvent.type, AuditEvent.subtype, 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.

The DICOM AuditMessage schema does not support both .name and .query being populated."/> 
      <requirements value="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 value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.entity.query"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="base64Binary"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="No mapping"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectQuery"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.detail">
      <path value="AuditEvent.entity.detail"/> 
      <short value="Additional Information about the entity"/> 
      <definition value="Tagged value pairs for conveying additional information about the entity."/> 
      <requirements value="Implementation-defined data about specific details of the object accessed or used."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.entity.detail"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectDetail"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.detail.id">
      <path value="AuditEvent.entity.detail.id"/> 
      <representation value="xmlAttr"/> 
      <short value="Unique id for inter-element referencing"/> 
      <definition value="Unique id for the element within a resource (for internal references). This may
       be any string value that does not contain spaces."/> 
      <min value="0"/> 
      <max value="1"/> 
      <base> 
        <path value="Element.id"/> 
        <min value="0"/> 
        <max value="1"/> 
      </base> 
      <!--  Note: special primitive values have a FHIRPath system type. e.g. this is compiler
       magic (j)  -->
      <type> 
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/> 
        </extension> 
        <code value="http://hl7.org/fhirpath/System.String"/> 
      </type> 
      <condition value="ele-1"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.detail.extension">
      <path value="AuditEvent.entity.detail.extension"/> 
      <short value="Additional content defined by implementations"/> 
      <definition value="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 managable, 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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="Element.extension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="n/a"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.detail.modifierExtension">
      <path value="AuditEvent.entity.detail.modifierExtension"/> 
      <short value="Extensions that cannot be ignored even if unrecognized"/> 
      <definition value="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 managable, 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.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or
       DomainResource (including cannot change the meaning of modifierExtension itself)."/> 
      <comment value="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 value="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 value="extensions"/> 
      <alias value="user content"/> 
      <alias value="modifiers"/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="BackboneElement.modifierExtension"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <type> 
        <code value="Extension"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <isModifier value="true"/> 
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the
       element that contains them"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.detail.type">
      <path value="AuditEvent.entity.detail.type"/> 
      <short value="Name of the property"/> 
      <definition value="The type of extra detail provided in the value."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.entity.detail.type"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventDetailType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Additional detail about an entity used in an event."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-type"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectDetail.type"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.detail.value[x]">
      <path value="AuditEvent.entity.detail.value[x]"/> 
      <short value="Property value"/> 
      <definition value="The  value of the extra detail."/> 
      <requirements value="Should not duplicate the entity value unless absolutely necessary."/> 
      <min value="1"/> 
      <max value="1"/> 
      <base> 
        <path value="AuditEvent.entity.detail.value[x]"/> 
        <min value="1"/> 
        <max value="1"/> 
      </base> 
      <type> 
        <code value="Quantity"/> 
      </type> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <type> 
        <code value="string"/> 
      </type> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <type> 
        <code value="integer"/> 
      </type> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <type> 
        <code value="time"/> 
      </type> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <type> 
        <code value="Period"/> 
      </type> 
      <type> 
        <code value="base64Binary"/> 
      </type> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".value"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectDetail.value"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.agent">
      <path value="AuditEvent.entity.agent"/> 
      <short value="Entity is attributed to this agent"/> 
      <definition value="The entity is attributed to an agent to express the agent's responsibility for
       that entity in the activity. This is most used to indicate when persistence media
       (the entity) are used by an agent. For example when importing data from a device,
       the device would be described in an entity, and the user importing data from that
       media would be indicated as the entity.agent."/> 
      <comment value="A usecase where one AuditEvent.entity.agent is used where the Entity that was used
       in the creation/updating of a target resource, is not in the context of the same
       custodianship as the target resource, and thus the meaning of AuditEvent.entity.agent
       is to say that the entity referenced is managed elsewhere and that this Agent provided
       access to it.  This would be similar to where the Entity being referenced is managed
       outside FHIR, such as through HL7 V2, v3, or XDS. This might be where the Entity
       being referenced is managed in another FHIR resource server. Thus it explains the
       provenance of that Entity's use in the context of this AuditEvent activity."/> 
      <min value="0"/> 
      <max value="*"/> 
      <base> 
        <path value="AuditEvent.entity.agent"/> 
        <min value="0"/> 
        <max value="*"/> 
      </base> 
      <contentReference value="#AuditEvent.agent"/> 
      <constraint> 
        <key value="ele-1"/> 
        <severity value="error"/> 
        <human value="All FHIR elements must have a @value or children"/> 
        <expression value="hasValue() or (children().count() &gt; id.count())"/> 
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/> 
      </constraint> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./author/role"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ActiveParticipant.MediaType"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.entity.agent"/> 
      </mapping> 
    </element> 
  </snapshot> 
  <differential> 
    <element id="AuditEvent">
      <path value="AuditEvent"/> 
      <short value="Record of an event"/> 
      <definition value="A record of an event relevant for purposes such as operations, privacy, security,
       maintenance, and performance analysis."/> 
      <comment value="Based on IHE-ATNA."/> 
      <min value="0"/> 
      <max value="*"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="infrastructure.information"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="ControlAct[moodCode=EVN]"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="Message"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.type">
      <path value="AuditEvent.type"/> 
      <short value="High level categorization of audit event"/> 
      <definition value="Partitions the audit event into one or more categories that can be used to filter
       searching, to govern access control and/or to guide system behavior."/> 
      <comment value="Categorization might be done automatically (inferred by code) or manually by user
       assertion.  The absence of a category may limit the ability to determine when the
       element should be handled, so strong consideration should be given to how systems
       will be able to determine category values for legacy data and how data that cannot
       be categorized will be handled.  As well, some categories might not be mutually
       exclusive, so systems should prepare for multiple declared categories - even within
       a single category 'axis'.
In general, there should not be a 'strong' binding ('required' or 'extensible')
       on the category element overall.  Instead, the element can be sliced and bindings
       can be asserted that apply to particular repetitions."/> 
      <alias value="category"/> 
      <alias value="EventTypeCode"/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Type of event."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-type"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.category"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.class"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code (type, subtype and action are pre-coordinated or sent as translations)"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventTypeCode"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.subtype">
      <path value="AuditEvent.subtype"/> 
      <short value="Specific type of event"/> 
      <definition value="Describes what happened. The most specific codes for the event."/> 
      <requirements value="This field enables queries of messages by implementation-defined event categories."/> 
      <alias value="code"/> 
      <alias value="EventID"/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventSubType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Specific type of event."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-sub-type"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code (type, subtype and action are pre-coordinated or sent as translations)"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventID"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.activity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.action">
      <path value="AuditEvent.action"/> 
      <short value="Type of action performed during the event"/> 
      <definition value="Indicator for type of action performed during the event that generated the audit."/> 
      <requirements value="This broadly indicates what kind of action was done on the AuditEvent.entity by
       the AuditEvent.agent."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="code"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="Indicator for type of action performed during the event that generated the event."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventAction"/> 
        </extension> 
        <strength value="required"/> 
        <description value="DICOM Audit Event Action"/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-action|6.0.0-cibuild"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code (type, subtype and action are pre-coordinated or sent as translations)"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventActionCode"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.severity">
      <path value="AuditEvent.severity"/> 
      <short value="emergency | alert | critical | error | warning | notice | informational | debug"/> 
      <definition value="Indicates and enables segmentation of various severity including debugging from
       critical."/> 
      <comment value="ATNA will map this to the SYSLOG PRI element."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="code"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="The severity of the audit entry."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventSeverity"/> 
        </extension> 
        <strength value="required"/> 
        <description value="This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3"/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-severity|6.0.0-cibuild"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="N/A"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="PRI"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.occurred[x]">
      <path value="AuditEvent.occurred[x]"/> 
      <short value="When the activity occurred"/> 
      <definition value="The time or period during which the activity occurred."/> 
      <comment value="The time or period can be a little arbitrary; where possible, the time should correspond
       to human assessment of the activity time."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Period"/> 
      </type> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.occurrence"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.done[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./effectiveTime[type=IVL_TS]"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.startTime &amp; Activity.endTime"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.occurred[x]"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.recorded">
      <path value="AuditEvent.recorded"/> 
      <short value="Time when the event was recorded"/> 
      <definition value="The time when the event was recorded."/> 
      <comment value="In a distributed system, some sort of common time base (e.g. an NTP [RFC1305] server)
       is a good implementation tactic."/> 
      <requirements value="This ties an event to a specific date and time. Security audits typically require
       a consistent time base (e.g. UTC), to eliminate time-zone issues arising from geographical
       distribution."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="instant"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.recorded"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".effectiveTime"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventDateTime"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.when"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.recorded"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.outcome">
      <path value="AuditEvent.outcome"/> 
      <short value="Whether the event succeeded or failed"/> 
      <definition value="Indicates whether the event succeeded or failed. A free text descripiton can be
       given in outcome.text."/> 
      <comment value="In some cases a &quot;success&quot; may be partial, for example, an incomplete
       or interrupted transfer of a radiological study. For the purpose of establishing
       accountability, these distinctions are not relevant."/> 
      <requirements value="when a code is given there must be one code from the given codeSystem, and may
       be other equivilant codes from other codeSystems (for example http response codes
       such as 2xx, 4xx, or 5xx)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=OUT].target.text"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.outcome.code">
      <path value="AuditEvent.outcome.code"/> 
      <short value="Whether the event succeeded or failed"/> 
      <definition value="Indicates whether the event succeeded or failed."/> 
      <comment value="In some cases a &quot;success&quot; may be partial, for example, an incomplete
       or interrupted transfer of a radiological study. For the purpose of establishing
       accountability, these distinctions are not relevant."/> 
      <requirements value="when a code is given there must be one code from the given codeSystem."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Coding"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="Indicates whether the event succeeded or failed."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventOutcome"/> 
        </extension> 
        <strength value="preferred"/> 
        <description value="DICOM Audit Event Outcome"/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-outcome"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=OUT].target.text"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventOutcomeIndicator EventOutcomeIndicator"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.outcome.detail">
      <path value="AuditEvent.outcome.detail"/> 
      <short value="Additional outcome detail"/> 
      <definition value="Additional details about the error. This may be a text description of the error
       or a system code that identifies the error."/> 
      <comment value="A human readable description of the error issue SHOULD be placed in details.text."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventOutcomeDetail"/> 
        </extension> 
        <strength value="example"/> 
        <description value="A code that provides details as the exact issue."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-outcome-detail"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=OUT].target.text"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.authorization">
      <path value="AuditEvent.authorization"/> 
      <short value="Authorization related to the event"/> 
      <definition value="The authorization (e.g., PurposeOfUse) that was used during the event being recorded."/> 
      <comment value="Use AuditEvent.agent.authorization when you know that it is specific to the agent,
       otherwise use AuditEvent.authorization. For example, during a machine-to-machine
       transfer it might not be obvious to the audit system who caused the event, but
       it does know why."/> 
      <requirements value="Record of any relevant security context, not restricted to purposeOfUse valueSet.
       May include security compartments, refrain, obligation, or other security tags."/> 
      <alias value="PurposeOfEvent"/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditPurposeOfUse"/> 
        </extension> 
        <strength value="example"/> 
        <description value="The authorized purposeOfUse for the activity."/> 
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.reason"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="* .reasonCode [ControlActReason when Act.class = CACT Control Act]
*.outboundRelationship[typeCode=RSON].target"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="EventPurposeOfUse"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.Activity"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.authorization"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.basedOn">
      <path value="AuditEvent.basedOn"/> 
      <short value="Workflow authorization within which this event occurred"/> 
      <definition value="Allows tracing of authorizatino for the events and tracking whether proposals/recommendations
       were acted upon."/> 
      <requirements value="Allows tracing of authorization for the audit event and tracking whether proposals/recommenda
      tions were acted upon."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.basedOn"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.Activity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.patient">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="trial-use"/> 
      </extension> 
      <path value="AuditEvent.patient"/> 
      <short value="The patient is the subject of the data used/created/updated/deleted during the
       activity"/> 
      <definition value="The patient element is available to enable deterministic tracking of activities
       that involve the patient as the subject of the data used in an activity."/> 
      <requirements value="When the .patient is populated it shall be accurate to the subject of the used
       data. The .patient shall not be populated when the used data used/created/updated/deleted
       (.entity) by the activity does not involve a subject. Note that when the patient
       is an agent, they will be recorded as an agent. When the Patient resource is Created,
       Updated, or Deleted it will be recorded as an entity.  May also affect access control."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.subject"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.subject[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="participation[typeCode=RTGT]"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Entity.Identity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.encounter">
      <path value="AuditEvent.encounter"/> 
      <short value="Encounter within which this event occurred or which the event is tightly associated"/> 
      <definition value="This will typically be the encounter the event occurred, but some events may be
       initiated prior to or after the official completion of an encounter but still be
       tied to the context of the encounter (e.g. pre-admission lab tests)."/> 
      <comment value="This will typically be the encounter the audit event was created during, but some
       audit events may be initiated prior to or after the official completion of an encounter
       but still be tied to the context of the encounter (e.g. pre-admission lab tests)."/> 
      <requirements value="Links the audit event to the Encounter context.  May also affect access control."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Encounter"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.encounter"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="Act.code"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.Activity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent">
      <path value="AuditEvent.agent"/> 
      <short value="Actor involved in the event"/> 
      <definition value="An actor taking an active role in the event or activity that is logged."/> 
      <comment value="Several agents may be associated (i.e. have some responsibility for an activity)
       with an event or activity.

For example, an activity may be initiated by one user for other users or involve
       more than one user. However, only one user may be the initiator/requestor for the
       activity. 

When a network are used in an event being recorded, there should be distinct agent
       elements for the known actors using the network. The agent with a network detail
       would be the responsible agent for use of that network."/> 
      <requirements value="An agent can be a person, an organization, software, device, or other actors that
       may be ascribed responsibility."/> 
      <alias value="ActiveParticipant"/> 
      <min value="1"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.who"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ActiveParticipant"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.agent"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.type">
      <path value="AuditEvent.agent.type"/> 
      <short value="How agent participated"/> 
      <definition value="The Functional Role of the user when performing the event."/> 
      <comment value="For example: assembler, author, prescriber, signer, investigator, etc."/> 
      <requirements value="Functional roles reflect functional aspects of relationships between entities.
       Functional roles are bound to the realization/performance of acts, where actions
       might be concatenated to an activity or even to a process. This element will hold
       the functional role that the agent played in the activity that is the focus of
       this Provenance. Where an agent played multiple functional roles, they will be
       listed as multiple .agent elements representing each functional participation.
       See ISO 21298:2018 - Health Informatics - Functional and structural roles, and
       ISO 22600-2:2014 - Health Informatics - Privilege Management and Access Control
       - Part 2: formal models."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditAgentType"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="preferred"/> 
        <description value="The Participation type of the agent to the event."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/participation-role-type"/> 
      </binding> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.function"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.who"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".typeCode and/or .functionCode"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="prime RoleIdCode"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent.Attribution"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.agent.type"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.role">
      <path value="AuditEvent.agent.role"/> 
      <short value="Agent role in the event"/> 
      <definition value="The structural roles of the agent indicating the agent's competency. The security
       role enabling the agent with respect to the activity."/> 
      <comment value="For example: Chief-of-Radiology, Nurse, Physician, Medical-Student, etc."/> 
      <requirements value="Structural roles reflect the structural aspects of relationships between entities.
       Structural roles describe prerequisites, feasibilities, or competences for acts.
       Functional roles reflect functional aspects of relationships between entities.
       Functional roles are bound to the realization/performance of acts, where actions
       might be concatenated to an activity or even to a process. See ISO 21298:2018 -
       Health Informatics - Functional and structural roles, and ISO 22600-2:2014 - Health
       Informatics - Privilege Management and Access Control - Part 2: formal models.."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditAgentRole"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="example"/> 
        <description value="What security role enabled the agent to participate in the event."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/security-role-type"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.who"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".role"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="all RoleIdCode"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent.Attribution"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.agent.role"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.who">
      <path value="AuditEvent.agent.who"/> 
      <short value="Identifier of who"/> 
      <definition value="Reference to who this agent is that was involved in the event."/> 
      <comment value="Where a User ID is available it will go into who.identifier. Where a name of the
       user (human readable) it will go into who.display."/> 
      <requirements value="This field ties an audit event to a specific resource or identifier."/> 
      <alias value="userId"/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.performer.actor"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".id"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="UserName and UserId"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent.Identity"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.agent.who"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.who"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.requestor">
      <path value="AuditEvent.agent.requestor"/> 
      <short value="Whether user is initiator"/> 
      <definition value="Indicator that the user is or is not the requestor, or initiator, for the event
       being audited."/> 
      <comment value="There can only be one initiator. If the initiator is not clear, then do not choose
       any one agent as the initiator."/> 
      <requirements value="This value is used to distinguish between requestor-users and recipient-users.
       For example, one person may initiate a report-output to be sent to another user."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <meaningWhenMissing value="false"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.who"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="If participation.typeCode was author, then true"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="UserIsRequestor"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.location">
      <path value="AuditEvent.agent.location"/> 
      <short value="The agent location when the event occurred"/> 
      <definition value="Where the agent location is known, the agent location when the event occurred."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="workflow"/> 
        <map value="Event.location"/> 
      </mapping> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.where[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="* Role.Class =SDLOC
*Role.Code = ServiceDeliveryLocationRoleType
 *Entity.Code  = PlaceEntityType = df.Types of places for  Entity.Class = PLC
*EntityClass = PLC = df.A physical place or site with its containing structure.
         May be natural or man-made. The geographic position of a place might or might not
         be constant."/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Activity.location"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.location"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.policy">
      <path value="AuditEvent.agent.policy"/> 
      <short value="Policy that authorized the agent participation in the event"/> 
      <definition value="Where the policy(ies) are known that authorized the agent participation in the
       event. Typically, a single activity may have multiple applicable policies, such
       as patient consent, guarantor funding, etc. The policy would also indicate the
       security token used."/> 
      <comment value="For example: Where an OAuth token authorizes, the unique identifier from the OAuth
       token is placed into the policy element Where a policy engine (e.g. XACML) holds
       policy logic, the unique policy identifier is placed into the policy element."/> 
      <requirements value="This value is used retrospectively to determine the authorization policies."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="uri"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="ActPolicyType"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantRoleIDCode"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.policy"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.network[x]">
      <path value="AuditEvent.agent.network[x]"/> 
      <short value="This agent network location for the activity"/> 
      <definition value="When the event utilizes a network there should be an agent describing the local
       system, and an agent describing remote system, with the network interface details."/> 
      <comment value="When remote network endpoint is known, another agent representing the remote agent
       would indicate the remote network endpoint used. Convention is to indicate data
       flowing from Source to Destination. The convention for Search, given data flows
       both ways (query parameters vs results), is to have the Source as the initiator
       of the Search Transaction, and the Destination the responder to the Search transaction."/> 
      <requirements value="When a network protocol is used the endpoint is associated with the agent most
       directly using the endpoint. This is usually the software agent that has implemented
       the application level protocol.  Preference is to define network in terms of a
       Reference(Endpoint), or URI; use string only when address or hostname is all that
       is known. When encoding using string it is best to encode using the formal canonical
       host name, but if you can't, then you can encode numeric in Literal address form
       using square brackets '[]' as a v4 string (in dotted notation), or v6 string (in
       colon notation)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/> 
      </type> 
      <type> 
        <code value="uri"/> 
      </type> 
      <type> 
        <code value="string"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.where[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".player.description"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="NetworkAccessPointID and NetworkAccessPointTypeCode"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent.Location"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.agent.authorization">
      <path value="AuditEvent.agent.authorization"/> 
      <short value="Allowable authorization for this agent"/> 
      <definition value="The authorization (e.g., PurposeOfUse) that was used during the event being recorded."/> 
      <comment value="Use AuditEvent.agent.authorization when you know that is specific to the agent,
       otherwise use AuditEvent.authorization. For example, during a machine-to-machine
       transfer it might not be obvious to the audit system who caused the event, but
       it does know why."/> 
      <requirements value="Record of any relevant security context, not restricted to purposeOfUse valueSet.
       May include security compartments, refrain, obligation, or other security tags."/> 
      <alias value="PurposeOfUse"/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditPurposeOfUse"/> 
        </extension> 
        <strength value="example"/> 
        <description value="The reason the activity took place."/> 
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.why[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="*.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse
(2.16.840.1.113883.1.11.20448)
* .outboundRelationship[typeCode=RSON or SUBJ].target"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Agent.Activity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source">
      <path value="AuditEvent.source"/> 
      <short value="Audit Event Reporter"/> 
      <definition value="The actor that is reporting the event."/> 
      <comment value="Events are reported by the actor that detected them. This may be one of the participating
       actors, but may also be different. The actor may be a human such as a medical-records
       clerk disclosing data manually, that clerk would be the source for the record of
       disclosure."/> 
      <requirements value="The event is reported by one source."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.witness"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".participation[typeCode=INF].role[classCode=ASSIGN].player[classCode=DEV, determinerCode=INST
        ANCE]"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="AuditSourceIdentification"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source.site">
      <path value="AuditEvent.source.site"/> 
      <short value="Logical source location within the enterprise"/> 
      <definition value="Logical source location within the healthcare enterprise network.  For example,
       a hospital or other provider location within a multi-entity provider group."/> 
      <requirements value="This value differentiates among the sites in a multi-site enterprise health information
       system."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.witness"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".scopedRole[classCode=LOCE].player.desc"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="AuditEnterpriseSiteId"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source.observer">
      <path value="AuditEvent.source.observer"/> 
      <short value="The identity of source detecting the event"/> 
      <definition value="Identifier of the source where the event was detected."/> 
      <requirements value="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 value="SourceId"/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.witness"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".id"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="AuditSourceId"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.source.type">
      <path value="AuditEvent.source.type"/> 
      <short value="The type of source where event originated"/> 
      <definition value="Code specifying the type of source where event originated."/> 
      <requirements value="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 value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventSourceType"/> 
        </extension> 
        <strength value="preferred"/> 
        <description value="Code specifying the type of system that detected and recorded the event. Use of
         these codes is not required but is encouraged to maintain translation with DICOM
         AuditMessage schema."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/security-source-type"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.witness"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="AuditSourceTypeCode"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity">
      <path value="AuditEvent.entity"/> 
      <short value="Data or objects used"/> 
      <definition value="Specific instances of data or objects that have been accessed."/> 
      <comment value="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 value="The event may have other entities involved."/> 
      <alias value="ParticipantObject"/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".outboundRelationship[typeCode=SUBJ].target  or  .participation[typeCode=SBJ].role"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectIdentification"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Entity"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.target, Provenance.entity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.what">
      <path value="AuditEvent.entity.what"/> 
      <short value="Specific instance of resource"/> 
      <definition value="Identifies a specific instance of the entity. The reference should be version specific.
       This is allowed to be a Parameters resource."/> 
      <comment value="Use .what.display when all you have is a string (e.g. ParticipantObjectName)."/> 
      <min value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="Reference"/> 
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.what[x]"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".id"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectTypeCode, ParticipantObjectName, ParticipantObjectID and ParticipantObjectID
        TypeCode"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.target, Provenance.entity.what"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.role">
      <path value="AuditEvent.entity.role"/> 
      <short value="What role the entity played"/> 
      <definition value="Code representing the role the entity played in the event being audited."/> 
      <requirements value="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 value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
          <valueMarkdown value="Code representing the role the entity played in the audit event."/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventEntityRole"/> 
        </extension> 
        <strength value="example"/> 
        <description value="DICOM Audit Event Entity Role"/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/object-role"/> 
      </binding> 
      <mapping> 
        <identity value="rim"/> 
        <map value="role.code (not sure what this would mean for an Act)"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectTypeCodeRole"/> 
      </mapping> 
      <mapping> 
        <identity value="w3c.prov"/> 
        <map value="Entity.role"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.securityLabel">
      <path value="AuditEvent.entity.securityLabel"/> 
      <short value="Security labels on the entity"/> 
      <definition value="Security labels for the identified entity."/> 
      <comment value="Copied from entity meta security tags."/> 
      <requirements value="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 value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SecurityLabels"/> 
        </extension> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Example Security Labels from the Healthcare Privacy and Security Classification
         System."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/security-label-examples"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".confidentialityCode"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectSensitivity"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.query">
      <path value="AuditEvent.entity.query"/> 
      <short value="Query parameters"/> 
      <definition value="The query parameters for a query-type entities."/> 
      <comment value="The meaning and secondary-encoding of the content of base64 encoded blob is specific
       to the AuditEvent.type, AuditEvent.subtype, 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.

The DICOM AuditMessage schema does not support both .name and .query being populated."/> 
      <requirements value="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 value="0"/> 
      <max value="1"/> 
      <type> 
        <code value="base64Binary"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="true"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value="No mapping"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectQuery"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.detail">
      <path value="AuditEvent.entity.detail"/> 
      <short value="Additional Information about the entity"/> 
      <definition value="Tagged value pairs for conveying additional information about the entity."/> 
      <requirements value="Implementation-defined data about specific details of the object accessed or used."/> 
      <min value="0"/> 
      <max value="*"/> 
      <type> 
        <code value="BackboneElement"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectDetail"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.detail.type">
      <path value="AuditEvent.entity.detail.type"/> 
      <short value="Name of the property"/> 
      <definition value="The type of extra detail provided in the value."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <binding> 
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AuditEventDetailType"/> 
        </extension> 
        <strength value="example"/> 
        <description value="Additional detail about an entity used in an event."/> 
        <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-type"/> 
      </binding> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".code"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectDetail.type"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.detail.value[x]">
      <path value="AuditEvent.entity.detail.value[x]"/> 
      <short value="Property value"/> 
      <definition value="The  value of the extra detail."/> 
      <requirements value="Should not duplicate the entity value unless absolutely necessary."/> 
      <min value="1"/> 
      <max value="1"/> 
      <type> 
        <code value="Quantity"/> 
      </type> 
      <type> 
        <code value="CodeableConcept"/> 
      </type> 
      <type> 
        <code value="string"/> 
      </type> 
      <type> 
        <code value="boolean"/> 
      </type> 
      <type> 
        <code value="integer"/> 
      </type> 
      <type> 
        <code value="Range"/> 
      </type> 
      <type> 
        <code value="Ratio"/> 
      </type> 
      <type> 
        <code value="time"/> 
      </type> 
      <type> 
        <code value="dateTime"/> 
      </type> 
      <type> 
        <code value="Period"/> 
      </type> 
      <type> 
        <code value="base64Binary"/> 
      </type> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="w5"/> 
        <map value="FiveWs.context"/> 
      </mapping> 
      <mapping> 
        <identity value="rim"/> 
        <map value=".value"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ParticipantObjectDetail.value"/> 
      </mapping> 
    </element> 
    <element id="AuditEvent.entity.agent">
      <path value="AuditEvent.entity.agent"/> 
      <short value="Entity is attributed to this agent"/> 
      <definition value="The entity is attributed to an agent to express the agent's responsibility for
       that entity in the activity. This is most used to indicate when persistence media
       (the entity) are used by an agent. For example when importing data from a device,
       the device would be described in an entity, and the user importing data from that
       media would be indicated as the entity.agent."/> 
      <comment value="A usecase where one AuditEvent.entity.agent is used where the Entity that was used
       in the creation/updating of a target resource, is not in the context of the same
       custodianship as the target resource, and thus the meaning of AuditEvent.entity.agent
       is to say that the entity referenced is managed elsewhere and that this Agent provided
       access to it.  This would be similar to where the Entity being referenced is managed
       outside FHIR, such as through HL7 V2, v3, or XDS. This might be where the Entity
       being referenced is managed in another FHIR resource server. Thus it explains the
       provenance of that Entity's use in the context of this AuditEvent activity."/> 
      <min value="0"/> 
      <max value="*"/> 
      <contentReference value="#AuditEvent.agent"/> 
      <mustSupport value="false"/> 
      <isModifier value="false"/> 
      <isSummary value="false"/> 
      <mapping> 
        <identity value="rim"/> 
        <map value="./author/role"/> 
      </mapping> 
      <mapping> 
        <identity value="dicom"/> 
        <map value="ActiveParticipant.MediaType"/> 
      </mapping> 
      <mapping> 
        <identity value="fhirprovenance"/> 
        <map value="Provenance.entity.agent"/> 
      </mapping> 
    </element> 
  </differential> 
</StructureDefinition> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.