R4 Ballot #1 (Mixed Normative/Trial use) Current Build
This page was published as part of FHIR v3.3.0: R4 Ballot #1 : Mixed Normative/Trial use (First Normative ballot). It has been superceded by R4 . For a full list of available versions, see the Directory of published versions .

12.16 12.20 Resource VisionPrescription - Content

Financial Management Work Group Maturity Level : 1 2   Trial Use Security Category : Patient Compartments : Encounter , Patient , Practitioner

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

This The VisionPrescription resource covers all prescriptions is intended to support the information requirements for a prescription for glasses and contact lenses for a patient. Corrective optical lenses are considered a controlled substance and therefore a prescription is typically required for the provision of patient-specific lenses.

Vision prescriptions may only be issued by providers who have optical diagnosis within their scope of practice, typically ophthalmologists and optometrists. The prescription is a time-limited, typically two years, authorization for the provision of an unlimited number of lenses, glasses or contacts, which conform to the authorized specification by providers which have lens provision within their scope of practice, typically ophthalmologists , optometrists and opticians.

Health insurers typically require a copy of the prescription to ensure that a vision professional has examined the patient and that the power of the lenses exceeds some minimum, such as +- 0.75 diopters, to qualify for reimbursement under the insurance coverage.

The VisionPrescription resource is an "request" resource from a FHIR workflow perspective - see Workflow Request.

Additional information regarding resources conveying electronic claims content and usage may be found at:

12.16.2

The VisionPrescription resource is used to provide the authorized specification of lenses for glasses and contacts which have well known and internationally consistent requirements, which is distinct from other types of health care authorizations detailed below.

The health care domain includes a number of related resources
VisionPrescription The VisionPrescription resource is used to provide the authorized specification of lenses for glasses and contacts.
DeviceRequest This resource is used to prescribe, authorize, and request provision of a health care device such as a halter monitor or a wheelchair services.
MedicationRequest This resource is used to prescribe, authorize, and request provision of medications such a pharmaceuticals and vaccines.
ServiceRequest This resource is used to prescribe, authorize, and request provision of health care services such as consultative or rehabilitative services.

This resource is referenced by CarePlan , Claim and ExplanationOfBenefit .

This resource implements the Request pattern.

Structure

reasonCodeableConcept CodeableConcept reasonReference Reference ( Condition )
Name Flags Card. Type Description & Constraints doco
. . VisionPrescription TU DomainResource Prescription for vision correction products for a patient
Elements defined in Ancestors: id , meta , implicitRules , language , text , contained , extension , modifierExtension
. . . identifier 0..* Identifier Business identifier Identifier for vision prescription
. . . status ?! Σ 0..1 1..1 code active | cancelled | draft | entered-in-error
Financial Resource Status Codes ( Required )
. . . created Σ 1..1 dateTime Response creation date
. . . patient Σ 0..1 1..1 Reference ( Patient ) Who prescription is for
. . . encounter 0..1 Reference ( Encounter ) Created during encounter / admission / stay
. . . dateWritten Σ 0..1 1..1 dateTime When prescription was authorized
. . . prescriber 0..1 Σ 1..1 Reference ( Practitioner | PractitionerRole ) Who authorizes authorized the vision product reason[x] 0..1 Reason or indication for writing the prescription
. . . dispense lensSpecification Σ 0..* 1..* BackboneElement Vision supply lens authorization
. . . . product 0..1 Σ 1..1 CodeableConcept Product to be supplied
Example Vision Prescription Product Codes ( Example )
. . . . eye Σ 0..1 1..1 code right | left
VisionEyes ( Required )
. . . . sphere 0..1 decimal Lens sphere Power of the lens
. . . . cylinder 0..1 decimal Lens cylinder power for astigmatism
. . . . axis 0..1 integer Lens axis meridian which contain no power for astigmatism
. . . . prism 0..* BackboneElement Lens prism Eye alignment compensation
. . . . . amount 1..1 decimal Amount of adjustment
. . . . . base 1..1 code up | down | in | out
VisionBase ( Required )
. . . . add 0..1 decimal Lens add Added power for multifocal levels
. . . . power 0..1 decimal Contact lens power
. . . . backCurve 0..1 decimal Contact lens back curvature
. . . . diameter 0..1 decimal Contact lens diameter
. . . . duration 0..1 SimpleQuantity Lens wear duration
. . . . color 0..1 string Color required
. . . . brand 0..1 string Brand required
. . . . note 0..* Annotation Notes for coatings

