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

FHIR resource : create composition is not working #11

Open
JayakrishnanJK opened this issue Apr 8, 2019 · 2 comments
Open

FHIR resource : create composition is not working #11

JayakrishnanJK opened this issue Apr 8, 2019 · 2 comments
Assignees

Comments

@JayakrishnanJK
Copy link

JayakrishnanJK commented Apr 8, 2019

It was working fine early with the below mentioned fix.

#5

suddenly it is getting issue with node version 8.15 .

I have tried to POST with https://zzzzzabc.com/3_0_1/composition with content type application/fhir+json and body as data from https://www.hl7.org/fhir/composition-example.json.html

We are getting the following error

{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns="http://www.w3.org/1999/xhtml\">

Operation Outcome

<table border="0"><table border="0"><td style="font-weight: bold;">error
'resourceType' expected to have value of 'undefined', received 'Composition'
"
},
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "'resourceType' expected to have value of 'undefined', received 'Composition'"
}
]
}

@JayakrishnanJK
Copy link
Author

@jonterrylee Can you please help us on this issue. It is a live project and we are facing issue on it.

@jonterrylee jonterrylee self-assigned this Apr 9, 2019
@jonterrylee
Copy link
Collaborator

@JayakrishnanJK

I think we found the issue. We'll have a PR up and should have merged in shortly.

bluehalo/node-fhir-server-core#162

You can update your package.json to point to this branch and see if this fixes your issue.
'hotfix/resource-type-issue'

Please let me know if this doesn't fix your issue.

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