Generated Narrative: StructureDefinition profile-Invoice Name Flags Card. Type Description & Constraints Basic 0..* Basic Resource for non-supported content #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:cancelledReason 0..1 string R4B: Reason for cancellation of this Invoice (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.cancelledReason #xD; extension:type 0..1 CodeableConcept R4B: Type of Invoice (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.type #xD; extension:recipient 0..1 Reference(Cross-version Profile for R4B.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4B.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4B.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson) R4B: Recipient of this invoice (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.recipient #xD; extension:date 0..1 dateTime R4B: Invoice date / posting date (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.date #xD; extension:participant 0..* (Complex) R4B: Participant in creation of this Invoice (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.participant #xD; extension:issuer 0..1 Reference(Cross-version Profile for R4B.Organization for use in FHIR STU3(0.1.0) | Organization) R4B: Issuing Organization of Invoice (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.issuer #xD; extension:account 0..1 Reference(Cross-version Profile for R4B.Account for use in FHIR STU3(0.1.0) | Account) R4B: Account that is being balanced (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.account #xD; extension:lineItem 0..* (Complex) R4B: Line items of this Invoice (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.lineItem #xD; extension:priceComponent 0..* (Complex) R4B: Components of total line item price (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.lineItem.priceComponent #xD; extension:totalPriceComponent 0..* (Complex) R4B: Components of Invoice total (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.lineItem.priceComponent #xD; extension:totalNet 0..1 Money R4B: Net total of this Invoice (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.totalNet #xD; extension:totalGross 0..1 Money R4B: Gross total of this Invoice (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.totalGross #xD; extension:paymentTerms 0..1 markdown R4B: Payment details (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.paymentTerms #xD; extension:note 0..* Annotation R4B: Comments made about the invoice (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.note #xD; Slices for modifierExtension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; modifierExtension:status 1..1 code R4B: draft | issued | balanced | cancelled | entered-in-error (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Invoice.status Binding: R4BInvoiceStatusForR3 (0.1.0) (required): Codes identifying the lifecycle stage of an Invoice. #xD; Documentation for this format
Cross-version Profile for R4B.Invoice for use in FHIR STU3
This cross-version profile allows R4B Invoice content to be represented via FHIR STU3 Basic resources.
Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.
If the resource is contained in another resource, it SHALL NOT contain nested Resources
not(parent::f:contained and f:contained)
If the resource is contained in another resource, it SHALL NOT contain any narrative
If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
contained.where(('#'+id in %resource.descendants().reference).not()).empty()
not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
The logical id of the resource, as used in the URL for the resource. 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.
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.
A set of rules under which this content was created
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. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.
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).
Text summary of the resource, for human interpretation
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. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 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 in formation is added later.
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.
R4B: Reason for cancellation of this Invoice (new)
R4B: `Invoice.cancelledReason` (new:string)
Element `Invoice.cancelledReason` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.cancelledReason` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Derived Profiles may choose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled.
All FHIR elements must have a @value or children
hasValue() | (children().count() > id.count())
Must have either extensions or value[x], not both
exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
R4B: `Invoice.type` (new:CodeableConcept)
Element `Invoice.type` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.type` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
R4B: `Invoice.recipient` (new:Reference(Organization,Patient,RelatedPerson))
Element `Invoice.recipient` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.recipient` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Element `Invoice.date` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.date` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). The list of types may be constrained as appropriate for the type of charge item.
R4B: Participant in creation of this Invoice (new)
R4B: `Invoice.participant` (new:BackboneElement)
Element `Invoice.participant` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.participant` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
R4B: Issuing Organization of Invoice (new)
R4B: `Invoice.issuer` (new:Reference(Organization))
Element `Invoice.issuer` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.issuer` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). 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.
R4B: Account that is being balanced (new)
R4B: `Invoice.account` (new:Reference(Account))
Element `Invoice.account` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.account` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). 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.
R4B: `Invoice.lineItem` (new:BackboneElement)
Element `Invoice.lineItem` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
R4B: Components of total line item price (new)
R4B: `Invoice.lineItem.priceComponent` (new:BackboneElement)
Element `Invoice.lineItem.priceComponent` is part of an existing definition because parent element `Invoice.lineItem` requires a cross-version extension. Element `Invoice.lineItem.priceComponent` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.lineItem.priceComponent` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
R4B: `Invoice.totalPriceComponent` (new:Invoice.lineItem.priceComponent)
Element `Invoice.totalPriceComponent` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.totalPriceComponent` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Element `Invoice.totalNet` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.totalNet` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). 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.
Element `Invoice.totalGross` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.totalGross` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). 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.
R4B: `Invoice.paymentTerms` (new:markdown)
Element `Invoice.paymentTerms` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.paymentTerms` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Derived Profiles may chose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled.
R4B: Comments made about the invoice (new)
Element `Invoice.note` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.note` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
R4B: draft | issued | balanced | cancelled | entered-in-error (new)
Element `Invoice.status` is not mapped to FHIR STU3, since FHIR R4B `Invoice` is not mapped. Element `Invoice.status` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
Identifier assigned to the resource for business purposes, outside the context of FHIR.
Identifies the 'type' of resource - equivalent to the resource name for other resources.
Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource. Refer to the resource notes section for information on appropriate terminologies for this code. This element is labeled as a modifier because the it defines the meaning of the resource and cannot be ignored.
Must be able to distinguish different types of Basic resources.
Codes for identifying types of resources not yet defined by FHIR
Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.
Optional as not all potential resources will have subjects. Resources associated with multiple subjects can handle this via extension.
Needed for partitioning the resource by Patient.
./participation[typeCode='SBJ'] (possibly through a ControlAct and Role)
Identifies when the resource was first created.
Allows ordering resource instances by time.
./participation[typeCode='AUT']/time (possibly through a ControlAct and Role)
Indicates who was responsible for creating the resource instance.
./participation[typeCode='SUB'] (possibly through a ControlAct and Role)