# Pixm Connector --- ### Prerequisites - Java 11 with maven. - WildFly 18. --- ### Build project locally After cloning this repository to your local installation launch ```bash > mvn clean install ``` from the project root directory. The artifact pixm_fhir_server.war will be created in target/ directory. --- ### Deploy on WildFly server After building the project through Maven, the artifact created just has to be added to your local WildFly installation in the folder ```bash {$wildfly.home}/standalone/deployments ``` --- ### Request a Patient on a specific Target Identifier Once the project deployed on your WildFly, you can now call it to request a cross Referenced Patient in the Patient Registry. The URL to call is ```http {wildfly18.address}/pixm_fhir_server/fhir_ihe/Patient/$ihe-pix ``` Parameters allowed are : - The Patient Identifier and the Target System attributed to this identifier - The Target System you want the cross reference from. For example : Given the Patient with the ID 69420 in the Target System 1:2:3:4:5023:31520 And you want the cross referenced patient in the target system 5:6:7:8:0587:79085 The corresponding url will be : ```http {wildfly18.address}/pixm_fhir_server/fhir_ihe/Patient/$ihe-pix?sourceIdentifier=urn:oid:1:2:3:4:5023:31520|69420&targetSystem=5:6:7:8:0587:79085 ```