description: A quantity with an amount unit (no time unit) package_name: ch.fhir.ig.ch derivation: constraint name: CHEMEDEPRAmountQuantity type: Quantity elements: id: {short: ✕ This element is not supported, index: 0} extension: {short: ✕ This element is not supported, index: 1} value: constraint: amount-quantity-int-or-simple-decimal: {human: 'An amount quantity should be either an integer, or a decimal that ends with ''.25'', ''.5'', or ''.75'' for non-scientific units (like tablets, pillules, ampules, etc.)', source: 'http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-amount-quantity', severity: warning, expression: $this.toString().contains('.').not() or $this.toString().endsWith('.25') or $this.toString().endsWith('.5') or $this.toString().endsWith('.75')} index: 2 comparator: {index: 3} code: binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-emed-epr/ValueSet/ch-emed-epr-amount-quantity-unit-code'} index: 4 package_version: emed-epr-1.0.0 extensions: {} class: complex-type kind: complex-type url: http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-amount-quantity base: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-quantity version: 1.0.0