|
Last change
on this file since 507 was 507, checked in by George Lilly, 17 years ago |
|
NHIN gateway and adaptor for use on linux with VistA EHR and RPMS
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * To change this template, choose Tools | Templates
|
|---|
| 3 | * and open the template in the editor.
|
|---|
| 4 | */
|
|---|
| 5 | package gov.hhs.fha.nhinc.subscription.dte;
|
|---|
| 6 |
|
|---|
| 7 | import gov.hhs.fha.nhinc.common.subscription.SubscriptionReferenceType;
|
|---|
| 8 | import org.oasis_open.docs.wsn.b_2.Notify;
|
|---|
| 9 | import gov.hhs.fha.nhinc.common.subscriptiondte.TransformNhinNotifyToInternalSubscriptionReferenceResponseType;
|
|---|
| 10 |
|
|---|
| 11 | /**
|
|---|
| 12 | *
|
|---|
| 13 | * @author rayj
|
|---|
| 14 | */
|
|---|
| 15 | public class TransformNhinNotifyToInternalSubscriptionReference {
|
|---|
| 16 |
|
|---|
| 17 | public static TransformNhinNotifyToInternalSubscriptionReferenceResponseType transformNhinNotifyToInternalSubscriptionReference(gov.hhs.fha.nhinc.common.subscriptiondte.TransformNhinNotifyToInternalSubscriptionReferenceRequestType request) {
|
|---|
| 18 | TransformNhinNotifyToInternalSubscriptionReferenceResponseType response = new TransformNhinNotifyToInternalSubscriptionReferenceResponseType();
|
|---|
| 19 | if (request != null) {
|
|---|
| 20 | Notify notify = request.getNotify();
|
|---|
| 21 | SubscriptionReferenceType subref = NotifyHelper.transformNhinNotifyToInternalSubscriptionReference(notify);
|
|---|
| 22 | response.setSubscriptionReference(subref);
|
|---|
| 23 | }
|
|---|
| 24 | return response;
|
|---|
| 25 | }
|
|---|
| 26 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.