FHIR Chat · JAX-RS Server · implementers

Stream: implementers

Topic: JAX-RS Server


view this post on Zulip Rubén Prieto Prado (Jun 06 2017 at 17:24):

Hi All,

i'm working on my end proyect for my carrer which consist on developing a FHIR server with JAX-RS, i'm making a 3 layer application (MODEL-SERVER-CLIENT) but client isn't going to be developed.

I'm working atm on the model layer and coding the POJO clases for the resources starting with PATIENT resource based on this documentation (http://hl7.org/fhir/patient.html) , still not sure about the IDENTIFIER resource and how to use it since I ender in a loop with the resource ORGANIZATION and IDENTIFIER, since ORGANIZATION has in it a resource IDENTIFIER and IDENTIFIER also has an element assigner which is ORGANIZATION.

Do al classes have to have all elements described on the documentation or am i missing something?

view this post on Zulip Lloyd McKenzie (Jun 06 2017 at 17:39):

You only include the data that's relevant to you. So nest only until you don't care anymore

view this post on Zulip Rubén Prieto Prado (Jun 06 2017 at 17:43):

So i don't need to use all Attributes but the ones I use have to follow the types on the documentation is that so?

view this post on Zulip Lloyd McKenzie (Jun 06 2017 at 17:50):

Correct. The only elements that must be present are those with minOccurs=1

view this post on Zulip Rubén Prieto Prado (Jun 06 2017 at 18:52):

So the basic requirements i have to follow to implement my server following FHIR stantar is:

-Using Resources modeled after the documentation (http://www.hl7.org/fhir/STU3/resourcelist.html)
- Implementing only the REST interactions specified on the documentatioin and following the mapping rules ,
(http://www.hl7.org/fhir/STU3/http.html#capabilities)
- All resources must be validated against the schemas provided here http://www.hl7.org/fhir/STU3/validation.html

What else i'm missing?

Ps: is the vread and history a must for the REST functionalities?

view this post on Zulip Lloyd McKenzie (Jun 07 2017 at 01:08):

vread and history are optional. In fact, all of the RESTful operations are optional. Some servers may be read-only. Some may be write-only.

view this post on Zulip Lloyd McKenzie (Jun 07 2017 at 01:08):

Beyond that, use the CapabilityStatement to describe what your system does

view this post on Zulip Grahame Grieve (Jun 07 2017 at 01:25):

have you looked at the POJOs in the HAPI distribution?

view this post on Zulip Piotr Mińkowski (Sep 25 2017 at 07:55):

I use JAX-RS Server as a hapifhir server. Is there any way to use $everything feature different than by implementing my own custom operation?


Last updated: Apr 12 2022 at 19:14 UTC