### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/VisionPrescription.json
### ----------------------------------------------------
### -- Chunk 6 of 7
map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.cylinder",
      "path" : "VisionPrescription.lensSpecification.cylinder",
      "short" : "Lens power for astigmatism",
      "definition" : "Power adjustment for astigmatism measured in dioptres (0.25 units).",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.cylinder",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.axis",
      "path" : "VisionPrescription.lensSpecification.axis",
      "short" : "Lens meridian which contain no power for astigmatism",
      "definition" : "Adjustment for astigmatism measured in integer degrees.",
      "comment" : "The limits are +180 and -180 degrees.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.axis",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "integer"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.prism",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Prism"
      }],
      "path" : "VisionPrescription.lensSpecification.prism",
      "short" : "Eye alignment compensation",
      "definition" : "Allows for adjustment on two axis.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.prism",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "VisionPrescription.lensSpecification.prism.id",
      "path" : "VisionPrescription.lensSpecification.prism.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.prism.extension",
      "path" : "VisionPrescription.lensSpecification.prism.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.prism.modifierExtension",
      "path" : "VisionPrescription.lensSpecification.prism.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.prism.amount",
      "path" : "VisionPrescription.lensSpecification.prism.amount",
      "short" : "Amount of adjustment",
      "definition" : "Amount of prism to compensate for eye alignment in fractional units.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.prism.amount",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.prism.base",
      "path" : "VisionPrescription.lensSpecification.prism.base",
      "short" : "up | down | in | out",
      "definition" : "The relative base, or reference lens edge, for the prism.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.prism.base",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "VisionBase"
        }],
        "strength" : "required",
        "description" : "A coded concept listing the base codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/vision-base-codes|4.0.0"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.add",
      "path" : "VisionPrescription.lensSpecification.add",
      "short" : "Added power for multifocal levels",
      "definition" : "Power adjustment for multifocal lenses measured in dioptres (0.25 units).",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.add",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.power",
      "path" : "VisionPrescription.lensSpecification.power",
      "short" : "Contact lens power",
      "definition" : "Contact lens power measured in dioptres (0.25 units).",
      "requirements" : "Standard contact lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.power",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.backCurve",
      "path" : "VisionPrescription.lensSpecification.backCurve",
      "short" : "Contact lens back curvature",
      "definition" : "Back curvature measured in millimetres.",
      "requirements" : "Standard contact lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.backCurve",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.diameter",
      "path" : "VisionPrescription.lensSpecification.diameter",
      "short" : "Contact lens diameter",
      "definition" : "Contact lens diameter measured in millimetres.",
      "requirements" : "Standard contact lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.diameter",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.duration",
      "path" : "VisionPrescription.lensSpecification.duration",
      "short" : "Lens wear duration",
      "definition" : "The recommended maximum wear period for the lens.",
      "requirements" : "Standard contact lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.duration",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.color",
      "path" : "VisionPrescription.lensSpecification.color",
      "short" : "Color required",
      "definition" : "Special color or pattern.",
      "requirements" : "Standard contact lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.color",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.brand",
      "path" : "VisionPrescription.lensSpecification.brand",
      "short" : "Brand required",
      "definition" : "Brand recommendations or restrictions.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.brand",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.note",
      "path" : "VisionPrescription.lensSpecification.note",
      "short" : "Notes for coatings",
      "definition" : "Notes for special requirements such as coatings and lens materials.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "VisionPrescription.lensSpecification.note",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Annotation"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "VisionPrescription",
      "path" : "VisionPrescription",
      "short" : "Prescription for vision correction products for a patient",
      "definition" : "An authorization for the provision of glasses and/or contact lenses to a patient.",
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request"
      },
      {
        "identity" : "rim",
        "map" : "CombinedVisionRequest"
      }]
    },
    {
      "id" : "VisionPrescription.identifier",
      "path" : "VisionPrescription.identifier",
      "short" : "Business Identifier for vision prescription",
      "definition" : "A unique identifier assigned to this vision prescription.",
      "requirements" : "Allows vision prescriptions to be distinguished and referenced.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "v2",
        "map" : "ORC-2-Placer Order Number / ORC-3-Filler Order Number"
      },
      {
        "identity" : "rim",
        "map" : "id"
      }]
    },
    {
      "id" : "VisionPrescription.status",
      "path" : "VisionPrescription.status",
      "short" : "active | cancelled | draft | entered-in-error",
      "definition" : "The status of the resource instance.",
      "comment" : "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
      "requirements" : "Need to track the status of the resource as 'draft' resources may undergo further edits while 'active' resources are immutable and may only have their status changed to 'cancelled'.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "VisionStatus"
        }],
        "strength" : "required",
        "description" : "A code specifying the state of the resource instance.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/fm-status|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.status"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.status"
      },
      {
        "identity" : "rim",
        "map" : "Act.status"
      }]
    },
    {
      "id" : "VisionPrescription.created",
      "path" : "VisionPrescription.created",
      "short" : "Response creation date",
      "definition" : "The date this resource was created.",
      "requirements" : "Need to record a timestamp for use by both the recipient and the issuer.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "isSummary" : true
    },
    {
      "id" : "VisionPrescription.patient",
      "path" : "VisionPrescription.patient",
      "short" : "Who prescription is for",
      "definition" : "A resource reference to the person to whom the vision prescription applies.",
      "requirements" : "Needed to identify the patient for whom the vision prescription has been issued.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.subject"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "v2",
        "map" : "PID-3-Patient ID List"
      },
      {
        "identity" : "rim",
        "map" : "subject.role"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "VisionPrescription.encounter",
      "path" : "VisionPrescription.encounter",
      "short" : "Created during encounter / admission / stay",
      "definition" : "A reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued.",
      "requirements" : "Used in some jurisdictions to link clinical events to claim items.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.context"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "v2",
        "map" : "PV1-19-Visit Number"
      },
      {
        "identity" : "rim",
        "map" : "componentOf.patientEncounter"
      }]
    },
    {
      "id" : "VisionPrescription.dateWritten",
      "path" : "VisionPrescription.dateWritten",
      "short" : "When prescription was authorized",
      "definition" : "The date (and perhaps time) when the prescription was written.",
      "comment" : "Jurisdictions determine the valid lifetime of a prescription. Typically vision prescriptions are valid for two years from the date written.",
      "requirements" : "Need to record a timestamp for use by both the recipient and the issuer.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.authoredOn"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      },
      {
        "identity" : "v2",
        "map" : "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction"
      },
      {
        "identity" : "rim",
        "map" : "author.time"
      }]
    },
    {
      "id" : "VisionPrescription.prescriber",
      "path" : "VisionPrescription.prescriber",
      "short" : "Who authorized the vision prescription",
      "definition" : "The healthcare professional responsible for authorizing the prescription.",
      "requirements" : "Need to record the authorizing practitioner.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.requester"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.author"
      },
      {
        "identity" : "v2",
        "map" : "RXE-13-Ordering Provider's DEA Number / RXO-14-Ordering Provider's DEA Number / RXE-14-Pharmacist/Treatment Supplier's Verifier ID / RXO-15-Pharmacist/Treatment Supplier's Verifier ID / ORC-12-Ordering Provider / PRT-5-Participation Person: PRT-4-Participation='OP' (all but last deprecated)"
      },
      {
        "identity" : "rim",
        "map" : "author.role"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification",
      "path" : "VisionPrescription.lensSpecification",
      "short" : "Vision lens authorization",
      "definition" : "Contain the details of  the individual lens specifications and serves as the authorization for the fullfillment by certified professionals.",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "component.supplyEvent"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.product",
      "path" : "VisionPrescription.lensSpecification.product",
      "short" : "Product to be supplied",
      "definition" : "Identifies the type of vision correction product which is required for the patient.",
      "requirements" : "Need to identify whether glasses or contacts.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "VisionProduct"
        }],
        "strength" : "example",
        "description" : "A coded concept describing the vision products.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/vision-product"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXE-2-Give Code / RXO-1-Requested Give Code / RXD-2-Dispense/Give Code"
      },
      {
        "identity" : "rim",
        "map" : "consumable.role"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.eye",
      "path" : "VisionPrescription.lensSpecification.eye",
      "short" : "right | left",
      "definition" : "The eye for which the lens specification applies.",
      "comment" : "May also appear as OD (oculus dexter) for the right eye and OS (oculus siniter) for the left eye.",
      "requirements" : "Needed to identify which eye the lens specification applies to.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "VisionEyes"
        }],
        "strength" : "required",
        "description" : "A coded concept listing the eye codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/vision-eye-codes|4.0.0"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.sphere",
      "path" : "VisionPrescription.lensSpecification.sphere",
      "short" : "Power of the lens",
      "definition" : "Lens power measured in dioptres (0.25 units).",
      "comment" : "The value is negative for near-sighted and positive for far sighted.\nOften insurance will not cover a lens with power between +75 and -75.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.cylinder",
      "path" : "VisionPrescription.lensSpecification.cylinder",
      "short" : "Lens power for astigmatism",
      "definition" : "Power adjustment for astigmatism measured in dioptres (0.25 units).",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.axis",
      "path" : "VisionPrescription.lensSpecification.axis",
      "short" : "Lens meridian which contain no power for astigmatism",
      "definition" : "Adjustment for astigmatism measured in integer degrees.",
      "comment" : "The limits are +180 and -180 degrees.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "integer"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.prism",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Prism"
      }],
      "path" : "VisionPrescription.lensSpecification.prism",
      "short" : "Eye alignment compensation",
      "definition" : "Allows for adjustment on two axis.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.prism.amount",
      "path" : "VisionPrescription.lensSpecification.prism.amount",
      "short" : "Amount of adjustment",
      "definition" : "Amount of prism to compensate for eye alignment in fractional units.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.prism.base",
      "path" : "VisionPrescription.lensSpecification.prism.base",
      "short" : "up | down | in | out",
      "definition" : "The relative base, or reference lens edge, for the prism.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "VisionBase"
        }],
        "strength" : "required",
        "description" : "A coded concept listing the base codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/vision-base-codes|4.0.0"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.add",
      "path" : "VisionPrescription.lensSpecification.add",
      "short" : "Added power for multifocal levels",
      "definition" : "Power adjustment for multifocal lenses measured in dioptres (0.25 units).",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.power",
      "path" : "VisionPrescription.lensSpecification.power",
      "short" : "Contact lens power",
      "definition" : "Contact lens power measured in dioptres (0.25 units).",
      "requirements" : "Standard contact lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.backCurve",
      "path" : "VisionPrescription.lensSpecification.backCurve",
      "short" : "Contact lens back curvature",
      "definition" : "Back curvature measured in millimetres.",
      "requirements" : "Standard contact lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.diameter",
      "path" : "VisionPrescription.lensSpecification.diameter",
      "short" : "Contact lens diameter",
      "definition" : "Contact lens diameter measured in millimetres.",
      "requirements" : "Standard contact lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.duration",
      "path" : "VisionPrescription.lensSpecification.duration",
      "short" : "Lens wear duration",
      "definition" : "The recommended maximum wear period for the lens.",
      "requirements" : "Standard contact lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.color",
      "path" : "VisionPrescription.lensSpecification.color",
      "short" : "Color required",
      "definition" : "Special color or pattern.",
      "requirements" : "Standard contact lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "VisionPrescription.lensSpecification.brand",
      "path" : "VisionPrescription.lensSpecification.brand",
      "short" : "Brand required",
      "definition" : "Brand recommendations or restrictions.",
      "requirements" : "Standard lens prescription measures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" :