Class Hl7Resource


  • @Path("/hl7")
    @ApplicationScoped
    public class Hl7Resource
    extends Object
    • Field Detail

      • context

        @Inject
        org.apache.camel.CamelContext context
      • producerTemplate

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

      • Hl7Resource

        public Hl7Resource()
    • Method Detail

      • mllp

        @Path("/mllp")
        @POST
        @Consumes("text/plain")
        @Produces("application/json")
        public javax.json.JsonObject mllp​(String message)
                                   throws Exception
        Throws:
        Exception
      • marshalUnmarshal

        @Path("/marshalUnmarshal")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public javax.ws.rs.core.Response marshalUnmarshal​(@QueryParam("charset")
                                                          String charset,
                                                          String message)
      • validate

        @Path("/validate")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public javax.ws.rs.core.Response validate​(String message)
      • validateCustom

        @Path("/validate/custom")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public javax.ws.rs.core.Response validateCustom​(String message)
      • hl7terser

        @Path("/hl7terser")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String hl7terser​(String message)
      • hl7terserBean

        @Path("/hl7terser/bean")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String hl7terserBean​(String message)
      • hl7Xml

        @Path("/xml")
        @POST
        @Consumes("application/xml")
        @Produces("application/json")
        public javax.json.JsonObject hl7Xml​(String messageXml)
      • validateWithAck

        @Path("/ack")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String validateWithAck​(String message)