Example #1
0
        bool SendBiometicsToSparkServer()
        {
            FhirClient client = new FhirClient(_sparkEndpoint);

            if (!(Patient == null))
            {
                try
                {
                    Resource response = client.Create(Biometics);
                    _responseText = FHIRUtilities.FHIRToString(response);
                }
                catch (Exception ex)
                {
                    _responseText = ex.Message;
                    _exception    = ex;
                    return(false);
                }
            }
            return(true);
        }