{
"description": "Base StructureDefinition for Range Type",
"_filename": "range.profile.json",
"requirements": "Need to be able to specify ranges of values.",
"package_name": "hl7.fhir.core",
"date": "2016-03-31T08:01:25+11:00",
"derivation": "specialization",
"publisher": "HL7 FHIR Standard",
"fhirVersion": "1.4.0",
"name": "Range",
"mapping": [ {
"uri": "http://hl7.org/v2",
"name": "HL7 v2",
"identity": "v2"
}, {
"uri": "http://hl7.org/v3",
"name": "RIM",
"identity": "rim"
} ],
"baseType": "Element",
"abstract": false,
"type": null,
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.4.0",
"snapshot": {
"element": [ {
"constraint": [ {
"key": "rng-2",
"human": "If present, low SHALL have a lower value than high",
"xpath": "not(exists(f:low/f:value/@value)) or not(exists(f:high/f:value/@value)) or (number(f:low/f:value/@value) <= number(f:high/f:value/@value))",
"severity": "error",
"expression": "low.empty() or high.empty() or (low <= high)"
} ],
"path": "Range",
"min": 0,
"definition": "A set of ordered Quantities defined by a low and high limit.",
"short": "Set of values bounded by low and high",
"comments": "The stated low and high value are assumed to have arbitrarily high precision when it comes to determining which values are in the range. I.e. 1.99 is not in the range 2 -> 3.",
"mapping": [ {
"map": "NR and also possibly SN (but see also quantity)",
"identity": "v2"
}, {
"map": "IVL [lowClosed=\"true\" and highClosed=\"true\"]or URG",
"identity": "rim"
} ],
"type": [ {
"code": "Element"
} ],
"max": "*"
}, {
"path": "Range.id",
"min": 0,
"definition": "unique id for the element within a resource (for internal references).",
"short": "xml:id (or equivalent in JSON)",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "id"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"base": {
"max": "*",
"min": 0,
"path": "Element.id"
}
}, {
"path": "Range.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"short": "Additional Content defined by implementations",
"comments": "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.",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
}
}, {
"path": "Range.low",
"min": 0,
"definition": "The low limit. The boundary is inclusive.",
"short": "Low limit",
"comments": "If the low element is missing, the low boundary is not known.",
"mapping": [ {
"map": "NR.1",
"identity": "v2"
}, {
"map": "./low",
"identity": "rim"
} ],
"type": [ {
"code": "Quantity",
"profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
} ],
"max": "1",
"condition": [ "rng-2" ],
"isSummary": true
}, {
"path": "Range.high",
"min": 0,
"definition": "The high limit. The boundary is inclusive.",
"short": "High limit",
"comments": "If the high element is missing, the high boundary is not known.",
"mapping": [ {
"map": "NR.2",
"identity": "v2"
}, {
"map": "./high",
"identity": "rim"
} ],
"type": [ {
"code": "Quantity",
"profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
} ],
"max": "1",
"condition": [ "rng-2" ],
"isSummary": true
} ]
},
"status": "draft",
"id": "85b8e4e6-6dad-4f34-a2ca-966abba1f7c8",
"kind": "datatype",
"url": "http://hl7.org/fhir/StructureDefinition/Range",
"version": null,
"differential": {
"element": [ {
"constraint": [ {
"key": "rng-2",
"human": "If present, low SHALL have a lower value than high",
"xpath": "not(exists(f:low/f:value/@value)) or not(exists(f:high/f:value/@value)) or (number(f:low/f:value/@value) <= number(f:high/f:value/@value))",
"severity": "error",
"expression": "low.empty() or high.empty() or (low <= high)"
} ],
"path": "Range",
"min": 0,
"definition": "A set of ordered Quantities defined by a low and high limit.",
"short": "Set of values bounded by low and high",
"comments": "The stated low and high value are assumed to have arbitrarily high precision when it comes to determining which values are in the range. I.e. 1.99 is not in the range 2 -> 3.",
"mapping": [ {
"map": "NR and also possibly SN (but see also quantity)",
"identity": "v2"
}, {
"map": "IVL [lowClosed=\"true\" and highClosed=\"true\"]or URG",
"identity": "rim"
} ],
"type": [ {
"code": "Element"
} ],
"max": "*"
}, {
"path": "Range.low",
"min": 0,
"definition": "The low limit. The boundary is inclusive.",
"short": "Low limit",
"comments": "If the low element is missing, the low boundary is not known.",
"mapping": [ {
"map": "NR.1",
"identity": "v2"
}, {
"map": "./low",
"identity": "rim"
} ],
"type": [ {
"code": "Quantity",
"profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
} ],
"max": "1",
"condition": [ "rng-2" ],
"isSummary": true
}, {
"path": "Range.high",
"min": 0,
"definition": "The high limit. The boundary is inclusive.",
"short": "High limit",
"comments": "If the high element is missing, the high boundary is not known.",
"mapping": [ {
"map": "NR.2",
"identity": "v2"
}, {
"map": "./high",
"identity": "rim"
} ],
"type": [ {
"code": "Quantity",
"profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
} ],
"max": "1",
"condition": [ "rng-2" ],
"isSummary": true
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://hl7.org/fhir",
"system": "other"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element"
}