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

Condition.questionnaire.json

Raw JSON (canonical form)

Generated Questionnaire for Condition

{
  "resourceType": "Questionnaire",
  "id": "qs1",
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "vs2",
      "url": "urn:uuid:e60b88bb-51e6-4853-beee-a0d99a418392",
      "name": "Type options for Condition.asserter",
      "description": "Type options for Condition.asserter",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:23+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Practitioner",
            "display": "Practitioner"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Patient",
            "display": "Patient"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs3",
      "url": "urn:uuid:35ce7ec4-fba4-463e-b031-2954c5edaa9c",
      "name": "Type options for Condition.onset[x]",
      "description": "Type options for Condition.onset[x]",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:23+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "dateTime",
            "display": "dateTime"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Age",
            "display": "Age"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs4",
      "url": "urn:uuid:98385d6c-4beb-435c-87dd-e5d314cfce6e",
      "name": "Type options for Condition.abatement[x]",
      "description": "Type options for Condition.abatement[x]",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:23+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "date",
            "display": "date"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Age",
            "display": "Age"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "boolean",
            "display": "boolean"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs5",
      "url": "urn:uuid:06a2c37c-ffa7-4392-8914-d1144f1aac92",
      "name": "Type options for Condition.dueTo.target",
      "description": "Type options for Condition.dueTo.target",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:23+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Condition",
            "display": "Condition"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Procedure",
            "display": "Procedure"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "MedicationAdministration",
            "display": "MedicationAdministration"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Immunization",
            "display": "Immunization"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "MedicationStatement",
            "display": "MedicationStatement"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs6",
      "url": "urn:uuid:516bc92b-c82b-4c49-b9ee-2c0764042595",
      "name": "Type options for Condition.occurredFollowing.target",
      "description": "Type options for Condition.occurredFollowing.target",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:23+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Condition",
            "display": "Condition"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Procedure",
            "display": "Procedure"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "MedicationAdministration",
            "display": "MedicationAdministration"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Immunization",
            "display": "Immunization"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "MedicationStatement",
            "display": "MedicationStatement"
          }
        ]
      }
    }
  ],
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986"
    }
  ],
  "status": "draft",
  "date": "2015-02-23T09:07:27+11:00",
  "publisher": "HL7 FHIR Project (Patient Care)",
  "group": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
        "valueString": "Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary."
      }
    ],
    "linkId": "Condition",
    "title": "Detailed information about conditions, problems or diagnoses",
    "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": "Condition.id",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.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": "Condition.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": "Condition.implicitRules",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.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": "Condition.language",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.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": "Condition.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": "Condition.contained",
        "text": "Contained, inline Resources",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "This records identifiers associated with this condition that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Identifier"
          }
        ],
        "linkId": "Condition.identifier",
        "text": "External Ids for this condition",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.identifier.label",
            "text": "label:",
            "type": "string",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Condition.identifier.system",
            "text": "system:",
            "type": "string",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Condition.identifier.value",
            "text": "value:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Indicates the patient who the condition record is associated with."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Reference"
          }
        ],
        "linkId": "Condition.subject",
        "required": true,
        "repeats": true,
        "question": [
          {
            "extension": [
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                "valueString": "/Patient?subject=$subj&patient=$subj&encounter=$encounter"
              }
            ],
            "linkId": "Condition.subject.value",
            "text": "Who has the condition?",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Encounter during which the condition was first asserted."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Reference"
          }
        ],
        "linkId": "Condition.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": "Condition.encounter.value",
            "text": "Encounter when condition first asserted",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Person who takes responsibility for asserting the existence of the condition as part of the electronic record."
          }
        ],
        "linkId": "Condition.asserter",
        "text": "Person who asserts this condition",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.asserter._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": "Reference"
                  }
                ],
                "linkId": "Condition.asserter._Practitioner",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Condition.asserter._Practitioner.value",
                    "text": "Practitioner",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Reference"
                  }
                ],
                "linkId": "Condition.asserter._Patient",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Condition.asserter._Patient.value",
                    "text": "Patient",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Estimated or actual date the condition/problem/diagnosis was first detected/suspected."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "datetime"
          }
        ],
        "linkId": "Condition.dateAsserted",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.dateAsserted.value",
            "text": "When first detected/suspected/entered",
            "type": "dateTime",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Identification of the condition, problem or diagnosis."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Condition.code",
        "text": "Identification of the condition, problem or diagnosis",
        "required": true,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.code.coding",
            "text": "code:",
            "type": "open-choice",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Condition.code.text",
            "text": "text:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A category assigned to the condition. E.g. complaint | symptom | finding | diagnosis. The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Condition.category",
        "text": "E.g. complaint | symptom | finding | diagnosis",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.category.coding",
            "text": "code:",
            "type": "open-choice",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Condition.category.text",
            "text": "text:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The clinical status of the condition."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "code"
          }
        ],
        "linkId": "Condition.status",
        "required": true,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.status.value",
            "text": "status",
            "type": "choice",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The degree of confidence that this condition is correct. May be a percentage."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Condition.certainty",
        "text": "Degree of confidence",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.certainty.coding",
            "text": "code:",
            "type": "open-choice",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Condition.certainty.text",
            "text": "text:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A subjective assessment of the severity of the condition as evaluated by the clinician. Coding of the severity with a terminology is preferred, where possible."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Condition.severity",
        "text": "Subjective severity of condition",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.severity.coding",
            "text": "code:",
            "type": "open-choice",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Condition.severity.text",
            "text": "text:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Estimated or actual date or date-time  the condition began, in the opinion of the clinician. Age is generally used when the patient reports an age at which the Condition began to occur."
          }
        ],
        "linkId": "Condition.onset[x]",
        "text": "Estimated or actual date,  date-time, or age",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.onset[x]._type",
            "text": "type",
            "type": "choice",
            "required": false,
            "repeats": false,
            "options": {
              "reference": "#vs3"
            },
            "group": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "Condition.onset[x]._dateTime",
                "question": [
                  {
                    "linkId": "Condition.onset[x]._dateTime.value",
                    "text": "dateTime",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Age"
                  }
                ],
                "linkId": "Condition.onset[x]._Age",
                "text": "Age",
                "question": [
                  {
                    "linkId": "Condition.onset[x]._Age.comparator",
                    "text": "comp:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Condition.onset[x]._Age.value",
                    "text": "value:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Condition.onset[x]._Age.units",
                    "text": "units:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate. There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated.\n\nIf there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid."
          }
        ],
        "linkId": "Condition.abatement[x]",
        "text": "If/when in resolution/remission",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.abatement[x]._type",
            "text": "type",
            "type": "choice",
            "required": false,
            "repeats": false,
            "options": {
              "reference": "#vs4"
            },
            "group": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "Condition.abatement[x]._date",
                "question": [
                  {
                    "linkId": "Condition.abatement[x]._date.value",
                    "text": "date",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Age"
                  }
                ],
                "linkId": "Condition.abatement[x]._Age",
                "text": "Age",
                "question": [
                  {
                    "linkId": "Condition.abatement[x]._Age.comparator",
                    "text": "comp:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Condition.abatement[x]._Age.value",
                    "text": "value:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Condition.abatement[x]._Age.units",
                    "text": "units:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "boolean"
                  }
                ],
                "linkId": "Condition.abatement[x]._boolean",
                "question": [
                  {
                    "linkId": "Condition.abatement[x]._boolean.value",
                    "text": "boolean",
                    "type": "boolean",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Clinical stage or grade of a condition. May include formal severity assessments."
          }
        ],
        "linkId": "Condition.stage",
        "title": "Stage/grade, usually assessed formally",
        "required": false,
        "repeats": false,
        "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": "Condition.stage.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.stage.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": "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Condition.stage.summary",
            "text": "Simple summary (disease specific)",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.stage.summary.coding",
                "text": "code:",
                "type": "open-choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Condition.stage.summary.text",
                "text": "text:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Reference to a formal record of the evidence on which the staging assessment is based."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Reference"
              }
            ],
            "linkId": "Condition.stage.assessment",
            "required": false,
            "repeats": true,
            "question": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                    "valueString": "/_search?subject=$subj&patient=$subj&encounter=$encounter"
                  }
                ],
                "linkId": "Condition.stage.assessment.value",
                "text": "Formal record of assessment",
                "type": "reference",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed."
          }
        ],
        "linkId": "Condition.evidence",
        "title": "Supporting evidence",
        "text": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.",
        "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": "Condition.evidence.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.evidence.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": "A manifestation or symptom that led to the recording of this condition."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Condition.evidence.code",
            "text": "Manifestation/symptom",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.evidence.code.coding",
                "text": "code:",
                "type": "open-choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Condition.evidence.code.text",
                "text": "text:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Links to other relevant information, including pathology reports."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Reference"
              }
            ],
            "linkId": "Condition.evidence.detail",
            "required": false,
            "repeats": true,
            "question": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                    "valueString": "/_search?subject=$subj&patient=$subj&encounter=$encounter"
                  }
                ],
                "linkId": "Condition.evidence.detail.value",
                "text": "Supporting information found elsewhere",
                "type": "reference",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The anatomical location where this condition manifests itself."
          }
        ],
        "linkId": "Condition.location",
        "title": "Anatomical location, if relevant",
        "text": "May be a summary code, or a reference to a very precise definition of the location, or both.",
        "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": "Condition.location.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.location.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": "Code that identifies the structural location. May include laterality."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Condition.location.code",
            "text": "Location - may include laterality",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.location.code.coding",
                "text": "code:",
                "type": "open-choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Condition.location.code.text",
                "text": "text:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Detailed anatomical location information."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "Condition.location.detail",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.location.detail.value",
                "text": "Precise location details",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Further conditions, problems, diagnoses, procedures or events or the substance that caused/triggered this Condition."
          }
        ],
        "linkId": "Condition.dueTo",
        "title": "Causes for this Condition",
        "text": "Although a condition may be caused by a substance, this is not intended to be used to record allergies/adverse reactions to substances.",
        "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": "Condition.dueTo.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.dueTo.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": "Code that identifies the target of this relationship. The code takes the place of a detailed instance target."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Condition.dueTo.codeableConcept",
            "text": "Relationship target by means of a predefined code",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.dueTo.codeableConcept.coding",
                "text": "code:",
                "type": "open-choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Condition.dueTo.codeableConcept.text",
                "text": "text:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Target of the relationship."
              }
            ],
            "linkId": "Condition.dueTo.target",
            "text": "Relationship target resource",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.dueTo.target._type",
                "text": "type",
                "type": "choice",
                "required": false,
                "repeats": false,
                "options": {
                  "reference": "#vs5"
                },
                "group": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Condition.dueTo.target._Condition",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/Condition?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Condition.dueTo.target._Condition.value",
                        "text": "Condition",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Condition.dueTo.target._Procedure",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/Procedure?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Condition.dueTo.target._Procedure.value",
                        "text": "Procedure",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Condition.dueTo.target._MedicationAdministration",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/MedicationAdministration?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Condition.dueTo.target._MedicationAdministration.value",
                        "text": "MedicationAdministration",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Condition.dueTo.target._Immunization",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/Immunization?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Condition.dueTo.target._Immunization.value",
                        "text": "Immunization",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Condition.dueTo.target._MedicationStatement",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/MedicationStatement?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Condition.dueTo.target._MedicationStatement.value",
                        "text": "MedicationStatement",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Further conditions, problems, diagnoses, procedures or events or the substance that preceded this Condition."
          }
        ],
        "linkId": "Condition.occurredFollowing",
        "title": "Precedent for this Condition",
        "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": "Condition.occurredFollowing.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.occurredFollowing.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": "Code that identifies the target of this relationship. The code takes the place of a detailed instance target."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Condition.occurredFollowing.codeableConcept",
            "text": "Relationship target by means of a predefined code",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.occurredFollowing.codeableConcept.coding",
                "text": "code:",
                "type": "open-choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Condition.occurredFollowing.codeableConcept.text",
                "text": "text:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Target of the relationship."
              }
            ],
            "linkId": "Condition.occurredFollowing.target",
            "text": "Relationship target resource",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Condition.occurredFollowing.target._type",
                "text": "type",
                "type": "choice",
                "required": false,
                "repeats": false,
                "options": {
                  "reference": "#vs6"
                },
                "group": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Condition.occurredFollowing.target._Condition",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/Condition?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Condition.occurredFollowing.target._Condition.value",
                        "text": "Condition",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Condition.occurredFollowing.target._Procedure",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/Procedure?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Condition.occurredFollowing.target._Procedure.value",
                        "text": "Procedure",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Condition.occurredFollowing.target._MedicationAdministration",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/MedicationAdministration?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Condition.occurredFollowing.target._MedicationAdministration.value",
                        "text": "MedicationAdministration",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Condition.occurredFollowing.target._Immunization",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/Immunization?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Condition.occurredFollowing.target._Immunization.value",
                        "text": "Immunization",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Condition.occurredFollowing.target._MedicationStatement",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/MedicationStatement?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Condition.occurredFollowing.target._MedicationStatement.value",
                        "text": "MedicationStatement",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "Condition.notes",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Condition.notes.value",
            "text": "Additional information about the Condition",
            "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.