<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Mxx-HealthHub-RequestId" />
  <url value="https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_RequestId" />
  <version value="1.5.0" />
  <name value="Mxx_HealthHub_RequestId" />
  <status value="active" />
  <publisher value="medatixx GmbH &amp; Co. KG" />
  <description value="Echoes the partner-supplied requestId (idempotency / correlation key) back on the OperationOutcome returned when a $propose proposal is routed to the practice worklist (HTTP 202), e.g. on Condition/$propose or on an update via ChargeItem/{id}/$propose. On 202 there may be no resource id to correlate on, so the requestId is carried here as an extension. On 201 the requestId is echoed via the operation's _Out 'requestId' part instead. The automatic update path (HTTP 204) has no body; that outcome is correlated via the module's read operation where available (e.g. SearchConditions)." />
  <copyright value="medatixx GmbH &amp; Co. KG" />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="OperationOutcome" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Echoed partner requestId (on 202)" />
      <definition value="The partner-supplied requestId echoed back on the worklist (202) OperationOutcome of a $propose operation so the partner can correlate the result without a resource id." />
    </element>
    <element id="Extension.extension">
      <path value="Extension.extension" />
      <max value="0" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_RequestId" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <min value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>