-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error while saving Annotations.authorReference #376
Comments
You provided only request body, please provide full request (url, method, headers) |
{
"type": "transaction",
"entry": [
{
"resource": {
"resourceType": "Patient",
"id": "new-patient-2",
"active": true,
"name": [
{
"family": "Окакьев",
"given": [
"Джон",
"Никифорович"
]
}
],
"gender": "male",
"birthDate": "1932-09-24"
},
"request": {
"method": "POST",
"url": "/Patient"
}
},
{
"resource": {
"id": "sample-image-id-2",
"subject": {
"reference": "Patient/new-patient-2"
},
"status": "completed",
"type": {
"text": "Image"
},
"createdDateTime": "2011-03-04T11:45:25+11:00",
"content": {
"contentType": "image/png",
"data": "dG9vIGJpZyB0b28gaW5jbHVkZSB0aGUgd2hvbGU="
}
},
"request": {
"method": "POST",
"url": "/Media"
}
},
{
"resource": {
"id": "sample-document-id-2",
"subject": {
"reference": "Patient/new-patient-2"
},
"status": "completed",
"type": {
"text": "Document"
},
"createdDateTime": "2011-03-04T11:45:25+11:00",
"content": {
"contentType": "application/pdf",
"data": "dG9vIGJpZyB0b28gaW5jbHVkZSB0aGUgd2hvbGU="
}
},
"request": {
"method": "POST",
"url": "/Media"
}
},
{
"resource": {
"id": "sample-report-id-2",
"code": {
"text": "Sample name"
},
"effectiveDateTime": "2011-03-04T11:45:25+11:00",
"category": [
{
"text": "OSL"
}
],
"status": "final",
"subject": {
"reference": "Patient/new-patient-2"
},
"media": [
{
"link": {
"reference": "Media/sample-image-id-2"
}
},
{
"link": {
"reference": "Media/sample-document-id-2"
}
}
],
"extension": [
{
"url": "annotation",
"valueAnnotation": {
"authorReference": {
"reference": "Patient/new-patient-2"
},
"time": "2011-03-04T11:45:25+11:00",
"text": "Everything's fine"
}
}
]
},
"request": {
"method": "POST",
"url": "/DiagnosticReport"
}
}
]
} |
Your'e posting FHIR data to aidbox format endpoint. You need like this |
The problem is that you need to define extension in aidbox and this will solve the problem https://docs.aidbox.app/modules-1/first-class-extensions
|
Returns an error while saving the extension:
Error:
FHIR spec:
The text was updated successfully, but these errors were encountered: