"reasonCodeableConcept":
"patient":
"dispense":
"dateWritten":
"prescriber":
"reasonReference":
"identifier":
"encounter":
{
"resourceType" : "VisionPrescription",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"identifier" : [{ Identifier }], // Business identifier
"dateWritten" : "<dateTime>", // When prescription was authorized
"patient" : { Reference(Patient) }, // Who prescription is for
"prescriber" : { Reference(Practitioner) }, // Who authorizes the vision product
"encounter" : { Reference(Encounter) }, // Created during encounter / admission / stay
// reason[x]: Reason or indication for writing the prescription. One of these 2:
"reasonCodeableConcept" : { CodeableConcept },
"reasonReference" : { Reference(Condition) },
"dispense" : [{ // Vision supply authorization
"product" : { Coding }, // R! Product to be supplied
"eye" : "<code>", // right | left
"sphere" : <decimal>, // Lens sphere
"cylinder" : <decimal>, // Lens cylinder
"axis" : <integer>, // Lens axis
"prism" : <decimal>, // Lens prism
"base" : "<code>", // up | down | in | out
"add" : <decimal>, // Lens add
"power" : <decimal>, // Contact lens power
"backCurve" : <decimal>, // Contact lens back curvature
"diameter" : <decimal>, // Contact lens diameter
"duration" : { Quantity(SimpleQuantity) }, // Lens wear duration
"color" : "<string>", // Lens add
"brand" : "<string>", // Lens add
"notes" : "<string>" // Notes for coatings
}]
}
The following search parameters can be used to query VisionPrescription resources. Just submit them like so:
https://api.1up.health/fhir/dstu2/VisionPrescription?query-param=queryvalue
Search Parameter | Field Type | Resource Fields Searched |
---|---|---|
datewritten | date | dateWritten |
encounter | reference | encounter |
identifier | text | identifier |
patient | reference | patient |
prescriber | reference | prescriber |