doco Documentation for this format

UML Diagram ( Legend )

VisionPrescription ( DomainResource ) Business A unique identifier which may be used by other parties assigned to reference or identify the this vision prescription identifier : Identifier [0..*] The status of the resource instance (this element modifies the meaning of other elements) status : code [0..1] [1..1] « A code specifying the state of the resource instance. (Strength=Required) Financial Resource Status FinancialResourceStatusCodes ! » The date this resource was created created : dateTime [1..1] A link to a resource representing reference to the person to whom the vision products will be supplied prescription applies patient : Reference [0..1] [1..1] « Patient » A link reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued encounter : Reference [0..1] « Encounter » The date (and perhaps time) when the prescription was written dateWritten : dateTime [0..1] [1..1] The healthcare professional responsible for authorizing the prescription prescriber : Reference [0..1] [1..1] « Practitioner | PractitionerRole » Can be the reason or the indication for writing the prescription reason[x] : Type [0..1] « CodeableConcept | Reference ( Condition ) » Dispense LensSpecification Identifies the type of vision correction product which is required for the patient product : CodeableConcept [0..1] [1..1] « A coded concept describing the vision products. (Strength=Example) Example Vision Prescription P... ExampleVisionPrescriptionProd... ?? » The eye for which the lens specification applies eye : code [0..1] [1..1] « A coded concept listing the eye codes. (Strength=Required) VisionEyes ! » Lens power measured in diopters dioptres (0.25 units) sphere : decimal [0..1] Power adjustment for astigmatism measured in diopters dioptres (0.25 units) cylinder : decimal [0..1] Adjustment for astigmatism measured in integer degrees axis : integer [0..1] Power adjustment for multifocal lenses measured in diopters dioptres (0.25 units) add : decimal [0..1] Contact lens power measured in diopters dioptres (0.25 units) power : decimal [0..1] Back curvature measured in millimeters millimetres backCurve : decimal [0..1] Contact lens diameter measured in millimeters millimetres diameter : decimal [0..1] The recommended maximum wear period for the lens duration : Quantity ( SimpleQuantity ) [0..1] Special color or pattern color : string [0..1] Brand recommendations or restrictions brand : string [0..1] Notes for special requirements such as coatings and lens materials note : Annotation [0..*] Prism Amount of prism to compensate for eye alignment in fractional units amount : decimal [1..1] The relative base, or reference lens edge, for the prism base : code [1..1] « A coded concept listing the base codes. (Strength=Required) VisionBase ! » Allows for adjustment on two axis prism [0..*] Deals with Contain the details of the dispense part of individual lens specifications and serves as the supply specification authorization for the fullfillment by certified professionals dispense lensSpecification [0..*] [1..*]

XML Template

