from fhirclient import client
settings = {
'app_id': 'my_web_app',
'api_base': 'https://fhir-open-api-dstu2.smarthealthit.org'
}
smart = client.FHIRClient(settings=settings)
import fhirclient.models.patient as p
patient = p.Patient.read('hca-pat-1', smart.server)
patient.birthDate.isostring
# '1963-06-12'
smart.human_name(patient.name[0])
# 'Christy Ebert
Server problems? Or?
Thx!
Sanders
The sandbox’s open DSTU2 FHIR server is accessible directly at https://sb-fhir-dstu2.smarthealthit.org/api/smartdstu2/open and the secure endpoint for launching a standalone app that’s been registered is at https://sb-fhir-dstu2.smarthealthit.org/api/smartdstu2/data. Note that the data in the online sandbox is reset on a nightly basis.
--
You received this message because you are subscribed to the Google Groups "SMART on FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smart-on-fhi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to smart-...@googlegroups.com.