Having an issue where I’m attempting to use a Get request for a FHIR Appointment.
The same token works for Patient and Practitioner but for some reason I’m getting a 401 unauthorized for a FHIR Appointment. Here are my scopes for the App Registration…
- openid
- offline_access
- api:oemr
- api:fhir
- api:port
- user/allergy.read
- user/allergy.write
- user/appointment.read
- user/appointment.write
- user/dental_issue.read
- user/dental_issue.write
- user/document.read
- user/document.write
- user/drug.read
- user/encounter.read
- user/encounter.write
- user/facility.read
- user/facility.write
- user/immunization.read
- user/insurance.read
- user/insurance.write
- user/insurance_company.read
- user/insurance_company.write
- user/insurance_type.read
- user/list.read
- user/medical_problem.read
- user/medical_problem.write
- user/medication.read
- user/medication.write
- user/message.write
- user/patient.read
- user/patient.write
- user/practitioner.read
- user/practitioner.write
- user/prescription.read
- user/procedure.read
- user/soap_note.read
- user/soap_note.write
- user/surgery.read
- user/surgery.write
- user/transaction.read
- user/transaction.write
- user/vital.read
- user/vital.write
- user/AllergyIntolerance.read
- user/CareTeam.read
- user/Condition.read
- user/Coverage.read
- user/Encounter.read
- user/Immunization.read
- user/Location.read
- user/Medication.read
- user/MedicationRequest.read
- user/Observation.read
- user/Organization.read
- user/Organization.write
- user/Patient.read
- user/Patient.write
- user/Practitioner.read
- user/Practitioner.write
- user/PractitionerRole.read
- user/Procedure.read
- patient/Encounter.read
- patient/Patient.read
- patient/AllergyIntolerance.read
- patient/CareTeam.read
- patient/Condition.read
- patient/Coverage.read
- patient/Immunization.read
- patient/MedicationRequest.read
- patient/Observation.read
- patient/Procedure.read
- patient/Appointment.read
- patient/Practitioner.read
- patient/Location.read
- system/Encounter.read
- system/Patient.read
- system/AllergyIntolerance.read
- system/CareTeam.read
- system/Condition.read
- system/Coverage.read
- system/Immunization.read
- system/MedicationRequest.read
- system/Observation.read
- system/Procedure.read
- system/Appointment.read
- system/Practitioner.read
- system/Location.read
- site:default