-
Notifications
You must be signed in to change notification settings - Fork 7
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
_include:iterate=PackagedProductDefinition:manufactured-item does not work properly #125
Comments
So... From my study, I think this version of JPA start has a bug with the searchParameter for PackagedProductDefinition:manufactured-item. this does not work:
But this works:
Tested again with my own server (latest version of docker (or at least it was a few days ago) and this returns ok:
So i would suggest two lines of action:
I would advise for keeping the * for the time being in order to keep it stable for next week and then upgrade. |
Is this solved? |
@costateixeira Can you fix it? |
linked to testlab viewer |
The visualizer does not show the ManufacturedItemDefinition (#124) because the query in get does not return it.
The visualizer query is as follows:
https://jpa.unicom.datawizard.it/fhir/MedicinalProductDefinition?_id=Hipres-10mg-Tablet-EE-MPD&_revinclude=RegulatedAuthorization:subject&_include:iterate=RegulatedAuthorization:holder&_revinclude=PackagedProductDefinition:package-for&_include:iterate=PackagedProductDefinition:manufactured-item&_revinclude=AdministrableProductDefinition:form-of&_revinclude:iterate=Ingredient:for&_format=json
The ManufacturedItemDefinition is not present in the returned bundle while in this request it is:
https://jpa.unicom.datawizard.it/fhir/MedicinalProductDefinition?_id=ABIS-tablet-10mg--0-ITA-MPD&_revinclude=RegulatedAuthorization:subject&_include:iterate=RegulatedAuthorization:holder&_revinclude=PackagedProductDefinition:package-for&_include:iterate=PackagedProductDefinition:*&_revinclude=AdministrableProductDefinition:form-of&_revinclude:iterate=Ingredient:for&_format=json
The difference between the requests is in the _include parameter.
In the first request there is:
...&_include:iterate=PackagedProductDefinition:manufactured-item&...
In the second request:
...&_include:iterate=PackagedProductDefinition:*&...
The text was updated successfully, but these errors were encountered: