Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

INT-594: Switch to FHIR Candle to improve integration test startup #394

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

reinkrul
Copy link
Contributor

@reinkrul reinkrul commented Feb 11, 2025

TODO:

@reinkrul
Copy link
Contributor Author

FHIR Candle does not seem to support PUT with search parameters:

{
  "id": "24d5c1a4-f234-4c2a-8da5-65b7b94dd728",
  "type": "transaction-response",
  "entry": [
    {
      "response": {
        "status": "InternalServerError",
        "outcome": {
          "resourceType": "OperationOutcome",
          "id": "4cfd61fd-271c-428c-9efa-3be444f09ce5",
          "issue": [
            {
              "severity": "error",
              "code": "not-supported",
              "diagnostics": "Request could not be parsed to known interaction: PUT Task?_id=95e826ae-f338-41f1-a902-1655b30169e6"
            }
          ]
        }
      }
    },
    {
      "resource": {
        "resourceType": "CareTeam",
        "id": "c93f62e1-4a42-4ec5-a63b-68cf0b814c36",
        "meta": {
          "versionId": "2",
          "lastUpdated": "2025-02-12T13:23:28.7954208+00:00"
        },
        "participant": [
          {
            "member": {
              "type": "Organization",
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "1"
              }
            },
            "period": {
              "start": "2025-02-12T14:23:22+01:00"
            }
          },
          {
            "member": {
              "type": "Organization",
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "2"
              }
            },
            "period": {
              "start": "2025-02-12T14:23:28+01:00"
            }
          }
        ]
      },
      "response": {
        "status": "OK",
        "location": "http://localhost:5826/fhir/r4/CareTeam/c93f62e1-4a42-4ec5-a63b-68cf0b814c36",
        "etag": "W/\\"
        2
        \
        \
        "",
        "lastModified": "2025-02-12T13:23:28.7954208+00:00",
        "outcome": {
          "resourceType": "OperationOutcome",
          "id": "9c65fe9a-9980-4e96-aba8-4b21061b3f62",
          "issue": [
            {
              "severity": "information",
              "code": "success",
              "diagnostics": "Updated CareTeam/c93f62e1-4a42-4ec5-a63b-68cf0b814c36 to version 2"
            }
          ]
        }
      }
    }
  ],
  "resourceType": "Bundle"
}"}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant