{
  "resourceType": "Questionnaire",
  "id": "qgen-Invoice1",
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "vs2",
      "name": "Type options for Invoice.period[x]",
      "status": "active",
      "description": "Type options for Invoice.period[x]",
      "expansion": {
        "identifier": "urn:uuid:2b505edc-ad79-468d-a3e8-1f74131ac3eb",
        "timestamp": "2023-03-26T15:25:05+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/fhir-types",
            "code": "date",
            "display": "date"
          },
          {
            "system": "http://hl7.org/fhir/fhir-types",
            "code": "Period",
            "display": "Period"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs3",
      "name": "Type options for Invoice.lineItem.serviced[x]",
      "status": "active",
      "description": "Type options for Invoice.lineItem.serviced[x]",
      "expansion": {
        "identifier": "urn:uuid:b2663267-2db8-414a-aea5-706a1232ed15",
        "timestamp": "2023-03-26T15:25:05+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/fhir-types",
            "code": "date",
            "display": "date"
          },
          {
            "system": "http://hl7.org/fhir/fhir-types",
            "code": "Period",
            "display": "Period"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs4",
      "name": "Type options for Invoice.lineItem.chargeItem[x]",
      "status": "active",
      "description": "Type options for Invoice.lineItem.chargeItem[x]",
      "expansion": {
        "identifier": "urn:uuid:66fcf138-35be-4353-9096-3312157c431b",
        "timestamp": "2023-03-26T15:25:05+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/fhir-types",
            "code": "ChargeItem",
            "display": "ChargeItem"
          },
          {
            "system": "http://hl7.org/fhir/fhir-types",
            "code": "CodeableConcept",
            "display": "CodeableConcept"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/Questionnaire/qgen-Invoice1",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986"
    }
  ],
  "version": "5.0.0",
  "status": "draft",
  "experimental": false,
  "date": "2023-03-26T15:21:02+11:00",
  "publisher": "Health Level Seven International (Financial Management)",
  "item": [
    {
      "linkId": "Invoice",
      "text": "Invoice containing ChargeItems from an Account",
      "type": "group",
      "required": false,
      "repeats": true,
      "item": [
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "flyover",
                    "display": "Fly-over"
                  }
                ]
              }
            }
          ],
          "linkId": "Invoice-flyover",
          "text": "Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose.",
          "type": "display"
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "string"
            }
          ],
          "linkId": "Invoice.id",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.id-flyover",
              "text": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.",
              "type": "display"
            },
            {
              "linkId": "Invoice.id.value",
              "text": "Logical id of this artifact",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Invoice.meta",
          "text": "Metadata about the resource",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.meta-flyover",
              "text": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "uri"
            }
          ],
          "linkId": "Invoice.implicitRules",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.implicitRules-flyover",
              "text": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. 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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.",
              "type": "display"
            },
            {
              "linkId": "Invoice.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/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "code"
            }
          ],
          "linkId": "Invoice.language",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.language-flyover",
              "text": "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. Not 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).",
              "type": "display"
            },
            {
              "linkId": "Invoice.language.value",
              "text": "language",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOrType"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Invoice.text",
          "text": "Text summary of the resource, for human interpretation",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.text-flyover",
              "text": "A human-readable narrative that contains a summary of the resource and can 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 a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs\u003d1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "Invoice.contained",
          "text": "Contained, inline Resources",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.contained-flyover",
              "text": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning. 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. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "Invoice.extension",
          "text": "Additional content defined by implementations",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.extension-flyover",
              "text": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "Invoice.modifierExtension",
          "text": "Extensions that cannot be ignored",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.modifierExtension-flyover",
              "text": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Identifier"
            }
          ],
          "linkId": "Invoice.identifier",
          "text": "Business Identifier for item",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.identifier-flyover",
              "text": "Identifier of this Invoice, often used for reference in correspondence about this invoice or for tracking of payments.",
              "type": "display"
            },
            {
              "linkId": "Invoice.identifier.label",
              "text": "label:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Invoice.identifier.system",
              "text": "system:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Invoice.identifier.value",
              "text": "value:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "code"
            }
          ],
          "linkId": "Invoice.status",
          "type": "group",
          "required": true,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.status-flyover",
              "text": "The current state of the Invoice.",
              "type": "display"
            },
            {
              "linkId": "Invoice.status.value",
              "text": "status",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOrType"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "string"
            }
          ],
          "linkId": "Invoice.cancelledReason",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.cancelledReason-flyover",
              "text": "In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.). Derived Profiles may choose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled.",
              "type": "display"
            },
            {
              "linkId": "Invoice.cancelledReason.value",
              "text": "Reason for cancellation of this Invoice",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "CodeableConcept"
            }
          ],
          "linkId": "Invoice.type",
          "text": "Type of Invoice",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.type-flyover",
              "text": "Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary).",
              "type": "display"
            },
            {
              "linkId": "Invoice.type.coding",
              "text": "code:",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOnly"
            },
            {
              "linkId": "Invoice.type.text",
              "text": "text:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "Invoice.subject",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.subject-flyover",
              "text": "The individual or set of individuals receiving the goods and services billed in this invoice.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Patient, Group"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "Invoice.subject.value",
              "text": "Recipient(s) of goods and services",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "Invoice.recipient",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.recipient-flyover",
              "text": "The individual or Organization responsible for balancing of this invoice.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Organization, Patient, RelatedPerson"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "Invoice.recipient.value",
              "text": "Recipient of this invoice",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "datetime"
            }
          ],
          "linkId": "Invoice.date",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.date-flyover",
              "text": "Depricared by the element below.",
              "type": "display"
            },
            {
              "linkId": "Invoice.date.value",
              "text": "DEPRICATED",
              "type": "dateTime",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "datetime"
            }
          ],
          "linkId": "Invoice.creation",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.creation-flyover",
              "text": "Date/time(s) of when this Invoice was posted. The list of types may be constrained as appropriate for the type of charge item.",
              "type": "display"
            },
            {
              "linkId": "Invoice.creation.value",
              "text": "When posted",
              "type": "dateTime",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Invoice.period[x]",
          "text": "Billing date or period",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.period[x]-flyover",
              "text": "Date/time(s) range of services included in this invoice.",
              "type": "display"
            },
            {
              "linkId": "Invoice.period[x]._type",
              "text": "type",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOnly",
              "answerValueSet": "#vs2",
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "datetime"
                    }
                  ],
                  "linkId": "Invoice.period[x]._null",
                  "type": "group",
                  "item": [
                    {
                      "linkId": "Invoice.period[x]._null.value",
                      "type": "dateTime",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Period"
                    }
                  ],
                  "linkId": "Invoice.period[x]._null",
                  "type": "group",
                  "item": [
                    {
                      "linkId": "Invoice.period[x]._null.low",
                      "text": "start:",
                      "type": "dateTime",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "Invoice.period[x]._null.end",
                      "text": "end:",
                      "type": "dateTime",
                      "required": false,
                      "repeats": false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "linkId": "Invoice.participant",
          "text": "Participant in creation of this Invoice",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.participant-flyover",
              "text": "Indicates who or what performed or participated in the charged service.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Invoice.participant.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.participant.id-flyover",
                  "text": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
                  "type": "display"
                },
                {
                  "linkId": "Invoice.participant.id.value",
                  "text": "Unique id for inter-element referencing",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Invoice.participant.extension",
              "text": "Additional content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.participant.extension-flyover",
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "Invoice.participant.modifierExtension",
              "text": "Extensions that cannot be ignored even if unrecognized",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.participant.modifierExtension-flyover",
                  "text": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "CodeableConcept"
                }
              ],
              "linkId": "Invoice.participant.role",
              "text": "Type of involvement in creation of this Invoice",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.participant.role-flyover",
                  "text": "Describes the type of involvement (e.g. transcriptionist, creator etc.). If the invoice has been created automatically, the Participant may be a billing engine or another kind of device.",
                  "type": "display"
                },
                {
                  "linkId": "Invoice.participant.role.coding",
                  "text": "code:",
                  "type": "coding",
                  "required": false,
                  "repeats": false,
                  "answerConstraint": "optionsOnly"
                },
                {
                  "linkId": "Invoice.participant.role.text",
                  "text": "text:",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Reference"
                }
              ],
              "linkId": "Invoice.participant.actor",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.participant.actor-flyover",
                  "text": "The device, practitioner, etc. who performed or participated in the service.",
                  "type": "display"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                      "valueCode": "Practitioner, Organization, Patient, PractitionerRole, Device, RelatedPerson"
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                      "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                    }
                  ],
                  "linkId": "Invoice.participant.actor.value",
                  "text": "Individual who was involved",
                  "type": "reference",
                  "required": false,
                  "repeats": false
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "Invoice.issuer",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.issuer-flyover",
              "text": "The organizationissuing the Invoice. Practitioners and Devices can be associated with multiple organizations. It has to be made clear, on behalf of which Organization the services have been rendered.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Organization"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "Invoice.issuer.value",
              "text": "Issuing Organization of Invoice",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "Invoice.account",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.account-flyover",
              "text": "Account which is supposed to be balanced with this Invoice. Systems posting the ChargeItems might not always be able to determine, which accounts the Items need to be places into. It is up to the potprocessing Financial System to apply internal rules to decide based on the Encounter/EpisodeOfCare/Patient/Coverage context and the type of ChargeItem, which Account is appropriate.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Account"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "Invoice.account.value",
              "text": "Account that is being balanced",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "linkId": "Invoice.lineItem",
          "text": "Line items of this Invoice",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.lineItem-flyover",
              "text": "Each line item represents one charge for goods and services rendered. Details such.ofType(date), code and amount are found in the referenced ChargeItem resource.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Invoice.lineItem.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.lineItem.id-flyover",
                  "text": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
                  "type": "display"
                },
                {
                  "linkId": "Invoice.lineItem.id.value",
                  "text": "Unique id for inter-element referencing",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Invoice.lineItem.extension",
              "text": "Additional content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.lineItem.extension-flyover",
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "Invoice.lineItem.modifierExtension",
              "text": "Extensions that cannot be ignored even if unrecognized",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.lineItem.modifierExtension-flyover",
                  "text": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "integer"
                }
              ],
              "linkId": "Invoice.lineItem.sequence",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.lineItem.sequence-flyover",
                  "text": "Sequence in which the items appear on the invoice.",
                  "type": "display"
                },
                {
                  "linkId": "Invoice.lineItem.sequence.value",
                  "text": "Sequence number of line item",
                  "type": "integer",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "Invoice.lineItem.serviced[x]",
              "text": "Service data or period",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.lineItem.serviced[x]-flyover",
                  "text": "Date/time(s) range when this service was delivered or completed.",
                  "type": "display"
                },
                {
                  "linkId": "Invoice.lineItem.serviced[x]._type",
                  "text": "type",
                  "type": "coding",
                  "required": false,
                  "repeats": false,
                  "answerConstraint": "optionsOnly",
                  "answerValueSet": "#vs3",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "datetime"
                        }
                      ],
                      "linkId": "Invoice.lineItem.serviced[x]._null",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Invoice.lineItem.serviced[x]._null.value",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Period"
                        }
                      ],
                      "linkId": "Invoice.lineItem.serviced[x]._null",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Invoice.lineItem.serviced[x]._null.low",
                          "text": "start:",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Invoice.lineItem.serviced[x]._null.end",
                          "text": "end:",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "Invoice.lineItem.chargeItem[x]",
              "text": "Reference to ChargeItem containing details of this line item or an inline billing code",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.lineItem.chargeItem[x]-flyover",
                  "text": "The ChargeItem contains information such as the billing code, date, amount etc. If no further details are required for the lineItem, inline billing codes can be added using the CodeableConcept data type instead of the Reference.",
                  "type": "display"
                },
                {
                  "linkId": "Invoice.lineItem.chargeItem[x]._type",
                  "text": "type",
                  "type": "coding",
                  "required": false,
                  "repeats": false,
                  "answerConstraint": "optionsOnly",
                  "answerValueSet": "#vs4",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Invoice.lineItem.chargeItem[x]._null",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                              "valueCode": "ChargeItem"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                            }
                          ],
                          "linkId": "Invoice.lineItem.chargeItem[x]._null.value",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "CodeableConcept"
                        }
                      ],
                      "linkId": "Invoice.lineItem.chargeItem[x]._null",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Invoice.lineItem.chargeItem[x]._null.coding",
                          "text": "code:",
                          "type": "coding",
                          "required": false,
                          "repeats": false,
                          "answerConstraint": "optionsOnly"
                        },
                        {
                          "linkId": "Invoice.lineItem.chargeItem[x]._null.text",
                          "text": "text:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "linkId": "Invoice.lineItem.priceComponent",
              "text": "Components of total line item price",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "Invoice.lineItem.priceComponent-flyover",
                  "text": "The price for a ChargeItem may be calculated as a base price with surcharges/deductions that apply in certain conditions. A ChargeItemDefinition resource that defines the prices, factors and conditions that apply to a billing code is currently under development. The priceComponent element can be used to offer transparency to the recipient of the Invoice as to how the prices have been calculated.",
                  "type": "display"
                }
              ]
            }
          ]
        },
        {
          "linkId": "Invoice.totalPriceComponent",
          "text": "Components of Invoice total",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.totalPriceComponent-flyover",
              "text": "The total amount for the Invoice may be calculated as the sum of the line items with surcharges/deductions that apply in certain conditions.  The priceComponent element can be used to offer transparency to the recipient of the Invoice of how the total price was calculated.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Quantity"
            }
          ],
          "linkId": "Invoice.totalNet",
          "text": "Net total of this Invoice",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.totalNet-flyover",
              "text": "Invoice total , taxes excluded. There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes  (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden.",
              "type": "display"
            },
            {
              "linkId": "Invoice.totalNet.comparator",
              "text": "comp:",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOnly"
            },
            {
              "linkId": "Invoice.totalNet.value",
              "text": "value:",
              "type": "decimal",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Invoice.totalNet.units",
              "text": "units:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Invoice.totalNet.code",
              "text": "coded units:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Invoice.totalNet.system",
              "text": "units system:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Quantity"
            }
          ],
          "linkId": "Invoice.totalGross",
          "text": "Gross total of this Invoice",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.totalGross-flyover",
              "text": "Invoice total, tax included. There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes  (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden.",
              "type": "display"
            },
            {
              "linkId": "Invoice.totalGross.comparator",
              "text": "comp:",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOnly"
            },
            {
              "linkId": "Invoice.totalGross.value",
              "text": "value:",
              "type": "decimal",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Invoice.totalGross.units",
              "text": "units:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Invoice.totalGross.code",
              "text": "coded units:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Invoice.totalGross.system",
              "text": "units system:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "string"
            }
          ],
          "linkId": "Invoice.paymentTerms",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.paymentTerms-flyover",
              "text": "Payment details such as banking details, period of payment, deductibles, methods of payment. Derived Profiles may chose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled.",
              "type": "display"
            },
            {
              "linkId": "Invoice.paymentTerms.value",
              "text": "Payment details",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Annotation"
            }
          ],
          "linkId": "Invoice.note",
          "text": "Comments made about the invoice",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "Invoice.note-flyover",
              "text": "Comments made about the invoice by the issuer, subject, or other participants.",
              "type": "display"
            }
          ]
        }
      ]
    }
  ]
}