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

No reference resolution in provided bundles for CRR #37

Open
wetret opened this issue Jul 15, 2021 · 1 comment
Open

No reference resolution in provided bundles for CRR #37

wetret opened this issue Jul 15, 2021 · 1 comment

Comments

@wetret
Copy link
Member

wetret commented Jul 15, 2021

References in a Bundle, that should be transferred to the CRR, are not resolved and included during Bundle generation. This leads to the fact that resource validation at the CRR can fail. An exception is the Patient resource.

For example if the Bundle contains a Condition resource with the following fields

 "fullUrl":"Condition/urn:uuid:1",
 "resource":{
            "resourceType":"Condition",
            ...        
            "subject":{
                 "reference":"Patient/urn:uuid:2"
            },
            "encounter":{
                  "reference":"Encounter/urn:uuid:3"
            },
            ...
      }

only the referenced Patient resource is included into the Bundle, not the referenced Encounter resource.

hhund added a commit that referenced this issue Jun 25, 2022
This fix is related to #37 as it removes all references that can not be
resolved. It is not a fix for the more general problem of references
between GECCO resources such as Observation with the profile
https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/blood-gas-panel

With this commit blood-gas-panel is still broken.
hhund added a commit that referenced this issue Jun 25, 2022
This is not a fix for the more general problem described in #37, but
blood-gas-panel is now fully supported.
@hhund
Copy link
Member

hhund commented Jun 25, 2022

With release 0.5.1 unsupported references are removed from the resources prior to sending data to the central research repository. References within the blood-gas-panel Observation are not removed and managed correctly.

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

No branches or pull requests

2 participants