<VisionPrescription xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <</identifier>
 <
 <</patient>
 <</encounter>
 <
 <</prescriber>
 <</reason[x]>
 <
  <</product>
  <
  <
  <
  <
  <
   <
   <

 <identifier><!-- 0..* Identifier Business Identifier for vision prescription --></identifier>
 <status value="[code]"/><!-- 1..1 active | cancelled | draft | entered-in-error -->
 <created value="[dateTime]"/><!-- 1..1 Response creation date -->
 <patient><!-- 1..1 Reference(Patient) Who prescription is for --></patient>
 <encounter><!-- 0..1 Reference(Encounter) Created during encounter / admission / stay --></encounter>
 <dateWritten value="[dateTime]"/><!-- 1..1 When prescription was authorized -->
 <prescriber><!-- 1..1 Reference(Practitioner|PractitionerRole) Who authorized the vision prescription --></prescriber>
 <lensSpecification>  <!-- 1..* Vision lens authorization -->
  <product><!-- 1..1 CodeableConcept Product to be supplied --></product>
  <eye value="[code]"/><!-- 1..1 right | left -->
  <sphere value="[decimal]"/><!-- 0..1 Power of the lens -->
  <cylinder value="[decimal]"/><!-- 0..1 Lens power for astigmatism -->
  <axis value="[integer]"/><!-- 0..1 Lens meridian which contain no power for astigmatism -->
  <prism>  <!-- 0..* Eye alignment compensation -->
   <amount value="[decimal]"/><!-- 1..1 Amount of adjustment -->
   <base value="[code]"/><!-- 1..1 up | down | in | out -->

  </prism>
  <
  <
  <
  <
  <</duration>
  <
  <
  <</note>
 </dispense>

  <add value="[decimal]"/><!-- 0..1 Added power for multifocal levels -->
  <power value="[decimal]"/><!-- 0..1 Contact lens power -->
  <backCurve value="[decimal]"/><!-- 0..1 Contact lens back curvature -->
  <diameter value="[decimal]"/><!-- 0..1 Contact lens diameter -->
  <duration><!-- 0..1 Quantity(SimpleQuantity) Lens wear duration --></duration>
  <color value="[string]"/><!-- 0..1 Color required -->
  <brand value="[string]"/><!-- 0..1 Brand required -->
  <note><!-- 0..* Annotation Notes for coatings --></note>
 </lensSpecification>

</VisionPrescription>

JSON Template

{doco
  "resourceType" : "",

  "resourceType" : "VisionPrescription",

  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "
  "
  "
  "
  "
  "
  
  " },
  " },
  "
    "
    "
    "
    "
    "
    "
      "
      "

  "identifier" : [{ Identifier }], // Business Identifier for vision prescription
  "status" : "<code>", // R!  active | cancelled | draft | entered-in-error
  "created" : "<dateTime>", // R!  Response creation date
  "patient" : { Reference(Patient) }, // R!  Who prescription is for
  "encounter" : { Reference(Encounter) }, // Created during encounter / admission / stay
  "dateWritten" : "<dateTime>", // R!  When prescription was authorized
  "prescriber" : { Reference(Practitioner|PractitionerRole) }, // R!  Who authorized the vision prescription
  "lensSpecification" : [{ // R!  Vision lens authorization
    "product" : { CodeableConcept }, // R!  Product to be supplied
    "eye" : "<code>", // R!  right | left
    "sphere" : <decimal>, // Power of the lens
    "cylinder" : <decimal>, // Lens power for astigmatism
    "axis" : <integer>, // Lens meridian which contain no power for astigmatism
    "prism" : [{ // Eye alignment compensation
      "amount" : <decimal>, // R!  Amount of adjustment
      "base" : "<code>" // R!  up | down | in | out

    }],
    "
    "
    "
    "
    "
    "
    "
    "

    "add" : <decimal>, // Added power for multifocal levels
    "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

  }]
}

Turtle Template

