{
"description": "MonetaryComponent Type: Availability data for an {item}.",
"_filename": "StructureDefinition-MonetaryComponent.json",
"package_name": "hl7.fhir.r5.examples",
"date": "2022-09-10T04:52:37+10:00",
"derivation": "specialization",
"publisher": "HL7 FHIR Standard",
"fhirVersion": "5.0.0-ballot",
"name": "MonetaryComponent",
"mapping": [ {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
} ],
"abstract": false,
"type": "MonetaryComponent",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": null,
"package_version": "5.0.0-ballot",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use"
} ],
"snapshot": {
"element": [ {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "MonetaryComponent",
"min": 0,
"definition": "Availability data for an {item}.",
"isModifier": false,
"short": "Availability data for an {item}",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use"
} ],
"max": "*",
"id": "MonetaryComponent",
"base": {
"max": "*",
"min": 0,
"path": "MonetaryComponent"
}
}, {
"path": "MonetaryComponent.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "MonetaryComponent.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "MonetaryComponent.extension",
"min": 0,
"definition": "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 manageable, 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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "MonetaryComponent.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "MonetaryComponent.type",
"min": 1,
"definition": "base | surcharge | deduction | discount | tax | informational.",
"isModifier": false,
"short": "base | surcharge | deduction | discount | tax | informational",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/price-component-type|5.0.0-ballot",
"extension": [ {
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "The purpose for which an extended contact detail should be used."
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PriceComponentType"
} ]
},
"max": "1",
"id": "MonetaryComponent.type",
"base": {
"max": "1",
"min": 1,
"path": "MonetaryComponent.type"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "MonetaryComponent.code",
"min": 0,
"definition": "Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.",
"isModifier": false,
"short": "Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.",
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "example",
"extension": [ {
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc."
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PriceComponentCode"
} ]
},
"max": "1",
"id": "MonetaryComponent.code",
"base": {
"max": "1",
"min": 0,
"path": "MonetaryComponent.code"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "MonetaryComponent.factor",
"min": 0,
"definition": "Factor used for calculating this component.",
"isModifier": false,
"short": "Factor used for calculating this component",
"type": [ {
"code": "decimal"
} ],
"max": "1",
"id": "MonetaryComponent.factor",
"base": {
"max": "1",
"min": 0,
"path": "MonetaryComponent.factor"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "MonetaryComponent.amount",
"min": 0,
"definition": "Explicit value amount to be used.",
"isModifier": false,
"short": "Explicit value amount to be used",
"type": [ {
"code": "Money"
} ],
"max": "1",
"id": "MonetaryComponent.amount",
"base": {
"max": "1",
"min": 0,
"path": "MonetaryComponent.amount"
},
"isSummary": true
} ]
},
"status": "draft",
"id": "2605c43e-c8da-4adf-8aa9-a85e84e09205",
"kind": "complex-type",
"url": "http://hl7.org/fhir/StructureDefinition/MonetaryComponent",
"version": "5.0.0-ballot",
"differential": {
"element": [ {
"id": "MonetaryComponent",
"max": "*",
"min": 0,
"path": "MonetaryComponent",
"short": "Availability data for an {item}",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use"
} ],
"definition": "Availability data for an {item}."
}, {
"path": "MonetaryComponent.type",
"min": 1,
"definition": "base | surcharge | deduction | discount | tax | informational.",
"short": "base | surcharge | deduction | discount | tax | informational",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/price-component-type|5.0.0-ballot",
"extension": [ {
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "The purpose for which an extended contact detail should be used."
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PriceComponentType"
} ]
},
"max": "1",
"id": "MonetaryComponent.type",
"isSummary": true
}, {
"path": "MonetaryComponent.code",
"min": 0,
"definition": "Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.",
"short": "Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc.",
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "example",
"extension": [ {
"url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
"valueString": "Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc."
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PriceComponentCode"
} ]
},
"max": "1",
"id": "MonetaryComponent.code",
"isSummary": true
}, {
"id": "MonetaryComponent.factor",
"max": "1",
"min": 0,
"path": "MonetaryComponent.factor",
"type": [ {
"code": "decimal"
} ],
"short": "Factor used for calculating this component",
"isSummary": true,
"definition": "Factor used for calculating this component."
}, {
"id": "MonetaryComponent.amount",
"max": "1",
"min": 0,
"path": "MonetaryComponent.amount",
"type": [ {
"code": "Money"
} ],
"short": "Explicit value amount to be used",
"isSummary": true,
"definition": "Explicit value amount to be used."
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://hl7.org/fhir",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DataType"
}