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

Operationdefinition.questionnaire.json

Raw JSON (canonical form)

Generated Questionnaire for OperationDefinition

{
  "resourceType": "Questionnaire",
  "id": "qs1",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986"
    }
  ],
  "status": "draft",
  "date": "2015-02-23T09:07:27+11:00",
  "publisher": "HL7 FHIR Project (FHIR Management Group)",
  "group": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
        "valueString": "A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction)."
      }
    ],
    "linkId": "OperationDefinition",
    "title": "Definition of an operation or a named query",
    "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": "OperationDefinition.id",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.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": "OperationDefinition.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": "OperationDefinition.implicitRules",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.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": "OperationDefinition.language",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.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": "OperationDefinition.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": "OperationDefinition.contained",
        "text": "Contained, inline Resources",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The url that is used to identify this operation definition when it is referenced in a specification, model, design or an instance (should be globally unique uri). Can be a urn:uuid: or a urn:oid:."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "uri"
          }
        ],
        "linkId": "OperationDefinition.url",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.url.value",
            "text": "Logical url to reference this operation definition",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "OperationDefinition.version",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.version.value",
            "text": "Logical id for this version of the operation definition",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A free text natural language name identifying the Profile. Not expected to be globally unique."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "OperationDefinition.name",
        "required": true,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.name.value",
            "text": "Informal name for this profile",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The name of the individual or organization that published the operation definition. Usually an organization, but may be an individual. This item SHOULD be populated unless the information is available from context."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "OperationDefinition.publisher",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.publisher.value",
            "text": "Name of the publisher (Organization or individual)",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Contacts to assist a user in finding and communicating with the publisher."
          }
        ],
        "linkId": "OperationDefinition.contact",
        "title": "Contact details of the publisher",
        "text": "May be a web site, an email address, a telephone number (tel:), etc.",
        "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": "OperationDefinition.contact.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "OperationDefinition.contact.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 name of an individual to contact regarding the operation definition. If there is no named individual, the telecom is for the organization as a whole."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "OperationDefinition.contact.name",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "OperationDefinition.contact.name.value",
                "text": "Name of a individual to contact",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Contact details for individual (if a name was provided) or the publisher."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "ContactPoint"
              }
            ],
            "linkId": "OperationDefinition.contact.telecom",
            "text": "Contact details for individual or publisher",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "OperationDefinition.contact.telecom.system",
                "text": "type:",
                "type": "choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "OperationDefinition.contact.telecom.value",
                "text": "value:",
                "type": "string",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "OperationDefinition.contact.telecom.use",
                "text": "use:",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A free text natural language description of the profile and its use. This field can be used for things such as why the profile was written, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc.  It is *not* a rendering of the profile as conveyed in Profile.text. This item SHOULD be populated unless the information is available from context."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "OperationDefinition.description",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.description.value",
            "text": "Natural language description of the operation",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Explains why this operation definition is needed and why it's been constrained as it has. This element does not describe the usage of the operation definition (that's done in comments), rather it's for traceability of *why* the element is either needed or why the constraints exist as they do.  This may be used to point to source materials or specifications that drove the structure of this data element."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "OperationDefinition.requirements",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.requirements.value",
            "text": "Why is this needed?",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The status of the profile."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "code"
          }
        ],
        "linkId": "OperationDefinition.status",
        "required": true,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.status.value",
            "text": "status",
            "type": "choice",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "boolean"
          }
        ],
        "linkId": "OperationDefinition.experimental",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.experimental.value",
            "text": "If for testing purposes, not real usage",
            "type": "boolean",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The date that this version of the profile was published."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "datetime"
          }
        ],
        "linkId": "OperationDefinition.date",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.date.value",
            "text": "Date for this version of the operation definition",
            "type": "dateTime",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Whether this is operation or named query. Named queries are invoked differently, and have different capabilities."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "code"
          }
        ],
        "linkId": "OperationDefinition.kind",
        "required": true,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.kind.value",
            "text": "kind",
            "type": "choice",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The name used to invoke the operation."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "code"
          }
        ],
        "linkId": "OperationDefinition.code",
        "required": true,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.code.value",
            "text": "code",
            "type": "choice",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Additional information about how to use this operation or named query."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "OperationDefinition.notes",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.notes.value",
            "text": "Additional information about use",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Indicates that this operation definition is a constraining profile on the base. A constrained profile can make optional parameters required or not used and clarify documentation."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Reference"
          }
        ],
        "linkId": "OperationDefinition.base",
        "required": false,
        "repeats": true,
        "question": [
          {
            "extension": [
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                "valueString": "/OperationDefinition?subject=$subj&patient=$subj&encounter=$encounter"
              }
            ],
            "linkId": "OperationDefinition.base.value",
            "text": "Marks this as a profile of the base",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "boolean"
          }
        ],
        "linkId": "OperationDefinition.system",
        "required": true,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.system.value",
            "text": "Invoke at the system level?",
            "type": "boolean",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "code"
          }
        ],
        "linkId": "OperationDefinition.type",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.type.value",
            "text": "type",
            "type": "choice",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Indicates whether this operation can be invoked on a particular instance of one of the given types."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "boolean"
          }
        ],
        "linkId": "OperationDefinition.instance",
        "required": true,
        "repeats": true,
        "question": [
          {
            "linkId": "OperationDefinition.instance.value",
            "text": "Invoke on an instance?",
            "type": "boolean",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The parameters for the operation/query."
          }
        ],
        "linkId": "OperationDefinition.parameter",
        "title": "Parameters for the operation/query",
        "text": "Query Definitions only have one output parameter, named \"result\". This may not be described, but can be to allow a profile to be defined.",
        "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": "OperationDefinition.parameter.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "OperationDefinition.parameter.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 name of used to identify the parameter. This name must be a token (start with a letter in a..z, and only contain letters, numerals, and underscore."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "OperationDefinition.parameter.name",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "OperationDefinition.parameter.name.value",
                "text": "name",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Whether this is an input or an output parameter. If a parameter name is used for both an input and an output parameter, the parameter should be defined twice."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "OperationDefinition.parameter.use",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "OperationDefinition.parameter.use.value",
                "text": "use",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The minimum number of times this parameter SHALL appear in the request or response."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "integer"
              }
            ],
            "linkId": "OperationDefinition.parameter.min",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "OperationDefinition.parameter.min.value",
                "text": "Minimum Cardinality",
                "type": "integer",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The maximum number of times this element is permitted to appear in the request or response."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "OperationDefinition.parameter.max",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "OperationDefinition.parameter.max.value",
                "text": "Maximum Cardinality (a number or *)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Describes the meaning or use of this parameter."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "OperationDefinition.parameter.documentation",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "OperationDefinition.parameter.documentation.value",
                "text": "Description of meaning/use",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The type for this parameter. if there is no stated parameter, then the parameter is a \"Tuple\" type and must have at least one part defined."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "OperationDefinition.parameter.type",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "OperationDefinition.parameter.type.value",
                "text": "type",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "A profile the specifies the rules that this parameter must conform to."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Reference"
              }
            ],
            "linkId": "OperationDefinition.parameter.profile",
            "required": false,
            "repeats": true,
            "question": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                    "valueString": "/Profile?subject=$subj&patient=$subj&encounter=$encounter"
                  }
                ],
                "linkId": "OperationDefinition.parameter.profile.value",
                "text": "Profile on the type",
                "type": "reference",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The parts of a Tuple Parameter."
              }
            ],
            "linkId": "OperationDefinition.parameter.part",
            "title": "Parts of a Tuple Parameter",
            "text": "Query Definitions only have one output parameter, named \"result\". This may not be described, but can be to allow a profile to be defined.",
            "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": "OperationDefinition.parameter.part.id",
                "required": false,
                "repeats": true,
                "question": [
                  {
                    "linkId": "OperationDefinition.parameter.part.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 name of used to identify the parameter. This name must be a token (start with a letter in a..z, and only contain letters, numerals, and underscore."
                  },
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "code"
                  }
                ],
                "linkId": "OperationDefinition.parameter.part.name",
                "required": true,
                "repeats": true,
                "question": [
                  {
                    "linkId": "OperationDefinition.parameter.part.name.value",
                    "text": "name",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                    "valueString": "The minimum number of times this parameter SHALL appear in the request or response."
                  },
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "OperationDefinition.parameter.part.min",
                "required": true,
                "repeats": true,
                "question": [
                  {
                    "linkId": "OperationDefinition.parameter.part.min.value",
                    "text": "Minimum Cardinality",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                    "valueString": "The maximum number of times this element is permitted to appear in the request or response."
                  },
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "OperationDefinition.parameter.part.max",
                "required": true,
                "repeats": true,
                "question": [
                  {
                    "linkId": "OperationDefinition.parameter.part.max.value",
                    "text": "Maximum Cardinality (a number or *)",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                    "valueString": "Describes the meaning or use of this parameter."
                  },
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "OperationDefinition.parameter.part.documentation",
                "required": false,
                "repeats": true,
                "question": [
                  {
                    "linkId": "OperationDefinition.parameter.part.documentation.value",
                    "text": "Description of meaning/use",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                    "valueString": "The type for this parameter."
                  },
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "code"
                  }
                ],
                "linkId": "OperationDefinition.parameter.part.type",
                "required": true,
                "repeats": true,
                "question": [
                  {
                    "linkId": "OperationDefinition.parameter.part.type.value",
                    "text": "type",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                    "valueString": "A profile the specifies the rules that this parameter must conform to."
                  },
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Reference"
                  }
                ],
                "linkId": "OperationDefinition.parameter.part.profile",
                "required": false,
                "repeats": true,
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Profile?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "OperationDefinition.parameter.part.profile.value",
                    "text": "Profile on the type",
                    "type": "reference",
                    "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.