Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ The survey will run until the fall.
<replacetoken><![CDATA[SOCIALPLUGINSHEREAPI]]></replacetoken>
<replacevalue><![CDATA[
<table cellpadding="0" cellspacing="0" border="0"><tr>
<td><div class="g-plusone" data-annotation="inline" data-width="300" data-href="http://hl7api.sourceforge.net/"></div></td>
<td><div class="fb-like" data-href="http://hl7api.sourceforge.net/" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div></td>
<td><div class="g-plusone" data-annotation="inline" data-width="300" data-href="https://hapifhir.github.io/hapi-hl7v2/"></div></td>
<td><div class="fb-like" data-href="https://hapifhir.github.io/hapi-hl7v2/" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div></td>
</tr></table>

</p><p>
Expand Down Expand Up @@ -170,8 +170,8 @@ The survey will run until the fall.
<replacetoken><![CDATA[SOCIALPLUGINSHERETP]]></replacetoken>
<replacevalue><![CDATA[
<table cellpadding="0" cellspacing="0" border="0"><tr>
<td><div class="g-plusone" data-annotation="inline" data-width="300" data-href="http://hl7api.sourceforge.net/hapi-testpanel/index.html"></div></td>
<td><div class="fb-like" data-href="http://hl7api.sourceforge.net/hapi-testpanel/index.html" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div></td>
<td><div class="g-plusone" data-annotation="inline" data-width="300" data-href="https://hapifhir.github.io/hapi-hl7v2/hapi-testpanel/index.html"></div></td>
<td><div class="fb-like" data-href="https://hapifhir.github.io/hapi-hl7v2/hapi-testpanel/index.html" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div></td>
</tr></table>

<!-- Place this tag after the last +1 button tag. -->
Expand Down Expand Up @@ -199,8 +199,8 @@ The survey will run until the fall.
<replacetoken><![CDATA[SOCIALPLUGINSHEREHOH]]></replacetoken>
<replacevalue><![CDATA[
<table cellpadding="0" cellspacing="0" border="0"><tr>
<td><div class="g-plusone" data-annotation="inline" data-width="300" data-href="http://hl7api.sourceforge.net/hapi-hl7overhttp/index.html"></div></td>
<td><div class="fb-like" data-href="http://hl7api.sourceforge.net/hapi-hl7overhttp/index.html" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div></td>
<td><div class="g-plusone" data-annotation="inline" data-width="300" data-href="https://hapifhir.github.io/hapi-hl7v2/hapi-hl7overhttp/index.html"></div></td>
<td><div class="fb-like" data-href="https://hapifhir.github.io/hapi-hl7v2/hapi-hl7overhttp/index.html" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div></td>
</tr></table>

<!-- Place this tag after the last +1 button tag. -->
Expand Down
10 changes: 5 additions & 5 deletions hapi-base/src/main/java/ca/uhn/hl7v2/HapiContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public interface HapiContext extends Closeable {
* service instances provided by this interface. Note that the returned service <b>will not
* be started</b>, and must manually be started using {@link HL7Service#start()} or
* {@link HL7Service#startAndWait()}
* @see <a href="http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">here</a> for an example of how to use this method
* @see <a href="https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">here</a> for an example of how to use this method
* @see #setSocketFactory(SocketFactory)
*/
HL7Service newServer(int port, boolean tls);
Expand All @@ -302,7 +302,7 @@ public interface HapiContext extends Closeable {
* service instances provided by this interface. Note that the returned service <b>will not
* be started</b>, and must manually be started using {@link HL7Service#start()} or
* {@link HL7Service#startAndWait()}
* @see <a href="http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">here<> for an example of how to use this method
* @see <a href="https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">here<> for an example of how to use this method
* @see #setSocketFactory(SocketFactory)
*/
HL7Service newServer(int port, boolean tls, boolean acceptAll);
Expand All @@ -318,7 +318,7 @@ public interface HapiContext extends Closeable {
* service instances provided by this interface. Note that the returned service <b>will not
* be started</b>, and must manually be started using {@link HL7Service#start()} or
* {@link HL7Service#startAndWait()}
* @see <a href="http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">here</a> for an example of how to use this method
* @see <a href="https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">here</a> for an example of how to use this method
* @see #setSocketFactory(SocketFactory)
*/
HL7Service newServer(int inboundPort, int outboundPort, boolean tls);
Expand All @@ -342,7 +342,7 @@ public interface HapiContext extends Closeable {
* will attempt to connect to the specified address, and will throw an exception
* if it fails to connect.
* @throws HL7Exception If the connection can not be initialized for any reason
* @see <a href="http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">here</a> for an example of how to use this method
* @see <a href="https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">here</a> for an example of how to use this method
*/
Connection newClient(String host, int port, boolean tls) throws HL7Exception;

Expand All @@ -361,7 +361,7 @@ public interface HapiContext extends Closeable {
* @param tls Whether or not to use SSL/TLS
* @return Returns a connection which can be used to transmit messages.
* @throws HL7Exception If the connection can not be initialized for any reason
* @see <a href="http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">here</a> for an example of how to use this method
* @see <a href="https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">here</a> for an example of how to use this method
*/
Connection newLazyClient(String host, int port, boolean tls) throws HL7Exception;

Expand Down
8 changes: 4 additions & 4 deletions hapi-base/src/main/java/ca/uhn/hl7v2/app/ConnectionHub.java
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public boolean isOpen(ConnectionData key) {
* Returns the singleton instance of ConnectionHub
*
* @deprecated Use {@link HapiContext#getConnectionHub()} to get an instance of ConnectionHub.
* See <a href="http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">this example page</a> for an example of how to use ConnectionHub.
* See <a href="https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">this example page</a> for an example of how to use ConnectionHub.
*/
public static ConnectionHub getInstance() {
return getInstance(DefaultExecutorService.getDefaultService());
Expand All @@ -395,7 +395,7 @@ public static ConnectionHub getInstance() {
* Returns the singleton instance of ConnectionHub.
*
* @deprecated Use {@link HapiContext#getConnectionHub()} to get an instance of ConnectionHub.
* See <a href="http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">this example page</a> for an example of how to use ConnectionHub.
* See <a href="https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">this example page</a> for an example of how to use ConnectionHub.
*/
public synchronized static ConnectionHub getInstance(ExecutorService service) {
if (instance == null || service.isShutdown()) {
Expand All @@ -408,7 +408,7 @@ public synchronized static ConnectionHub getInstance(ExecutorService service) {
* Returns the singleton instance of ConnectionHub.
*
* @deprecated Use {@link HapiContext#getConnectionHub()} to get an instance of ConnectionHub.
* See <a href="http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">this example page</a> for an example of how to use ConnectionHub.
* See <a href="https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">this example page</a> for an example of how to use ConnectionHub.
*/
public static ConnectionHub getInstance(HapiContext context) {
if (instance == null || context.getExecutorService().isShutdown()) {
Expand All @@ -423,7 +423,7 @@ public static ConnectionHub getInstance(HapiContext context) {
* service.
* </p>
* <p>
* See <a href="http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">this example page</a>
* See <a href="https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html">this example page</a>
* for an example of how to use ConnectionHub.
* </p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ GNU General Public License (the "GPL"), in which case the provisions of the GPL
* <p>
* This can be used to run HAPI without any structure JARs, as the generic MCF
* has no structure dependencies. See the
* <a href="http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/HandlingMultipleVersions.html">using multiple versions</a>
* <a href="https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/HandlingMultipleVersions.html">using multiple versions</a>
* example for more information.
* </p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public static void main(String[] args) throws Exception {
* The second technique is to use the Terser. The Terser allows you
* to access field values using a path-like notation. For more information
* on the Terser, see the example here:
* http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/ExampleUseTerser.html
* https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/ExampleUseTerser.html
*/

// This time we just use a normal ModelClassFactory, which means we will be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public static void main(String[] args) throws Exception {
* the same connection, even with a long delay between messages.
*
* See
* http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendLotsOfMessages.html
* https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendLotsOfMessages.html
* for an example of this.
*/
connection.close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public static void main(String[] args) throws Exception {
* the same connection, even with a long delay between messages.
*
* See
* http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendLotsOfMessages.html
* https://hapifhir.github.io/hapi-hl7v2/xref/ca/uhn/hl7v2/examples/SendLotsOfMessages.html
* for an example of this.
*/
connection.close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static void main(String[] args) {
/*
* See the rest of the examples for more information on how to
* use the context:
* http://hl7api.sourceforge.net/devbyexample.html
* https://hapifhir.github.io/hapi-hl7v2/devbyexample.html
*/


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private void init(ModelClassFactory factory) {
* the ZPI segment.
*
* See here for information on the arguments to this method:
* http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/model/AbstractSegment.html#add%28java.lang.Class,%20boolean,%20int,%20int,%20java.lang.Object[],%20java.lang.String%29
* https://hapifhir.github.io/hapi-hl7v2/base/apidocs/ca/uhn/hl7v2/model/AbstractSegment.html#add%28java.lang.Class,%20boolean,%20int,%20int,%20java.lang.Object[],%20java.lang.String%29
*/
add(ST.class, true, 0, 100, new Object[]{ getMessage() }, "Pet Name(s)");
add(NM.class, false, 1, 4, new Object[]{ getMessage() }, "Shoe Size");
Expand Down
5 changes: 2 additions & 3 deletions hapi-hl7overhttp/apidocs/ca/uhn/hl7v2/hoh/api/IClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,8 @@ <h4>setSigner</h4>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>theSigner</code> - If provided, sets the Signature Profile signer implementation
to use. See <a href=
"http://hl7api.sourceforge.net/hapi-hl7overhttp/specification.html#SIGNATURE_PROFILE"
>http://hl7api.sourceforge.net/hapi-hl7overhttp/specification.
html#SIGNATURE_PROFILE</a></dd>
"https://hapifhir.github.io/hapi-hl7v2/hapi-hl7overhttp/signature.html"
>https://hapifhir.github.io/hapi-hl7v2/hapi-hl7overhttp/signature.html</a></dd>
</dl>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,15 @@ <h3>Uses of <a href="../../../../../../ca/uhn/hl7v2/hoh/api/DecodeException.html
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../ca/uhn/hl7v2/hoh/api/IReceivable.html" title="interface in ca.uhn.hl7v2.hoh.api">IReceivable</a>&lt;<a href="http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/model/Message.html?is-external=true" title="class or interface in ca.uhn.hl7v2.model">Message</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">AbstractClient.</span><code><span class="memberNameLink"><a href="../../../../../../ca/uhn/hl7v2/hoh/hapi/client/AbstractClient.html#sendAndReceiveMessage-ca.uhn.hl7v2.hoh.api.ISendable-">sendAndReceiveMessage</a></span>(<a href="../../../../../../ca/uhn/hl7v2/hoh/api/ISendable.html" title="interface in ca.uhn.hl7v2.hoh.api">ISendable</a>&lt;<a href="http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/model/Message.html?is-external=true" title="class or interface in ca.uhn.hl7v2.model">Message</a>&gt;&nbsp;theMessageToSend)</code>
<td class="colFirst"><code><a href="../../../../../../ca/uhn/hl7v2/hoh/api/IReceivable.html" title="interface in ca.uhn.hl7v2.hoh.api">IReceivable</a>&lt;<a href="https://hapifhir.github.io/hapi-hl7v2/base/apidocs/ca/uhn/hl7v2/model/Message.html?is-external=true" title="class or interface in ca.uhn.hl7v2.model">Message</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">AbstractClient.</span><code><span class="memberNameLink"><a href="../../../../../../ca/uhn/hl7v2/hoh/hapi/client/AbstractClient.html#sendAndReceiveMessage-ca.uhn.hl7v2.hoh.api.ISendable-">sendAndReceiveMessage</a></span>(<a href="../../../../../../ca/uhn/hl7v2/hoh/api/ISendable.html" title="interface in ca.uhn.hl7v2.hoh.api">ISendable</a>&lt;<a href="https://hapifhir.github.io/hapi-hl7v2/base/apidocs/ca/uhn/hl7v2/model/Message.html?is-external=true" title="class or interface in ca.uhn.hl7v2.model">Message</a>&gt;&nbsp;theMessageToSend)</code>
<div class="block">Sends a message, waits for the response, and then returns the response if
any</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../ca/uhn/hl7v2/hoh/api/IReceivable.html" title="interface in ca.uhn.hl7v2.hoh.api">IReceivable</a>&lt;<a href="http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/model/Message.html?is-external=true" title="class or interface in ca.uhn.hl7v2.model">Message</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">AbstractClient.</span><code><span class="memberNameLink"><a href="../../../../../../ca/uhn/hl7v2/hoh/hapi/client/AbstractClient.html#sendAndReceiveMessage-ca.uhn.hl7v2.model.Message-">sendAndReceiveMessage</a></span>(<a href="http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/model/Message.html?is-external=true" title="class or interface in ca.uhn.hl7v2.model">Message</a>&nbsp;theMessageToSend)</code>
<td class="colFirst"><code><a href="../../../../../../ca/uhn/hl7v2/hoh/api/IReceivable.html" title="interface in ca.uhn.hl7v2.hoh.api">IReceivable</a>&lt;<a href="https://hapifhir.github.io/hapi-hl7v2/base/apidocs/ca/uhn/hl7v2/model/Message.html?is-external=true" title="class or interface in ca.uhn.hl7v2.model">Message</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">AbstractClient.</span><code><span class="memberNameLink"><a href="../../../../../../ca/uhn/hl7v2/hoh/hapi/client/AbstractClient.html#sendAndReceiveMessage-ca.uhn.hl7v2.model.Message-">sendAndReceiveMessage</a></span>(<a href="https://hapifhir.github.io/hapi-hl7v2/base/apidocs/ca/uhn/hl7v2/model/Message.html?is-external=true" title="class or interface in ca.uhn.hl7v2.model">Message</a>&nbsp;theMessageToSend)</code>
<div class="block">Sends a message, waits for the response, and then returns the response if
any (this method is a convenience method for <a href="../../../../../../ca/uhn/hl7v2/hoh/hapi/client/AbstractClient.html#sendAndReceiveMessage-ca.uhn.hl7v2.hoh.api.ISendable-"><code>AbstractClient.sendAndReceiveMessage(ISendable)</code></a></div>
</td>
Expand Down
Loading