ca.infoway.messagebuilder.guide.hello_world
Class DrugPrescriptionQueryApp

Package class diagram package DrugPrescriptionQueryApp
java.lang.Object
  extended by ca.infoway.messagebuilder.guide.hello_world.HelloWorldApp
      extended by ca.infoway.messagebuilder.guide.hello_world.DrugPrescriptionQueryApp

public class DrugPrescriptionQueryApp
extends HelloWorldApp

Hello world example for Pharmacy Transactions - Prescription Summary Query.

This example illustrates the use of the Message Builder library to perform a Patient Drug Prescription Summary Query.

The pan-Canadian specifications supported used are base R02.04.02 release of: Transaction: C01.07 Get Patient Drug Prescription Order Summary Request Message: PORX_IN060290CA (PORX_MT060130CA Drug Prescription Summary Request) Response Message: PORX_IN060300CA (PORX_MT030040CA Drug Prescription summary) requests retrieval of basic information about all medication prescriptions provided to a single patient, d optionally filtered by date and status.


Field Summary
 
Fields inherited from class ca.infoway.messagebuilder.guide.hello_world.HelloWorldApp
isSimulatedMode, MBSpecificationVersion, responseExampleResourceFile
 
Constructor Summary
DrugPrescriptionQueryApp()
           
 
Method Summary
protected  InteractionBean createRequestInteraction()
           
static void main(String[] args)
           
protected  void processResponseInteraction(InteractionBean interactionBean)
           
 
Methods inherited from class ca.infoway.messagebuilder.guide.hello_world.HelloWorldApp
convertBeanToXML, convertStreamToString, convertXMLToBean, createAuthor_1Bean, createAuthor_2Bean, createCredentialsProvider, createPostalAddres, createRecordTarget, createServiceDeliveryLocationBean, createServiceLocationBean, createTransformer, readResourceFile, run, setTransportWrapperValues, submitRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrugPrescriptionQueryApp

public DrugPrescriptionQueryApp()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

processResponseInteraction

protected void processResponseInteraction(InteractionBean interactionBean)
Specified by:
processResponseInteraction in class HelloWorldApp

createRequestInteraction

protected InteractionBean createRequestInteraction()
Specified by:
createRequestInteraction in class HelloWorldApp


Copyright © 2013. All Rights Reserved.