NAV Navbar
  • Satellite Healthcare API Platform
  • Terms of Use
  • Introduction
  • API Errors Codes
  • Discovery
  • Dynamic Client Registration
  • Authorization
  • AllergyIntolerance
  • Appointment
  • Basic
  • CarePlan
  • Condition
  • Condition(Health Concerns)
  • Device
  • DiagnosticReport
  • Laboratory Test(s)
  • Encounter
  • Goal
  • Immunization
  • MedicationStatement
  • Observation(Vital signs)
  • Observation(Social history)
  • Observation(Cognitive status)
  • Observation(Functional status)
  • Patient + Care Team
  • Procedure
  • ReferralRequest
  • SPIN Suite v3.1

    Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

    Satellite Healthcare API Platform is a congruent RESTful webservice developed on HL7 FHIR DSTU2 standards. No additional software components and configuration are necessary to interact with the API. This document should give you a clear picture of the service communication and the FHIR resources. If you have any queries or problems connecting to the service, please contact Satellite Healthcare support at 650-404-3668.

    Introduction

    Satellite Healthcare platform is accessible only with a HTTPS connection so that the data being exchanged is exclusively protected with TLS 1.2 cypher suites and to provide maximum security to the data on the wire and only the server or the client browser can decrypt the data.

    Satellite Healthcare platform has got its own OAuth provider implemented on the OAuth 2.0 protocol and works with all the OAuth Grant types like authorization_code, implicit, etc. For more information of OAuth 2.0 protocol, please visit to RFC 6749.

    API Error Codes

    GET (API Read Error Codes)

    Error Code Severity Description
    401 Authorization failed Un-Authorized resource access.
    404 Not found Resource not found.
    500 Internal server error Problem connecting the facility service
    501 Resource not implemented Resource of {type} not implemented. Resources are case-sensitive.

    GET (API Search Error Codes)

    Error Code Severity Description
    401 Authorization failed Un-Authorized resource access.
    404 Not found No Resource found for the search criteria. Invalid search parameters submitted.
    500 Internal server error Problem connecting facility service.
    501 Resource not implemented Resource of {type} not implemented. Resources are case-sensitive.
    200 OK (empty bundle) No resource found for the search criteria.

    POST (Resource Create Error Codes)

    Error Code Severity Description
    401 Authorization failed Un-Authorized resource access.
    500 Internal server error maybe problem connecting facility service
    501 Resource not implemented Resource of {type} not implemented. Resources are case-sensitive.

    Discovery

    Satellite Healthcare API Platform exposes the metadata in the format of the FHIR conformance statement. The conformance statement can be obtained by appending '/metadata' to the FHIR Service URL. The metadata is freely accessible from any domain and without any restrictions or token. The 'Accept' can be sent with the request to get the response in a preferred media type.

    The metadata also complies with the SMART on FHIR profile which allows the discovery of authorization server and dynamic client registeration endpoint. In a typical FHIR conformance statement, the authorization and token URLs information can be traced from the security profile of the conformance:

    
    {   "extension": [
        {
          "url": "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris",
          "extension": [
            {
            "url": "register",
            "valueUri": "https://fhiradmin.satellite.healthcare/oauth/register"
            },
            {
             "url": "authorize",
             "valueUri": "https://fhiradmin.satellite.healthcare/oauth/authorize"
            },
            {
             "url": "token",
             "valueUri": "https://fhiradmin.satellite.healthcare/oauth/token"
            }
            ]
          }
        ]
    }
    
    

    The client Apps can dynamically register themselves with the Satellite Healthcare platform. The App developer would need to register his/her email address and the App name on the Satellite Healthcare platform. After successfully registering with the Satellite Healthcare, the App developer would be given a token to register the app. The Satellite Healthcare's dynamic client registration end-point is access-protected and would require the requests to have Authorization header with the bearer token. For more information of Dynamic Client Register, please visit to RFC 7591.

    Satellite Healthcare API Platform is a Oauth protected resource server which shall always validate the access token and is CORS supported for your AJAX queries. Please check the following URLs to communicate to the OAuth provider and the resource services.

    Satellite Healthcare End-Point URL
    Dynamic Client Registration * https://fhiradmin.satellite.healthcare/oauth/register
    Authorization URL * https://fhiradmin.satellite.healthcare/oauth/authorize
    Token URL * https://fhiradmin.satellite.healthcare/oauth/token
    FHIR Service * https://fhirapi.satellite.healthcare

    Dynamic Client Registration

    The App developer needs to visit the Satellite Healthcare Admin Portal and self-register his/her details. Post registration, an initial-access token will be sent to the email address which should be used while registering the App dynamically. As per RFC [RFC 7591], the token may be sent to the dynamic client registration endpoint as a bearer token under Authorization header.

    POST /OAuth/Register

    alt text

    The consumer applications require to submit the following details while registering at the Dynamic Client Registration Endpoint:

    Code samples

    # You can also use wget
    curl -X POST https://fhiradmin.satellite.healthcare/oauth/register \
      -H 'Accept: application/json+fhir' -H 'Authorization: {MyAccessToken}' -d '{  "redirect_uris": ["{MyCallBackURI}"],  "client_name": "My Demo App",  "client_url": null,  "grant_types": ["implicit"],  "logo_url": null,  "contacts": null,"tos_url": null}'
    
    var headers = {
                'Accept':'application/json+fhir',
                'Authorization' : 'Bearer {MyAccessToken}',
    };
    var ClientMetadata ={
                "redirect_uris": "{MyCallBackURI}",
                "client_name": "My Demo App",
                "client_url": null,
                "grant_types": ["implicit"],
                "logo_url": null,
                "contacts": null,
                "tos_url": null
    };
    $.ajax({
                url: 'https://fhiradmin.satellite.healthcare/oauth/register',
                method: 'post',
                headers: headers,
                success: function(ClientMetadata) {
                console.log(JSON.stringify(ClientMetadata));
                }
    })
    
    var ClientMetadata ={
                "redirect_uris": "{MyCallBackURI}",
                "client_name": "My Demo App",
                "client_url": null,
                "grant_types": ["implicit"],
                "logo_url": null,
                "contacts": null,
                "tos_url": null
    }
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json',
                'Authorization': {MyAccessToken},
    };
    fetch('https://fhiradmin.satellite.healthcare/oauth/register',
    {
                method: 'POST',
                headers: headers,
                body: ClientMetadata.json()
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'content_type' => 'json',
                'Accept' => 'application/json',
                'Authorization' => '{MyAccessToken}',
    }
    result = RestClient.post 'https://fhiradmin.satellite.healthcare/oauth/register',
                {
                'redirect_uris' => '{MyCallBackURI}',
                'client_name' => 'My Demo App',
                'client_url' => '',
                'grant_types' => ['implicit'],
                'logo_url' => null,
                'contacts' => null,
                'tos_url' => null
    }.to_json, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json',
                'Authorization': '{MyAccessToken}'
    }
    r = requests.post('https://fhiradmin.satellite.healthcare/oauth/register', params={
    json={
                "redirect_uris": "{MyCallBackURI}",
                "client_name": "My Demo App",
                "client_url": null,
                "grant_types": ["implicit"],
                "logo_url": null,
                "contacts": null,
                "tos_url": null
    }
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhiradmin.satellite.healthcare/oauth/register");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("POST");
    con.setRequestProperty("Authorization", "Bearer {MyAccessToken}");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine="{
      'redirect_uris' : ['{MyCallBackURI}'],
      'client_name' : 'My Demo App',
      'client_url' : '',
      'grant_types' : ['implicit'],
      'logo_url' : null,
      'contacts' : null,
      'tos_url' : null
    }";
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    String myAppDetails =  "{ 
      'redirect_uris': '{MyCallBackURI}',
                'client_name': 'My Demo App',
                'client_url': '',
                'grant_types': ['implicit'],
                'logo_url': '',
                'contacts': '',
                'tos_url': ''
    }";
    
    var registerRequest = (HttpWebRequest)WebRequest.Create("https://fhiradmin.satellite.healthcare/oauth/register");
                registerRequest.Method = "POST";
                registerRequest.Headers.Add(HttpRequestHeader.Authorization, "Bearer " + "{MyAccessToken}");
                registerRequest.ContentType = "application/json";
                using (var stream = registerRequest.GetRequestStream())
                {
                stream.Write(myAppDetails, 0, myAppDetails.Length);
                }
                string AppRegisteredDetails = string.Empty;
                using (HttpWebResponse response = (HttpWebResponse)registerRequest.GetResponse())
                using (StreamReader reader = new StreamReader(response.GetResponseStream()))
                {
                var streamData = Encoding.UTF8.GetString(Convert.FromBase64String(reader.ReadToEnd()));
                AppRegisteredDetails = streamData;
                }
                Console.Write(AppRegisteredDetails);
    

    Example responses


             HTTP/1.1 201 Created
         Content-Type: application/json
         Cache-Control: no-store
         Pragma: no-cache
         {
          "client_id": "b99f1276-015b-d43f-265c-6b3d43f06058",
          "client_secret": "aca89211-ae60-a17e-3dd4-8b939c365fab",
          "redirect_uris": [
            "https://client.example.org/callback",
            "https://client.example.org/callback2"],
          "grant_types": ["authorization_code"],
          "client_name": "My Example Client",
          "logo_uri": "https://client.example.org/logo.png",
          "tos_uri": "https://client.example.org/tos/disclaimer.html"
         }
    

    Authorization

    Per OAuth 2.0 protocol, the consumer applications can be categorized into two types viz public apps and confidential apps. The public apps are launched through an IDP (Identity provider) to authenticate the user and acquire the user-authorization before an access token is issued by the oauth provider. These kind of Apps should be able to launch the browser or user agent to navigate the user through authentication and authorization process. The confidential apps are highly trusted and deployed and operate through within the intranet of the vendors. These apps are authenticated through the cosumer key/app key and secret.

    Scope Scope Description
    user/*.write create or update patient resources
    user/*.read read patient resources
    user/*.read-{patientid} read a specific patient resources
    
    

    AllergyIntolerance

    GET /AllergyIntolerance

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/AllergyIntolerance \
      -H 'Accept: application/json+fhir' 
      
      
    
    GET  https://fhirapi.satellite.healthcare/AllergyIntolerance HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/AllergyIntolerance',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/AllergyIntolerance',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/AllergyIntolerance',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/AllergyIntolerance', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/AllergyIntolerance");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("AllergyIntolerance", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search allergies of the patients.

    Parameters

    Parameter In Type Required Description
    date query string(date) false Allergy recorded date in yyyy-mm-dd format.Check the uri.
    patient query string true Patient identifying(MRN) number

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/AllergyIntolerance?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/AllergyIntolerance?patient=DFQA_GHN000003&searchId=gx3_11212&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
        "resourceType": "AllergyIntolerance",
        "id": {
          "-value": "BLAfHeGc0"
        },
        "recordedDate": {
          "-value": "05/10/1980"
        },
        "patient": {
          "reference": {
            "-value": "Patient/DFQA_ghn000003"
          },
          "display": {
            "-value": "Newman, Alice Jones"
          }
        },
        "substance": {
          "coding": {
            "system": {
              "-value": "RxNorm"
            },
            "code": {
              "-value": "1009148"
            }
          },
          "text": {
            "-value": "ampicillin-sulbactam"
          }
        },
        "status": {
          "-value": "confirmed"
        },
        "event": {
          "manifestation": {
            "coding": {
              "system": {
                "-value": "SNOMED-CT"
              },
              "code": {
                "-value": "64305001"
              }
            },
            "text": {
              "-value": "urticaria (hives)"
            }
          },
          "severity": {
            "extension": {
              "-url": "http://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.113883.3.88.12.3221.6.8",
              "valueCodeableConcept": {
                "coding": {
                  "system": {
                    "-value": "SNOMED-CT"
                  },
                  "code": {
                    "-value": "6736007"
                  },
                  "display": {
                    "-value": "Moderate"
                  }
                }
              }
            }
          }
        }
      }
     }
     ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Appointment

    GET /Appointment

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Appointment \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Appointment HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: 'https://fhirapi.satellite.healthcare/Appointment',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch('https://fhirapi.satellite.healthcare/Appointment',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get 'https://fhirapi.satellite.healthcare/Appointment',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get('https://fhirapi.satellite.healthcare/Appointment', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Appointment");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId
                , string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, 
                ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's appointments By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("Appointment", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search Appointments by the given keys.

    Parameters

    <
    Parameter In Type Required Description
    patient query string True Patient account number or MRN
    _format query string false No description

    Example responses

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Basic

    POST /Basic

    Code samples

    # You can also use wget
    curl -X POST https://fhirapi.satellite.healthcare/Basic \
      -H 'Content-Type: application/json'
    
    POST https://fhirapi.satellite.healthcare/Basic HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Content-Type: application/json
    
    var headers = {
                'Content-Type':'application/json'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Basic',
                method: 'post',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const inputBody = '{
      "resourceType": "Basic",
      "id": "referral",
          "modifierExtension": [
             {
                "valuePeriod": {
                   "start": {
                      "value": "2015-01-01"
                   },
                   "end": {
                      "value": "2017-01-01"
                   }
                },
                "url": "http://example.org/do-not-use/fhir-extensions/GenerateCCDA#targetDate"
             },
             {
                "valueCode": {
                   "value": "complete"
                },
                "url": "http://example.org/do-not-use/fhir-extensions/ccda#status"
             }
          ],
          "code": {
             "coding": {
                "system": {
                   "value": "http://hl7.org/fhir/basic-resource-type"
                },
                "code": {
                   "value": "GenerateCCDA"
                }
             }
          },
          "subject": {
             "reference": {
                "value": "Patient/2"
             }
          },
          "author": {
             "reference": {
                "value": "Practitioner/2184"
             }
          }
    }';
    const headers = {
                'Content-Type':'application/json'
    };
    fetch(https://fhirapi.satellite.healthcare/Basic',
    {
                method: 'POST',
                body: inputBody,
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Content-Type' => 'application/json'
    }
    result = RestClient.post https://fhirapi.satellite.healthcare/Basic',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Content-Type': 'application/json'
    }
    r = requests.post(https://fhirapi.satellite.healthcare/Basic', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Basic");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("POST");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    

    *Create CCDA

    Body parameter

    
            {
      "resourceType": "Basic",
      "id": "referral",
          "modifierExtension": [
             {
                "valuePeriod": {
                   "start": {
                      "value": "{start date for the data search in yyyy-mm-dd format}"
                   },
                   "end": {
                      "value": "{end date for the data search in yyyy-mm-dd format}"
                   }
                },
                "url": "http://example.org/do-not-use/fhir-extensions/GenerateCCDA#targetDate"
             },
             {
                "valueCode": {
                   "value": "complete"
                },
                "url": "http://example.org/do-not-use/fhir-extensions/{ccda switch}#status" //ccda - referral
             }
          ],
          "code": {
             "coding": {
                "system": {
                   "value": "http://hl7.org/fhir/basic-resource-type"
                },
                "code": {
                   "value": "GenerateCCDA"
                }
             }
          },
          "subject": {
             "reference": {
                "value": "Patient/{patientid}"
             }
          },
          "author": {
             "reference": {
                "value": "Practitioner/{providerid}"
             }
          }
    }
        

    Parameters

    Parameter In Type Required Description
    body body Basic false No description

    Responses

    Status Meaning Description Schema
    200 OK Success CDA 2.1(XML)

    Example responses


    > #Returns the newly generated CDA 2.1 stream with the XML media type.
    
    > #Returns the newly generated CDA 2.1 stream with the XML media type.
    
    > #Returns the newly generated CDA 2.1 stream with the XML media type.
    
    > #Returns the newly generated CDA 2.1 stream with the XML media type.
    
    > #Returns the newly generated CDA 2.1 stream with the XML media type.
    
    > #Returns the newly generated CDA 2.1 stream with the XML media type.
    

    CarePlan

    GET /CarePlan

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/CarePlan \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/CarePlan HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/CarePlan',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/CarePlan',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/CarePlan',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/CarePlan', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/CarePlan");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("CarePlan", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    The CarePlan resource gets the consolidated information about patient's health concerns, assessment, plan of treatment, goals, future/current lab orders, and patient instructions. *Search CarePlan by the given keys.

    Parameters

    Parameter In Type Required Description
    patient query string true Patient account number (MRN).
    date query string(date) false Search the resources by the date range.Check the uri.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/CarePlan?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/CarePlan?patient=DFQA_GHN000003&searchId=gx3_112asx12&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
                "resourceType": "CarePlan",
                "id": "zzd123i92sa",
              "contained": [
                {
                  "Condition": {
                    "id": {
                      "-value": "WMLzfESk0"
                    },
                    "dateAsserted": {
                      "-value": "06/22/2015 09:38:18"
                    },
                    "category": {
                      "coding": {
                        "system": {
                          "-value": "http://hl7.org/fhir/vs/condition-category"
                        },
                        "code": {
                          "-value": "concern"
                        }
                      },
                      "text": {}
                    },
                    "notes": {
                      "-value": "Chronic Sickness exhibited by patient"
                    }
                  }
                },
                {
                  "Condition": {
                    "id": {
                      "-value": "qj6SVsSz0"
                    },
                    "dateAsserted": {
                      "-value": "06/22/2015 09:38:18"
                    },
                    "category": {
                      "coding": {
                        "system": {
                          "-value": "http://hl7.org/fhir/vs/condition-category"
                        },
                        "code": {
                          "-value": "concern"
                        }
                      },
                      "text": {}
                    },
                    "notes": {
                      "-value": "HealthCare Concerns refer to underlying clinical facts i. Documented HyperTension problem ii. Documented HypoThyroidism problem iii. Watch Weight of patient"
                    }
                  }
                },
                {
                  "Goal": {
                    "id": {
                      "-value": "Pyf8sJUA0"
                    },
                    "targetDate": {
                      "-value": "06/22/2015 09:38:18"
                    },
                    "description": {
                      "-value": ", Get rid of intermittent fever that is occurring every few weeks., Need to gain more energy to do regular activities"
                    }
                  }
                },
                {
                  "ReferralRequest": {
                    "id": {
                      "-value": "_tReferralRequest_oP0H9pc50"
                    },
                    "description": {
                      "-value": "Ms Alice Newman is being referred to Community Health Hospitals Inpatient facility because of the high fever noticed and suspected Anemia."
                    },
                    "fulfillmentTime": {
                      "start": {
                        "-value": "05/24/2017 16:08:42"
                      }
                    }
                  }
                },
                {
                  "ClinicalImpression": {
                    "id": {
                      "-value": "ESINXuZr0"
                    },
                    "date": {
                      "-value": "06/22/2015 09:38:18"
                    },
                    "summary": {
                      "-value": "The patient was found to have fever and Dr. Davis is suspecting Anemia based on the patient history. So Dr. Davis asked the patient to closely monitor the temperature and blood pressure and get admitted to Community Health Hospitals if the fever does not subside within a da"
                    }
                  }
                }
              ],
              "patient": {
                "reference": {
                  "-value": "Patient/DFQA_ghn000003"
                },
                "display": {
                  "-value": "Newman, Alice Jones"
                }
              },
              "period": {
                "start": {
                  "-value": "06/22/2015 09:38:18"
                },
                "end": {}
              },
              "modified": {},
              "concern": [
                {
                  "reference": {
                    "-value": "#WMLzfESk0"
                  }
                },
                {
                  "reference": {
                    "-value": "#qj6SVsSz0"
                  }
                }
              ],
              "goal": {
                "reference": {
                  "-value": "#Pyf8sJUA0"
                }
              },
              "activity": [
                {
                  "detail": {
                    "category": {
                      "-value": "other"
                    },
                    "scheduledPeriod": {
                      "start": {
                        "-value": "06/22/2015 09:38:18"
                      },
                      "end": {}
                    },
                    "note": {
                      "-value": "i. Get an EKG done on 6/23/2015. ii. Get a Chest X-ray done on 6/23/2015 showing the Lower Respiratory Tract Structure. iii. Take Clindamycin 300mg three times a day as needed if pain does not subside. iv. Schedule follow on visit with Neighborhood Physicians Practice on 7/1/2015."
                    }
                  }
                },
                {
                  "reference": {
                    "reference": {
                      "-value": "#_tReferralRequest_oP0H9pc50"
                    }
                  },
                  "detail": {
                    "category": {
                      "-value": "encounter"
                    },
                    "scheduledPeriod": {
                      "start": {
                        "-value": "05/24/2017 16:08:42"
                      },
                      "end": {}
                    },
                    "note": {
                      "-value": "Ms Alice Newman is being referred to Community Health Hospitals Inpatient facility because of the high fever noticed and suspected Anemia."
                    }
                  }
                }
              ],
              "notes": {
                "-value": "The patient was found to have fever and Dr. Davis is suspecting Anemia based on the patient history. So Dr. Davis asked the patient to closely monitor the temperature and blood pressure and get admitted to Community Health Hospitals if the fever does not subside within a da"
              }
            }
            }
        ]
     }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Condition

    GET /Condition

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Condition \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Condition HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Condition',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Condition',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Condition',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Condition', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Condition");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("Condition", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search patient's diseases by the given keys

    Parameters

    Parameter In Type Required Description
    patient query string true Patient account number (MRN).
    date query string false Search the resources by the date range.Check the uri.
    category query string false Search the resources by condition category like finding, diagnosis.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/AllergyIntolerance?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/AllergyIntolerance?patient=DFQA_GHN000003&searchId=gx3_11212&page=2"
        }
      ],
      "entry": [
        {
      "resource":{
        "resourceType": "Condition",
        "id": "zzd123i92",
        "modifierExtension": {
          "-url": "http://hl7.org/fhir/condition-clinical",
          "valueCodeableConcept": {
            "coding": {
              "system": { "-value": "http://hl7.org/fhir/condition-clinical" },
              "code": { "-value": "inactive" }
            }
          }
        },
        "patient": {
          "reference": { "-value": "Patient/DFQA_ghn000003" },
          "display": { "-value": "Newman, Alice Jones" }
        },
        "dateAsserted": { "-value": "12/31/2006" },
        "code": {
          "coding": {
            "system": { "-value": "SNOMED-CT" },
            "code": { "-value": "111566002" }
          },
          "text": { "-value": "Acquired hypothyroidism" }
        },
        "category": {
          "coding": {
            "system": { "-value": "http://hl7.org/fhir/vs/condition-category" },
            "code": { "-value": "finding" }
          },
          "text": {
          }
        }
      }
      }
     ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Health Concern

    GET /Condition?category=concern

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Condition \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Condition HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Condition',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Condition',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Condition',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Condition', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Condition");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("Condition", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search patient's Health Concern by the given keys

    Parameters

    Parameter In Type Required Description
    patient query string true Patient account number (MRN).
    date query string false Search the resources by the date range.Check the uri.
    category query string false Search the resources by condition category like concern.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/AllergyIntolerance?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/AllergyIntolerance?patient=DFQA_GHN000003&searchId=gx3_11212&page=2"
        }
      ],
      "entry": [
        {
      "resource":{
        "resourceType": "Condition",
        "id": "zzd123i92",
        "modifierExtension": {
          "-url": "http://hl7.org/fhir/condition-clinical",
          "valueCodeableConcept": {
            "coding": {
              "system": { "-value": "http://hl7.org/fhir/condition-clinical" },
              "code": { "-value": "inactive" }
            }
          }
        },
        "patient": {
          "reference": { "-value": "Patient/DFQA_ghn000003" },
          "display": { "-value": "Newman, Alice Jones" }
        },
        "dateAsserted": { "-value": "12/31/2006" },
        "code": {
          "coding": {
            "system": { "-value": "SNOMED-CT" },
            "code": { "-value": "111566002" }
          },
          "text": { "-value": "Acquired hypothyroidism" }
        },
        "category": {
          "coding": {
            "system": { "-value": "http://hl7.org/fhir/vs/condition-category" },
            "code": { "-value": "finding" }
          },
          "text": {
          }
        }
      }
      }
     ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Device

    GET /Device

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Device \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Device HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Device',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Device',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Device',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Device', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Device");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("Device", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search patient's implantable devices by the given keys.

    Parameters

    Parameter In Type Required Description
    date query string(date) false Search the resources by the date range.Check the uri.
    patient query string true Patient account number (MRN).

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/Device?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/Device?patient=DFQA_GHN000003&searchId=gx0dkos212&page=2"
        }
      ],
      "entry": [
          "resource": {
    {
      "Device": {
        "manufacturer": { "-value": "MEDTRONIC, INC." },
        "model": { "-value": "DTBA1QQ" },
        "manufactureDate": {
        },
        "expiry": { "-value": "01/28/2016" },
        "udi": { "-value": "(01)00643169007222(17)160128(21)BLC200461H" }
      }
    }
    }
    ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    DiagnosticReport

    GET /DiagnosticReport

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/DiagnosticReport \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/DiagnosticReport HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/DiagnosticReport',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/DiagnosticReport',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/DiagnosticReport',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/DiagnosticReport', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/DiagnosticReport");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("DiagnosticReport", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search DiagnosticReport by the given keys.

    Parameters

    Parameter In Type Required Description
    patient query string true Patient account number (MRN).
    date query string(date) false Search the resources by date range.Check the uri.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/DiagnosticReport?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/DiagnosticReport?patient=DFQA_GHN000003&searchId=gx3_11212&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
      "resourceType": "DiagnosticReport",
      "id": "102",
      "text": {
        "status": "generated",
        "div": "<div>!-- Snipped for Brevity --></div>"
      },
      "contained": [
        {
          "resourceType": "Observation",
          "id": "r1",
          "code": {
            "coding": [
              {
                "system": "http://loinc.org",
                "code": "24701-5",
                "display": "Femur DXA Bone density"
              }
            ]
          },
          "valueQuantity": {
            "value": 0.887,
            "units": "g/cm²",
            "system": "http://unitsofmeasure.org",
            "code": "g/cm-2"
          },
          "status": "final",
          "reliability": "ok",
          "bodySiteCodeableConcept": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "71341001:272741003=7771000"
              }
            ]
          }
        }
      ],
      "name": {
        "coding": [
          {
            "system": "http://loinc.org",
            "code": "38269-7"
          }
        ],
        "text": "DXA BONE DENSITOMETRY"
      },
      "status": "final",
      "issued": "2008-06-18T09:23:00+10:00",
      "subject": {
        "reference": "Patient/pat2"
      },
      "performer": {
        "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f",
        "display": "Acme Imaging Diagnostics"
      },
      "diagnosticDateTime": "2008-06-17",
      "result": [
        {
          "reference": "#r1"
        }
      ],
      "codedDiagnosis": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "391040000",
              "display": "At risk of osteoporotic fracture"
            }
          ]
        }
      ]
    }
    }
    ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Encounter

    GET /Encounter

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Encounter \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Encounter HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Encounter',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Encounter',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Encounter',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Encounter', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Encounter");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("Encounter", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search Encounters by the given keys.

    Parameters

    Parameter In Type Required Description
    date query string(date) false Encounter date or search the resource category by date range.Check the uri.
    patient query string true Patient account number (mrn).

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/Encounter?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/Encounter?patient=DFQA_GHN000003&searchId=gx3_11212&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
            "resourceType": "Encounter",
            "id": {
              "-value": "13948551"
            },
            "contained": [
              {
                "Practitioner": {
                  "id": {
                    "-value": "adavis4"
                  },
                  "identifier": {
                    "value": {
                      "-value": "1518318344"
                    }
                  },
                  "name": {
                    "use": {
                      "-value": "usual"
                    },
                    "family": {
                      "-value": "Davis"
                    },
                    "given": [
                      {
                        "-value": "Albert"
                      },
                      {}
                    ],
                    "prefix": {},
                    "suffix": {}
                  },
                  "telecom": {
                    "system": {
                      "-value": "phone"
                    },
                    "value": {
                      "-value": "555-555-1002"
                    },
                    "use": {
                      "-value": "work"
                    }
                  },
                  "address": {
                    "use": {
                      "-value": "work"
                    },
                    "line": {
                      "-value": "2472, Rocky place"
                    },
                    "city": {
                      "-value": "Beaverton"
                    },
                    "state": {
                      "-value": "OR"
                    },
                    "postalCode": {
                      "-value": "97006"
                    },
                    "country": {
                      "-value": "US"
                    }
                  }
                }
              },
              {
                "Practitioner": {
                  "id": {
                    "-value": "CGChwEmW0"
                  },
                  "identifier": {
                    "value": {}
                  },
                  "name": {
                    "use": {
                      "-value": "usual"
                    },
                    "family": {
                      "-value": "Davis"
                    },
                    "given": [
                      {
                        "-value": "Tracy"
                      },
                      {}
                    ],
                    "prefix": {},
                    "suffix": {}
                  },
                  "telecom": {
                    "system": {
                      "-value": "phone"
                    },
                    "value": {
                      "-value": "555-555-1002"
                    },
                    "use": {
                      "-value": "work"
                    }
                  },
                  "address": {
                    "use": {
                      "-value": "work"
                    },
                    "line": {
                      "-value": "2472, Rocky place"
                    },
                    "city": {
                      "-value": "Beaverton"
                    },
                    "state": {
                      "-value": "OR"
                    },
                    "postalCode": {
                      "-value": "97006"
                    },
                    "country": {
                      "-value": "US"
                    }
                  },
                  "practitionerRole": {
                    "role": {
                      "coding": {
                        "system": {
                          "-value": "NUCC Health Care Provider Taxonomy"
                        },
                        "code": {
                          "-value": "admin"
                        }
                      },
                      "text": {
                        "-value": "Administrator"
                      }
                    }
                  }
                }
              },
              {
                "Condition": {
                  "id": {
                    "-value": "p7dj7Ggq0"
                  },
                  "code": {
                    "coding": {
                      "system": {
                        "-value": "SNOMED-CT"
                      },
                      "code": {
                        "-value": "386661006"
                      }
                    },
                    "text": {
                      "-value": "Fever"
                    }
                  },
                  "category": {
                    "coding": {
                      "system": {
                        "-value": "http://hl7.org/fhir/vs/condition-category"
                      },
                      "code": {
                        "-value": "diagnosis"
                      }
                    },
                    "text": {
                      "-value": "diagnosis"
                    }
                  }
                }
              }
            ],
            "identifier": {
              "system": {
                "-value": "https://fhiradmin.satellite.healthcare"
              },
              "value": {}
            },
            "status": {
              "-value": "finished"
            },
            "class": {
              "-value": "outpatient"
            },
            "patient": {
              "reference": {
                "-value": "Patient/DFQA_ghn000003"
              },
              "display": {
                "-value": "Newman, Alice Jones"
              }
            },
            "participant": [
              {
                "individual": {
                  "reference": {
                    "-value": "#adavis4"
                  },
                  "display": {
                    "-value": "Davis, Albert "
                  }
                }
              },
              {
                "individual": {
                  "reference": {
                    "-value": "#CGChwEmW0"
                  },
                  "display": {
                    "-value": "Davis, Tracy "
                  }
                }
              }
            ],
            "period": {
              "start": {
                "-value": "06/22/2015"
              },
              "end": {
                "-value": "06/22/2015"
              }
            },
            "indication": {
              "reference": {
                "-value": "Condition/p7dj7Ggq0"
              },
              "display": {
                "-value": "Fever"
              }
            }
          }
         }
        ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Goal

    GET /Goal

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Goal \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Goal HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Goal',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Goal',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Goal',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Goal', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Goal");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("Goal", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search Goals resources by the given keys.

    Parameters

    Parameter In Type Required Description
    patient query string true Patient account number (MRN)
    date query string(date) false Search the resource category by the date range.Check the uri.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/Goal?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/Goal?patient=DFQA_GHN000003&searchId=gx3_1aa22&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
            "ResourceType": "Goal",
            "id": {
              "-value": "Pyf8sJUA0"
            },
            "targetDate": {
              "-value": "06/22/2015 09:38:18"
            },
            "description": {
              "-value": ", Get rid of intermittent fever that is occurring every few weeks., Need to gain more energy to do regular activities"
            }
          }
         }
        ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Immunization

    GET /Immunization

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Immunization \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Immunization HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Immunization',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Immunization',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Immunization',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Immunization', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Immunization");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("Immunization", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search patient immunization by the given keys.

    Parameters

    Parameter In Type Required Description
    date query string(date) false Search the resource category by the date range.Check the uri.
    patient query string true Patient account number(MRN)

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/Immunization?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/Immunization?patient=DFQA_GHN000003&searchId=gx3_11212&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
                    "resourceType": "Immunization",
            "id": {"_value": "dfds2oq123a"},
            "date": {
              "-value": "01/04/2012"
            },
            "vaccineType": {
              "coding": {
                "system": {
                  "-value": "CVX"
                },
                "code": {
                  "-value": "106"
                }
              },
              "text": {
                "-value": "DTaP, 5 pertussis antigens"
              }
            },
            "patient": {
              "reference": {
                "-value": "Patient/DFQA_ghn000003"
              },
              "display": {
                "-value": "Newman, Alice Jones"
              }
            },
            "manufacturer": {
              "reference": {
                "-value": "Organization/IUS"
              },
              "display": {
                "-value": "Immuno-U.S., Inc."
              }
            },
            "lotNumber": {
              "-value": "2"
            }
          }
         }
        ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    MedicationStatement

    GET /MedicationStatement

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/MedicationStatement \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/MedicationStatement HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/MedicationStatement',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/MedicationStatement',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/MedicationStatement',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/MedicationStatement', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/MedicationStatement");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("MedicationStatement", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search patient medications by the given keys.

    Parameters

    Parameter In Type Required Description
    patient query string true Patient account number (mrn)
    date query string(date) false Search the resources by the date range.Check the uri.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/MedicationStatement?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/MedicationStatement?patient=DFQA_GHN000003&searchId=gx3_11212&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
            "contained": {
              "Medication": {
                "id": {
                  "-value": "dcf0dd14-f374-48ba-8e6b-9b56ac5ef2a0"
                },
                "code": {
                  "coding": {
                    "system": {
                      "-value": "RxNorm"
                    },
                    "code": {
                      "-value": "730046"
                    }
                  },
                  "text": {
                    "-value": "Aranesp (in polysorbate) (darbepoetin alfa in polysorbat) 100 mcg/0.5 mL syringe"
                  }
                }
              }
            },
            "resourceType": "MedicationStatement",
            "id": {"-value": "aajlds145fsm12"},
            "patient": {
              "reference": {
                "-value": "Patient/DFQA_ghn000003"
              },
              "display": {
                "-value": "Newman, Alice Jones"
              }
            },
            "effectivePeriod": {
              "start": {
                "-value": "06/22/2015"
              },
              "end": {}
            },
            "medication": {
              "reference": {
                "-value": "#dcf0dd14-f374-48ba-8e6b-9b56ac5ef2a0"
              },
              "display": {
                "-value": "Aranesp (in polysorbate) (darbepoetin alfa in polysorbat) 100 mcg/0.5 mL syringe"
              }
            },
            "dosage": {
              "text": {
                "-value": "1 ml once a week"
              },
              "schedule": {
                "repeat": {
                  "period": {
                    "-value": "1"
                  },
                  "periodUnits": {
                    "-value": "wk"
                  }
                }
              },
              "route": {
                "text": {
                  "-value": "subcutaneously"
                }
              },
              "quantity": {
                "value": {
                  "-value": "1"
                },
                "units": {}
              }
            }
          }
         }
        ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Observation(Vital signs)

    GET /Observation?category=vital-signs

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Observation \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Observation HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Observation',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Observation',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Observation',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Observation', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Observation");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's vital signs by the patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string paramN = "category=vital-signs";
                SearchParameters.Add(paramN);
                string PatientSearchResult = Mgr.SearchResource("Observation", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search observations by the given keys where the parameter 'category' should be 'vital-signs'.

    Parameters

    Parameter In Type Required Description
    date query string(date) false Search the resource category by the date range.Check the uri.
    patient query string true Patient account number (mrn)
    category query string true Observation category like 'vital-signs'.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/Observation?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/Observation?patient=DFQA_GHN000003&searchId=gx3_11210sd2&page=2"
        }
      ],
      "entry": [
        {
          "resource":  {
        "Observation": {
          "id": { "-value": "VitalSigns_Xi9Yfdm60" },
          "modifierExtension": {
            "-url": "http://hl7.org/fhir/observation-category",
            "valueCodeableConcept": {
              "coding": {
                "system": { "-value": "http://hl7.org/fhir/observation-category" },
                "code": { "-value": "vital-signs" }
              }
            }
          },
          "code": {
            "coding": {
              "system": { "-value": "LOINC" },
              "code": { "-value": "8302-2" }
            },
            "text": { "-value": "Height" }
          },
          "valueQuantity": {
            "value": { "-value": "177" },
            "units": { "-value": "cm" }
          },
          "appliesDateTime": { "-value": "06/22/2015" },
          "subject": {
            "reference": { "-value": "Patient/DFQA_ghn000003" },
            "display": { "-value": "Newman, Alice Jones" }
          }
        }
      }  
    }
    ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Observation(Social history)

    GET /Observation?category=social-history

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Observation \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Observation HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Observation',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Observation',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Observation',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Observation', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Observation");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string param1 = "category=social-history";
                SearchParameters.Add(param1);
                string PatientSearchResult = Mgr.SearchResource("Observation", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search observations by the given keys where the parameter 'category' should be 'social-history'.

    Parameters

    Parameter In Type Required Description
    date query string(date) false Search the resource category by the date range.Check the uri.
    patient query string true Patient account number (mrn)
    category query string false Observation category like 'social-history'.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/Observation?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/Observation?patient=DFQA_GHN000003&searchId=gx3_11210sd2&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
      "Observation": {
        "id": { "-value": "-smoking-RN5MxhoS0" },
        "modifierExtension": {
          "-url": "http://hl7.org/fhir/observation-category",
          "valueCodeableConcept": {
            "coding": {
              "system": { "-value": "http://hl7.org/fhir/observation-category" },
              "code": { "-value": "social-history" }
            }
          }
        },
        "valueCodeableConcept": {
          "coding": {
            "system": { "-value": "SNOMED CT" },
            "code": { "-value": "449868002" }
          },
          "text": { "-value": "Current every day smoker" }
        },
        "appliesPeriod": {
          "start": { "-value": "06/22/2015" },
          "end": {
          }
        },
        "subject": {
          "reference": { "-value": "Patient/DFQA_ghn000003" },
          "display": { "-value": "Newman, Alice Jones" }
        }
      }
    }
        }
        ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Observation(Cognitive status)

    GET /Observation?category=survey

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Observation \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Observation HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Observation',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Observation',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Observation',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Observation', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Observation");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string param1 = "category=survey";
                SearchParameters.Add(param1);
                string PatientSearchResult = Mgr.SearchResource("AllergyIntolerance", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search observations by the given keys where the parameter 'category' should be 'survey'.

    Parameters

    Parameter In Type Required Description
    date query string(date) false Search the resource category by the date range.Check the uri.
    patient query string true Patient account number (mrn)
    category query string false Observation category like 'survey'.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/Observation?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/Observation?patient=DFQA_GHN000003&searchId=gx3_11210sd2&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
        "resourceType": "Observation",
        "id": { "-value": "-cognitive-aMNrhCWT0" },
        "modifierExtension": {
          "-url": "http://hl7.org/fhir/observation-category",
          "valueCodeableConcept": {
            "coding": {
              "system": { "-value": "http://hl7.org/fhir/observation-category" },
              "code": { "-value": "survey" }
            }
          }
        },
        "code": {
          "coding": [
            {
              "system": { "-value": "SNOMED CT" },
              "code": { "-value": "373930000" }
            },
            {
              "system": { "-value": "LOINC" },
              "code": { "-value": "75275-8" }
            }
          ],
          "text": { "-value": "Cognitive function" }
        },
        "valueString": { "-value": "Memory deficit" },
        "appliesDateTime": { "-value": "05/01/2005" },
        "subject": {
          "reference": { "-value": "Patient/DFQA_ghn000003" },
          "display": { "-value": "Newman, Alice Jones" }
        }
      }
    }
         ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Observation(Functional status)

    GET /Observation?category=therapy

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Observation \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Observation HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Observation',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Observation',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Observation',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Observation', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Observation");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string param1 = "category=therapy";
                SearchParameters.Add(param1);
                string PatientSearchResult = Mgr.SearchResource("Observation", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search observations by the given keys where the parameter 'category' should be 'therapy'.

    Parameters

    Parameter In Type Required Description
    date query string(date) false Search the resource category by the date range.Check the uri.
    patient query string true Patient account number (mrn)
    category query string false Observation category like 'therapy'.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/Observation?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/Observation?patient=DFQA_GHN000003&searchId=gx3_11210sd2&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
      "Observation": {
        "id": { "-value": "-functional-Qyr_ePH00" },
        "modifierExtension": {
          "-url": "http://hl7.org/fhir/observation-category",
          "valueCodeableConcept": {
            "coding": {
              "system": { "-value": "http://hl7.org/fhir/observation-category" },
              "code": { "-value": "therapy" }
            }
          }
        },
        "code": {
          "coding": {
            "system": { "-value": "LOINC" },
            "code": { "-value": "54522-8" }
          },
          "text": { "-value": "Functional status" }
        },
        "valueString": { "-value": "Limited mobility" },
        "appliesDateTime": { "-value": "05/01/2005" },
        "subject": {
          "reference": { "-value": "Patient/DFQA_ghn000003" },
          "display": { "-value": "Newman, Alice Jones" }
        }
      }
    }
    }
         ]
        }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    Patient

    GET /Patient

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Patient \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Patient HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Patient',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Patient',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Patient',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Patient', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Patient");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "id=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("Patient", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    The Patient resource gets the patient demographics information including Patient name, gender, birthdate, race, ethnicity, preferred language, and care team members.

    *Search patients by the given keys.

    Parameters

    Parameter In Type Required Description
    id query string false Resource ID
    family query string false Last name of the patient
    given query string false First name of the patient
    gender query string false Gender of the patient
    birthdate query string false Patient's DOB in yyyy-mm-dd format

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/Patient?id=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/Patient?id=DFQA_GHN000003&searchId=gx3_11212&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
            "resourceType": "Patient",
            "id": {
              "-value": "DFQA_ghn000003"
            },
            "extension": [
              {
                "-url": "http://hl7.org/fhir/StructureDefinition/us-core-race",
                "valueCodeableConcept": {
                  "coding": {
                    "system": {
                      "-value": "Race & Ethnicity - CDC"
                    },
                    "code": {
                      "-value": "2106-3"
                    }
                  },
                  "text": {
                    "-value": "White"
                  }
                }
              },
              {
                "-url": "http://hl7.org/fhir/StructureDefinition/us-core-race",
                "valueCodeableConcept": {
                  "coding": {
                    "system": {
                      "-value": "Race & Ethnicity - CDC"
                    },
                    "code": {
                      "-value": "2108-9"
                    }
                  },
                  "text": {
                    "-value": "European"
                  }
                }
              },
              {
                "-url": "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity",
                "valueCodeableConcept": {
                  "coding": {
                    "system": {
                      "-value": "Race & Ethnicity - CDC"
                    },
                    "code": {
                      "-value": "2186-5"
                    }
                  },
                  "text": {
                    "-value": "Not Hispanic or Latino"
                  }
                }
              }
            ],
            "identifier": {
              "system": {
                "-value": "https://fhiradmin.satellite.healthcare"
              },
              "value": {
                "-value": "DFQA_ghn000003"
              }
            },
            "name": [
              {
                "use": {
                  "-value": "usual"
                },
                "family": {
                  "-value": "Newman"
                },
                "given": [
                  {
                    "-value": "Alice"
                  },
                  {
                    "-value": "Jones"
                  }
                ],
                "prefix": {},
                "suffix": {}
              },
              {
                "use": {
                  "-value": "old"
                },
                "family": {
                  "-value": "Newman"
                },
                "given": [
                  {
                    "-value": "Alicia"
                  },
                  {
                    "-value": "Jones"
                  }
                ],
                "prefix": {},
                "suffix": {}
              }
            ],
            "telecom": [
              {
                "system": {
                  "-value": "phone"
                },
                "value": {
                  "-value": "555-723-1544"
                },
                "use": {
                  "-value": "home"
                }
              },
              {
                "system": {
                  "-value": "phone"
                },
                "value": {
                  "-value": "555-777-1234"
                },
                "use": {
                  "-value": "mobile"
                }
              }
            ],
            "gender": {
              "-value": "female"
            },
            "birthDate": {
              "-value": "05/01/1970"
            },
            "address": {
              "use": {
                "-value": "home"
              },
              "line": {
                "-value": "1357, Amber Dr"
              },
              "city": {
                "-value": "Beaverton"
              },
              "state": {
                "-value": "OR"
              },
              "postalCode": {
                "-value": "97006"
              },
              "country": {
                "-value": "US"
              }
            },
            "maritalStatus": {
              "coding": {
                "system": {
                  "-value": "https://fhiradmin.satellite.healthcare"
                }
              },
              "text": {}
            },
            "contact": [
              {
                "relationship": {
                  "coding": {
                    "system": {
                      "-value": "Relationship"
                    },
                    "code": {
                      "-value": "SPO"
                    },
                    "display": {
                      "-value": "Spouse"
                    }
                  },
                  "text": {
                    "-value": "Spouse"
                  }
                },
                "name": {
                  "use": {
                    "-value": "usual"
                  },
                  "family": {
                    "-value": "Newman"
                  },
                  "given": [
                    {
                      "-value": "Matthew"
                    },
                    {}
                  ],
                  "prefix": {},
                  "suffix": {}
                },
                "telecom": {
                  "value": {
                    "-value": "555-723-1544"
                  }
                },
                "address": {
                  "use": {
                    "-value": "home"
                  },
                  "line": {
                    "-value": "1357 Amber Dr"
                  },
                  "city": {
                    "-value": "Beaverton"
                  },
                  "state": {
                    "-value": "OR"
                  },
                  "postalCode": {},
                  "country": {
                    "-value": "US"
                  }
                }
              },
              {
                "relationship": {
                  "coding": {
                    "system": {
                      "-value": "Relationship"
                    },
                    "code": {
                      "-value": "GRP"
                    },
                    "display": {
                      "-value": "Grandparent"
                    }
                  },
                  "text": {
                    "-value": "Grandparent"
                  }
                },
                "name": {
                  "use": {
                    "-value": "usual"
                  },
                  "family": {
                    "-value": "Holler"
                  },
                  "given": [
                    {
                      "-value": "Rick"
                    },
                    {}
                  ],
                  "prefix": {},
                  "suffix": {}
                },
                "telecom": {
                  "value": {
                    "-value": "555-723-1544"
                  }
                },
                "address": {
                  "use": {
                    "-value": "home"
                  },
                  "line": {
                    "-value": "1357 Amber Dr"
                  },
                  "city": {
                    "-value": "Beaverton"
                  },
                  "state": {
                    "-value": "OR"
                  },
                  "postalCode": {
                    "-value": "97006"
                  },
                  "country": {
                    "-value": "US"
                  }
                }
              }
            ],
            "communication": {
              "language": {
                "coding": {
                  "system": {
                    "-value": "http://hl7.org/fhir/ValueSet/languages"
                  },
                  "code": {
                    "-value": "en"
                  }
                },
                "text": {
                  "-value": "English"
                }
              }
            },
            "active": {
              "-value": "true"
            }
          }
         }
        ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    GET /Patient/{id}

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Patient/{id} \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Patient/{id} HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Patient/{id}',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Patient/{id}',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Patient/{id}',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Patient/{id}', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Patient/{id}");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string ReadResource(string pType, string pResourceId)
                {
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                string PatientSearchResult = Mgr.ReadResource("Patient", "2");
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Read Patient resource by id.

    Parameters

    Parameter In Type Required Description
    id path string true Resource ID

    Example responses


    {
            "resourceType": "Patient",
            "id": {
              "-value": "DFQA_ghn000003"
            },
            "extension": [
              {
                "-url": "http://hl7.org/fhir/StructureDefinition/us-core-race",
                "valueCodeableConcept": {
                  "coding": {
                    "system": {
                      "-value": "Race & Ethnicity - CDC"
                    },
                    "code": {
                      "-value": "2106-3"
                    }
                  },
                  "text": {
                    "-value": "White"
                  }
                }
              },
              {
                "-url": "http://hl7.org/fhir/StructureDefinition/us-core-race",
                "valueCodeableConcept": {
                  "coding": {
                    "system": {
                      "-value": "Race & Ethnicity - CDC"
                    },
                    "code": {
                      "-value": "2108-9"
                    }
                  },
                  "text": {
                    "-value": "European"
                  }
                }
              },
              {
                "-url": "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity",
                "valueCodeableConcept": {
                  "coding": {
                    "system": {
                      "-value": "Race & Ethnicity - CDC"
                    },
                    "code": {
                      "-value": "2186-5"
                    }
                  },
                  "text": {
                    "-value": "Not Hispanic or Latino"
                  }
                }
              }
            ],
            "identifier": {
              "system": {
                "-value": "https://fhiradmin.satellite.healthcare"
              },
              "value": {
                "-value": "DFQA_ghn000003"
              }
            },
            "name": [
              {
                "use": {
                  "-value": "usual"
                },
                "family": {
                  "-value": "Newman"
                },
                "given": [
                  {
                    "-value": "Alice"
                  },
                  {
                    "-value": "Jones"
                  }
                ],
                "prefix": {},
                "suffix": {}
              },
              {
                "use": {
                  "-value": "old"
                },
                "family": {
                  "-value": "Newman"
                },
                "given": [
                  {
                    "-value": "Alicia"
                  },
                  {
                    "-value": "Jones"
                  }
                ],
                "prefix": {},
                "suffix": {}
              }
            ],
            "telecom": [
              {
                "system": {
                  "-value": "phone"
                },
                "value": {
                  "-value": "555-723-1544"
                },
                "use": {
                  "-value": "home"
                }
              },
              {
                "system": {
                  "-value": "phone"
                },
                "value": {
                  "-value": "555-777-1234"
                },
                "use": {
                  "-value": "mobile"
                }
              }
            ],
            "gender": {
              "-value": "female"
            },
            "birthDate": {
              "-value": "05/01/1970"
            },
            "address": {
              "use": {
                "-value": "home"
              },
              "line": {
                "-value": "1357, Amber Dr"
              },
              "city": {
                "-value": "Beaverton"
              },
              "state": {
                "-value": "OR"
              },
              "postalCode": {
                "-value": "97006"
              },
              "country": {
                "-value": "US"
              }
            },
            "maritalStatus": {
              "coding": {
                "system": {
                  "-value": "https://fhiradmin.satellite.healthcare"
                }
              },
              "text": {}
            },
            "contact": [
              {
                "relationship": {
                  "coding": {
                    "system": {
                      "-value": "Relationship"
                    },
                    "code": {
                      "-value": "SPO"
                    },
                    "display": {
                      "-value": "Spouse"
                    }
                  },
                  "text": {
                    "-value": "Spouse"
                  }
                },
                "name": {
                  "use": {
                    "-value": "usual"
                  },
                  "family": {
                    "-value": "Newman"
                  },
                  "given": [
                    {
                      "-value": "Matthew"
                    },
                    {}
                  ],
                  "prefix": {},
                  "suffix": {}
                },
                "telecom": {
                  "value": {
                    "-value": "555-723-1544"
                  }
                },
                "address": {
                  "use": {
                    "-value": "home"
                  },
                  "line": {
                    "-value": "1357 Amber Dr"
                  },
                  "city": {
                    "-value": "Beaverton"
                  },
                  "state": {
                    "-value": "OR"
                  },
                  "postalCode": {},
                  "country": {
                    "-value": "US"
                  }
                }
              },
              {
                "relationship": {
                  "coding": {
                    "system": {
                      "-value": "Relationship"
                    },
                    "code": {
                      "-value": "GRP"
                    },
                    "display": {
                      "-value": "Grandparent"
                    }
                  },
                  "text": {
                    "-value": "Grandparent"
                  }
                },
                "name": {
                  "use": {
                    "-value": "usual"
                  },
                  "family": {
                    "-value": "Holler"
                  },
                  "given": [
                    {
                      "-value": "Rick"
                    },
                    {}
                  ],
                  "prefix": {},
                  "suffix": {}
                },
                "telecom": {
                  "value": {
                    "-value": "555-723-1544"
                  }
                },
                "address": {
                  "use": {
                    "-value": "home"
                  },
                  "line": {
                    "-value": "1357 Amber Dr"
                  },
                  "city": {
                    "-value": "Beaverton"
                  },
                  "state": {
                    "-value": "OR"
                  },
                  "postalCode": {
                    "-value": "97006"
                  },
                  "country": {
                    "-value": "US"
                  }
                }
              }
            ],
            "communication": {
              "language": {
                "coding": {
                  "system": {
                    "-value": "http://hl7.org/fhir/ValueSet/languages"
                  },
                  "code": {
                    "-value": "en"
                  }
                },
                "text": {
                  "-value": "English"
                }
              }
            },
            "active": {
              "-value": "true"
            }
          }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Patient
    404 Not Found NotFound None

    Procedure

    GET /Procedure

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/Procedure \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/Procedure HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/Procedure',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/Procedure',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/Procedure',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/Procedure', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/Procedure");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's procedures by patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("Procedure", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search procedures with the given keys.

    Parameters

    Parameter In Type Required Description
    patient query string true Patient account number (MRN)
    date query string(date) false Procedure performed date.Check the uri.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/Procedure?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/Procedure?patient=DFQA_GHN000003&searchId=gx3_11212&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
            "resourceType": "Procedure",
            "id": {
              "-value": "_tprocedure-4LjjRrUN0"
            },
            "patient": {
              "reference": {
                "-value": "Patient/DFQA_ghn000003"
              },
              "display": {
                "-value": "Newman, Alice Jones"
              }
            },
            "type": null,
            "performedDateTime": {
              "-value": "06/22/2015"
            },
            "location": {
              "reference": {
                "-value": "Location/"
              },
              "display": {
                "-value": "Neighborhood Physicians Practice Telephone: 555-5551002 Address 2472 Rocky place, Beaverton,OR-97006"
              }
            }
          }
         }
        ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline

    ReferralRequest

    GET /ReferralRequest

    Code samples

    # You can also use wget
    curl -X GET https://fhirapi.satellite.healthcare/ReferralRequest \
      -H 'Accept: application/json+fhir'
    
    GET https://fhirapi.satellite.healthcare/ReferralRequest HTTP/1.1
    Host: fhirapi.satellite.healthcare
    Accept: application/json+fhir
    
    var headers = {
                'Accept':'application/json+fhir'
    };
    $.ajax({
                url: https://fhirapi.satellite.healthcare/ReferralRequest',
                method: 'get',
                headers: headers,
                success: function(data) {
                console.log(JSON.stringify(data));
                }
    })
    
    const request = require('node-fetch');
    const headers = {
                'Accept':'application/json+fhir'
    };
    fetch(https://fhirapi.satellite.healthcare/ReferralRequest',
    {
                method: 'GET',
                headers: headers
    })
    .then(function(res) {
                return res.json();
    }).then(function(body) {
                console.log(body);
    });
    
    require 'rest-client'
    require 'json'
    headers = {
                'Accept' => 'application/json+fhir'
    }
    result = RestClient.get https://fhirapi.satellite.healthcare/ReferralRequest',
                params: {
                }, headers: headers
    p JSON.parse(result)
    
    import requests
    headers = {
                'Accept': 'application/json+fhir'
    }
    r = requests.get(https://fhirapi.satellite.healthcare/ReferralRequest', params={
    }, headers = headers)
    print r.json()
    
    URL obj = new URL("https://fhirapi.satellite.healthcare/ReferralRequest");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
                new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
                response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
        public class APIManager
                {
                private string SMARTServerURL = "https://fhirapi.satellite.healthcare/"; //FHIR server.
                private string SMARTAuthorizeURL = ConfigurationSettings.AppSettings["SMARTAuthorizeURL"];
                private string SMARTTokenURL = ConfigurationSettings.AppSettings["SMARTTokenURL"]; 
                private string ClientId = ConfigurationSettings.AppSettings["ClientId"];
                private string ClientSecret = ConfigurationSettings.AppSettings["ClientSecret"];
                private string Scope = ConfigurationSettings.AppSettings["Scope"];
                private string Format = "json";
                private FhirClient Client;
                public APIManager()
                {
                InitializeClient();
                }
                public APIManager(string iServerURL, string iTokenURL, string iClientId, string iClientSecret, string iScope)
                {
                SMARTServerURL = iServerURL;
                SMARTTokenURL = iTokenURL;
                ClientId = iClientId;
                ClientSecret = iClientSecret;
                Scope = iScope;
                InitializeClient();
                }
                public void InitializeClient()
                {
                Client = new FhirClient(SMARTServerURL, SMARTTokenURL, ClientId, ClientSecret, Scope, "user_id", "user_password");
                Client.TimeOut = 60000;
                }
                public string SearchResource(string pType, List<string> pSearchParams)
                { 
                Stream ReadStream = Client.Read(pType, pResourceId);
                StreamReader reader = new StreamReader(ReadStream);
                string Result = reader.ReadToEnd();
                return Result;
                }
                }
                public static void Main(string[] args)
                {
                APIManager Mgr = new APIManager();
                //Search Patient's allergies By patient account number
                List<string> SearchParameters = new List<string>();
                string param = "patient=" + "2";
                SearchParameters.Add(param);
                string PatientSearchResult = Mgr.SearchResource("ReferralRequest", SearchParameters);
                System.Console.WriteLine(PatientSearchResult); 
                }
    

    *Search Referral requests with the given keys.

    Parameters

    Parameter In Type Required Description
    patient query string true Patient account number (MRN)
    date query string(date) false Search resource category by the date range.Check the uri.

    Example responses


    {
      "resourceType": "Bundle",
      "id": "bundle-example",
      "meta": {
        "lastUpdated": ""
      },
      "type": "searchset",
      "base": "",
      "total": 50,
      "link": [
        {
          "relation": "self",
          "url": "https://example.com/fhir/ReferralRequest?patient=DFQA_GHN000003"
        },
        {
          "relation": "next",
          "url": "https://example.com/fhir/ReferralRequest?patient=DFQA_GHN000003&searchId=gx3_11212&page=2"
        }
      ],
      "entry": [
        {
          "resource": {
            "resourceType": "ReferralRequest",
            "id": {
              "-value": "_tReferralRequest_oP0H9pc50"
            },
            "description": {
              "-value": "Ms Alice Newman is being referred to Community Health Hospitals Inpatient facility because of the high fever noticed and suspected Anemia."
            },
            "fulfillmentTime": {
              "start": {
                "-value": "05/24/2017 16:08:42"
              }
            }
          }
         }
        ]
    }
    

    Responses

    Status Meaning Description Schema
    200 OK Success Inline