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

Money type can be created normally in stu3, but an error occurs in r4 #1280

Closed
navyflower opened this issue Apr 17, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@navyflower
Copy link

commented Apr 17, 2019

server:
http://hapi.fhir.org/home
data:
{
"resourceType": "ChargeItem",
"status": "billable",
"code": {
"coding": [{
"system": "http://fhir.de/ValueSet/kbv/ebm",
"code": "32120"
}]
},
"quantity": {
"value": 10.0,
"unit": "vien",
"code": "vien"
},
"subject": {
"reference": "Patient/1629166"
},
"priceOverride": {
"value": 40
}
}

Normal create in stu3 test server (http://hapi.fhir.org/home?serverId=home_21&pretty=true)
An exception occurred in the r4 test server (http://hapi.fhir.org/home?serverId=home_r4&pretty=true)

Exception information:
Error: HTTP 500 Server Error: Failed to call access method: ca.uhn.fhir.context.ConfigurationException: Search param price-override is of unexpected datatype: class org.hl7.fhir.r4.model.Money

The same problem occurs in the local environment.(hapi fhir version 3.7.0)

@jamesagnew

This comment has been minimized.

Copy link
Owner

commented Apr 17, 2019

@navyflower

This comment has been minimized.

Copy link
Author

commented Apr 17, 2019

Can you please provide more detail? sent from my phone.

On Tue, Apr 16, 2019, 22:12 navyflower @.***> wrote: server:http://hapi.fhir.org/home — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1280>, or mute the thread https://github.com/notifications/unsubscribe-auth/ADTfnW4eSQy3mSPKO-hQRRHJHpgkWbViks5vhoMBgaJpZM4c0DFi .

Sorry, I accidentally pressed the send shortcut when I was not editing. Also re-edited, added details.

@jamesagnew

This comment has been minimized.

Copy link
Owner

commented Apr 17, 2019

Ah no problem. Thanks for submitting. I see the same issue, fix coming up.

jamesagnew added a commit that referenced this issue Apr 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.