@prefix fhir: <http://hl7.org/fhir/> .doco
[ a fhir:;

[ a fhir:VisionPrescription;

  fhir:nodeRole fhir:treeRoot; # if this is the parser root
  # from Resource: .id, .meta, .implicitRules, and .language
  # from DomainResource: .text, .contained, .extension, and .modifierExtension
  fhir:
  fhir:
  fhir:
  fhir:
  fhir:
  fhir:
  # . One of these 2
    fhir: ]
    fhir:) ]
  fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
      fhir:
      fhir:

  fhir:VisionPrescription.identifier [ Identifier ], ... ; # 0..* Business Identifier for vision prescription
  fhir:VisionPrescription.status [ code ]; # 1..1 active | cancelled | draft | entered-in-error
  fhir:VisionPrescription.created [ dateTime ]; # 1..1 Response creation date
  fhir:VisionPrescription.patient [ Reference(Patient) ]; # 1..1 Who prescription is for
  fhir:VisionPrescription.encounter [ Reference(Encounter) ]; # 0..1 Created during encounter / admission / stay
  fhir:VisionPrescription.dateWritten [ dateTime ]; # 1..1 When prescription was authorized
  fhir:VisionPrescription.prescriber [ Reference(Practitioner|PractitionerRole) ]; # 1..1 Who authorized the vision prescription
  fhir:VisionPrescription.lensSpecification [ # 1..* Vision lens authorization
    fhir:VisionPrescription.lensSpecification.product [ CodeableConcept ]; # 1..1 Product to be supplied
    fhir:VisionPrescription.lensSpecification.eye [ code ]; # 1..1 right | left
    fhir:VisionPrescription.lensSpecification.sphere [ decimal ]; # 0..1 Power of the lens
    fhir:VisionPrescription.lensSpecification.cylinder [ decimal ]; # 0..1 Lens power for astigmatism
    fhir:VisionPrescription.lensSpecification.axis [ integer ]; # 0..1 Lens meridian which contain no power for astigmatism
    fhir:VisionPrescription.lensSpecification.prism [ # 0..* Eye alignment compensation
      fhir:VisionPrescription.lensSpecification.prism.amount [ decimal ]; # 1..1 Amount of adjustment
      fhir:VisionPrescription.lensSpecification.prism.base [ code ]; # 1..1 up | down | in | out

    ], ...;
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:

    fhir:VisionPrescription.lensSpecification.add [ decimal ]; # 0..1 Added power for multifocal levels
    fhir:VisionPrescription.lensSpecification.power [ decimal ]; # 0..1 Contact lens power
    fhir:VisionPrescription.lensSpecification.backCurve [ decimal ]; # 0..1 Contact lens back curvature
    fhir:VisionPrescription.lensSpecification.diameter [ decimal ]; # 0..1 Contact lens diameter
    fhir:VisionPrescription.lensSpecification.duration [ Quantity(SimpleQuantity) ]; # 0..1 Lens wear duration
    fhir:VisionPrescription.lensSpecification.color [ string ]; # 0..1 Color required
    fhir:VisionPrescription.lensSpecification.brand [ string ]; # 0..1 Brand required
    fhir:VisionPrescription.lensSpecification.note [ Annotation ], ... ; # 0..* Notes for coatings

  ], ...;
]

Changes since R3

VisionPrescription
VisionPrescription.prescriber VisionPrescription.status
  • Type changed Change value set from Reference(Practitioner) http://hl7.org/fhir/ValueSet/fm-status|4.0.0 to Reference(Practitioner|PractitionerRole) http://hl7.org/fhir/ValueSet/fm-status|4.1.0
VisionPrescription.reason[x] VisionPrescription.lensSpecification.eye
  • Remove Reference(Condition), Add Reference(Condition) Change value set from http://hl7.org/fhir/ValueSet/vision-eye-codes|4.0.0 to http://hl7.org/fhir/ValueSet/vision-eye-codes|4.1.0
VisionPrescription.dispense.prism VisionPrescription.lensSpecification.prism.base
  • Max Cardinality changed from 1 to * Type changed Change value set from decimal http://hl7.org/fhir/ValueSet/vision-base-codes|4.0.0 to BackboneElement VisionPrescription.dispense.prism.amount Added Element VisionPrescription.dispense.prism.base Added Element VisionPrescription.dispense.base deleted http://hl7.org/fhir/ValueSet/vision-base-codes|4.1.0

See the Full Difference for further information

This analysis is available as XML or JSON .

See R2 <--> R3 <--> R4 Conversion Maps (status = 2 tests that all execute ok. 2 1 fail round-trip testing and all 2 r3 resources are valid.). Note: these have note yet been updated to be R3 to R4 invalid (0 errors). )

Structure

reasonCodeableConcept CodeableConcept reasonReference Reference ( Condition )
Name Flags Card. Type Description & Constraints doco
. . VisionPrescription TU DomainResource Prescription for vision correction products for a patient
Elements defined in Ancestors: id , meta , implicitRules , language , text , contained , extension , modifierExtension
. . . identifier 0..* Identifier Business identifier Identifier for vision prescription
. . . status ?! Σ 0..1 1..1 code active | cancelled | draft | entered-in-error
Financial Resource Status Codes ( Required )
. . . created Σ 1..1 dateTime Response creation date
. . . patient Σ 0..1 1..1 Reference ( Patient ) Who prescription is for
. . . encounter 0..1 Reference ( Encounter ) Created during encounter / admission / stay
. . . dateWritten Σ 0..1 1..1 dateTime When prescription was authorized
. . . prescriber 0..1 Σ 1..1 Reference ( Practitioner | PractitionerRole ) Who authorizes authorized the vision product reason[x] 0..1 Reason or indication for writing the prescription
. . . dispense lensSpecification Σ 0..* 1..* BackboneElement Vision supply lens authorization
. . . . product 0..1 Σ 1..1 CodeableConcept Product to be supplied
Example Vision Prescription Product Codes ( Example )
. . . . eye Σ 0..1 1..1 code right | left
VisionEyes ( Required )
. . . . sphere 0..1 decimal Lens sphere Power of the lens
. . . . cylinder 0..1 decimal Lens cylinder power for astigmatism
. . . . axis 0..1 integer Lens axis meridian which contain no power for astigmatism
. . . . prism 0..* BackboneElement Lens prism Eye alignment compensation
. . . . . amount 1..1 decimal Amount of adjustment
. . . . . base 1..1 code up | down | in | out
VisionBase ( Required )
. . . . add 0..1 decimal Lens add Added power for multifocal levels
. . . . power 0..1 decimal Contact lens power
. . . . backCurve 0..1 decimal Contact lens back curvature
. . . . diameter 0..1 decimal Contact lens diameter
. . . . duration 0..1 SimpleQuantity Lens wear duration
. . . . color 0..1 string Color required
. . . . brand 0..1 string Brand required
. . . . note 0..* Annotation Notes for coatings

doco Documentation for this format

UML Diagram ( Legend )

