{"abstract":false,"baseDefinition":"http://hl7.org/fhir/StructureDefinition/PrimitiveType","contact":[{"telecom":[{"system":"url","value":"http://hl7.org/fhir"}]}],"date":"2023-03-26T15:21:02+11:00","derivation":"specialization","description":"decimal Type: A rational number with implicit precision","differential":{"element":[{"comment":"Do not use an IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)","definition":"A rational number with implicit precision","id":"decimal","max":"*","min":0,"path":"decimal","short":"Primitive Type decimal"},{"definition":"Primitive value for decimal","id":"decimal.value","max":"1","min":0,"path":"decimal.value","representation":["xmlAttr"],"short":"Primitive value for decimal","type":[{"code":"http://hl7.org/fhirpath/System.Decimal","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"decimal"},{"url":"http://hl7.org/fhir/StructureDefinition/regex","valueString":"-?(0|[1-9][0-9]{0,17})(\\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?"}]}]}]},"experimental":false,"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"normative"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version","valueCode":"4.0.0"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics","valueCode":"has-range"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics","valueCode":"is-continuous"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics","valueCode":"has-length"}],"fhirVersion":"5.0.0","id":"decimal","jurisdiction":[{"coding":[{"code":"001","display":"World","system":"http://unstats.un.org/unsd/methods/m49/m49.htm"}]}],"kind":"primitive-type","name":"decimal","publisher":"HL7 FHIR Standard","resourceType":"StructureDefinition","snapshot":{"element":[{"base":{"max":"*","min":0,"path":"decimal"},"comment":"Do not use an IEEE type floating point type, instead use something that works like a true decimal, with inbuilt precision (e.g. Java BigInteger)","constraint":[{"expression":"hasValue() or (children().count() > id.count())","human":"All FHIR elements must have a @value or children","key":"ele-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"definition":"A rational number with implicit precision","id":"decimal","isModifier":false,"isSummary":false,"max":"*","min":0,"path":"decimal","short":"Primitive Type decimal"},{"base":{"max":"1","min":0,"path":"Element.id"},"definition":"unique id for the element within a resource (for internal references)","id":"decimal.id","isModifier":false,"isSummary":false,"max":"1","min":0,"path":"decimal.id","representation":["xmlAttr"],"short":"xml:id (or equivalent in JSON)","type":[{"code":"http://hl7.org/fhirpath/System.String","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}]}]},{"alias":["extensions","user content"],"base":{"max":"*","min":0,"path":"Element.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.","constraint":[{"expression":"hasValue() or (children().count() > id.count())","human":"All FHIR elements must have a @value or children","key":"ele-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"expression":"extension.exists() != value.exists()","human":"Must have either extensions or value[x], not both","key":"ext-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"definition":"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.","id":"decimal.extension","isModifier":false,"isSummary":false,"max":"*","min":0,"path":"decimal.extension","short":"Additional content defined by implementations","type":[{"code":"Extension"}]},{"base":{"max":"1","min":0,"path":"decimal.value"},"definition":"The actual value","id":"decimal.value","isModifier":false,"isSummary":false,"max":"1","min":0,"path":"decimal.value","representation":["xmlAttr"],"short":"Primitive value for decimal","type":[{"code":"http://hl7.org/fhirpath/System.Decimal","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"decimal"},{"url":"http://hl7.org/fhir/StructureDefinition/regex","valueString":"-?(0|[1-9][0-9]{0,17})(\\.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?"}]}]}]},"status":"active","text":{"div":"