Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

DELETE search parameter results in "unknown" 500 error #3594

Open
trevor-webster opened this issue Nov 15, 2023 · 2 comments
Open

DELETE search parameter results in "unknown" 500 error #3594

trevor-webster opened this issue Nov 15, 2023 · 2 comments
Labels
Bug Bug bug bug. VSTS-Backlog On VSTS Backlog

Comments

@trevor-webster
Copy link

trevor-webster commented Nov 15, 2023

Describe the bug
When attempting to DELETE a search parameter, for example

{
                "resourceType": "SearchParameter",
                "id": "8055acd7-051e-4982-b99e-13ecb7bafc44",
                "meta": {
                    "versionId": "1",
                    "lastUpdated": "2023-11-07T13:02:52.296+00:00"
                },
                "url": "https://learn.microsoft.com/en-us/azure/healthcare-apis/fhir/how-to-do-custom-search#create-new-search-parameter-for-resource-attributes-with-reference-type",
                "version": "1.0",
                "name": "CompositionSearchParameter",
                "status": "active",
                "description": "Search parameter for Composition by focus",
                "code": "focus",
                "base": [
                    "Composition"
                ],
                "type": "reference",
                "expression": "Composition.section.focus",
                "target": [
                    "Resource"
                ]
            },
            "search": {
                "mode": "match"
            }
        }

DELETE 'http://localhost:8080/SearchParameter/8055acd7-051e-4982-b99e-13ecb7bafc44'

The response is

{
    "resourceType": "OperationOutcome",
    "id": "e1b7f977-4b0d-4437-bb0d-46bd725bd077",
    "meta": {
        "lastUpdated": "2023-11-15T17:17:46.9870796+00:00"
    },
    "issue": [
        {
            "severity": "error",
            "code": "unknown",
            "diagnostics": ""
        }
    ]
}

FHIR Version?
R4

Data provider?
SQL Server

@trevor-webster trevor-webster added the Bug Bug bug bug. label Nov 15, 2023
@brendankowitz brendankowitz added the Review Tag for PM/Dev Review label Nov 29, 2023
@liamwilson-kainos
Copy link

Also experiencing some weird issues with SearchParameter deletion.

Specifically when i DELETE a resource and then execute a PUT request afterwards (#3608)

@EXPEkesheth
Copy link
Collaborator

#113078- internal reference id

@EXPEkesheth EXPEkesheth added VSTS-Backlog On VSTS Backlog and removed Review Tag for PM/Dev Review labels Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug bug bug. VSTS-Backlog On VSTS Backlog
Projects
None yet
Development

No branches or pull requests

4 participants