VisionPrescription ( DomainResource ) Business A unique identifier which may be used by other parties assigned to reference or identify the this vision prescription identifier : Identifier [0..*] The status of the resource instance (this element modifies the meaning of other elements) status : code [0..1] [1..1] « A code specifying the state of the resource instance. (Strength=Required) Financial Resource Status FinancialResourceStatusCodes ! » The date this resource was created created : dateTime [1..1] A link to a resource representing reference to the person to whom the vision products will be supplied prescription applies patient : Reference [0..1] [1..1] « Patient » A link reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued encounter : Reference [0..1] « Encounter » The date (and perhaps time) when the prescription was written dateWritten : dateTime [0..1] [1..1] The healthcare professional responsible for authorizing the prescription prescriber : Reference [0..1] [1..1] « Practitioner | PractitionerRole » Can be the reason or the indication for writing the prescription reason[x] : Type [0..1] « CodeableConcept | Reference ( Condition ) » Dispense LensSpecification Identifies the type of vision correction product which is required for the patient product : CodeableConcept [0..1] [1..1] « A coded concept describing the vision products. (Strength=Example) Example Vision Prescription P... ExampleVisionPrescriptionProd... ?? » The eye for which the lens specification applies eye : code [0..1] [1..1] « A coded concept listing the eye codes. (Strength=Required) VisionEyes ! » Lens power measured in diopters dioptres (0.25 units) sphere : decimal [0..1] Power adjustment for astigmatism measured in diopters dioptres (0.25 units) cylinder : decimal [0..1] Adjustment for astigmatism measured in integer degrees axis : integer [0..1] Power adjustment for multifocal lenses measured in diopters dioptres (0.25 units) add : decimal [0..1] Contact lens power measured in diopters dioptres (0.25 units) power : decimal [0..1] Back curvature measured in millimeters millimetres backCurve : decimal [0..1] Contact lens diameter measured in millimeters millimetres diameter : decimal [0..1] The recommended maximum wear period for the lens duration : Quantity ( SimpleQuantity ) [0..1] Special color or pattern color : string [0..1] Brand recommendations or restrictions brand : string [0..1] Notes for special requirements such as coatings and lens materials note : Annotation [0..*] Prism Amount of prism to compensate for eye alignment in fractional units amount : decimal [1..1] The relative base, or reference lens edge, for the prism base : code [1..1] « A coded concept listing the base codes. (Strength=Required) VisionBase ! » Allows for adjustment on two axis prism [0..*] Deals with Contain the details of the dispense part of individual lens specifications and serves as the supply specification authorization for the fullfillment by certified professionals dispense lensSpecification [0..*] [1..*]

XML Template

<VisionPrescription xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <</identifier>
 <
 <</patient>
 <</encounter>
 <
 <</prescriber>
 <</reason[x]>
 <
  <</product>
  <
  <
  <
  <
  <
   <
   <

 <identifier><!-- 0..* Identifier Business Identifier for vision prescription --></identifier>
 <status value="[code]"/><!-- 1..1 active | cancelled | draft | entered-in-error -->
 <created value="[dateTime]"/><!-- 1..1 Response creation date -->
 <patient><!-- 1..1 Reference(Patient) Who prescription is for --></patient>
 <encounter><!-- 0..1 Reference(Encounter) Created during encounter / admission / stay --></encounter>
 <dateWritten value="[dateTime]"/><!-- 1..1 When prescription was authorized -->
 <prescriber><!-- 1..1 Reference(Practitioner|PractitionerRole) Who authorized the vision prescription --></prescriber>
 <lensSpecification>  <!-- 1..* Vision lens authorization -->
  <product><!-- 1..1 CodeableConcept Product to be supplied --></product>
  <eye value="[code]"/><!-- 1..1 right | left -->
  <sphere value="[decimal]"/><!-- 0..1 Power of the lens -->
  <cylinder value="[decimal]"/><!-- 0..1 Lens power for astigmatism -->
  <axis value="[integer]"/><!-- 0..1 Lens meridian which contain no power for astigmatism -->
  <prism>  <!-- 0..* Eye alignment compensation -->
   <amount value="[decimal]"/><!-- 1..1 Amount of adjustment -->
   <base value="[code]"/><!-- 1..1 up | down | in | out -->

  </prism>
  <
  <
  <
  <
  <</duration>
  <
  <
  <</note>
 </dispense>

  <add value="[decimal]"/><!-- 0..1 Added power for multifocal levels -->
  <power value="[decimal]"/><!-- 0..1 Contact lens power -->
  <backCurve value="[decimal]"/><!-- 0..1 Contact lens back curvature -->
  <diameter value="[decimal]"/><!-- 0..1 Contact lens diameter -->
  <duration><!-- 0..1 Quantity(SimpleQuantity) Lens wear duration --></duration>
  <color value="[string]"/><!-- 0..1 Color required -->
  <brand value="[string]"/><!-- 0..1 Brand required -->
  <note><!-- 0..* Annotation Notes for coatings --></note>
 </lensSpecification>

</VisionPrescription>

