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

Procedure.questionnaire.json

Raw JSON (canonical form)

Generated Questionnaire for Procedure

{
  "resourceType": "Questionnaire",
  "id": "qs1",
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "vs2",
      "url": "urn:uuid:65ae324e-922d-4003-96ca-b05a06ac0667",
      "name": "Type options for Procedure.relatedItem.target",
      "description": "Type options for Procedure.relatedItem.target",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:23:22+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "AllergyIntolerance",
            "display": "AllergyIntolerance"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "CarePlan",
            "display": "CarePlan"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Condition",
            "display": "Condition"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "DiagnosticReport",
            "display": "DiagnosticReport"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "FamilyHistory",
            "display": "FamilyHistory"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "ImagingStudy",
            "display": "ImagingStudy"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Immunization",
            "display": "Immunization"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "ImmunizationRecommendation",
            "display": "ImmunizationRecommendation"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "MedicationAdministration",
            "display": "MedicationAdministration"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "MedicationDispense",
            "display": "MedicationDispense"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "MedicationPrescription",
            "display": "MedicationPrescription"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "MedicationStatement",
            "display": "MedicationStatement"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Observation",
            "display": "Observation"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Procedure",
            "display": "Procedure"
          }
        ]
      }
    }
  ],
  "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": "An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy."
      }
    ],
    "linkId": "Procedure",
    "title": "An action that is performed on 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": "Procedure.id",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.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": "Procedure.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": "Procedure.implicitRules",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.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": "Procedure.language",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.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": "Procedure.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": "Procedure.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 procedure 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": "Procedure.identifier",
        "text": "External Ids for this procedure",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.identifier.label",
            "text": "label:",
            "type": "string",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Procedure.identifier.system",
            "text": "system:",
            "type": "string",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Procedure.identifier.value",
            "text": "value:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The person on whom the procedure was performed."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Reference"
          }
        ],
        "linkId": "Procedure.patient",
        "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": "Procedure.patient.value",
            "text": "Who procedure was performed on",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The specific procedure that is performed. Use text if the exact nature of the procedure can't be coded."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Procedure.type",
        "text": "Identification of the procedure",
        "required": true,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.type.coding",
            "text": "code:",
            "type": "open-choice",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Procedure.type.text",
            "text": "text:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Procedure.bodySite",
        "text": "Precise location details",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.bodySite.coding",
            "text": "code:",
            "type": "open-choice",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Procedure.bodySite.text",
            "text": "text:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text. e.g. endoscopy for dilatation and biopsy, combination diagnosis and therapuetic."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Procedure.indication",
        "text": "Reason procedure performed",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.indication.coding",
            "text": "code:",
            "type": "open-choice",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Procedure.indication.text",
            "text": "text:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Limited to 'real' people rather than equipment."
          }
        ],
        "linkId": "Procedure.performer",
        "title": "The people who performed the procedure",
        "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": "Procedure.performer.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Procedure.performer.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": "The practitioner who was involved in the procedure."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Reference"
              }
            ],
            "linkId": "Procedure.performer.person",
            "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": "Procedure.performer.person.value",
                "text": "The reference to the practitioner",
                "type": "reference",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "E.g. surgeon, anaethetist, endoscopist."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Procedure.performer.role",
            "text": "The role the person was in",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Procedure.performer.role.coding",
                "text": "code:",
                "type": "open-choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Procedure.performer.role.text",
                "text": "text:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The dates over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Period"
          }
        ],
        "linkId": "Procedure.date",
        "text": "The date the procedure was performed",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.date.low",
            "text": "start:",
            "type": "dateTime",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Procedure.date.end",
            "text": "end:",
            "type": "dateTime",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The encounter during which the procedure was performed."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Reference"
          }
        ],
        "linkId": "Procedure.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": "Procedure.encounter.value",
            "text": "The encounter when procedure performed",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "What was the outcome of the procedure - did it resolve reasons why the procedure was performed?."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "Procedure.outcome",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.outcome.value",
            "text": "What was result of procedure?",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "This could be a histology result. There could potentially be multiple reports - e.g. if this was a procedure that made multiple biopsies."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Reference"
          }
        ],
        "linkId": "Procedure.report",
        "required": false,
        "repeats": true,
        "question": [
          {
            "extension": [
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                "valueString": "/DiagnosticReport?subject=$subj&patient=$subj&encounter=$encounter"
              }
            ],
            "linkId": "Procedure.report.value",
            "text": "Any report that results from the procedure",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Any complications that occurred during the procedure, or in the immediate post-operative period. These are generally tracked separately from the notes, which typically will describe the procedure itself rather than any 'post procedure' issues."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Procedure.complication",
        "text": "Complication following the procedure",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.complication.coding",
            "text": "code:",
            "type": "open-choice",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Procedure.complication.text",
            "text": "text:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or potentially could be more complex in which case the CarePlan resource can be used."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "Procedure.followUp",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.followUp.value",
            "text": "Instructions for follow up",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Procedures may be related to other items such as procedures or medications. For example treating wound dehiscence following a previous procedure."
          }
        ],
        "linkId": "Procedure.relatedItem",
        "title": "A procedure that is related to this one",
        "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": "Procedure.relatedItem.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Procedure.relatedItem.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": "The nature of the relationship."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "Procedure.relatedItem.type",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Procedure.relatedItem.type.value",
                "text": "type",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The related item - e.g. a procedure."
              }
            ],
            "linkId": "Procedure.relatedItem.target",
            "text": "The related item - e.g. a procedure",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Procedure.relatedItem.target._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": "Procedure.relatedItem.target._AllergyIntolerance",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/AllergyIntolerance?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._AllergyIntolerance.value",
                        "text": "AllergyIntolerance",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Procedure.relatedItem.target._CarePlan",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/CarePlan?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._CarePlan.value",
                        "text": "CarePlan",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Procedure.relatedItem.target._Condition",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/Condition?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.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": "Procedure.relatedItem.target._DiagnosticReport",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/DiagnosticReport?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._DiagnosticReport.value",
                        "text": "DiagnosticReport",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Procedure.relatedItem.target._FamilyHistory",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/FamilyHistory?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._FamilyHistory.value",
                        "text": "FamilyHistory",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Procedure.relatedItem.target._ImagingStudy",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/ImagingStudy?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._ImagingStudy.value",
                        "text": "ImagingStudy",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Procedure.relatedItem.target._Immunization",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/Immunization?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.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": "Procedure.relatedItem.target._ImmunizationRecommendation",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/ImmunizationRecommendation?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._ImmunizationRecommendation.value",
                        "text": "ImmunizationRecommendation",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Procedure.relatedItem.target._MedicationAdministration",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/MedicationAdministration?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.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": "Procedure.relatedItem.target._MedicationDispense",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/MedicationDispense?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._MedicationDispense.value",
                        "text": "MedicationDispense",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Procedure.relatedItem.target._MedicationPrescription",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/MedicationPrescription?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._MedicationPrescription.value",
                        "text": "MedicationPrescription",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Procedure.relatedItem.target._MedicationStatement",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/MedicationStatement?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._MedicationStatement.value",
                        "text": "MedicationStatement",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Procedure.relatedItem.target._Observation",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/Observation?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._Observation.value",
                        "text": "Observation",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "Procedure.relatedItem.target._Procedure",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/Procedure?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Procedure.relatedItem.target._Procedure.value",
                        "text": "Procedure",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Any other notes about the procedure - e.g. the operative notes."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "Procedure.notes",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Procedure.notes.value",
            "text": "Additional information about procedure",
            "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.