# Unable to POST FHIR encounter resource

**URL:** <https://talk.openmrs.org/t/unable-to-post-fhir-encounter-resource/5720>\
**Category:** Development\
**Created:** [April 9, 2016, 10:17am UTC](https://talk.openmrs.org/t/unable-to-post-fhir-encounter-resource/5720 "2016-04-09T10:17:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aniruddh](https://talk.openmrs.org/letter_avatar/aniruddh/32/5_5575768a8748004e209b776fc1b2916d.png) [@aniruddh](https://talk.openmrs.org/u/aniruddh)\
**Post date:** [April 9, 2016, 10:17am UTC](https://talk.openmrs.org/t/unable-to-post-fhir-encounter-resource/5720/1 "2016-04-09T10:17:11Z")

</div>

Hi @sashrika,  
I’m trying to POST FHIR encounter resource but getting 500 error “Failed to call access method”. I’ve referred to the following links still unable to resolve the issue:

> [@FHIR Encounter, Visit, & Observation resources](https://talk.openmrs.org/t/fhir-encounter-visit-observation-resources/1781):
>
> Hi All, As part of FHIR module implementation, below display how sample Visit, Encounter and Observation modeled through FHIR Resources. Visit { "resourceType":"Encounter", "id":"29f0bd73-9047-4bca-ad46-8fbc0a271cb1", "status":"finished", "class":"inpatient", "patient":{ "reference":"Patient/dd6f7565-1691-11df-97a5-7038c432aabf", "display":"Lazaros Amutebe(Identifier:1196TS-2)" }, "period":{ "start":"2015-04-05T09:41:14", "end":"2015…

[https://wiki.openmrs.org/display/projects/Encounter+Resource](https://wiki.openmrs.org/display/projects/Encounter+Resource)

Also, since most of the resources are developed by you, i’m interested to know how can I POST a FHIR bundle resource(any rest end-point ?) as I couldn’t get any documentation on this.

Thanks, waiting for some help 🙂

---

<div class="post-metadata">

**Author:** ![michael](https://talk.openmrs.org/user_avatar/talk.openmrs.org/michael/32/15070_2.png) [@michael](https://talk.openmrs.org/u/michael)\
**Post date:** [April 9, 2016, 5:55pm UTC](https://talk.openmrs.org/t/unable-to-post-fhir-encounter-resource/5720/2 "2016-04-09T17:55:48Z")

</div>

Closing as duplicate of:

> [@How can I POST FHIR bundle resource in OpenMRS ?](https://talk.openmrs.org/t/how-can-i-post-fhir-bundle-resource-in-openmrs/5719):
>
> @sashrika @harsha89 Can somebody reply with a REST end-point for POSTing a FHIR bundle? Thanks…