JSON Template

{doco
  "resourceType" : "",

  "resourceType" : "VisionPrescription",

  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "
  "
  "
  "
  "
  "
  
  " },
  " },
  "
    "
    "
    "
    "
    "
    "
      "
      "

  "identifier" : [{ Identifier }], // Business Identifier for vision prescription
  "status" : "<code>", // R!  active | cancelled | draft | entered-in-error
  "created" : "<dateTime>", // R!  Response creation date
  "patient" : { Reference(Patient) }, // R!  Who prescription is for
  "encounter" : { Reference(Encounter) }, // Created during encounter / admission / stay
  "dateWritten" : "<dateTime>", // R!  When prescription was authorized
  "prescriber" : { Reference(Practitioner|PractitionerRole) }, // R!  Who authorized the vision prescription
  "lensSpecification" : [{ // R!  Vision lens authorization
    "product" : { CodeableConcept }, // R!  Product to be supplied
    "eye" : "<code>", // R!  right | left
    "sphere" : <decimal>, // Power of the lens
    "cylinder" : <decimal>, // Lens power for astigmatism
    "axis" : <integer>, // Lens meridian which contain no power for astigmatism
    "prism" : [{ // Eye alignment compensation
      "amount" : <decimal>, // R!  Amount of adjustment
      "base" : "<code>" // R!  up | down | in | out

    }],
    "
    "
    "
    "
    "
    "
    "
    "

    "add" : <decimal>, // Added power for multifocal levels
    "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

  }]
}

Turtle Template

@prefix fhir: <http://hl7.org/fhir/> .doco
[ a fhir:;

[ a fhir:VisionPrescription;

  fhir:nodeRole fhir:treeRoot; # if this is the parser root
  # from Resource: .id, .meta, .implicitRules, and .language
  # from DomainResource: .text, .contained, .extension, and .modifierExtension
  fhir:
  fhir:
  fhir:
  fhir:
  fhir:
  fhir:
  # . One of these 2
    fhir: ]
    fhir:) ]
  fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
      fhir:
      fhir:

  fhir:VisionPrescription.identifier [ Identifier ], ... ; # 0..* Business Identifier for vision prescription
  fhir:VisionPrescription.status [ code ]; # 1..1 active | cancelled | draft | entered-in-error
  fhir:VisionPrescription.created [ dateTime ]; # 1..1 Response creation date
  fhir:VisionPrescription.patient [ Reference(Patient) ]; # 1..1 Who prescription is for
  fhir:VisionPrescription.encounter [ Reference(Encounter) ]; # 0..1 Created during encounter / admission / stay
  fhir:VisionPrescription.dateWritten [ dateTime ]; # 1..1 When prescription was authorized
  fhir:VisionPrescription.prescriber [ Reference(Practitioner|PractitionerRole) ]; # 1..1 Who authorized the vision prescription
  fhir:VisionPrescription.lensSpecification [ # 1..* Vision lens authorization
    fhir:VisionPrescription.lensSpecification.product [ CodeableConcept ]; # 1..1 Product to be supplied
    fhir:VisionPrescription.lensSpecification.eye [ code ]; # 1..1 right | left
    fhir:VisionPrescription.lensSpecification.sphere [ decimal ]; # 0..1 Power of the lens
    fhir:VisionPrescription.lensSpecification.cylinder [ decimal ]; # 0..1 Lens power for astigmatism
    fhir:VisionPrescription.lensSpecification.axis [ integer ]; # 0..1 Lens meridian which contain no power for astigmatism
    fhir:VisionPrescription.lensSpecification.prism [ # 0..* Eye alignment compensation
      fhir:VisionPrescription.lensSpecification.prism.amount [ decimal ]; # 1..1 Amount of adjustment
      fhir:VisionPrescription.lensSpecification.prism.base [ code ]; # 1..1 up | down | in | out

    ], ...;
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:
    fhir:

    fhir:VisionPrescription.lensSpecification.add [ decimal ]; # 0..1 Added power for multifocal levels
    fhir:VisionPrescription.lensSpecification.power [ decimal ]; # 0..1 Contact lens power
    fhir:VisionPrescription.lensSpecification.backCurve [ decimal ]; # 0..1 Contact lens back curvature
    fhir:VisionPrescription.lensSpecification.diameter [ decimal ]; # 0..1 Contact lens diameter
    fhir:VisionPrescription.lensSpecification.duration [ Quantity(SimpleQuantity) ]; # 0..1 Lens wear duration
    fhir:VisionPrescription.lensSpecification.color [ string ]; # 0..1 Color required
    fhir:VisionPrescription.lensSpecification.brand [ string ]; # 0..1 Brand required
    fhir:VisionPrescription.lensSpecification.note [ Annotation ], ... ; # 0..* Notes for coatings

  ], ...;
]

