PackagesCanonicalsLogsProblems
    Packages
    aws.dummy@0.0.2
    https://fhir.kbv.de/StructureDefinition/74_PR_AW_Report_Export
{
  "description": null,
  "_filename": "74_PR_AW_Report_Export.json",
  "package_name": "aws.dummy",
  "date": "2019-05-27",
  "derivation": "constraint",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "fhirVersion": "3.0.1",
  "name": "74_PR_AW_Report_Export",
  "abstract": false,
  "copyright": "Copyright © [2018], Kassenärztliche Bundesvereinigung (KBV). All rights reserved.",
  "type": "AuditEvent",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.0.2",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-1",
        "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
        "xpath": "not(parent::f:contained and f:text)",
        "severity": "error",
        "expression": "contained.text.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
        "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
        "severity": "error",
        "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()"
      } ],
      "path": "AuditEvent",
      "min": 0,
      "definition": "A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage.",
      "short": "Event record kept for security purposes",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "ControlAct[moodCode=EVN]",
        "identity": "rim"
      }, {
        "map": "Message",
        "identity": "dicom"
      }, {
        "map": "infrastructure.information",
        "identity": "w5"
      } ],
      "max": "*",
      "id": "AuditEvent",
      "comment": "Based on ATNA (RFC 3881).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Resource"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.id",
      "min": 1,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "short": "Logical id of this artifact",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "AuditEvent.id",
      "condition": [ "ele-1" ],
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.meta",
      "min": 1,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
      "short": "Metadata about the resource",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "AuditEvent.meta",
      "condition": [ "ele-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.meta.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.meta.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.meta.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.meta.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.meta.versionId",
      "min": 1,
      "definition": "The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.",
      "short": "Version specific identifier",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "AuditEvent.meta.versionId",
      "condition": [ "ele-1" ],
      "comment": "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Meta.versionId"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.meta.lastUpdated",
      "min": 1,
      "definition": "When the resource last changed - e.g. when the version changed.",
      "short": "When the resource version last changed",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "instant"
      } ],
      "max": "1",
      "id": "AuditEvent.meta.lastUpdated",
      "condition": [ "ele-1" ],
      "comment": "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Meta.lastUpdated"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.meta.profile",
      "min": 1,
      "definition": "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url]().",
      "short": "Profiles this resource claims to conform to",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "AuditEvent.meta.profile",
      "condition": [ "ele-1" ],
      "comment": "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Meta.profile"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.meta.security",
      "min": 0,
      "definition": "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
      "short": "Security Labels applied to this resource",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SecurityLabels"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Security Labels from the Healthcare Privacy and Security Classification System.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/security-labels"
        }
      },
      "max": "*",
      "id": "AuditEvent.meta.security",
      "condition": [ "ele-1" ],
      "comment": "The security labels can be updated without changing the stated version of the resource  The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Meta.security"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.meta.tag",
      "min": 0,
      "definition": "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
      "short": "Tags applied to this resource",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Tags"
        } ],
        "description": "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/common-tags"
        }
      },
      "max": "*",
      "id": "AuditEvent.meta.tag",
      "condition": [ "ele-1" ],
      "comment": "The tags can be updated without changing the stated version of the resource.  The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Meta.tag"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "AuditEvent.implicitRules",
      "condition": [ "ele-1" ],
      "comment": "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "short": "Language of the resource content",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-languages"
          }
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A human language.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      "max": "1",
      "id": "AuditEvent.language",
      "condition": [ "ele-1" ],
      "comment": "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).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.text",
      "min": 1,
      "definition": "A human-readable narrative that contains a summary of the resource, and may 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 \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "AuditEvent.text",
      "condition": [ "ele-1", "dom-1" ],
      "comment": "Contained resources do not have 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 \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      }
    }, {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-1",
        "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
        "xpath": "not(parent::f:contained and f:text)",
        "severity": "error",
        "expression": "contained.text.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
        "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
        "severity": "error",
        "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()"
      } ],
      "path": "AuditEvent.contained",
      "min": 1,
      "definition": "This resource identifies an instance or a type of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device.  Medical devices include durable (reusable) medical equipment, implantable devices, as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health.  Non-medical devices may include items such as a machine, cellphone, computer, application, etc.",
      "short": "Item used in healthcare",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "Device",
        "identity": "rim"
      }, {
        "map": "administrative.device",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Resource",
        "profile": "https://fhir.kbv.de/StructureDefinition/74_PR_AW_Hersteller_Software"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "1",
      "id": "AuditEvent.contained",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.modifierExtension",
      "min": 0,
      "definition": "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. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.modifierExtension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.type",
      "requirements": "This identifies the performed function. For \"Execute\" Event Action Code audit records, this identifies the application function performed.",
      "min": 1,
      "definition": "Identifier for a family of the event.  For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function.",
      "short": "Type/identifier of event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      }, {
        "map": ".code (type, subtype and action are pre-coordinated or sent as translations)",
        "identity": "rim"
      }, {
        "map": "EventId",
        "identity": "dicom"
      }, {
        "map": "Activity",
        "identity": "w3c.prov"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventType"
        } ],
        "description": "Type of event.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/audit-event-type"
        }
      },
      "max": "1",
      "id": "AuditEvent.type",
      "condition": [ "ele-1" ],
      "comment": "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "AuditEvent.type"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.type.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.type.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.type.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.type.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.type.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "fixedUri": "http://dicom.nema.org/resources/ontology/DCM",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "AuditEvent.type.system",
      "condition": [ "ele-1" ],
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.type.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "0",
      "id": "AuditEvent.type.version",
      "condition": [ "ele-1" ],
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.type.code",
      "fixedCode": "110106",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "AuditEvent.type.code",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.type.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "0",
      "id": "AuditEvent.type.display",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.type.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "0",
      "id": "AuditEvent.type.userSelected",
      "condition": [ "ele-1" ],
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.subtype",
      "requirements": "This field enables queries of messages by implementation-defined event categories.",
      "min": 0,
      "definition": "Identifier for the category of event.",
      "short": "More specific type/id for the event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      }, {
        "map": ".code (type, subtype and action are pre-coordinated or sent as translations)",
        "identity": "rim"
      }, {
        "map": "EventTypeCode",
        "identity": "dicom"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventSubType"
        } ],
        "description": "Sub-type of event.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/audit-event-sub-type"
        }
      },
      "max": "0",
      "id": "AuditEvent.subtype",
      "condition": [ "ele-1" ],
      "comment": "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.subtype"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.action",
      "requirements": "This broadly indicates what kind of action was done on the AuditEvent.entity by the AuditEvent.agent.",
      "min": 0,
      "definition": "Indicator for type of action performed during the event that generated the audit.",
      "short": "Type of action performed during the event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".code (type, subtype and action are pre-coordinated or sent as translations)",
        "identity": "rim"
      }, {
        "map": "EventActionCode",
        "identity": "dicom"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventAction"
        } ],
        "description": "Indicator for type of action performed during the event that generated the event",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/audit-event-action"
        }
      },
      "max": "0",
      "id": "AuditEvent.action",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.action"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.recorded",
      "requirements": "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": 1,
      "definition": "The time when the event occurred on the source.",
      "short": "Zeitstempel des Exports",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".effectiveTime",
        "identity": "rim"
      }, {
        "map": "EventDateTime",
        "identity": "dicom"
      }, {
        "map": "Activity.when",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.recorded",
        "identity": "fhirprovenance"
      }, {
        "map": "when.recorded",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "instant"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "AuditEvent.recorded",
      "condition": [ "ele-1" ],
      "comment": "In a distributed system, some sort of common time base (e.g. an NTP [RFC1305] server) is a good implementation tactic.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "AuditEvent.recorded"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.outcome",
      "min": 0,
      "definition": "Indicates whether the event succeeded or failed.",
      "short": "Whether the event succeeded or failed",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".actionNegationInd",
        "identity": "rim"
      }, {
        "map": "EventOutcomeIndicator",
        "identity": "dicom"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventOutcome"
        } ],
        "description": "Indicates whether the event succeeded or failed",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/audit-event-outcome"
        }
      },
      "max": "0",
      "id": "AuditEvent.outcome",
      "condition": [ "ele-1" ],
      "comment": "In some cases a \"success\" 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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.outcome"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.outcomeDesc",
      "min": 0,
      "definition": "A free text description of the outcome of the event.",
      "short": "Description of the event outcome",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".outboundRelationship[typeCode=OUT].target.text",
        "identity": "rim"
      }, {
        "map": "EventOutcomeDescription",
        "identity": "dicom"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "0",
      "id": "AuditEvent.outcomeDesc",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.outcomeDesc"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.purposeOfEvent",
      "min": 0,
      "definition": "The purposeOfUse (reason) that was used during the event being recorded.",
      "short": "The purposeOfUse of the event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "map": "* .reasonCode [ControlActReason when Act.class = CACT Control Act]\n*.outboundRelationship[typeCode=RSON].target",
        "identity": "rim"
      }, {
        "map": "EventPurposeOfUse",
        "identity": "dicom"
      }, {
        "map": "Activity.Activity",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.reason, Provenance.activity",
        "identity": "fhirprovenance"
      }, {
        "map": "why",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditPurposeOfUse"
        } ],
        "description": "The reason the activity took place.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
        }
      },
      "max": "0",
      "id": "AuditEvent.purposeOfEvent",
      "condition": [ "ele-1" ],
      "comment": "Use AuditEvent.agent.purposeOfUse when you know that it is specific to the agent, otherwise use AuditEvent.purposeOfEvent. 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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.purposeOfEvent"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent",
      "requirements": "An agent can be a person, an organization, software, device, or other actors that may be ascribed responsibility.",
      "min": 2,
      "definition": "An actor taking an active role in the event or activity that is logged.",
      "short": "Actor involved in the event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".participation",
        "identity": "rim"
      }, {
        "map": "ActiveParticipant",
        "identity": "dicom"
      }, {
        "map": "Agent",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "name",
          "type": "exists"
        } ]
      },
      "type": [ {
        "code": "BackboneElement"
      } ],
      "alias": [ "ActiveParticipant" ],
      "max": "2",
      "id": "AuditEvent.agent",
      "condition": [ "ele-1" ],
      "comment": "Several agents may be associated (i.e. have some responsibility for an activity) with an event or activity.\n\nFor 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.",
      "base": {
        "max": "*",
        "min": 1,
        "path": "AuditEvent.agent"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.agent.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.agent.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "AuditEvent.agent.modifierExtension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.role",
      "requirements": "This value ties an audited event to a user's role(s). It is an optional value that might be used to group events for analysis by user functional role categories.",
      "min": 0,
      "definition": "The security role that the user was acting under, that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.",
      "short": "Agent role in the event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "map": ".role and/or .typeCode and/or .functionCode",
        "identity": "rim"
      }, {
        "map": "RoleIdCode",
        "identity": "dicom"
      }, {
        "map": "Agent.Attribution",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent.role",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditAgentRole"
        } ],
        "description": "What security role enabled the agent to participate in the event",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/security-role-type"
        }
      },
      "max": "*",
      "id": "AuditEvent.agent.role",
      "condition": [ "ele-1" ],
      "comment": "Should be roles relevant to the event. Should  not be an exhaustive list of roles.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.agent.role"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "AuditEvent.agent.reference",
      "requirements": "This field ties an audit event to a specific resource.",
      "min": 0,
      "definition": "Direct reference to a resource that identifies the agent.",
      "short": "Direct reference to resource",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent.actor",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
      } ],
      "max": "1",
      "id": "AuditEvent.agent.reference",
      "condition": [ "ele-1" ],
      "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.reference"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.userId",
      "requirements": "This field ties an audit event to a specific user.",
      "min": 0,
      "definition": "Unique identifier for the user actively participating in the event.",
      "short": "Unique identifier for the user",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)",
        "identity": "v2"
      }, {
        "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]",
        "identity": "rim"
      }, {
        "map": "Identifier",
        "identity": "servd"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "UserId",
        "identity": "dicom"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent.userId",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "1",
      "id": "AuditEvent.agent.userId",
      "condition": [ "ele-1" ],
      "comment": "A unique value within the Audit Source ID. For node-based authentication -- where only the system hardware or process, but not a human user, is identified -- User ID would be the node name.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.userId"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.altId",
      "requirements": "In some situations, a human user may authenticate with one identity but, to access a specific application system, may use a synonymous identify. For example, some \"single sign on\" implementations will do this. The alternative identifier would then be the original identify  used for authentication, and the User ID is the one known to and used by the application.",
      "min": 0,
      "definition": "Alternative agent Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available.",
      "short": "Alternative User id e.g. authentication",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".id (distinguish id type by root)",
        "identity": "rim"
      }, {
        "map": "AlternativeUserId",
        "identity": "dicom"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "AuditEvent.agent.altId",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.altId"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.name",
      "requirements": "The User ID and Authorization User ID may be internal or otherwise obscure values. This field assists the auditor in identifying the actual user.",
      "min": 0,
      "definition": "Human-meaningful name for the agent.",
      "short": "Human-meaningful name for the agent",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".name",
        "identity": "rim"
      }, {
        "map": "UserName",
        "identity": "dicom"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "AuditEvent.agent.name",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.name"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.requestor",
      "requirements": "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": 1,
      "definition": "Indicator that the user is or is not the requestor, or initiator, for the event being audited.",
      "short": "Whether user is initiator",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "If participation.typeCode was author, then true",
        "identity": "rim"
      }, {
        "map": "UserIsRequestor",
        "identity": "dicom"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "AuditEvent.agent.requestor",
      "condition": [ "ele-1" ],
      "comment": "There can only be one initiator. If the initiator is not clear, then do not choose any one agent as the initiator.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "AuditEvent.agent.requestor"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "AuditEvent.agent.location",
      "min": 0,
      "definition": "Where the event occurred.",
      "short": "Where",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": "* Role.Class =SDLOC\n*Role.Code = ServiceDeliveryLocationRoleType\n *Entity.Code  = PlaceEntityType = df.Types of places for  Entity.Class = PLC\n*EntityClass = PLC = df.A physical place or site with its containing structure. May be natural or man-made. The geographic position of a place may or may not be constant.",
        "identity": "rim"
      }, {
        "map": "Activity.location",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.location",
        "identity": "fhirprovenance"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
      } ],
      "max": "1",
      "id": "AuditEvent.agent.location",
      "condition": [ "ele-1" ],
      "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.location"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.policy",
      "requirements": "This value is used retrospectively to determine the authorization policies.",
      "min": 0,
      "definition": "The policy or plan that authorized the activity being recorded. 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.",
      "short": "Policy that authorized event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "ActPolicyType",
        "identity": "rim"
      }, {
        "map": "ParticipantRoleIDCode",
        "identity": "dicom"
      }, {
        "map": "Provenance.policy",
        "identity": "fhirprovenance"
      }, {
        "map": "why",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "*",
      "id": "AuditEvent.agent.policy",
      "condition": [ "ele-1" ],
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.agent.policy"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.media",
      "requirements": "Usually, this is used instead of specifying a network address. This field is not used for Media Id (i.e. the serial number of a CD).",
      "min": 0,
      "definition": "Type of media involved. Used when the event is about exporting/importing onto media.",
      "short": "Type of media",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      }, {
        "map": ".player.description.mediaType",
        "identity": "rim"
      }, {
        "map": "MediaType",
        "identity": "dicom"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DICOMMediaType"
        } ],
        "description": "Used when the event is about exporting/importing onto media.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/dicm-405-mediatype"
        }
      },
      "max": "1",
      "id": "AuditEvent.agent.media",
      "condition": [ "ele-1" ],
      "comment": "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.media"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network",
      "min": 0,
      "definition": "Logical network location for application activity, if the activity has a network location.",
      "short": "Logical network location for application activity",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".player.description.reference",
        "identity": "rim"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "AuditEvent.agent.network",
      "condition": [ "ele-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.network"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.agent.network.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.network.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.agent.network.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.network.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "AuditEvent.agent.network.modifierExtension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network.address",
      "requirements": "This datum identifies the user's network access point, which may be distinct from the server that performed the action. It is an optional value that may be used to group events recorded on separate servers for analysis of a specific network access point's data access across all servers.",
      "min": 0,
      "definition": "An identifier for the network access point of the user device for the audit event.",
      "short": "Identifier for the network access point of the user device",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "pre-coordinated into URL",
        "identity": "rim"
      }, {
        "map": "NetworkAccessPointID",
        "identity": "dicom"
      }, {
        "map": "Agent.Location",
        "identity": "w3c.prov"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "AuditEvent.agent.network.address",
      "condition": [ "ele-1" ],
      "comment": "This could be a device id, IP address or some other identifier associated with a device.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.network.address"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network.type",
      "requirements": "This datum identifies the type of network access point identifier of the user device for the audit event. It is an optional value that may be used to group events recorded on separate servers for analysis of access according to a network access point's type.",
      "min": 0,
      "definition": "An identifier for the type of network access point that originated the audit event.",
      "short": "The type of network access point",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "pre-coordinated into URL",
        "identity": "rim"
      }, {
        "map": "NetworkAccessPointTypeCode",
        "identity": "dicom"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventAgentNetworkType"
        } ],
        "description": "The type of network access point of this agent in the audit event",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/network-type"
        }
      },
      "max": "1",
      "id": "AuditEvent.agent.network.type",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.network.type"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.purposeOfUse",
      "min": 0,
      "definition": "The reason (purpose of use), specific to this agent, that was used during the event being recorded.",
      "short": "Reason given for this user",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "map": "*.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse\n(2.16.840.1.113883.1.11.20448)\n* .outboundRelationship[typeCode=RSON or SUBJ].target",
        "identity": "rim"
      }, {
        "map": "Agent.Activity",
        "identity": "w3c.prov"
      }, {
        "map": "why",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditPurposeOfUse"
        } ],
        "description": "The reason the activity took place.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
        }
      },
      "max": "*",
      "id": "AuditEvent.agent.purposeOfUse",
      "condition": [ "ele-1" ],
      "comment": "Use AuditEvent.agent.purposeOfUse when you know that is specific to the agent, otherwise use AuditEvent.purposeOfEvent. 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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.agent.purposeOfUse"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent",
      "requirements": "An agent can be a person, an organization, software, device, or other actors that may be ascribed responsibility.",
      "min": 1,
      "definition": "Angabe der Daten zur Software des Exports.",
      "short": "Exportsoftware",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".participation",
        "identity": "rim"
      }, {
        "map": "ActiveParticipant",
        "identity": "dicom"
      }, {
        "map": "Agent",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "sliceName": "export_Software",
      "alias": [ "ActiveParticipant" ],
      "max": "1",
      "id": "AuditEvent.agent:export_Software",
      "condition": [ "ele-1" ],
      "comment": "Several agents may be associated (i.e. have some responsibility for an activity) with an event or activity.\n\nFor 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.",
      "base": {
        "max": "*",
        "min": 1,
        "path": "AuditEvent.agent"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.agent:export_Software.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.agent:export_Software.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "AuditEvent.agent:export_Software.modifierExtension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.role",
      "requirements": "This value ties an audited event to a user's role(s). It is an optional value that might be used to group events for analysis by user functional role categories.",
      "min": 0,
      "definition": "The security role that the user was acting under, that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.",
      "short": "Agent role in the event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "map": ".role and/or .typeCode and/or .functionCode",
        "identity": "rim"
      }, {
        "map": "RoleIdCode",
        "identity": "dicom"
      }, {
        "map": "Agent.Attribution",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent.role",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditAgentRole"
        } ],
        "description": "What security role enabled the agent to participate in the event",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/security-role-type"
        }
      },
      "max": "0",
      "id": "AuditEvent.agent:export_Software.role",
      "condition": [ "ele-1" ],
      "comment": "Should be roles relevant to the event. Should  not be an exhaustive list of roles.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.agent.role"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "AuditEvent.agent.reference",
      "requirements": "This field ties an audit event to a specific resource.",
      "min": 1,
      "definition": "Direct reference to a resource that identifies the agent.",
      "short": "Direct reference to resource",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent.actor",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_AW_Hersteller_Software"
      } ],
      "max": "1",
      "id": "AuditEvent.agent:export_Software.reference",
      "condition": [ "ele-1" ],
      "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.reference"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.reference.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.agent:export_Software.reference.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.reference.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.agent:export_Software.reference.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.reference.reference",
      "min": 1,
      "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
      "short": "Literal reference, Relative, internal or absolute URL",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "AuditEvent.agent:export_Software.reference.reference",
      "condition": [ "ele-1", "ref-1" ],
      "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.reference"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.reference.identifier",
      "min": 0,
      "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
      "short": "Logical reference, when literal reference is not known",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)",
        "identity": "v2"
      }, {
        "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]",
        "identity": "rim"
      }, {
        "map": "Identifier",
        "identity": "servd"
      }, {
        "map": ".identifier",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Software.reference.identifier",
      "condition": [ "ele-1" ],
      "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.reference.display",
      "min": 0,
      "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
      "short": "Text alternative for the resource",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Software.reference.display",
      "condition": [ "ele-1" ],
      "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.userId",
      "requirements": "This field ties an audit event to a specific user.",
      "min": 0,
      "definition": "Unique identifier for the user actively participating in the event.",
      "short": "Unique identifier for the user",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)",
        "identity": "v2"
      }, {
        "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]",
        "identity": "rim"
      }, {
        "map": "Identifier",
        "identity": "servd"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "UserId",
        "identity": "dicom"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent.userId",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Software.userId",
      "condition": [ "ele-1" ],
      "comment": "A unique value within the Audit Source ID. For node-based authentication -- where only the system hardware or process, but not a human user, is identified -- User ID would be the node name.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.userId"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.altId",
      "requirements": "In some situations, a human user may authenticate with one identity but, to access a specific application system, may use a synonymous identify. For example, some \"single sign on\" implementations will do this. The alternative identifier would then be the original identify  used for authentication, and the User ID is the one known to and used by the application.",
      "min": 0,
      "definition": "Alternative agent Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available.",
      "short": "Alternative User id e.g. authentication",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".id (distinguish id type by root)",
        "identity": "rim"
      }, {
        "map": "AlternativeUserId",
        "identity": "dicom"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Software.altId",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.altId"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.name",
      "requirements": "The User ID and Authorization User ID may be internal or otherwise obscure values. This field assists the auditor in identifying the actual user.",
      "min": 0,
      "definition": "Human-meaningful name for the agent.",
      "short": "Human-meaningful name for the agent",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".name",
        "identity": "rim"
      }, {
        "map": "UserName",
        "identity": "dicom"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Software.name",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.name"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.requestor",
      "requirements": "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": 1,
      "definition": "Indicator that the user is or is not the requestor, or initiator, for the event being audited.",
      "short": "Whether user is initiator",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "If participation.typeCode was author, then true",
        "identity": "rim"
      }, {
        "map": "UserIsRequestor",
        "identity": "dicom"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "AuditEvent.agent:export_Software.requestor",
      "condition": [ "ele-1" ],
      "comment": "There can only be one initiator. If the initiator is not clear, then do not choose any one agent as the initiator.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "AuditEvent.agent.requestor"
      },
      "fixedBoolean": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "AuditEvent.agent.location",
      "min": 0,
      "definition": "Where the event occurred.",
      "short": "Where",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": "* Role.Class =SDLOC\n*Role.Code = ServiceDeliveryLocationRoleType\n *Entity.Code  = PlaceEntityType = df.Types of places for  Entity.Class = PLC\n*EntityClass = PLC = df.A physical place or site with its containing structure. May be natural or man-made. The geographic position of a place may or may not be constant.",
        "identity": "rim"
      }, {
        "map": "Activity.location",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.location",
        "identity": "fhirprovenance"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Software.location",
      "condition": [ "ele-1" ],
      "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.location"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.policy",
      "requirements": "This value is used retrospectively to determine the authorization policies.",
      "min": 0,
      "definition": "The policy or plan that authorized the activity being recorded. 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.",
      "short": "Policy that authorized event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "ActPolicyType",
        "identity": "rim"
      }, {
        "map": "ParticipantRoleIDCode",
        "identity": "dicom"
      }, {
        "map": "Provenance.policy",
        "identity": "fhirprovenance"
      }, {
        "map": "why",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Software.policy",
      "condition": [ "ele-1" ],
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.agent.policy"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.media",
      "requirements": "Usually, this is used instead of specifying a network address. This field is not used for Media Id (i.e. the serial number of a CD).",
      "min": 0,
      "definition": "Type of media involved. Used when the event is about exporting/importing onto media.",
      "short": "Type of media",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      }, {
        "map": ".player.description.mediaType",
        "identity": "rim"
      }, {
        "map": "MediaType",
        "identity": "dicom"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DICOMMediaType"
        } ],
        "description": "Used when the event is about exporting/importing onto media.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/dicm-405-mediatype"
        }
      },
      "max": "0",
      "id": "AuditEvent.agent:export_Software.media",
      "condition": [ "ele-1" ],
      "comment": "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.media"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network",
      "min": 0,
      "definition": "Logical network location for application activity, if the activity has a network location.",
      "short": "Logical network location for application activity",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".player.description.reference",
        "identity": "rim"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Software.network",
      "condition": [ "ele-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.network"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.agent:export_Software.network.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.network.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.agent:export_Software.network.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.network.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "AuditEvent.agent:export_Software.network.modifierExtension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network.address",
      "requirements": "This datum identifies the user's network access point, which may be distinct from the server that performed the action. It is an optional value that may be used to group events recorded on separate servers for analysis of a specific network access point's data access across all servers.",
      "min": 0,
      "definition": "An identifier for the network access point of the user device for the audit event.",
      "short": "Identifier for the network access point of the user device",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "pre-coordinated into URL",
        "identity": "rim"
      }, {
        "map": "NetworkAccessPointID",
        "identity": "dicom"
      }, {
        "map": "Agent.Location",
        "identity": "w3c.prov"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "AuditEvent.agent:export_Software.network.address",
      "condition": [ "ele-1" ],
      "comment": "This could be a device id, IP address or some other identifier associated with a device.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.network.address"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network.type",
      "requirements": "This datum identifies the type of network access point identifier of the user device for the audit event. It is an optional value that may be used to group events recorded on separate servers for analysis of access according to a network access point's type.",
      "min": 0,
      "definition": "An identifier for the type of network access point that originated the audit event.",
      "short": "The type of network access point",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "pre-coordinated into URL",
        "identity": "rim"
      }, {
        "map": "NetworkAccessPointTypeCode",
        "identity": "dicom"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventAgentNetworkType"
        } ],
        "description": "The type of network access point of this agent in the audit event",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/network-type"
        }
      },
      "max": "1",
      "id": "AuditEvent.agent:export_Software.network.type",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.network.type"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.purposeOfUse",
      "min": 0,
      "definition": "The reason (purpose of use), specific to this agent, that was used during the event being recorded.",
      "short": "Reason given for this user",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "map": "*.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse\n(2.16.840.1.113883.1.11.20448)\n* .outboundRelationship[typeCode=RSON or SUBJ].target",
        "identity": "rim"
      }, {
        "map": "Agent.Activity",
        "identity": "w3c.prov"
      }, {
        "map": "why",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditPurposeOfUse"
        } ],
        "description": "The reason the activity took place.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
        }
      },
      "max": "0",
      "id": "AuditEvent.agent:export_Software.purposeOfUse",
      "condition": [ "ele-1" ],
      "comment": "Use AuditEvent.agent.purposeOfUse when you know that is specific to the agent, otherwise use AuditEvent.purposeOfEvent. 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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.agent.purposeOfUse"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent",
      "requirements": "An agent can be a person, an organization, software, device, or other actors that may be ascribed responsibility.",
      "min": 1,
      "definition": "Angabe des Benutzers der Software .",
      "short": "Exportbenutzer",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".participation",
        "identity": "rim"
      }, {
        "map": "ActiveParticipant",
        "identity": "dicom"
      }, {
        "map": "Agent",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "sliceName": "export_Benutzer",
      "alias": [ "ActiveParticipant" ],
      "max": "1",
      "id": "AuditEvent.agent:export_Benutzer",
      "condition": [ "ele-1" ],
      "comment": "Several agents may be associated (i.e. have some responsibility for an activity) with an event or activity.\n\nFor 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.",
      "base": {
        "max": "*",
        "min": 1,
        "path": "AuditEvent.agent"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.agent:export_Benutzer.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.agent:export_Benutzer.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "AuditEvent.agent:export_Benutzer.modifierExtension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.role",
      "requirements": "This value ties an audited event to a user's role(s). It is an optional value that might be used to group events for analysis by user functional role categories.",
      "min": 0,
      "definition": "The security role that the user was acting under, that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.",
      "short": "Agent role in the event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "map": ".role and/or .typeCode and/or .functionCode",
        "identity": "rim"
      }, {
        "map": "RoleIdCode",
        "identity": "dicom"
      }, {
        "map": "Agent.Attribution",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent.role",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditAgentRole"
        } ],
        "description": "What security role enabled the agent to participate in the event",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/security-role-type"
        }
      },
      "max": "0",
      "id": "AuditEvent.agent:export_Benutzer.role",
      "condition": [ "ele-1" ],
      "comment": "Should be roles relevant to the event. Should  not be an exhaustive list of roles.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.agent.role"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "AuditEvent.agent.reference",
      "requirements": "This field ties an audit event to a specific resource.",
      "min": 0,
      "definition": "Direct reference to a resource that identifies the agent.",
      "short": "Direct reference to resource",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent.actor",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Benutzer.reference",
      "condition": [ "ele-1" ],
      "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.reference"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.userId",
      "requirements": "This field ties an audit event to a specific user.",
      "min": 0,
      "definition": "Unique identifier for the user actively participating in the event.",
      "short": "Unique identifier for the user",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)",
        "identity": "v2"
      }, {
        "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]",
        "identity": "rim"
      }, {
        "map": "Identifier",
        "identity": "servd"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "UserId",
        "identity": "dicom"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.agent.userId",
        "identity": "fhirprovenance"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Benutzer.userId",
      "condition": [ "ele-1" ],
      "comment": "A unique value within the Audit Source ID. For node-based authentication -- where only the system hardware or process, but not a human user, is identified -- User ID would be the node name.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.userId"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.altId",
      "requirements": "In some situations, a human user may authenticate with one identity but, to access a specific application system, may use a synonymous identify. For example, some \"single sign on\" implementations will do this. The alternative identifier would then be the original identify  used for authentication, and the User ID is the one known to and used by the application.",
      "min": 0,
      "definition": "Alternative agent Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available.",
      "short": "Alternative User id e.g. authentication",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".id (distinguish id type by root)",
        "identity": "rim"
      }, {
        "map": "AlternativeUserId",
        "identity": "dicom"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Benutzer.altId",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.altId"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.name",
      "requirements": "The User ID and Authorization User ID may be internal or otherwise obscure values. This field assists the auditor in identifying the actual user.",
      "min": 1,
      "definition": "Human-meaningful name for the agent.",
      "short": "Human-meaningful name for the agent",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".name",
        "identity": "rim"
      }, {
        "map": "UserName",
        "identity": "dicom"
      }, {
        "map": "Agent.Identity",
        "identity": "w3c.prov"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "AuditEvent.agent:export_Benutzer.name",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.name"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.requestor",
      "requirements": "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": 1,
      "definition": "Indicator that the user is or is not the requestor, or initiator, for the event being audited.",
      "short": "Whether user is initiator",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "If participation.typeCode was author, then true",
        "identity": "rim"
      }, {
        "map": "UserIsRequestor",
        "identity": "dicom"
      }, {
        "map": "who",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "AuditEvent.agent:export_Benutzer.requestor",
      "condition": [ "ele-1" ],
      "comment": "There can only be one initiator. If the initiator is not clear, then do not choose any one agent as the initiator.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "AuditEvent.agent.requestor"
      },
      "fixedBoolean": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "AuditEvent.agent.location",
      "min": 0,
      "definition": "Where the event occurred.",
      "short": "Where",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": "* Role.Class =SDLOC\n*Role.Code = ServiceDeliveryLocationRoleType\n *Entity.Code  = PlaceEntityType = df.Types of places for  Entity.Class = PLC\n*EntityClass = PLC = df.A physical place or site with its containing structure. May be natural or man-made. The geographic position of a place may or may not be constant.",
        "identity": "rim"
      }, {
        "map": "Activity.location",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.location",
        "identity": "fhirprovenance"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Benutzer.location",
      "condition": [ "ele-1" ],
      "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.location"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.policy",
      "requirements": "This value is used retrospectively to determine the authorization policies.",
      "min": 0,
      "definition": "The policy or plan that authorized the activity being recorded. 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.",
      "short": "Policy that authorized event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "ActPolicyType",
        "identity": "rim"
      }, {
        "map": "ParticipantRoleIDCode",
        "identity": "dicom"
      }, {
        "map": "Provenance.policy",
        "identity": "fhirprovenance"
      }, {
        "map": "why",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Benutzer.policy",
      "condition": [ "ele-1" ],
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.agent.policy"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.media",
      "requirements": "Usually, this is used instead of specifying a network address. This field is not used for Media Id (i.e. the serial number of a CD).",
      "min": 0,
      "definition": "Type of media involved. Used when the event is about exporting/importing onto media.",
      "short": "Type of media",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      }, {
        "map": ".player.description.mediaType",
        "identity": "rim"
      }, {
        "map": "MediaType",
        "identity": "dicom"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DICOMMediaType"
        } ],
        "description": "Used when the event is about exporting/importing onto media.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/dicm-405-mediatype"
        }
      },
      "max": "0",
      "id": "AuditEvent.agent:export_Benutzer.media",
      "condition": [ "ele-1" ],
      "comment": "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.media"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network",
      "min": 0,
      "definition": "Logical network location for application activity, if the activity has a network location.",
      "short": "Logical network location for application activity",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".player.description.reference",
        "identity": "rim"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "0",
      "id": "AuditEvent.agent:export_Benutzer.network",
      "condition": [ "ele-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.network"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.agent:export_Benutzer.network.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.network.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.agent:export_Benutzer.network.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.agent.network.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "AuditEvent.agent:export_Benutzer.network.modifierExtension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network.address",
      "requirements": "This datum identifies the user's network access point, which may be distinct from the server that performed the action. It is an optional value that may be used to group events recorded on separate servers for analysis of a specific network access point's data access across all servers.",
      "min": 0,
      "definition": "An identifier for the network access point of the user device for the audit event.",
      "short": "Identifier for the network access point of the user device",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "pre-coordinated into URL",
        "identity": "rim"
      }, {
        "map": "NetworkAccessPointID",
        "identity": "dicom"
      }, {
        "map": "Agent.Location",
        "identity": "w3c.prov"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "AuditEvent.agent:export_Benutzer.network.address",
      "condition": [ "ele-1" ],
      "comment": "This could be a device id, IP address or some other identifier associated with a device.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.network.address"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.network.type",
      "requirements": "This datum identifies the type of network access point identifier of the user device for the audit event. It is an optional value that may be used to group events recorded on separate servers for analysis of access according to a network access point's type.",
      "min": 0,
      "definition": "An identifier for the type of network access point that originated the audit event.",
      "short": "The type of network access point",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "pre-coordinated into URL",
        "identity": "rim"
      }, {
        "map": "NetworkAccessPointTypeCode",
        "identity": "dicom"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventAgentNetworkType"
        } ],
        "description": "The type of network access point of this agent in the audit event",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/network-type"
        }
      },
      "max": "1",
      "id": "AuditEvent.agent:export_Benutzer.network.type",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.agent.network.type"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.agent.purposeOfUse",
      "min": 0,
      "definition": "The reason (purpose of use), specific to this agent, that was used during the event being recorded.",
      "short": "Reason given for this user",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "map": "*.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse\n(2.16.840.1.113883.1.11.20448)\n* .outboundRelationship[typeCode=RSON or SUBJ].target",
        "identity": "rim"
      }, {
        "map": "Agent.Activity",
        "identity": "w3c.prov"
      }, {
        "map": "why",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditPurposeOfUse"
        } ],
        "description": "The reason the activity took place.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"
        }
      },
      "max": "0",
      "id": "AuditEvent.agent:export_Benutzer.purposeOfUse",
      "condition": [ "ele-1" ],
      "comment": "Use AuditEvent.agent.purposeOfUse when you know that is specific to the agent, otherwise use AuditEvent.purposeOfEvent. 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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.agent.purposeOfUse"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.source",
      "requirements": "The event is reported by one source.",
      "min": 1,
      "definition": "Es soll die Prüfnummer des exportierenden Systems angegeben werden.",
      "short": "Export Prüfnummer",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".participation[typeCode=INF].role[classCode=ASSIGN].player[classCode=DEV, determinerCode=INSTANCE]",
        "identity": "rim"
      }, {
        "map": "AuditSourceIdentification",
        "identity": "dicom"
      }, {
        "map": "who.witness",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "AuditEvent.source",
      "condition": [ "ele-1" ],
      "comment": "Since multi-tier, distributed, or composite applications make source identification ambiguous, this collection of fields may repeat for each application or process actively involved in the event. For example, multiple value-sets can identify participating web servers, application processes, and database server threads in an n-tier distributed application. Passive event participants (e.g. low-level network transports) need not be identified.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "AuditEvent.source"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.source.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.source.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.source.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.source.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.source.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "AuditEvent.source.modifierExtension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.source.site",
      "requirements": "This value differentiates among the sites in a multi-site enterprise health information system.",
      "min": 0,
      "definition": "Logical source location within the healthcare enterprise network.  For example, a hospital or other provider location within a multi-entity provider group.",
      "short": "Logical source location within the enterprise",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".scopedRole[classCode=LOCE].player.desc",
        "identity": "rim"
      }, {
        "map": "AuditEnterpriseSiteId",
        "identity": "dicom"
      }, {
        "map": "who.witness",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "0",
      "id": "AuditEvent.source.site",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.source.site"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.source.identifier",
      "requirements": "This field ties the event to a specific source system. It may be used to group events for analysis according to where the event was detected.",
      "min": 1,
      "definition": "Identifier of the source where the event was detected.",
      "short": "The identity of source detecting the event",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)",
        "identity": "v2"
      }, {
        "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]",
        "identity": "rim"
      }, {
        "map": "Identifier",
        "identity": "servd"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "AuditSourceId",
        "identity": "dicom"
      }, {
        "map": "who.witness",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "1",
      "id": "AuditEvent.source.identifier",
      "condition": [ "ele-1" ],
      "base": {
        "max": "1",
        "min": 1,
        "path": "AuditEvent.source.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.source.identifier.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.source.identifier.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.source.identifier.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.source.identifier.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.source.identifier.use",
      "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
      "min": 0,
      "definition": "The purpose of this identifier.",
      "isModifier": true,
      "short": "usual | official | temp | secondary (If known)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierUse"
        } ],
        "description": "Identifies the purpose for this identifier, if known .",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
        }
      },
      "max": "0",
      "id": "AuditEvent.source.identifier.use",
      "condition": [ "ele-1" ],
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.use"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.source.identifier.type",
      "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
      "min": 0,
      "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
      "short": "Description of identifier",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "map": "CX.5",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierType"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/identifier-type"
        }
      },
      "max": "0",
      "id": "AuditEvent.source.identifier.type",
      "condition": [ "ele-1" ],
      "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.type"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.source.identifier.system",
      "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
      "min": 1,
      "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
      "short": "The namespace for the identifier value",
      "fixedUri": "https://fhir.kbv.de/NamingSystem/74_NS_VoS_Pruefnummer",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX.4 / EI-2-4",
        "identity": "v2"
      }, {
        "map": "II.root or Role.id.root",
        "identity": "rim"
      }, {
        "map": "./IdentifierType",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "AuditEvent.source.identifier.system",
      "condition": [ "ele-1" ],
      "comment": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier",
      "example": [ {
        "label": "General",
        "valueUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.system"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.source.identifier.value",
      "min": 1,
      "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
      "short": "The value that is unique",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX.1 / EI.1",
        "identity": "v2"
      }, {
        "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)",
        "identity": "rim"
      }, {
        "map": "./Value",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "AuditEvent.source.identifier.value",
      "condition": [ "ele-1" ],
      "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html).",
      "example": [ {
        "label": "General",
        "valueString": "123456"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.value"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "per-1",
        "human": "If present, start SHALL have a lower value than end",
        "xpath": "not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)",
        "severity": "error",
        "expression": "start.empty() or end.empty() or (start <= end)"
      } ],
      "path": "AuditEvent.source.identifier.period",
      "min": 0,
      "definition": "Time period during which identifier is/was valid for use.",
      "short": "Time period when id is/was valid for use",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "DR",
        "identity": "v2"
      }, {
        "map": "IVL[lowClosed=\"true\" and highClosed=\"true\"] or URG[lowClosed=\"true\" and highClosed=\"true\"]",
        "identity": "rim"
      }, {
        "map": "CX.7 + CX.8",
        "identity": "v2"
      }, {
        "map": "Role.effectiveTime or implied by context",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "0",
      "id": "AuditEvent.source.identifier.period",
      "condition": [ "ele-1" ],
      "comment": "This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\"). If duration is required, specify the type as Interval|Duration.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.period"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "AuditEvent.source.identifier.assigner",
      "min": 0,
      "definition": "Organization that issued/manages the identifier.",
      "short": "Organization that issued id (may be just text)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": "CX.4 / (CX.4,CX.9,CX.10)",
        "identity": "v2"
      }, {
        "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper",
        "identity": "rim"
      }, {
        "map": "./IdentifierIssuingAuthority",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      } ],
      "max": "0",
      "id": "AuditEvent.source.identifier.assigner",
      "condition": [ "ele-1" ],
      "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.assigner"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.source.type",
      "requirements": "This field indicates which type of source is identified by the Audit Source ID. It is an optional value that may be used to group events for analysis according to the type of source where the event occurred.",
      "min": 0,
      "definition": "Code specifying the type of source where event originated.",
      "short": "The type of source where event originated",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      }, {
        "map": ".code",
        "identity": "rim"
      }, {
        "map": "AuditSourceTypeCode",
        "identity": "dicom"
      }, {
        "map": "who.witness",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventSourceType"
        } ],
        "description": "Code specifying the type of system that detected and recorded the event.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/audit-source-type"
        }
      },
      "max": "0",
      "id": "AuditEvent.source.type",
      "condition": [ "ele-1" ],
      "comment": "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.source.type"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "sev-1",
        "human": "Either a name or a query (NOT both)",
        "xpath": "not(exists(f:name)) or not(exists(f:query))",
        "severity": "error",
        "expression": "name.empty() or query.empty()"
      } ],
      "path": "AuditEvent.entity",
      "requirements": "The event may have other entities involved.",
      "min": 1,
      "definition": "Angabe des Datenbereichs mit der jeweiligen Einschränkung dessen.",
      "short": "Datenbereich inkl Einschränkung",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".outboundRelationship[typeCode=SUBJ].target  or  .participation[typeCode=SBJ].role",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectIdentification",
        "identity": "dicom"
      }, {
        "map": "Entity",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.target, Provenance.entity",
        "identity": "fhirprovenance"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "alias": [ "ParticipantObject" ],
      "max": "*",
      "id": "AuditEvent.entity",
      "condition": [ "ele-1" ],
      "comment": "Required unless the values for event identification, agent identification, and audit source identification are sufficient to document the entire auditable event. Because events may have more than one entity, this group can be a repeating set of values.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.entity"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.entity.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.entity.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.entity.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.entity.extension",
      "min": 0,
      "definition": "Einschränkung des ausgewählten Datenbereichs",
      "short": "Einschränkung des Datenbereichs",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "https://fhir.kbv.de/StructureDefinition/74_EX_AW_Report_Datenbereich_Parameter"
      } ],
      "sliceName": "datenbereich_einschraenkung",
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.entity.extension:datenbereich_einschraenkung",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.entity.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "AuditEvent.entity.modifierExtension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.identifier",
      "min": 0,
      "definition": "Identifies a specific instance of the entity. The reference should always be version specific.",
      "short": "Specific instance of object",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)",
        "identity": "v2"
      }, {
        "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]",
        "identity": "rim"
      }, {
        "map": "Identifier",
        "identity": "servd"
      }, {
        "map": ".id.extension",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectID and ParticipantObjectIDTypeCode",
        "identity": "dicom"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "0",
      "id": "AuditEvent.entity.identifier",
      "condition": [ "ele-1" ],
      "comment": "Identifier detail depends on entity type.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.entity.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "AuditEvent.entity.reference",
      "min": 0,
      "definition": "Identifies a specific instance of the entity. The reference should be version specific.",
      "short": "Specific instance of resource",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": "[self]",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectID",
        "identity": "dicom"
      }, {
        "map": "Provenance.target, Provenance.entity.reference",
        "identity": "fhirprovenance"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
      } ],
      "max": "0",
      "id": "AuditEvent.entity.reference",
      "condition": [ "ele-1" ],
      "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.entity.reference"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.type",
      "requirements": "To describe the object being acted upon. In addition to queries on the subject of the action in an auditable event, it is also important to be able to query on the object type for the action.",
      "min": 1,
      "definition": "Auswahl des einzuschränkenden Datenbereiches",
      "short": "Auswahl Datenbereich",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      }, {
        "map": "[self::Act].code or role.player.code",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectTypeCode",
        "identity": "dicom"
      }, {
        "map": "Entity.type",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.entity.type",
        "identity": "fhirprovenance"
      }, {
        "map": "what",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventEntityType"
        } ],
        "description": "Code for the entity type involved in the audit event",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/audit-entity-type"
        }
      },
      "max": "1",
      "id": "AuditEvent.entity.type",
      "condition": [ "ele-1" ],
      "comment": "This value is distinct from the user's role or any user relationship to the entity.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.entity.type"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.type.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.entity.type.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.entity.type.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.entity.type.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.type.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "short": "Identity of the terminology system",
      "fixedUri": "https://fhir.kbv.de/CodeSystem/74_CS_AW_Datenbereich",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "AuditEvent.entity.type.system",
      "condition": [ "ele-1" ],
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.type.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "AuditEvent.entity.type.version",
      "condition": [ "ele-1" ],
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.type.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "AuditEvent.entity.type.code",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.type.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "0",
      "id": "AuditEvent.entity.type.display",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.type.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "0",
      "id": "AuditEvent.entity.type.userSelected",
      "condition": [ "ele-1" ],
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.role",
      "requirements": "For some detailed audit analysis it may be necessary to indicate a more granular type of entity, based on the application role it serves.",
      "min": 0,
      "definition": "Code representing the role the entity played in the event being audited.",
      "short": "What role the entity played",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      }, {
        "map": "role.code (not sure what this would mean for an Act)",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectTypeCodeRole",
        "identity": "dicom"
      }, {
        "map": "Entity.role",
        "identity": "w3c.prov"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventEntityRole"
        } ],
        "description": "Code representing the role the entity played in the audit event",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/object-role"
        }
      },
      "max": "0",
      "id": "AuditEvent.entity.role",
      "condition": [ "ele-1" ],
      "comment": "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.entity.role"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.lifecycle",
      "requirements": "Institutional policies for privacy and security may optionally fall under different accountability rules based on data life cycle. This provides a differentiating value for those cases.",
      "min": 0,
      "definition": "Identifier for the data life-cycle stage for the entity.",
      "short": "Life-cycle stage for the entity",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      }, {
        "map": "target of ObservationEvent[code=\"lifecycle\"].value",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectDataLifeCycle",
        "identity": "dicom"
      }, {
        "map": "Entity.role",
        "identity": "w3c.prov"
      }, {
        "map": "Provenance.entity.role",
        "identity": "fhirprovenance"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AuditEventEntityLifecycle"
        } ],
        "description": "Identifier for the data life-cycle stage for the entity",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/object-lifecycle-events"
        }
      },
      "max": "0",
      "id": "AuditEvent.entity.lifecycle",
      "condition": [ "ele-1" ],
      "comment": "This can be used to provide an audit trail for data, over time, as it passes through the system.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.entity.lifecycle"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.securityLabel",
      "requirements": "This field identifies the security labels for a specific instance of an object, such as a patient, to detect/track privacy and security issues.",
      "min": 0,
      "definition": "Security labels for the identified entity.",
      "short": "Security labels on the entity",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6",
        "identity": "v2"
      }, {
        "map": "CV",
        "identity": "rim"
      }, {
        "map": "fhir:Coding rdfs:subClassOf dt:CDCoding",
        "identity": "orim"
      }, {
        "map": ".confidentialityCode",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectSensitivity",
        "identity": "dicom"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SecurityLabels"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Security Labels from the Healthcare Privacy and Security Classification System.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/security-labels"
        }
      },
      "max": "0",
      "id": "AuditEvent.entity.securityLabel",
      "condition": [ "ele-1" ],
      "comment": "Copied from entity meta security tags.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.entity.securityLabel"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.name",
      "requirements": "Use only where entity can't be identified with an identifier.",
      "min": 0,
      "definition": "A name of the entity in the audit event.",
      "short": "Descriptor for entity",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".title",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectName",
        "identity": "dicom"
      }, {
        "map": "Entity.Label",
        "identity": "w3c.prov"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "0",
      "id": "AuditEvent.entity.name",
      "condition": [ "ele-1", "sev-1" ],
      "comment": "This field may be used in a query/report to identify audit events for a specific person.  For example, where multiple synonymous entity identifiers (patient number, medical record number, encounter number, etc.) have been used.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.entity.name"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.description",
      "requirements": "Use only where entity can't be identified with an identifier.",
      "min": 0,
      "definition": "Text that describes the entity in more detail.",
      "short": "Descriptive text",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".text",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectDescription",
        "identity": "dicom"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "0",
      "id": "AuditEvent.entity.description",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.entity.description"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.query",
      "requirements": "For query events, it may be necessary to capture the actual query input to the query process in order to identify the specific event. Because of differences among query implementations and data encoding for them, this is a base 64 encoded data blob. It may be subsequently decoded or interpreted by downstream audit analysis processing.",
      "min": 0,
      "definition": "The query parameters for a query-type entities.",
      "short": "Query parameters",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "No mapping",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectQuery",
        "identity": "dicom"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "base64Binary"
      } ],
      "max": "0",
      "id": "AuditEvent.entity.query",
      "condition": [ "ele-1", "sev-1" ],
      "comment": "A stream of bytes, base64 encoded",
      "base": {
        "max": "1",
        "min": 0,
        "path": "AuditEvent.entity.query"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.detail",
      "requirements": "Implementation-defined data about specific details of the object accessed or used.",
      "min": 0,
      "definition": "Tagged value pairs for conveying additional information about the entity.",
      "short": "Additional Information about the entity",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectDetail",
        "identity": "dicom"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "0",
      "id": "AuditEvent.entity.detail",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "AuditEvent.entity.detail"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.detail.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "AuditEvent.entity.detail.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.entity.detail.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "AuditEvent.entity.detail.extension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "AuditEvent.entity.detail.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "AuditEvent.entity.detail.modifierExtension",
      "condition": [ "ele-1" ],
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.detail.type",
      "min": 1,
      "definition": "The type of extra detail provided in the value.",
      "short": "Name of the property",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectDetail.type",
        "identity": "dicom"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "AuditEvent.entity.detail.type",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 1,
        "path": "AuditEvent.entity.detail.type"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "AuditEvent.entity.detail.value",
      "requirements": "Should not duplicate the entity value unless absolutely necessary.",
      "min": 1,
      "definition": "The details, base64 encoded. Used to carry bulk information.",
      "short": "Property value",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": ".value",
        "identity": "rim"
      }, {
        "map": "ParticipantObjectDetail.value",
        "identity": "dicom"
      }, {
        "map": "context",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "base64Binary"
      } ],
      "max": "1",
      "id": "AuditEvent.entity.detail.value",
      "condition": [ "ele-1" ],
      "comment": "The value is base64 encoded to enable various encodings or binary content.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "AuditEvent.entity.detail.value"
      }
    } ]
  },
  "status": "active",
  "id": "efc1f516-ba28-489a-8db9-9b4a9d83956f",
  "kind": "resource",
  "url": "https://fhir.kbv.de/StructureDefinition/74_PR_AW_Report_Export",
  "version": "1.10.001",
  "differential": {
    "element": [ {
      "id": "AuditEvent.id",
      "min": 1,
      "path": "AuditEvent.id"
    }, {
      "id": "AuditEvent.meta",
      "min": 1,
      "path": "AuditEvent.meta"
    }, {
      "id": "AuditEvent.meta.versionId",
      "min": 1,
      "path": "AuditEvent.meta.versionId"
    }, {
      "id": "AuditEvent.meta.lastUpdated",
      "min": 1,
      "path": "AuditEvent.meta.lastUpdated"
    }, {
      "id": "AuditEvent.meta.profile",
      "max": "1",
      "min": 1,
      "path": "AuditEvent.meta.profile"
    }, {
      "id": "AuditEvent.text",
      "min": 1,
      "path": "AuditEvent.text"
    }, {
      "id": "AuditEvent.contained",
      "max": "1",
      "min": 1,
      "path": "AuditEvent.contained",
      "type": [ {
        "code": "Resource",
        "profile": "https://fhir.kbv.de/StructureDefinition/74_PR_AW_Hersteller_Software"
      } ]
    }, {
      "id": "AuditEvent.type",
      "path": "AuditEvent.type",
      "mustSupport": true
    }, {
      "id": "AuditEvent.type.system",
      "min": 1,
      "path": "AuditEvent.type.system",
      "fixedUri": "http://dicom.nema.org/resources/ontology/DCM"
    }, {
      "id": "AuditEvent.type.version",
      "max": "0",
      "path": "AuditEvent.type.version"
    }, {
      "id": "AuditEvent.type.code",
      "min": 1,
      "path": "AuditEvent.type.code",
      "fixedCode": "110106"
    }, {
      "id": "AuditEvent.type.display",
      "max": "0",
      "path": "AuditEvent.type.display",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ]
    }, {
      "id": "AuditEvent.type.userSelected",
      "max": "0",
      "path": "AuditEvent.type.userSelected"
    }, {
      "id": "AuditEvent.subtype",
      "max": "0",
      "path": "AuditEvent.subtype"
    }, {
      "id": "AuditEvent.action",
      "max": "0",
      "path": "AuditEvent.action"
    }, {
      "id": "AuditEvent.recorded",
      "path": "AuditEvent.recorded",
      "short": "Zeitstempel des Exports",
      "mustSupport": true
    }, {
      "id": "AuditEvent.outcome",
      "max": "0",
      "path": "AuditEvent.outcome"
    }, {
      "id": "AuditEvent.outcomeDesc",
      "max": "0",
      "path": "AuditEvent.outcomeDesc"
    }, {
      "id": "AuditEvent.purposeOfEvent",
      "max": "0",
      "path": "AuditEvent.purposeOfEvent"
    }, {
      "id": "AuditEvent.agent",
      "max": "2",
      "min": 2,
      "path": "AuditEvent.agent",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "name",
          "type": "exists"
        } ]
      }
    }, {
      "id": "AuditEvent.agent:export_Software",
      "max": "1",
      "min": 1,
      "path": "AuditEvent.agent",
      "short": "Exportsoftware",
      "sliceName": "export_Software",
      "definition": "Angabe der Daten zur Software des Exports.",
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent:export_Software.role",
      "max": "0",
      "path": "AuditEvent.agent.role"
    }, {
      "id": "AuditEvent.agent:export_Software.reference",
      "min": 1,
      "path": "AuditEvent.agent.reference",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.kbv.de/StructureDefinition/74_PR_AW_Hersteller_Software"
      } ]
    }, {
      "id": "AuditEvent.agent:export_Software.reference.reference",
      "min": 1,
      "path": "AuditEvent.agent.reference.reference"
    }, {
      "id": "AuditEvent.agent:export_Software.reference.identifier",
      "max": "0",
      "path": "AuditEvent.agent.reference.identifier"
    }, {
      "id": "AuditEvent.agent:export_Software.reference.display",
      "max": "0",
      "path": "AuditEvent.agent.reference.display",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ]
    }, {
      "id": "AuditEvent.agent:export_Software.userId",
      "max": "0",
      "path": "AuditEvent.agent.userId"
    }, {
      "id": "AuditEvent.agent:export_Software.altId",
      "max": "0",
      "path": "AuditEvent.agent.altId"
    }, {
      "id": "AuditEvent.agent:export_Software.name",
      "max": "0",
      "path": "AuditEvent.agent.name"
    }, {
      "id": "AuditEvent.agent:export_Software.requestor",
      "path": "AuditEvent.agent.requestor",
      "fixedBoolean": true
    }, {
      "id": "AuditEvent.agent:export_Software.location",
      "max": "0",
      "path": "AuditEvent.agent.location"
    }, {
      "id": "AuditEvent.agent:export_Software.policy",
      "max": "0",
      "path": "AuditEvent.agent.policy"
    }, {
      "id": "AuditEvent.agent:export_Software.media",
      "max": "0",
      "path": "AuditEvent.agent.media"
    }, {
      "id": "AuditEvent.agent:export_Software.network",
      "max": "0",
      "path": "AuditEvent.agent.network"
    }, {
      "id": "AuditEvent.agent:export_Software.purposeOfUse",
      "max": "0",
      "path": "AuditEvent.agent.purposeOfUse"
    }, {
      "id": "AuditEvent.agent:export_Benutzer",
      "max": "1",
      "min": 1,
      "path": "AuditEvent.agent",
      "short": "Exportbenutzer",
      "sliceName": "export_Benutzer",
      "definition": "Angabe des Benutzers der Software .",
      "mustSupport": true
    }, {
      "id": "AuditEvent.agent:export_Benutzer.role",
      "max": "0",
      "path": "AuditEvent.agent.role"
    }, {
      "id": "AuditEvent.agent:export_Benutzer.reference",
      "max": "0",
      "path": "AuditEvent.agent.reference"
    }, {
      "id": "AuditEvent.agent:export_Benutzer.userId",
      "max": "0",
      "path": "AuditEvent.agent.userId"
    }, {
      "id": "AuditEvent.agent:export_Benutzer.altId",
      "max": "0",
      "path": "AuditEvent.agent.altId"
    }, {
      "id": "AuditEvent.agent:export_Benutzer.name",
      "min": 1,
      "path": "AuditEvent.agent.name"
    }, {
      "id": "AuditEvent.agent:export_Benutzer.requestor",
      "path": "AuditEvent.agent.requestor",
      "fixedBoolean": true
    }, {
      "id": "AuditEvent.agent:export_Benutzer.location",
      "max": "0",
      "path": "AuditEvent.agent.location"
    }, {
      "id": "AuditEvent.agent:export_Benutzer.policy",
      "max": "0",
      "path": "AuditEvent.agent.policy"
    }, {
      "id": "AuditEvent.agent:export_Benutzer.media",
      "max": "0",
      "path": "AuditEvent.agent.media"
    }, {
      "id": "AuditEvent.agent:export_Benutzer.network",
      "max": "0",
      "path": "AuditEvent.agent.network"
    }, {
      "id": "AuditEvent.agent:export_Benutzer.purposeOfUse",
      "max": "0",
      "path": "AuditEvent.agent.purposeOfUse"
    }, {
      "id": "AuditEvent.source",
      "path": "AuditEvent.source",
      "short": "Export Prüfnummer",
      "definition": "Es soll die Prüfnummer des exportierenden Systems angegeben werden.",
      "mustSupport": true
    }, {
      "id": "AuditEvent.source.site",
      "max": "0",
      "path": "AuditEvent.source.site"
    }, {
      "id": "AuditEvent.source.identifier.use",
      "max": "0",
      "path": "AuditEvent.source.identifier.use"
    }, {
      "id": "AuditEvent.source.identifier.type",
      "max": "0",
      "path": "AuditEvent.source.identifier.type"
    }, {
      "id": "AuditEvent.source.identifier.system",
      "min": 1,
      "path": "AuditEvent.source.identifier.system",
      "fixedUri": "https://fhir.kbv.de/NamingSystem/74_NS_VoS_Pruefnummer"
    }, {
      "id": "AuditEvent.source.identifier.value",
      "min": 1,
      "path": "AuditEvent.source.identifier.value"
    }, {
      "id": "AuditEvent.source.identifier.period",
      "max": "0",
      "path": "AuditEvent.source.identifier.period"
    }, {
      "id": "AuditEvent.source.identifier.assigner",
      "max": "0",
      "path": "AuditEvent.source.identifier.assigner"
    }, {
      "id": "AuditEvent.source.type",
      "max": "0",
      "path": "AuditEvent.source.type"
    }, {
      "id": "AuditEvent.entity",
      "min": 1,
      "path": "AuditEvent.entity",
      "short": "Datenbereich inkl Einschränkung",
      "definition": "Angabe des Datenbereichs mit der jeweiligen Einschränkung dessen.",
      "mustSupport": true
    }, {
      "id": "AuditEvent.entity.extension",
      "path": "AuditEvent.entity.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "AuditEvent.entity.extension:datenbereich_einschraenkung",
      "path": "AuditEvent.entity.extension",
      "type": [ {
        "code": "Extension",
        "profile": "https://fhir.kbv.de/StructureDefinition/74_EX_AW_Report_Datenbereich_Parameter"
      } ],
      "sliceName": "datenbereich_einschraenkung"
    }, {
      "id": "AuditEvent.entity.identifier",
      "max": "0",
      "path": "AuditEvent.entity.identifier"
    }, {
      "id": "AuditEvent.entity.reference",
      "max": "0",
      "path": "AuditEvent.entity.reference"
    }, {
      "id": "AuditEvent.entity.type",
      "min": 1,
      "path": "AuditEvent.entity.type",
      "short": "Auswahl Datenbereich",
      "definition": "Auswahl des einzuschränkenden Datenbereiches"
    }, {
      "id": "AuditEvent.entity.type.system",
      "min": 1,
      "path": "AuditEvent.entity.type.system",
      "fixedUri": "https://fhir.kbv.de/CodeSystem/74_CS_AW_Datenbereich"
    }, {
      "id": "AuditEvent.entity.type.code",
      "min": 1,
      "path": "AuditEvent.entity.type.code"
    }, {
      "id": "AuditEvent.entity.type.display",
      "max": "0",
      "path": "AuditEvent.entity.type.display",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ]
    }, {
      "id": "AuditEvent.entity.type.userSelected",
      "max": "0",
      "path": "AuditEvent.entity.type.userSelected"
    }, {
      "id": "AuditEvent.entity.role",
      "max": "0",
      "path": "AuditEvent.entity.role"
    }, {
      "id": "AuditEvent.entity.lifecycle",
      "max": "0",
      "path": "AuditEvent.entity.lifecycle"
    }, {
      "id": "AuditEvent.entity.securityLabel",
      "max": "0",
      "path": "AuditEvent.entity.securityLabel"
    }, {
      "id": "AuditEvent.entity.name",
      "max": "0",
      "path": "AuditEvent.entity.name"
    }, {
      "id": "AuditEvent.entity.description",
      "max": "0",
      "path": "AuditEvent.entity.description"
    }, {
      "id": "AuditEvent.entity.query",
      "max": "0",
      "path": "AuditEvent.entity.query"
    }, {
      "id": "AuditEvent.entity.detail",
      "max": "0",
      "path": "AuditEvent.entity.detail"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AuditEvent"
}