|
|||||||||||||||||||||
Windows Installation StepsTo install and run XES Module for FHIR on Windows, complete the following steps:
To verify that the FHIR server is working, you can upload a sample FHIR resource bundle to the FHIR server and get a response that the sample FHIR resource bundle has been processed. Prerequisites
To upload a sample FHIR resource bundle onto the FHIR server through cURL:
curl -X POST "https://localhost:10443/hapi-fhir-jpaserver/R4" -H "Content-Type:application/xml" --data @SampleBundle.xml --insecure > response.xml Ensure that the HTTPS port (10443) at which the FHIR server can be accessed is the same as during the installation. Note By default, the HTTPS port is 10443.
You can view the created request response that was created – the file response.xml in the directory where the sample FHIR resource bundle is located. The response should contain <status value="200 OK" />. ![]() <Bundle xmlns="http://hl7.org/fhir"> <entry> <resource> <Practitioner xmlns="http://hl7.org/fhir"> <id value="1"></id> <identifier> <value value="1"/> </identifier> <identifier> <type> <coding> <code value="NPI"/> </coding> </type> <value value="1952327215"/> </identifier> <name> <family value="BAL"/> <given value="ASWINE"/> </name> </Practitioner> </resource> <request> <method value="POST"></method> <url value="Practitioner/1"></url> <ifNoneExist value="identifier=1"></ifNoneExist> </request> </entry> <entry> <resource> <Schedule xmlns="http://hl7.org/fhir"> <id value="2"/> <identifier> <value value="102"/> </identifier> <identifier> <value value="2"/> </identifier> <active value="true"/> <actor> <reference value="Practitioner/1"/> </actor> </Schedule> </resource> <request> <method value="POST"></method> <url value="Schedule/2"></url> <ifNoneExist value="identifier=2"></ifNoneExist> </request> </entry>
<entry> <resource> <Patient xmlns="http://hl7.org/fhir"> <id value="3"/> <extension url="Link"> <valueString value="http://services-uswest.skytap.com:29182/pd/#plmr?idXk3Ml5M"/> </extension> <identifier> <value value="Edifecs_0000000"/> </identifier> <identifier> <value value="3"/> </identifier> <name> <use value="official"/> <family value="West"/> <given value="Anna"/> </name> <gender value="female"/> <birthDate value="1967-04-29"/> <address> <line value="2777 Terra Street"/> <city value="Seattle"/> <state value="WA"/> <postalCode value="98109"/> </address> </Patient> </resource> <request> <method value="POST"></method> <url value="Patient/3"></url> <ifNoneExist value="identifier=3"></ifNoneExist> </request> </entry>
(...) </Bundle> ![]() <Bundle xmlns="http://hl7.org/fhir"> <id value="d584904d-fd0d-4d9c-bc12-d63afde58189"/> <type value="transaction-response"/> <link> <relation value="self"/> <url value="https://localhost:10443/hapi-fhir-jpaserver/R4"/> </link> <entry> <response> <status value="200 OK"/> <location value="Practitioner/52/_history/1"/> <etag value="1"/> </response> </entry> <entry> <response> <status value="200 OK"/> <location value="Schedule/53/_history/1"/> <etag value="1"/> </response> </entry> <entry> <response> <status value="200 OK"/> <location value="Patient/54/_history/1"/> <etag value="1"/> </response> </entry> <entry> <response> <status value="200 OK"/> <location value="Slot/55/_history/1"/> <etag value="1"/> </response> </entry> (...) </Bundle> |