This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Financial Management Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Patient, Practitioner, RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification)
StructureDefinition for invoice
@prefix fhir: <http://hl7.org/fhir/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . # - resource ------------------------------------------------------------------- [] a fhir:StructureDefinition ; fhir:id [ fhir:v "Invoice"] ; fhir:meta [ fhir:lastUpdated [ fhir:v "2023-03-26T15:21:02.749+11:00" ] ] ; fhir:text [ fhir:status [ fhir:v "generated" ] ] ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" ] ; fhir:value [ fhir:v "Financial.Billing" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ; fhir:value [ fhir:v "trial-use" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ; fhir:value [ fhir:v "0" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" ] ; fhir:value [ fhir:v "patient" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ; fhir:value [ fhir:v "fm" ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Invoice"], [ fhir:v "http://hl7.org/fhir/StructureDefinition/Invoice"] ; fhir:version [ fhir:v "5.0.0"], [ fhir:v "5.0.0"] ; fhir:name [ fhir:v "Invoice"], [ fhir:v "Invoice"] ; fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ; fhir:experimental [ fhir:v "true"], [ fhir:v "true"] ; fhir:date [ fhir:v "2023-03-26T15:21:02+11:00"], [ fhir:v "2023-03-26T15:21:02+11:00"] ; fhir:publisher [ fhir:v "Health Level Seven International (Financial Management)"], [ fhir:v "Health Level Seven International (Financial Management)"] ; fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.org/fhir" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fm/index.cfm" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.org/fhir" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fm/index.cfm" ] ] ) ] ) ; fhir:description [ fhir:v "Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose."], [ fhir:v "Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose."] ; fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] ) ; fhir:fhirVersion [ fhir:v "5.0.0"] ; fhir:mapping ( [ fhir:identity [ fhir:v "workflow" ] ; fhir:uri [ fhir:v "http://hl7.org/fhir/workflow" ] ; fhir:name [ fhir:v "Workflow Pattern" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:uri [ fhir:v "http://hl7.org/fhir/fivews" ] ; fhir:name [ fhir:v "FiveWs Pattern Mapping" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:uri [ fhir:v "http://hl7.org/v2" ] ; fhir:name [ fhir:v "HL7 V2 Mapping" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:uri [ fhir:v "http://hl7.org/v3" ] ; fhir:name [ fhir:v "RIM Mapping" ] ] ) ; fhir:kind [ fhir:v "resource"] ; fhir:abstract [ fhir:v "false"] ; fhir:type [ fhir:v "Invoice"] ; fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"] ; fhir:derivation [ fhir:v "specialization"] ; fhir:snapshot [ fhir:element ( [ fhir:id [ fhir:v "Invoice" ] ; fhir:path [ fhir:v "Invoice" ] ; fhir:short [ fhir:v "Invoice containing ChargeItems from an Account" ] ; fhir:definition [ fhir:v "Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Invoice" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:constraint ( [ fhir:key [ fhir:v "dom-2" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ; fhir:expression [ fhir:v "contained.contained.empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ] [ fhir:key [ fhir:v "dom-3" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ; fhir:expression [ fhir:v "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ] [ fhir:key [ fhir:v "dom-4" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ; fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ] [ fhir:key [ fhir:v "dom-5" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ; fhir:expression [ fhir:v "contained.meta.security.empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ] ; fhir:value [ fhir:v "true" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ] ; fhir:value [ fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ] ] ) ; fhir:key [ fhir:v "dom-6" ] ; fhir:severity [ fhir:v "warning" ] ; fhir:human [ fhir:v "A resource should have narrative for robust management" ] ; fhir:expression [ fhir:v "text.`div`.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Entity, Role, or Act,Act[moodCode=EVN]" ] ] [ fhir:identity [ fhir:v "workflow" ] ; fhir:map [ fhir:v "Event" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "financial.support" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "FT1" ] ] ) ] [ fhir:id [ fhir:v "Invoice.id" ] ; fhir:path [ fhir:v "Invoice.id" ] ; fhir:short [ fhir:v "Logical id of this artifact" ] ; fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.id" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:value [ fhir:v "id" ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "Invoice.meta" ] ; fhir:path [ fhir:v "Invoice.meta" ] ; fhir:short [ fhir:v "Metadata about the resource" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.meta" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Meta" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "Invoice.implicitRules" ] ; fhir:path [ fhir:v "Invoice.implicitRules" ] ; fhir:short [ fhir:v "A set of rules under which this content was created" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.implicitRules" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "Invoice.language" ] ; fhir:path [ fhir:v "Invoice.language" ] ; fhir:short [ fhir:v "Language of the resource content" ] ; fhir:definition [ fhir:v "The base language in which the resource is written." ] ; fhir:comment [ fhir:v "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)." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.language" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "code" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "Language" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ; fhir:value [ fhir:v "true" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "IETF language tag for a human language" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages|5.0.0" ] ; fhir:additional ( [ fhir:purpose [ fhir:v "starter" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages" ] ] ) ] ] [ fhir:id [ fhir:v "Invoice.text" ] ; fhir:path [ fhir:v "Invoice.text" ] ; fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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=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 information is added later." ] ; fhir:alias ( [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.text" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Narrative" ] ] ) ; fhir:condition ( [ fhir:v "dom-6" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act.text?" ] ] ) ] [ fhir:id [ fhir:v "Invoice.contained" ] ; fhir:path [ fhir:v "Invoice.contained" ] ; fhir:short [ fhir:v "Contained, inline Resources" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:alias ( [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.contained" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Resource" ] ] ) ; fhir:condition ( [ fhir:v "dom-2" ] [ fhir:v "dom-4" ] [ fhir:v "dom-3" ] [ fhir:v "dom-5" ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Invoice.extension" ] ; fhir:path [ fhir:v "Invoice.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.extension" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Invoice.modifierExtension" ] ; fhir:path [ fhir:v "Invoice.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored" ] ; fhir:definition [ fhir:v "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's 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)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.modifierExtension" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Invoice.identifier" ] ; fhir:path [ fhir:v "Invoice.identifier" ] ; fhir:short [ fhir:v "Business Identifier for item" ] ; fhir:definition [ fhir:v "Identifier of this Invoice, often used for reference in correspondence about this invoice or for tracking of payments." ] ; fhir:requirements [ fhir:v "Allows Identification of this Invoice instance." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.identifier" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.identifier" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "FT1.2" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".identifier" ] ] ) ] [ fhir:id [ fhir:v "Invoice.status" ] ; fhir:path [ fhir:v "Invoice.status" ] ; fhir:short [ fhir:v "draft | issued | balanced | cancelled | entered-in-error" ] ; fhir:definition [ fhir:v "The current state of the Invoice." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.status" ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "code" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "InvoiceStatus" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Codes identifying the lifecycle stage of an Invoice." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/invoice-status|5.0.0" ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.status" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".status" ] ] ) ] [ fhir:id [ fhir:v "Invoice.cancelledReason" ] ; fhir:path [ fhir:v "Invoice.cancelledReason" ] ; fhir:short [ fhir:v "Reason for cancellation of this Invoice" ] ; fhir:definition [ fhir:v "In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.)." ] ; fhir:comment [ fhir:v "Derived Profiles may choose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.cancelledReason" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.type" ] ; fhir:path [ fhir:v "Invoice.type" ] ; fhir:short [ fhir:v "Type of Invoice" ] ; fhir:definition [ fhir:v "Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary)." ] ; fhir:alias ( [ fhir:v "type" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.type" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "workflow" ] ; fhir:map [ fhir:v "Event.code" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.what[x]" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "FT1.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".code" ] ] ) ] [ fhir:id [ fhir:v "Invoice.subject" ] ; fhir:path [ fhir:v "Invoice.subject" ] ; fhir:short [ fhir:v "Recipient(s) of goods and services" ] ; fhir:definition [ fhir:v "The individual or set of individuals receiving the goods and services billed in this invoice." ] ; fhir:requirements [ fhir:v "Links the event to the Patient context." ] ; fhir:alias ( [ fhir:v "patient" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.subject" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "workflow" ] ; fhir:map [ fhir:v "Event.subject" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.subject[x]" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PAT in proximity to FT1 segment" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=SBJ].role" ] ] ) ] [ fhir:id [ fhir:v "Invoice.recipient" ] ; fhir:path [ fhir:v "Invoice.recipient" ] ; fhir:short [ fhir:v "Recipient of this invoice" ] ; fhir:definition [ fhir:v "The individual or Organization responsible for balancing of this invoice." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.recipient" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PV1 in proximity to FT1 segment" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.date" ] ; fhir:path [ fhir:v "Invoice.date" ] ; fhir:short [ fhir:v "DEPRICATED" ] ; fhir:definition [ fhir:v "Depricared by the element below." ] ; fhir:requirements [ fhir:v "Required to suppress the Data Type VirtualServiceDetail: ERROR: Invoice::date: Expression 'Invoice.date' has illegal path." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.date" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "dateTime" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.creation" ] ; fhir:path [ fhir:v "Invoice.creation" ] ; fhir:short [ fhir:v "When posted" ] ; fhir:definition [ fhir:v "Date/time(s) of when this Invoice was posted." ] ; fhir:comment [ fhir:v "The list of types may be constrained as appropriate for the type of charge item." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.creation" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "dateTime" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "Invoice.period[x]" ] ; fhir:path [ fhir:v "Invoice.period[x]" ] ; fhir:short [ fhir:v "Billing date or period" ] ; fhir:definition [ fhir:v "Date/time(s) range of services included in this invoice." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.period[x]" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "date" ] ] [ fhir:code [ fhir:v "Period" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "Invoice.participant" ] ; fhir:path [ fhir:v "Invoice.participant" ] ; fhir:short [ fhir:v "Participant in creation of this Invoice" ] ; fhir:definition [ fhir:v "Indicates who or what performed or participated in the charged service." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.participant" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "BackboneElement" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.participant.id" ] ; fhir:path [ fhir:v "Invoice.participant.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:value [ fhir:v "string" ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ] ] ) ; fhir:condition ( [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Invoice.participant.extension" ] ; fhir:path [ fhir:v "Invoice.participant.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Invoice.participant.modifierExtension" ] ; fhir:path [ fhir:v "Invoice.participant.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ; fhir:definition [ fhir:v "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's 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)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ) ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Invoice.participant.role" ] ; fhir:path [ fhir:v "Invoice.participant.role" ] ; fhir:short [ fhir:v "Type of involvement in creation of this Invoice" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.participant.role" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation.functionCode" ] ] ) ] [ fhir:id [ fhir:v "Invoice.participant.actor" ] ; fhir:path [ fhir:v "Invoice.participant.actor" ] ; fhir:short [ fhir:v "Individual who was involved" ] ; fhir:definition [ fhir:v "The device, practitioner, etc. who performed or participated in the service." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.participant.actor" ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.actor" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".player" ] ] ) ] [ fhir:id [ fhir:v "Invoice.issuer" ] ; fhir:path [ fhir:v "Invoice.issuer" ] ; fhir:short [ fhir:v "Issuing Organization of Invoice" ] ; fhir:definition [ fhir:v "The organizationissuing the Invoice." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.issuer" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".scoper" ] ] ) ] [ fhir:id [ fhir:v "Invoice.account" ] ; fhir:path [ fhir:v "Invoice.account" ] ; fhir:short [ fhir:v "Account that is being balanced" ] ; fhir:definition [ fhir:v "Account which is supposed to be balanced with this Invoice." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.account" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Account" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.lineItem" ] ; fhir:path [ fhir:v "Invoice.lineItem" ] ; fhir:short [ fhir:v "Line items of this Invoice" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.lineItem" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "BackboneElement" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.lineItem.id" ] ; fhir:path [ fhir:v "Invoice.lineItem.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:value [ fhir:v "string" ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ] ] ) ; fhir:condition ( [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Invoice.lineItem.extension" ] ; fhir:path [ fhir:v "Invoice.lineItem.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Invoice.lineItem.modifierExtension" ] ; fhir:path [ fhir:v "Invoice.lineItem.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ; fhir:definition [ fhir:v "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's 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)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ) ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Invoice.lineItem.sequence" ] ; fhir:path [ fhir:v "Invoice.lineItem.sequence" ] ; fhir:short [ fhir:v "Sequence number of line item" ] ; fhir:definition [ fhir:v "Sequence in which the items appear on the invoice." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.lineItem.sequence" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "positiveInt" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.lineItem.serviced[x]" ] ; fhir:path [ fhir:v "Invoice.lineItem.serviced[x]" ] ; fhir:short [ fhir:v "Service data or period" ] ; fhir:definition [ fhir:v "Date/time(s) range when this service was delivered or completed." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.lineItem.serviced[x]" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "date" ] ] [ fhir:code [ fhir:v "Period" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.lineItem.chargeItem[x]" ] ; fhir:path [ fhir:v "Invoice.lineItem.chargeItem[x]" ] ; fhir:short [ fhir:v "Reference to ChargeItem containing details of this line item or an inline billing code" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.lineItem.chargeItem[x]" ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/ChargeItem" ] ) ] [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".player" ] ] ) ] [ fhir:id [ fhir:v "Invoice.lineItem.priceComponent" ] ; fhir:path [ fhir:v "Invoice.lineItem.priceComponent" ] ; fhir:short [ fhir:v "Components of total line item price" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.lineItem.priceComponent" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "MonetaryComponent" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.totalPriceComponent" ] ; fhir:path [ fhir:v "Invoice.totalPriceComponent" ] ; fhir:short [ fhir:v "Components of Invoice total" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.totalPriceComponent" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "MonetaryComponent" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.totalNet" ] ; fhir:path [ fhir:v "Invoice.totalNet" ] ; fhir:short [ fhir:v "Net total of this Invoice" ] ; fhir:definition [ fhir:v "Invoice total , taxes excluded." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.totalNet" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Money" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "FT1.22" ] ] ) ] [ fhir:id [ fhir:v "Invoice.totalGross" ] ; fhir:path [ fhir:v "Invoice.totalGross" ] ; fhir:short [ fhir:v "Gross total of this Invoice" ] ; fhir:definition [ fhir:v "Invoice total, tax included." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.totalGross" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Money" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "FT1.22" ] ] ) ] [ fhir:id [ fhir:v "Invoice.paymentTerms" ] ; fhir:path [ fhir:v "Invoice.paymentTerms" ] ; fhir:short [ fhir:v "Payment details" ] ; fhir:definition [ fhir:v "Payment details such as banking details, period of payment, deductibles, methods of payment." ] ; fhir:comment [ fhir:v "Derived Profiles may chose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.paymentTerms" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "markdown" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.note" ] ; fhir:path [ fhir:v "Invoice.note" ] ; fhir:short [ fhir:v "Comments made about the invoice" ] ; fhir:definition [ fhir:v "Comments made about the invoice by the issuer, subject, or other participants." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Invoice.note" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Annotation" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "workflow" ] ; fhir:map [ fhir:v "Event.note" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "NTE" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]" ] ] ) ] ) ] ; fhir:differential [ fhir:element ( [ fhir:id [ fhir:v "Invoice" ] ; fhir:path [ fhir:v "Invoice" ] ; fhir:short [ fhir:v "Invoice containing ChargeItems from an Account" ] ; fhir:definition [ fhir:v "Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "workflow" ] ; fhir:map [ fhir:v "Event" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "financial.support" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "FT1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act[moodCode=EVN]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.identifier" ] ; fhir:path [ fhir:v "Invoice.identifier" ] ; fhir:short [ fhir:v "Business Identifier for item" ] ; fhir:definition [ fhir:v "Identifier of this Invoice, often used for reference in correspondence about this invoice or for tracking of payments." ] ; fhir:requirements [ fhir:v "Allows Identification of this Invoice instance." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.identifier" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "FT1.2" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".identifier" ] ] ) ] [ fhir:id [ fhir:v "Invoice.status" ] ; fhir:path [ fhir:v "Invoice.status" ] ; fhir:short [ fhir:v "draft | issued | balanced | cancelled | entered-in-error" ] ; fhir:definition [ fhir:v "The current state of the Invoice." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "code" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "InvoiceStatus" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Codes identifying the lifecycle stage of an Invoice." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/invoice-status|5.0.0" ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.status" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".status" ] ] ) ] [ fhir:id [ fhir:v "Invoice.cancelledReason" ] ; fhir:path [ fhir:v "Invoice.cancelledReason" ] ; fhir:short [ fhir:v "Reason for cancellation of this Invoice" ] ; fhir:definition [ fhir:v "In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.)." ] ; fhir:comment [ fhir:v "Derived Profiles may choose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.type" ] ; fhir:path [ fhir:v "Invoice.type" ] ; fhir:short [ fhir:v "Type of Invoice" ] ; fhir:definition [ fhir:v "Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary)." ] ; fhir:alias ( [ fhir:v "type" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "workflow" ] ; fhir:map [ fhir:v "Event.code" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.what[x]" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "FT1.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".code" ] ] ) ] [ fhir:id [ fhir:v "Invoice.subject" ] ; fhir:path [ fhir:v "Invoice.subject" ] ; fhir:short [ fhir:v "Recipient(s) of goods and services" ] ; fhir:definition [ fhir:v "The individual or set of individuals receiving the goods and services billed in this invoice." ] ; fhir:requirements [ fhir:v "Links the event to the Patient context." ] ; fhir:alias ( [ fhir:v "patient" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] ) ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "workflow" ] ; fhir:map [ fhir:v "Event.subject" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.subject[x]" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PAT in proximity to FT1 segment" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=SBJ].role" ] ] ) ] [ fhir:id [ fhir:v "Invoice.recipient" ] ; fhir:path [ fhir:v "Invoice.recipient" ] ; fhir:short [ fhir:v "Recipient of this invoice" ] ; fhir:definition [ fhir:v "The individual or Organization responsible for balancing of this invoice." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] ) ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PV1 in proximity to FT1 segment" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.date" ] ; fhir:path [ fhir:v "Invoice.date" ] ; fhir:short [ fhir:v "DEPRICATED" ] ; fhir:definition [ fhir:v "Depricared by the element below." ] ; fhir:requirements [ fhir:v "Required to suppress the Data Type VirtualServiceDetail: ERROR: Invoice::date: Expression 'Invoice.date' has illegal path." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "dateTime" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.creation" ] ; fhir:path [ fhir:v "Invoice.creation" ] ; fhir:short [ fhir:v "When posted" ] ; fhir:definition [ fhir:v "Date/time(s) of when this Invoice was posted." ] ; fhir:comment [ fhir:v "The list of types may be constrained as appropriate for the type of charge item." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "dateTime" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "Invoice.period[x]" ] ; fhir:path [ fhir:v "Invoice.period[x]" ] ; fhir:short [ fhir:v "Billing date or period" ] ; fhir:definition [ fhir:v "Date/time(s) range of services included in this invoice." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "date" ] ] [ fhir:code [ fhir:v "Period" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "Invoice.participant" ] ; fhir:path [ fhir:v "Invoice.participant" ] ; fhir:short [ fhir:v "Participant in creation of this Invoice" ] ; fhir:definition [ fhir:v "Indicates who or what performed or participated in the charged service." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "BackboneElement" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.participant.role" ] ; fhir:path [ fhir:v "Invoice.participant.role" ] ; fhir:short [ fhir:v "Type of involvement in creation of this Invoice" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation.functionCode" ] ] ) ] [ fhir:id [ fhir:v "Invoice.participant.actor" ] ; fhir:path [ fhir:v "Invoice.participant.actor" ] ; fhir:short [ fhir:v "Individual who was involved" ] ; fhir:definition [ fhir:v "The device, practitioner, etc. who performed or participated in the service." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] ) ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.actor" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".player" ] ] ) ] [ fhir:id [ fhir:v "Invoice.issuer" ] ; fhir:path [ fhir:v "Invoice.issuer" ] ; fhir:short [ fhir:v "Issuing Organization of Invoice" ] ; fhir:definition [ fhir:v "The organizationissuing the Invoice." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] ) ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".scoper" ] ] ) ] [ fhir:id [ fhir:v "Invoice.account" ] ; fhir:path [ fhir:v "Invoice.account" ] ; fhir:short [ fhir:v "Account that is being balanced" ] ; fhir:definition [ fhir:v "Account which is supposed to be balanced with this Invoice." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Account" ] ) ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.lineItem" ] ; fhir:path [ fhir:v "Invoice.lineItem" ] ; fhir:short [ fhir:v "Line items of this Invoice" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "BackboneElement" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.lineItem.sequence" ] ; fhir:path [ fhir:v "Invoice.lineItem.sequence" ] ; fhir:short [ fhir:v "Sequence number of line item" ] ; fhir:definition [ fhir:v "Sequence in which the items appear on the invoice." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "positiveInt" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.lineItem.serviced[x]" ] ; fhir:path [ fhir:v "Invoice.lineItem.serviced[x]" ] ; fhir:short [ fhir:v "Service data or period" ] ; fhir:definition [ fhir:v "Date/time(s) range when this service was delivered or completed." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "date" ] ] [ fhir:code [ fhir:v "Period" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.lineItem.chargeItem[x]" ] ; fhir:path [ fhir:v "Invoice.lineItem.chargeItem[x]" ] ; fhir:short [ fhir:v "Reference to ChargeItem containing details of this line item or an inline billing code" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/ChargeItem" ] ) ] [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".player" ] ] ) ] [ fhir:id [ fhir:v "Invoice.lineItem.priceComponent" ] ; fhir:path [ fhir:v "Invoice.lineItem.priceComponent" ] ; fhir:short [ fhir:v "Components of total line item price" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "MonetaryComponent" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.totalPriceComponent" ] ; fhir:path [ fhir:v "Invoice.totalPriceComponent" ] ; fhir:short [ fhir:v "Components of Invoice total" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "MonetaryComponent" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] ) ] [ fhir:id [ fhir:v "Invoice.totalNet" ] ; fhir:path [ fhir:v "Invoice.totalNet" ] ; fhir:short [ fhir:v "Net total of this Invoice" ] ; fhir:definition [ fhir:v "Invoice total , taxes excluded." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Money" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "FT1.22" ] ] ) ] [ fhir:id [ fhir:v "Invoice.totalGross" ] ; fhir:path [ fhir:v "Invoice.totalGross" ] ; fhir:short [ fhir:v "Gross total of this Invoice" ] ; fhir:definition [ fhir:v "Invoice total, tax included." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Money" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "FT1.22" ] ] ) ] [ fhir:id [ fhir:v "Invoice.paymentTerms" ] ; fhir:path [ fhir:v "Invoice.paymentTerms" ] ; fhir:short [ fhir:v "Payment details" ] ; fhir:definition [ fhir:v "Payment details such as banking details, period of payment, deductibles, methods of payment." ] ; fhir:comment [ fhir:v "Derived Profiles may chose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "markdown" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "Invoice.note" ] ; fhir:path [ fhir:v "Invoice.note" ] ; fhir:short [ fhir:v "Comments made about the invoice" ] ; fhir:definition [ fhir:v "Comments made about the invoice by the issuer, subject, or other participants." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "Annotation" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "workflow" ] ; fhir:map [ fhir:v "Event.note" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "NTE" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]" ] ] ) ] ) ] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.
FHIR ®© HL7.org 2011+. FHIR R5 hl7.fhir.core#5.0.0 generated on Sun, Mar 26, 2023 15:25+1100.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4 |
Compare to R4B |
|
Propose a change