All guides
Specialty EHR· 10 min
Sightline Vision Exam Workflow
End-to-end vision exam — session start, refraction capture, FHIR Observations, and optical fulfillment.
- 1
Prerequisites
Obtain cms.fhir.r4.read and cms.fhir.rest.write scopes plus Sightline GPID headers. Review the Sightline OpenAPI spec for required fields.
bashhttps://developers.parkerapex.com/swagger?spec=sightline"text-cyan-300">-v1 - 2
Start an exam session
Create a vision exam session for the patient. Include X-Apex-Actor-GPID (organization) and X-Apex-Subject-GPID (patient).
bash"text">-amber-300 font">-semibold">curl "text-cyan-300">-s "text-cyan-300">-X "text">-amber-300 font">-semibold">POST https://api.parkerapex.com/sightline/v1/exams \ "text-cyan-300">-H "Authorization: Bearer YOUR_TOKEN" \ "text-cyan-300">-H "Content">-Type: application/json" \ "text-cyan-300">-H "X">-Apex-Actor-GPID: PLX">-ORG-00001" \ "text-cyan-300">-H "X">-Apex-Subject-GPID: APX">-EXAMPLE" \ "text-cyan-300">-H "X">-Apex-Source: sightline">-partner-001" \ "text-cyan-300">-d '{"exam_type":"comprehensive","provider_gpid":"PLX">-DOC-00001"}' - 3
Capture refraction
Post refraction measurements — sphere, cylinder, axis, add. Sightline normalizes to FHIR Observation resources automatically.
bash"text">-amber-300 font">-semibold">curl "text-cyan-300">-s "text-cyan-300">-X "text">-amber-300 font">-semibold">POST https://api.parkerapex.com/sightline/v1/exams/{exam_id}/refraction \ "text-cyan-300">-H "Authorization: Bearer YOUR_TOKEN" \ "text-cyan-300">-H "Content">-Type: application/json" \ "text-cyan-300">-d '{"eye":"OD","sphere":-2.25,"cylinder":-0.50,"axis":180,"add":2.00}' - 4
Fulfill optical prescription
Trigger optical fulfillment when the patient orders lenses. Creates VisionPrescription and fulfillment tracking.
bash"text">-amber-300 font">-semibold">curl "text-cyan-300">-s "text-cyan-300">-X "text">-amber-300 font">-semibold">POST https://api.parkerapex.com/sightline/v1/prescriptions/{rx_id}/fulfill \ "text-cyan-300">-H "Authorization: Bearer YOUR_TOKEN" \ "text-cyan-300">-H "Content">-Type: application/json" \ "text-cyan-300">-d '{"lab_partner":"lenscrafters","priority":"standard"}'