{
  "resourceType": "StructureDefinition",
  "id": "Mxx-HealthHub-RequestId",
  "url": "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_RequestId",
  "version": "1.5.0",
  "name": "Mxx_HealthHub_RequestId",
  "status": "active",
  "publisher": "medatixx GmbH & Co. KG",
  "copyright": "medatixx GmbH & Co. KG",
  "description": "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).",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "OperationOutcome"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Echoed partner requestId (on 202)",
        "definition": "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."
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_RequestId"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}