add note about JSON server support requirements
This commit is contained in:
parent
189201df8e
commit
23baab2fae
11
README.md
11
README.md
|
@ -25,6 +25,17 @@ This library is still early along in development, and some important features ar
|
|||
* [transaction](http://hl7.org/implement/standards/fhir/http.html#transaction)
|
||||
* [conformance](http://hl7.org/implement/standards/fhir/http.html#conformance)
|
||||
|
||||
## Limitations
|
||||
|
||||
This library only supports HL7 FHIR servers which support JSON. The FHIR specification requires that
|
||||
servers support XML, but JSON support is optional. There are no immediate or long-term plans to add
|
||||
XML support to this library.
|
||||
|
||||
All API requests sent by this library include an `Accept` HTTP header with the value
|
||||
`application/json+fhir` to indicate to the server what format requests and responses
|
||||
are to be in. This is handled automatically, and does not need to be specified by
|
||||
your application's code. As a result the optional `_format` parameter is not needed.
|
||||
|
||||
## Usage
|
||||
|
||||
Most of the basic RESTful API operations are supported currently.
|
||||
|
|
Reference in a new issue