Changes since DSTU2 Release 3

VisionPrescription
VisionPrescription.prescriber VisionPrescription.status
  • Type changed Change value set from Reference(Practitioner) http://hl7.org/fhir/ValueSet/fm-status|4.0.0 to Reference(Practitioner|PractitionerRole) http://hl7.org/fhir/ValueSet/fm-status|4.1.0
VisionPrescription.reason[x] VisionPrescription.lensSpecification.eye
  • Remove Reference(Condition), Add Reference(Condition) Change value set from http://hl7.org/fhir/ValueSet/vision-eye-codes|4.0.0 to http://hl7.org/fhir/ValueSet/vision-eye-codes|4.1.0
VisionPrescription.dispense.prism VisionPrescription.lensSpecification.prism.base
  • Max Cardinality changed from 1 to * Type changed Change value set from decimal http://hl7.org/fhir/ValueSet/vision-base-codes|4.0.0 to BackboneElement VisionPrescription.dispense.prism.amount Added Element VisionPrescription.dispense.prism.base Added Element VisionPrescription.dispense.base deleted http://hl7.org/fhir/ValueSet/vision-base-codes|4.1.0

See the Full Difference for further information

This analysis is available as XML or JSON .

See R2 <--> R3 <--> R4 Conversion Maps (status = 2 tests that all execute ok. 2 1 fail round-trip testing and all 2 r3 resources are valid.). Note: these have note yet been updated to be R3 to R4 invalid (0 errors). )

 

Alternate See the Profiles & Extensions and the alternate definitions: Master Definition XML + JSON , XML Schema / Schematron + JSON Schema , ShEx (for Turtle ) + see the extensions , the spreadsheet version & the dependency analysis a

Path Definition Type Reference
VisionPrescription.status A code specifying the state of the resource instance. Required Financial Resource Status Codes FinancialResourceStatusCodes
VisionPrescription.dispense.product VisionPrescription.lensSpecification.product A coded concept describing the vision products. Example Example Vision Prescription Product Codes ExampleVisionPrescriptionProductCodes
VisionPrescription.dispense.eye VisionPrescription.lensSpecification.eye A coded concept listing the eye codes. Required VisionEyes
VisionPrescription.dispense.prism.base VisionPrescription.lensSpecification.prism.base A coded concept listing the base codes. Required VisionBase

Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.

Name Type Description Expression In Common
datewritten date Return prescriptions written on this date VisionPrescription.dateWritten
encounter reference Return prescriptions with this encounter identifier VisionPrescription.encounter
( Encounter )
12 Resources
identifier token Return prescriptions with this external identifier VisionPrescription.identifier 26 30 Resources
patient reference The identity of a patient to list dispenses for VisionPrescription.patient
( Patient )
29 33 Resources
prescriber reference Who authorizes authorized the vision product prescription VisionPrescription.prescriber
( Practitioner , PractitionerRole )
status token The status of the vision prescription VisionPrescription.status