# Soma Health FHIR API > Read-only FHIR R4 (US Core 6.1) API for practices on Soma Health. Partner apps sign in with SMART Backend Services. Every page is also available as Markdown: add .md to its address. ## Getting started - [Getting started](/getting-started.md): Read appointments, open slots, patients and coverage from practices on Soma Health with a standard FHIR R4 API. - [Authentication](/authentication.md): Sign in with SMART Backend Services: a JWT signed with your private key, exchanged for a 5-minute access token. - [SMART App Launch](/smart-app-launch.md): Patient apps (MySoma sign-in) and provider apps opened from Soma: authorization code with PKCE, refresh tokens and OpenID Connect. - [Bulk Data export](/bulk-data.md): Export a group of patients' records as NDJSON files with FHIR Bulk Data Access 2.0 (Group/$export). - [Rate limits](/rate-limits.md): How many requests you can send, and what happens when you send more. - [Response codes](/errors.md): HTTP status codes and the OperationOutcome and OAuth errors that explain them. - [Paging and counts](/paging.md): Search results come in pages: read them with _count and the Bundle's next link. - [Endpoint directory](/endpoint-directory.md): The public list of every practice's FHIR base URL, published under ONC §170.404(b)(2). ## API reference - [Capability statement](/reference/metadata.md): What a practice's FHIR API serves, with no sign-in. - [SMART configuration](/reference/smart-configuration.md): The practice's sign-in details, with no sign-in. - [Get an access token](/reference/token.md): Exchange a signed client assertion for a 5-minute access token. - [Patient](/reference/patient.md): The practice's patients: names, MRN, birth date, sex, contact details, address and preferred language. - [Appointment](/reference/appointment.md): Booked visits with their patient, provider, location, time and status. - [Schedule](/reference/schedule.md): One schedule per provider and location where the provider sees patients. - [Slot](/reference/slot.md): Open (bookable) times on a schedule, worked out from the provider's hours and existing bookings. - [Practitioner](/reference/practitioner.md): The practice's providers, with NPI, credentials and specialty. - [Location](/reference/location.md): The practice's offices, with address, phone, fax and place of service. - [Organization](/reference/organization.md): The practice (its billing entities) and the insurance payers its patients use. - [Coverage](/reference/coverage.md): Patients' insurance policies: payer, member ID, group, plan and dates. - [AllergyIntolerance](/reference/allergyintolerance.md): The patient's allergies (or no known allergies), with reaction and severity when recorded. - [CarePlan](/reference/careplan.md): The assessment and plan of treatment from each signed visit note. - [CareTeam](/reference/careteam.md): The patient's care team: primary provider, treating providers and providers who saw the patient. - [Condition](/reference/condition.md): Diagnoses from the patient's cases (encounter diagnoses, ICD-10-CM), the problem list and health concerns. - [Device](/reference/device.md): The patient's implantable devices (US Core Implantable Device): UDI, device identifier, lot, serial, manufacture and expiration dates, brand, model, company and GMDN type from the FDA GUDID. Status is active or inactive. - [DiagnosticReport](/reference/diagnosticreport.md): Lab reports (entered or imported from HL7 results), with their results as Observations. - [DocumentReference](/reference/documentreference.md): Signed visit notes as clinical notes, with the note text attached. - [Encounter](/reference/encounter.md): Visits the patient came in for, with type, provider, location and time. - [Goal](/reference/goal.md): The patient's goals. - [Immunization](/reference/immunization.md): Vaccines given or not given (CVX, with NDC when known). - [Medication](/reference/medication.md): Medications are given inline (`medicationCodeableConcept`) on MedicationRequest, so searches return no Medication resources. - [MedicationRequest](/reference/medicationrequest.md): Prescriptions written in Soma and the medications the patient reports taking. - [Observation](/reference/observation.md): Smoking status from intake forms; sexual orientation and pronouns from the patient's demographics; vital signs, lab results and pregnancy status / intent from Chart › Clinical. - [PractitionerRole](/reference/practitionerrole.md): Each provider's role at the practice: specialty (NUCC), contact details and default office. - [Procedure](/reference/procedure.md): Procedures billed from signed visit notes (CPT). - [Provenance](/reference/provenance.md): Who is responsible for a patient-record resource (the practice). Use `_revinclude=Provenance:target`. - [QuestionnaireResponse](/reference/questionnaireresponse.md): Soma doesn't record QuestionnaireResponse data yet, so searches return an empty Bundle. - [RelatedPerson](/reference/relatedperson.md): The patient's emergency contact. - [ServiceRequest](/reference/servicerequest.md): Orders: lab and imaging orders (CPOE), and orders from visits: therapy, consults, procedures and follow-ups. - [Specimen](/reference/specimen.md): The specimen each lab report was run on. ## More - [EHI export format](/ehi-export.md): The format of Soma's electronic health information export (ONC §170.315(b)(10)): every table and column, generated from the database. - [Changelog](/changelog.md): What changed in each release of the API. - [Certification & transparency](/certification.md): Soma Health's ONC certification, the certified capabilities, their costs and limitations, and the API fees (45 CFR 170.523(k) and 170.404). - [Terms and support](/terms.md): The API terms of use and fees, and how to reach us.