"status": "active"
"reasonCodeableConcept":
"patient": {
"reference": "Patient/example"
}
"dispense": [
{
"product": {
"coding": [
{
"code": "lens",
"system": "http://hl7.org/fhir/ex-visionprescriptionproduct"
}
]
},
"eye": "right",
"add": 2,
"sphere": -2,
"prism": 0.5,
"base": "down"
},
{
"product": {
"coding": [
{
"code": "lens",
"system": "http://hl7.org/fhir/ex-visionprescriptionproduct"
}
]
},
"eye": "left",
"cylinder": -0.5,
"sphere": -1,
"prism": 0.5,
"base": "up",
"add": 2,
"axis": 180
}
]
"dateWritten": "2014-06-15"
"prescriber": {
"reference": "Practitioner/example"
}
"reasonReference":
"identifier": [
{
"system": "http://www.happysight.com/prescription",
"value": "15013"
}
]
"encounter":
{
"status": "active",
"patient": {
"reference": "Patient/example"
},
"resourceType": "VisionPrescription",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t <p>OD -2.00 SPH +2.00 add 0.5 p.d. BD</p>\n <p>OS -1.00 -0.50 x 180 +2.00 add 0.5 p.d. BU</p>\n </div>"
},
"dateWritten": "2014-06-15",
"dispense": [
{
"product": {
"coding": [
{
"code": "lens",
"system": "http://hl7.org/fhir/ex-visionprescriptionproduct"
}
]
},
"eye": "right",
"add": 2,
"sphere": -2,
"prism": 0.5,
"base": "down"
},
{
"product": {
"coding": [
{
"code": "lens",
"system": "http://hl7.org/fhir/ex-visionprescriptionproduct"
}
]
},
"eye": "left",
"cylinder": -0.5,
"sphere": -1,
"prism": 0.5,
"base": "up",
"add": 2,
"axis": 180
}
],
"prescriber": {
"reference": "Practitioner/example"
},
"identifier": [
{
"system": "http://www.happysight.com/prescription",
"value": "15013"
}
],
"id": "33123"
}
{
"resourceType" : "VisionPrescription",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"identifier" : [{ Identifier }], // Business identifier
"status" : "<code>", // active | cancelled | draft | entered-in-error
"patient" : { Reference(Patient) }, // Who prescription is for
"encounter" : { Reference(Encounter) }, // Created during encounter / admission / stay
"dateWritten" : "<dateTime>", // When prescription was authorized
"prescriber" : { Reference(Practitioner) }, // Who authorizes the vision product
// reason[x]: Reason or indication for writing the prescription. One of these 2:
"reasonCodeableConcept" : { CodeableConcept },
"reasonReference" : { Reference(Condition) },
"dispense" : [{ // Vision supply authorization
"product" : { CodeableConcept }, // 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>", // Color required
"brand" : "<string>", // Brand required
"note" : [{ Annotation }] // Notes for coatings
}]
}
The following search parameters can be used to query VisionPrescription resources. Just submit them like so:
https://api.1up.health/fhir/stu3/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 |