Extension: "launchString"
URL: "http://help.caredove.com/developer-integrations/fhir-extension-launchstring"

Description:

This extension has three extensions under the ServiceRequest Resource; "launchURL", "validUntil", and "redirectURL".

Further Extensions

LaunchURL: A link that brings the user to either the first step of a booking process, or a Caredove listings webpage, which has the users information pre-filled while going through Caredove's booking process for a referral.
Value: valueUri

validUntil: A timestamp provided by Caredove with the exact time the LaunchURL will expire.
Value: valuePeriod

redirectURL:
A URL specified by the POST request, which will define where the user will be redirected to after completing the booking process.
Value: valueUri

Resource & Resource Element Locations:

This extension is located under ServiceRequest 

Example:

"resource": {
                "resourceType": "ServiceRequest",
                "id": "5636247958",
                "extension": [
                    {
                        "url": "http://help.caredove.com/developer-integrations/fhir-extension-launchstring",
                        "extension": [
                            {
                                "url": "launchURL",
                                "valueUri": "https://sandbox.caredove.com/applaunch?fhirServiceUrl=https%3A%2F%2Fsandbox.caredove.com%2Fapi%2Fnative&patientId=pn8e6mkbgecbpusq0k760l2bn1-5636247958-16770&intent=display-headerbar&need_patient_banner=false"
                            },
                            {
                                "url": "validUntil",
                                "valuePeriod": {
                                    "end": "2019-03-27T16:34:22+00:00"
                                }
                            },
                            {
                                "url": "redirectURL",
                                "valueUri": "https://example.com/redirect-url/"
                            }
                        ]
                    }
                ],

More Details

We have created a first extension, called "cds-service-request". This will return two more extensions in an array, the first extension called "launchString", which will have a valueUri, which links to a smart-on-fhir enabled applet. The second extension is called "validUntil", which returns the expiration time-stamp of our smart-on-fhir link. The third extension is called "", which is accepted in a POST request by integrated systems, and allows for an external system to dictate where the user will be redirected to after completing the referral process in the smart-on-fhir applet.

This applet can be opened by external systems to book a referral in Caredove, using pre-filled information brought over from other integrated systems. This seamless process allows the user to either use our search site to find and book a service listing in Caredove, or directly access and book a specific service, depending on what the external system has specified to our API.

Did this answer your question?