2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Visionprescription.questionnaire.json

Raw JSON (canonical form)

Generated Questionnaire for VisionPrescription

{
  "resourceType": "Questionnaire",
  "id": "qs1",
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "vs2",
      "url": "urn:uuid:16c46d01-b685-4a70-b675-8464fdc818ea",
      "name": "Type options for VisionPrescription.reason[x]",
      "description": "Type options for VisionPrescription.reason[x]",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:24:19+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "CodeableConcept",
            "display": "CodeableConcept"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Condition",
            "display": "Condition"
          }
        ]
      }
    }
  ],
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986"
    }
  ],
  "status": "draft",
  "date": "2015-02-23T09:07:27+11:00",
  "publisher": "HL7 FHIR Project (Financial Management)",
  "group": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
        "valueString": "An authorization for the supply of glasses and/or contact lenses to a patient."
      }
    ],
    "linkId": "VisionPrescription",
    "title": "Prescription for Vision correction products for a patient",
    "required": true,
    "repeats": false,
    "group": [
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes. The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "VisionPrescription.id",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "VisionPrescription.id.value",
            "text": "Logical id of this artefact",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."
          }
        ],
        "linkId": "VisionPrescription.meta",
        "text": "Metadata about the resource",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "uri"
          }
        ],
        "linkId": "VisionPrescription.implicitRules",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "VisionPrescription.implicitRules.value",
            "text": "A set of rules under which this content was created",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The base language in which the resource is written. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource\n\nNot all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "code"
          }
        ],
        "linkId": "VisionPrescription.language",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "VisionPrescription.language.value",
            "text": "language",
            "type": "choice",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."
          }
        ],
        "linkId": "VisionPrescription.text",
        "text": "Text summary of the resource, for human interpretation",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."
          }
        ],
        "linkId": "VisionPrescription.contained",
        "text": "Contained, inline Resources",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Business identifier which may be used by other parties to reference or identify the prescription."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Identifier"
          }
        ],
        "linkId": "VisionPrescription.identifier",
        "text": "Business identifier",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "VisionPrescription.identifier.label",
            "text": "label:",
            "type": "string",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "VisionPrescription.identifier.system",
            "text": "system:",
            "type": "string",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "VisionPrescription.identifier.value",
            "text": "value:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The date (and perhaps time) when the prescription was written."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "datetime"
          }
        ],
        "linkId": "VisionPrescription.dateWritten",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "VisionPrescription.dateWritten.value",
            "text": "When prescription was authorized",
            "type": "dateTime",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A link to a resource representing the person to whom the Vision products will be supplied."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Reference"
          }
        ],
        "linkId": "VisionPrescription.patient",
        "required": false,
        "repeats": true,
        "question": [
          {
            "extension": [
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                "valueString": "/Patient?subject=$subj&patient=$subj&encounter=$encounter"
              }
            ],
            "linkId": "VisionPrescription.patient.value",
            "text": "Who prescription is for",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The healthcare professional responsible for authorizing the prescription."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Reference"
          }
        ],
        "linkId": "VisionPrescription.prescriber",
        "required": false,
        "repeats": true,
        "question": [
          {
            "extension": [
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                "valueString": "/Practitioner?subject=$subj&patient=$subj&encounter=$encounter"
              }
            ],
            "linkId": "VisionPrescription.prescriber.value",
            "text": "Who authorizes the Vision product",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A link to a resource that identifies the particular occurrence of contact between patient and health care provider."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Reference"
          }
        ],
        "linkId": "VisionPrescription.encounter",
        "required": false,
        "repeats": true,
        "question": [
          {
            "extension": [
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                "valueString": "/Encounter?subject=$subj&patient=$subj&encounter=$encounter"
              }
            ],
            "linkId": "VisionPrescription.encounter.value",
            "text": "Created during encounter / admission / stay",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Can be the reason or the indication for writing the prescription."
          }
        ],
        "linkId": "VisionPrescription.reason[x]",
        "text": "Reason or indication for writing the prescription",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "VisionPrescription.reason[x]._type",
            "text": "type",
            "type": "choice",
            "required": false,
            "repeats": false,
            "options": {
              "reference": "#vs2"
            },
            "group": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "CodeableConcept"
                  }
                ],
                "linkId": "VisionPrescription.reason[x]._CodeableConcept",
                "text": "CodeableConcept",
                "question": [
                  {
                    "linkId": "VisionPrescription.reason[x]._CodeableConcept.coding",
                    "text": "code:",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "VisionPrescription.reason[x]._CodeableConcept.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Reference"
                  }
                ],
                "linkId": "VisionPrescription.reason[x]._Condition",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Condition?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "VisionPrescription.reason[x]._Condition.value",
                    "text": "Condition",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Deals with details of the dispense part of the supply specification."
          }
        ],
        "linkId": "VisionPrescription.dispense",
        "title": "Vision supply authorization",
        "required": false,
        "repeats": true,
        "group": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "unique id for the element within a resource (for internal references)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "VisionPrescription.dispense.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.id.value",
                "text": "xml:id (or equivalent in JSON)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Identifies the type of Vision correction product which is required for the patient."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Coding"
              }
            ],
            "linkId": "VisionPrescription.dispense.product",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.product.value",
                "text": "Product to be supplied",
                "type": "open-choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The eye for which the lens applies."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "VisionPrescription.dispense.eye",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.eye.value",
                "text": "eye",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Lens power measured in diopters (0.25 units)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "decimal"
              }
            ],
            "linkId": "VisionPrescription.dispense.sphere",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.sphere.value",
                "text": "Lens sphere",
                "type": "decimal",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Power adjustment for astigmatism measured in diopters (0.25 units)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "decimal"
              }
            ],
            "linkId": "VisionPrescription.dispense.cylinder",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.cylinder.value",
                "text": "Lens cylinder",
                "type": "decimal",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Adjustment for astigmatism measured in integer degrees."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "integer"
              }
            ],
            "linkId": "VisionPrescription.dispense.axis",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.axis.value",
                "text": "Lens axis",
                "type": "integer",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Amount of prism to compensate for eye alignment in fractional units."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "decimal"
              }
            ],
            "linkId": "VisionPrescription.dispense.prism",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.prism.value",
                "text": "Lens prism",
                "type": "decimal",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The relative base, or reference lens edge, for the prism."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "VisionPrescription.dispense.base",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.base.value",
                "text": "base",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Power adjustment for multifocal lenses measured in diopters (0.25 units)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "decimal"
              }
            ],
            "linkId": "VisionPrescription.dispense.add",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.add.value",
                "text": "Lens add",
                "type": "decimal",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Contact lens power measured in diopters (0.25 units)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "decimal"
              }
            ],
            "linkId": "VisionPrescription.dispense.power",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.power.value",
                "text": "Contact Lens power",
                "type": "decimal",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Back Curvature measured in millimeters."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "decimal"
              }
            ],
            "linkId": "VisionPrescription.dispense.backCurve",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.backCurve.value",
                "text": "Contact lens back curvature",
                "type": "decimal",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Contact lens diameter measured in millimeters."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "decimal"
              }
            ],
            "linkId": "VisionPrescription.dispense.diameter",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.diameter.value",
                "text": "Contact Lens diameter",
                "type": "decimal",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The recommended maximum wear period for the lens."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Quantity"
              }
            ],
            "linkId": "VisionPrescription.dispense.duration",
            "text": "Lens wear duration",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.duration.comparator",
                "text": "comp:",
                "type": "choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "VisionPrescription.dispense.duration.value",
                "text": "value:",
                "type": "decimal",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "VisionPrescription.dispense.duration.units",
                "text": "units:",
                "type": "string",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "VisionPrescription.dispense.duration.code",
                "text": "coded units:",
                "type": "string",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "VisionPrescription.dispense.duration.system",
                "text": "units system:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Special color or pattern."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "VisionPrescription.dispense.color",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.color.value",
                "text": "Lens add",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Brand recommendations or restrictions."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "VisionPrescription.dispense.brand",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.brand.value",
                "text": "Lens add",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Notes for special requirements such as coatings and lens materials."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "VisionPrescription.dispense.notes",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "VisionPrescription.dispense.notes.value",
                "text": "Notes for coatings",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      }
    ]
  }
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.