Skip to content

Bundle resource reference with a conditional create URL fails with HAPI-0507 #4736

Closed
@lukedegruchy

Description

@lukedegruchy

Describe the bug
POSTing a bundle containing a resource with a conditional create URL fails with HAPI-0507.

To Reproduce
Steps to reproduce the behavior:

  1. Ensure configs for both auto_create_placeholder_reference_targets and allow_inline_match_url_references are enabled.
  2. POST the bundle (see example below)
  3. Get back a HAPI-0507 error

Expected behavior

  1. The request should be accepted
  2. Both the original resource (ex Patient) and the auto-created resource (ex Organization) should be created

Environment (please complete the following information):

  • HAPI FHIR Version: Master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions