Skip to main content

VisionPrescription

ResourceClinical · Care ProvisionTrial useMaturity 2

An authorization for the provision of glasses and/or contact lenses to a patient.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
6 of 6 parameters tested

Structure​

ElementCard.TypeDescription
identifier
0..*IdentifierBusiness Identifier for vision prescription
statusRequired?!Σ
1..1codeactive | cancelled | draft | entered-in-errorBinding (required): fm-status
createdRequiredΣ
1..1dateTimeResponse creation date
patientRequiredΣ
1..1Reference(Patient)Who prescription is for
encounter
0..1Reference(Encounter)Created during encounter / admission / stay
dateWrittenRequiredΣ
1..1dateTimeWhen prescription was authorized
prescriberRequiredΣ
1..1Reference(Practitioner | PractitionerRole)Who authorized the vision prescription
lensSpecificationRequiredΣ
1..*BackboneElementVision lens authorization
productRequiredΣ
1..1CodeableConceptProduct to be suppliedBinding (example): vision-product
eyeRequiredΣ
1..1coderight | leftBinding (required): vision-eye-codes
sphere
0..1decimalPower of the lens
cylinder
0..1decimalLens power for astigmatism
axis
0..1integerLens meridian which contain no power for astigmatism
prism
0..*BackboneElementEye alignment compensation
amountRequired
1..1decimalAmount of adjustment
baseRequired
1..1codeup | down | in | outBinding (required): vision-base-codes
add
0..1decimalAdded power for multifocal levels
power
0..1decimalContact lens power
backCurve
0..1decimalContact lens back curvature
diameter
0..1decimalContact lens diameter
duration
0..1QuantityLens wear duration
color
0..1stringColor required
brand
0..1stringBrand required
note
0..*AnnotationNotes for coatings

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/VisionPrescription?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
datewrittendate

Return prescriptions written on this date

VisionPrescription.dateWritten
encounterreference

Return prescriptions with this encounter identifier

VisionPrescription.encounter
identifiertoken

Return prescriptions with this external identifier

VisionPrescription.identifier
patientreference

The identity of a patient to list dispenses for

VisionPrescription.patient
prescriberreference

Who authorized the vision prescription

VisionPrescription.prescriber
statustoken

The status of the vision prescription

VisionPrescription.status

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition