{ "description": "The FHIR Range datatype uses Simple Quantities to represent the high and low bounds, which do not allow a comparator to be set. This extension allows the high and low bounds to have a comparator", "_filename": "StructureDefinition-pq-target-range.json", "package_name": "hl7.fhir.us.pq-cmc-fda", "date": "2024-12-11T13:47:08+00:00", "derivation": "constraint", "publisher": "HL7 International / Biomedical Research and Regulation", "fhirVersion": "5.0.0", "jurisdiction": [ { "coding": [ { "code": "US", "system": "urn:iso:std:iso:3166", "display": "United States of America" } ] } ], "name": "TargetRange", "mapping": [ { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" } ], "abstract": false, "type": "Extension", "experimental": null, "resourceType": "StructureDefinition", "title": "Target Range", "package_version": "1.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics", "valueCode": "can-bind" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "brr" } ], "snapshot": { "element": [ { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "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", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Extension", "min": 0, "definition": "The FHIR Range datatype uses Simple Quantities to represent the high and low bounds, which do not allow a comparator to be set. This extension allows the high and low bounds to have a comparator", "isModifier": true, "short": "Target Range", "max": "*", "id": "Extension", "base": { "max": "*", "min": 0, "path": "Extension" }, "isModifierReason": "When present, the target cannot have a detail; instead this extension acts as its detail" }, { "path": "Extension.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": "Extension.id", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "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", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Extension.extension", "min": 2, "definition": "The acceptable quantitative or numeric value for the result of the test. [Source: SME Defined]", "isModifier": false, "short": "ValueNumeric (range)", "slicing": { "rules": "open", "description": "Extensions are always sliced by (at least) url", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "max": "*", "id": "Extension.extension", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "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", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Extension.extension", "min": 1, "definition": "An Extension", "isModifier": false, "short": "Extension", "type": [ { "code": "Extension" } ], "mustSupport": true, "sliceName": "low", "max": "1", "id": "Extension.extension:low", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.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": "Extension.extension:low.id", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "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", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Extension.extension.extension", "min": 0, "definition": "An Extension", "isModifier": false, "short": "Extension", "slicing": { "rules": "open", "description": "Extensions are always sliced by (at least) url", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "max": "0", "id": "Extension.extension:low.extension", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "isModifier": false, "short": "identifies the meaning of the extension", "fixedUri": "low", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.extension:low.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x]", "min": 1, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", "isModifier": false, "short": "Value of extension", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Quantity" } ], "mustSupport": true, "max": "1", "id": "Extension.extension:low.value[x]", "condition": [ "ext-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" }, "isSummary": false }, { "path": "Extension.extension.value[x].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": "Extension.extension:low.value[x].id", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "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", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Extension.extension.value[x].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 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.", "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": "Extension.extension:low.value[x].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", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x].value", "requirements": "Precision is handled implicitly in almost all cases of measurement.", "min": 1, "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", "isModifier": false, "short": "Numerical value (with implicit precision)", "mapping": [ { "map": "SN.2 / CQ - N/A", "identity": "v2" }, { "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value", "identity": "rim" } ], "type": [ { "code": "decimal" } ], "mustSupport": true, "max": "1", "id": "Extension.extension:low.value[x].value", "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", "base": { "max": "1", "min": 0, "path": "Quantity.value" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x].comparator", "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", "min": 0, "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", "isModifier": true, "short": "< | <= | >= | > | ad - how to understand the value", "mapping": [ { "map": "SN.1 / CQ.1", "identity": "v2" }, { "map": "IVL properties", "identity": "rim" } ], "type": [ { "code": "code" } ], "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "QuantityComparator" } ], "description": "How the Quantity should be understood and represented." }, "max": "1", "id": "Extension.extension:low.value[x].comparator", "base": { "max": "1", "min": 0, "path": "Quantity.comparator" }, "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x].unit", "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", "min": 1, "definition": "A human-readable form of the unit.", "isModifier": false, "short": "Unit representation", "mapping": [ { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "PQ.unit", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "max": "1", "id": "Extension.extension:low.value[x].unit", "base": { "max": "1", "min": 0, "path": "Quantity.unit" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x].system", "requirements": "Need to know the system that defines the coded form of the unit.", "min": 0, "definition": "The identification of the system that provides the coded form of the unit.", "isModifier": false, "short": "System that defines coded unit form", "mapping": [ { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "CO.codeSystem, PQ.translation.codeSystem", "identity": "rim" } ], "type": [ { "code": "uri" } ], "max": "1", "id": "Extension.extension:low.value[x].system", "condition": [ "qty-3" ], "base": { "max": "1", "min": 0, "path": "Quantity.system" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x].code", "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", "min": 0, "definition": "A computer processable form of the unit in some unit representation system.", "isModifier": false, "short": "Coded form of the unit", "mapping": [ { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "PQ.code, MO.currency, PQ.translation.code", "identity": "rim" } ], "type": [ { "code": "code" } ], "max": "1", "id": "Extension.extension:low.value[x].code", "condition": [ "qty-3" ], "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", "base": { "max": "1", "min": 0, "path": "Quantity.code" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "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", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Extension.extension", "min": 1, "definition": "An Extension", "isModifier": false, "short": "Extension", "type": [ { "code": "Extension" } ], "mustSupport": true, "sliceName": "high", "max": "1", "id": "Extension.extension:high", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.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": "Extension.extension:high.id", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "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", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Extension.extension.extension", "min": 0, "definition": "An Extension", "isModifier": false, "short": "Extension", "slicing": { "rules": "open", "description": "Extensions are always sliced by (at least) url", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "max": "0", "id": "Extension.extension:high.extension", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "Extension.extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "isModifier": false, "short": "identifies the meaning of the extension", "fixedUri": "high", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.extension:high.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x]", "min": 1, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", "isModifier": false, "short": "Value of extension", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Quantity" } ], "mustSupport": true, "max": "1", "id": "Extension.extension:high.value[x]", "condition": [ "ext-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" }, "isSummary": false }, { "path": "Extension.extension.value[x].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": "Extension.extension:high.value[x].id", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "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", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "Extension.extension.value[x].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 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.", "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": "Extension.extension:high.value[x].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", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x].value", "requirements": "Precision is handled implicitly in almost all cases of measurement.", "min": 1, "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", "isModifier": false, "short": "Numerical value (with implicit precision)", "mapping": [ { "map": "SN.2 / CQ - N/A", "identity": "v2" }, { "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value", "identity": "rim" } ], "type": [ { "code": "decimal" } ], "mustSupport": true, "max": "1", "id": "Extension.extension:high.value[x].value", "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", "base": { "max": "1", "min": 0, "path": "Quantity.value" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x].comparator", "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", "min": 0, "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", "isModifier": true, "short": "< | <= | >= | > | ad - how to understand the value", "mapping": [ { "map": "SN.1 / CQ.1", "identity": "v2" }, { "map": "IVL properties", "identity": "rim" } ], "type": [ { "code": "code" } ], "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "QuantityComparator" } ], "description": "How the Quantity should be understood and represented." }, "max": "1", "id": "Extension.extension:high.value[x].comparator", "base": { "max": "1", "min": 0, "path": "Quantity.comparator" }, "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x].unit", "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", "min": 1, "definition": "A human-readable form of the unit.", "isModifier": false, "short": "Unit representation", "mapping": [ { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "PQ.unit", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": true, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "max": "1", "id": "Extension.extension:high.value[x].unit", "base": { "max": "1", "min": 0, "path": "Quantity.unit" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x].system", "requirements": "Need to know the system that defines the coded form of the unit.", "min": 0, "definition": "The identification of the system that provides the coded form of the unit.", "isModifier": false, "short": "System that defines coded unit form", "mapping": [ { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "CO.codeSystem, PQ.translation.codeSystem", "identity": "rim" } ], "type": [ { "code": "uri" } ], "max": "1", "id": "Extension.extension:high.value[x].system", "condition": [ "qty-3" ], "base": { "max": "1", "min": 0, "path": "Quantity.system" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.extension.value[x].code", "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", "min": 0, "definition": "A computer processable form of the unit in some unit representation system.", "isModifier": false, "short": "Coded form of the unit", "mapping": [ { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "PQ.code, MO.currency, PQ.translation.code", "identity": "rim" } ], "type": [ { "code": "code" } ], "max": "1", "id": "Extension.extension:high.value[x].code", "condition": [ "qty-3" ], "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", "base": { "max": "1", "min": 0, "path": "Quantity.code" }, "isSummary": true }, { "path": "Extension.url", "min": 1, "definition": "Source of the definition for the extension code - a logical name or a URL.", "isModifier": false, "short": "identifies the meaning of the extension", "fixedUri": "http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/pq-target-range", "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": "uri" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Extension.url", "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", "base": { "max": "1", "min": 1, "path": "Extension.url" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Extension.value[x]", "min": 0, "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", "isModifier": false, "short": "Value of extension", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "base64Binary" }, { "code": "boolean" }, { "code": "canonical" }, { "code": "code" }, { "code": "date" }, { "code": "dateTime" }, { "code": "decimal" }, { "code": "id" }, { "code": "instant" }, { "code": "integer" }, { "code": "integer64" }, { "code": "markdown" }, { "code": "oid" }, { "code": "positiveInt" }, { "code": "string" }, { "code": "time" }, { "code": "unsignedInt" }, { "code": "uri" }, { "code": "url" }, { "code": "uuid" }, { "code": "Address" }, { "code": "Age" }, { "code": "Annotation" }, { "code": "Attachment" }, { "code": "CodeableConcept" }, { "code": "CodeableReference" }, { "code": "Coding" }, { "code": "ContactPoint" }, { "code": "Count" }, { "code": "Distance" }, { "code": "Duration" }, { "code": "HumanName" }, { "code": "Identifier" }, { "code": "Money" }, { "code": "Period" }, { "code": "Quantity" }, { "code": "Range" }, { "code": "Ratio" }, { "code": "RatioRange" }, { "code": "Reference" }, { "code": "SampledData" }, { "code": "Signature" }, { "code": "Timing" }, { "code": "ContactDetail" }, { "code": "DataRequirement" }, { "code": "Expression" }, { "code": "ParameterDefinition" }, { "code": "RelatedArtifact" }, { "code": "TriggerDefinition" }, { "code": "UsageContext" }, { "code": "Availability" }, { "code": "ExtendedContactDetail" }, { "code": "Dosage" }, { "code": "Meta" } ], "max": "0", "id": "Extension.value[x]", "condition": [ "ext-1" ], "base": { "max": "1", "min": 0, "path": "Extension.value[x]" }, "isSummary": false } ] }, "status": "active", "id": "d145a66b-72da-45ae-b432-cdb4b0141ba9", "kind": "complex-type", "url": "http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/pq-target-range", "identifier": [ { "value": "urn:oid:2.16.840.1.113883.4.642.40.36.42.50", "system": "urn:ietf:rfc:3986" } ], "context": [ { "type": "element", "expression": "PlanDefinition.goal.target" } ], "version": "1.0.0", "differential": { "element": [ { "id": "Extension", "path": "Extension", "short": "Target Range", "definition": "The FHIR Range datatype uses Simple Quantities to represent the high and low bounds, which do not allow a comparator to be set. This extension allows the high and low bounds to have a comparator", "isModifier": true, "isModifierReason": "When present, the target cannot have a detail; instead this extension acts as its detail" }, { "id": "Extension.extension", "min": 2, "path": "Extension.extension", "short": "ValueNumeric (range)", "definition": "The acceptable quantitative or numeric value for the result of the test. [Source: SME Defined]" }, { "id": "Extension.extension:low", "max": "1", "min": 1, "path": "Extension.extension", "sliceName": "low", "mustSupport": true }, { "id": "Extension.extension:low.extension", "max": "0", "path": "Extension.extension.extension" }, { "id": "Extension.extension:low.url", "path": "Extension.extension.url", "fixedUri": "low" }, { "id": "Extension.extension:low.value[x]", "min": 1, "path": "Extension.extension.value[x]", "type": [ { "code": "Quantity" } ], "mustSupport": true }, { "id": "Extension.extension:low.value[x].value", "min": 1, "path": "Extension.extension.value[x].value", "mustSupport": true }, { "id": "Extension.extension:low.value[x].unit", "min": 1, "path": "Extension.extension.value[x].unit", "mustSupport": true }, { "id": "Extension.extension:high", "max": "1", "min": 1, "path": "Extension.extension", "sliceName": "high", "mustSupport": true }, { "id": "Extension.extension:high.extension", "max": "0", "path": "Extension.extension.extension" }, { "id": "Extension.extension:high.url", "path": "Extension.extension.url", "fixedUri": "high" }, { "id": "Extension.extension:high.value[x]", "min": 1, "path": "Extension.extension.value[x]", "type": [ { "code": "Quantity" } ], "mustSupport": true }, { "id": "Extension.extension:high.value[x].value", "min": 1, "path": "Extension.extension.value[x].value", "mustSupport": true }, { "id": "Extension.extension:high.value[x].unit", "min": 1, "path": "Extension.extension.value[x].unit", "mustSupport": true }, { "id": "Extension.url", "path": "Extension.url", "fixedUri": "http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/pq-target-range" }, { "id": "Extension.value[x]", "max": "0", "path": "Extension.value[x]" } ] }, "contact": [ { "name": "HL7 International / Biomedical Research and Regulation", "telecom": [ { "value": "http://www.hl7.org/Special/committees/rcrim", "system": "url" }, { "value": "brr@lists.HL7.org", "system": "email" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension" }