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

Bulk export on patient instance fails on R5 #5913

Closed
lukedegruchy opened this issue May 8, 2024 · 0 comments · Fixed by #5909
Closed

Bulk export on patient instance fails on R5 #5913

lukedegruchy opened this issue May 8, 2024 · 0 comments · Fixed by #5909

Comments

@lukedegruchy
Copy link
Collaborator

Describe the bug
Bulk export on patient instance failed on R5

To Reproduce
Steps to reproduce the behavior:

  1. Set the persistence module to R5
  2. Start hapi-fhir
  3. Create some patients
  4. POST /Patient/{id}/$export or /Patient/$export
{ 
       "parameter": [
        {
            "valueString": "application/fhir+ndjson",
            "name": "_outputFormat"
        },
        {
            "name": "_since",
            "valueInstant": "2024-01-25T11:01:45.660-04:00"
        }

    ],
    "resourceType": "Parameters"
}
  1. See error bulk export job failed, HAPI-2223: HAPI-2222: Resource type [] is not eligible for this type of export, as it contains no Patient compartment, and no patient or subject search parameter

Expected behavior
Bulk export succeeds

Environment (please complete the following information):

  • HAPI FHIR Version: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant