Michele,
That sounds great. IF that is the case than I think I have everything in place. My application can do the following:
enter the url to the oAuth authorization service provider
enter the username and password for the oAuth authorization service provider ( I assume these need to be obtained out-of-band) {Assuming a bearer token}
do i need a basic authorization code in the token request?
enter the url of the FHIR service
With this information I then do the following:
1. Take a measurement with some Personal health device, say a glucometer
2. When the measurement is received a FHIR transaction bundle is created containing resources describing the Device, Patient, and Observations
3. If using secure-oauth transports, if no oauth token has been obtained, request a token from the oauth authentication service provider
4. Use the oauth token in the POST of the FHIR bundle to the FHIR service
Does this sound okay? If so it is not obvious from the description in the SMART on FHIR authorization tutorial.
Thanks