Class FhirDstu2Resource


  • @Path("/dstu2")
    @ApplicationScoped
    public class FhirDstu2Resource
    extends Object
    • Field Detail

      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
    • Constructor Detail

      • FhirDstu2Resource

        public FhirDstu2Resource()
    • Method Detail

      • fhir2json

        @Path("/fhir2json")
        @POST
        @Consumes("application/json")
        @Produces("application/octet-stream")
        public javax.ws.rs.core.Response fhir2json​(String patient)
                                            throws Exception
        Throws:
        Exception
      • fhir2xml

        @Path("/fhir2xml")
        @POST
        @Consumes("application/xml")
        @Produces("application/octet-stream")
        public javax.ws.rs.core.Response fhir2xml​(String patient)
                                           throws Exception
        Throws:
        Exception
      • createPatient

        @Path("/createPatient")
        @POST
        @Consumes("application/json")
        @Produces("text/plain")
        public javax.ws.rs.core.Response createPatient​(String patient)
                                                throws Exception
        Throws:
        Exception