<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="69bbac97-864c-4516-bb83-0ddde3316c9d" />
  <meta>
    <lastUpdated value="2019-02-08T10:15:22.761+00:00" />
  </meta>
  <url value="http://medico-emr.net/stu3/sd/MXT-MetaCreateChangeInfo-1" />
  <name value="MXT-MetaCreateChangeInfo-1" />
  <status value="active" />
  <date value="2019-02-08T10:15:22.5828646+00:00" />
  <description value="provides metainformation about the user and timestamp a resource was created/changed within medico" />
  <fhirVersion value="3.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <contextType value="datatype" />
  <context value="Resource" />
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <definition value="provides metainformation about the user and timestamp a resource was created/changed within medico" />
    </element>
    <element id="Extension.id">
      <path value="Extension.id" />
      <max value="0" />
    </element>
    <element id="Extension.extension">
      <path value="Extension.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Extension.extension:createUser">
      <path value="Extension.extension" />
      <sliceName value="createUser" />
      <definition value="a reference to the user who created the resource." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Extension.extension:createUser.id">
      <path value="Extension.extension.id" />
      <max value="0" />
    </element>
    <element id="Extension.extension:createUser.url">
      <path value="Extension.extension.url" />
      <fixedUri value="createUser" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference">
      <path value="Extension.extension.valueReference" />
      <sliceName value="valueReference" />
      <definition value="The user who created the given resource in medico." />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://medico-emr.net/stu3/sd/Practitioner-User-1" />
      </type>
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.id">
      <path value="Extension.extension.valueReference.id" />
      <max value="0" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.reference">
      <path value="Extension.extension.valueReference.reference" />
      <min value="1" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.identifier">
      <path value="Extension.extension.valueReference.identifier" />
      <min value="1" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.identifier.id">
      <path value="Extension.extension.valueReference.identifier.id" />
      <max value="0" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.identifier.use">
      <path value="Extension.extension.valueReference.identifier.use" />
      <max value="0" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.identifier.type">
      <path value="Extension.extension.valueReference.identifier.type" />
      <max value="0" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.identifier.system">
      <path value="Extension.extension.valueReference.identifier.system" />
      <definition value="Must be a constant underneath http://medico-emr.net/%KUNDE%/cs/User" />
      <comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier&#xD;&#xA;Dynamically resolved for validation&#xD;&#xA;--FixedValue=http://medico-emr.net/%KUNDE%/cs/User" />
      <min value="1" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.identifier.value">
      <path value="Extension.extension.valueReference.identifier.value" />
      <min value="1" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.identifier.period">
      <path value="Extension.extension.valueReference.identifier.period" />
      <max value="0" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.identifier.assigner">
      <path value="Extension.extension.valueReference.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="Extension.extension:createUser.value[x]:valueReference.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Extension.extension.valueReference.display" />
      <max value="0" />
    </element>
    <element id="Extension.extension:createDate">
      <path value="Extension.extension" />
      <sliceName value="createDate" />
      <definition value="the timestamp the resource was created" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Extension.extension:createDate.id">
      <path value="Extension.extension.id" />
      <max value="0" />
    </element>
    <element id="Extension.extension:createDate.url">
      <path value="Extension.extension.url" />
      <fixedUri value="createDate" />
    </element>
    <element id="Extension.extension:createDate.value[x]:valueDateTime">
      <path value="Extension.extension.valueDateTime" />
      <sliceName value="valueDateTime" />
      <definition value="The timestamp when the given resource was created in medico." />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Extension.extension:changeUser">
      <path value="Extension.extension" />
      <sliceName value="changeUser" />
      <definition value="the last user who changed the resource" />
      <max value="1" />
    </element>
    <element id="Extension.extension:changeUser.id">
      <path value="Extension.extension.id" />
      <max value="0" />
    </element>
    <element id="Extension.extension:changeUser.url">
      <path value="Extension.extension.url" />
      <fixedUri value="changeUser" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference">
      <path value="Extension.extension.valueReference" />
      <sliceName value="valueReference" />
      <definition value="The user who made the latest changes to the given resource in medico." />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://medico-emr.net/stu3/sd/Practitioner-User-1" />
      </type>
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.id">
      <path value="Extension.extension.valueReference.id" />
      <max value="0" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.reference">
      <path value="Extension.extension.valueReference.reference" />
      <min value="1" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.identifier">
      <path value="Extension.extension.valueReference.identifier" />
      <min value="1" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.identifier.id">
      <path value="Extension.extension.valueReference.identifier.id" />
      <max value="0" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.identifier.use">
      <path value="Extension.extension.valueReference.identifier.use" />
      <max value="0" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.identifier.type">
      <path value="Extension.extension.valueReference.identifier.type" />
      <max value="0" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.identifier.system">
      <path value="Extension.extension.valueReference.identifier.system" />
      <definition value="Must be a constant underneath http://medico-emr.net/%KUNDE%/cs/User" />
      <comment value="see http://en.wikipedia.org/wiki/Uniform_resource_identifier&#xD;&#xA;Dynamically resolved for validation&#xD;&#xA;--FixedValue=http://medico-emr.net/%KUNDE%/cs/User" />
      <min value="1" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.identifier.value">
      <path value="Extension.extension.valueReference.identifier.value" />
      <min value="1" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.identifier.period">
      <path value="Extension.extension.valueReference.identifier.period" />
      <max value="0" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.identifier.assigner">
      <path value="Extension.extension.valueReference.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="Extension.extension:changeUser.value[x]:valueReference.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Extension.extension.valueReference.display" />
      <max value="0" />
    </element>
    <element id="Extension.extension:changeDate">
      <path value="Extension.extension" />
      <sliceName value="changeDate" />
      <definition value="the timestamp of the last change to the resource" />
      <max value="1" />
    </element>
    <element id="Extension.extension:changeDate.id">
      <path value="Extension.extension.id" />
      <max value="0" />
    </element>
    <element id="Extension.extension:changeDate.url">
      <path value="Extension.extension.url" />
      <fixedUri value="changeDate" />
    </element>
    <element id="Extension.extension:changeDate.value[x]:valueDateTime">
      <path value="Extension.extension.valueDateTime" />
      <sliceName value="valueDateTime" />
      <definition value="The timestamp when the latest changes to the given resource were made in medico." />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://medico-emr.net/stu3/sd/MXT-MetaCreateChangeInfo-1" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <max value="0" />
      <type>
        <code value="base64Binary" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="code" />
      </type>
      <type>
        <code value="date" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="decimal" />
      </type>
      <type>
        <code value="id" />
      </type>
      <type>
        <code value="instant" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="markdown" />
      </type>
      <type>
        <code value="oid" />
      </type>
      <type>
        <code value="positiveInt" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="unsignedInt" />
      </type>
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Address" />
      </type>
      <type>
        <code value="Age" />
      </type>
      <type>
        <code value="Annotation" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="Coding" />
      </type>
      <type>
        <code value="ContactPoint" />
      </type>
      <type>
        <code value="Count" />
      </type>
      <type>
        <code value="Distance" />
      </type>
      <type>
        <code value="Duration" />
      </type>
      <type>
        <code value="HumanName" />
      </type>
      <type>
        <code value="Identifier" />
      </type>
      <type>
        <code value="Money" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="Reference" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="Signature" />
      </type>
      <type>
        <code value="Timing" />
      </type>
    </element>
  </differential>
</StructureDefinition>