{ "description": "SampledData containing data with the unit beats-per-minute", "_filename": "StructureDefinition-SampledBeatsPerMinute.json", "package_name": "dk.4s-online.raplito", "date": "2021-03-01", "derivation": "constraint", "publisher": "Alexandra Instituttet", "fhirVersion": "4.0.1", "name": "SampledBeatsPerMinute", "mapping": [ { "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping", "identity": "v2" }, { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" } ], "abstract": false, "type": "SampledData", "experimental": "true", "resourceType": "StructureDefinition", "title": "SampledData of type beats-per-minute", "package_version": "0.1.2", "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": "SampledData", "min": 0, "definition": "A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.", "isModifier": false, "short": "A series of measurements taken by a device", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A (but see section 7.14 in v2.7)", "identity": "v2" }, { "map": "SLIST + GLIST", "identity": "rim" } ], "max": "*", "id": "SampledData", "condition": [ "ele-1" ], "comment": "The data is not interpretable without at least origin, period, and dimensions, but these are optional to allow a separation between the template of measurement and the actual measurement, such as between DeviceCapabilities and DeviceLog. When providing a summary view (for example with Observation.value[x]) SampledData should be represented with a brief display text such as \"Sampled Data\".", "base": { "max": "*", "min": 0, "path": "SampledData" } }, { "path": "SampledData.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": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "SampledData.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": "SampledData.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": "SampledData.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": "SampledData.origin", "min": 1, "definition": "The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.", "isModifier": false, "short": "Zero value and units", "mapping": [ { "map": "SLIST.origin", "identity": "rim" } ], "type": [ { "code": "Quantity", "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ] } ], "max": "1", "id": "SampledData.origin", "base": { "max": "1", "min": 1, "path": "SampledData.origin" }, "isSummary": true }, { "path": "SampledData.origin.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": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "SampledData.origin.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": "SampledData.origin.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": "SampledData.origin.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": "SampledData.origin.value", "requirements": "Precision is handled implicitly in almost all cases of measurement.", "min": 0, "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" } ], "max": "1", "id": "SampledData.origin.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", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SampledData.origin.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": "Not allowed to be used in this context", "isModifier": true, "short": "< | <= | >= | > - 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|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "QuantityComparator" } ], "description": "How the Quantity should be understood and represented." }, "max": "0", "id": "SampledData.origin.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", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SampledData.origin.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": 0, "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" } ], "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "max": "1", "id": "SampledData.origin.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", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SampledData.origin.system", "requirements": "Need to know the system that defines the coded form of the unit.", "min": 1, "definition": "The identification of the system that provides the coded form of the unit.", "isModifier": false, "short": "System that defines coded unit form", "fixedUri": "http://unitsofmeasure.org", "mapping": [ { "map": "(see OBX.6 etc.) / CQ.2", "identity": "v2" }, { "map": "CO.codeSystem, PQ.translation.codeSystem", "identity": "rim" } ], "type": [ { "code": "uri" } ], "mustSupport": true, "max": "1", "id": "SampledData.origin.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", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SampledData.origin.code", "fixedCode": "/min", "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": 1, "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" } ], "mustSupport": true, "max": "1", "id": "SampledData.origin.code", "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", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SampledData.period", "min": 1, "definition": "The length of time between sampling times, measured in milliseconds.", "isModifier": false, "short": "Number of milliseconds between samples", "mapping": [ { "map": "GLIST.increment", "identity": "rim" } ], "type": [ { "code": "decimal" } ], "max": "1", "id": "SampledData.period", "comment": "This is usually a whole number.", "base": { "max": "1", "min": 1, "path": "SampledData.period" }, "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": "SampledData.factor", "min": 0, "definition": "A correction factor that is applied to the sampled data points before they are added to the origin.", "isModifier": false, "short": "Multiply data by this before adding to origin", "mapping": [ { "map": "SLIST.factor", "identity": "rim" } ], "type": [ { "code": "decimal" } ], "meaningWhenMissing": "If no factor is assigned, the data is not adjusted before adding to the origin", "max": "1", "id": "SampledData.factor", "base": { "max": "1", "min": 0, "path": "SampledData.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": "SampledData.lowerLimit", "min": 0, "definition": "The lower limit of detection of the measured points. This is needed if any of the data points have the value \"L\" (lower than detection limit).", "isModifier": false, "short": "Lower limit of detection", "mapping": [ { "map": "N/A (use SLIST.digits.nullFlavor)", "identity": "rim" } ], "type": [ { "code": "decimal" } ], "max": "1", "id": "SampledData.lowerLimit", "base": { "max": "1", "min": 0, "path": "SampledData.lowerLimit" }, "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": "SampledData.upperLimit", "min": 0, "definition": "The upper limit of detection of the measured points. This is needed if any of the data points have the value \"U\" (higher than detection limit).", "isModifier": false, "short": "Upper limit of detection", "mapping": [ { "map": "N/A (use SLIST.digits.nullFlavor)", "identity": "rim" } ], "type": [ { "code": "decimal" } ], "max": "1", "id": "SampledData.upperLimit", "base": { "max": "1", "min": 0, "path": "SampledData.upperLimit" }, "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": "SampledData.dimensions", "min": 1, "fixedPositiveInt": 1, "definition": "The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once.", "isModifier": false, "short": "Number of sample points at each time point", "mapping": [ { "map": "N/A (fixed to 1)", "identity": "rim" } ], "type": [ { "code": "positiveInt" } ], "mustSupport": true, "max": "1", "id": "SampledData.dimensions", "comment": "If there is more than one dimension, the code for the type of data will define the meaning of the dimensions (typically ECG data).", "base": { "max": "1", "min": 1, "path": "SampledData.dimensions" }, "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": "SampledData.data", "min": 0, "definition": "A series of data points which are decimal values separated by a single space (character u20). The special values \"E\" (error), \"L\" (below detection limit) and \"U\" (above detection limit) can also be used in place of a decimal value.", "isModifier": false, "short": "Decimal values with spaces, or \"E\" | \"U\" | \"L\"", "mapping": [ { "map": "SLIST.digits", "identity": "rim" } ], "type": [ { "code": "string" } ], "max": "1", "id": "SampledData.data", "comment": "Data may be missing if it is omitted for summarization purposes. In general, data is required for any actual use of a SampledData.", "base": { "max": "1", "min": 0, "path": "SampledData.data" }, "isSummary": false } ] }, "status": "active", "id": "f34144a7-c570-48d6-a7a7-88b31664a95a", "kind": "complex-type", "url": "https://4s-online.dk/raplito/StructureDefinition/SampledBeatsPerMinute", "version": "0.1.0", "differential": { "element": [ { "id": "SampledData", "path": "SampledData" }, { "id": "SampledData.origin.system", "min": 1, "path": "SampledData.origin.system", "fixedUri": "http://unitsofmeasure.org", "mustSupport": true }, { "id": "SampledData.origin.code", "min": 1, "path": "SampledData.origin.code", "fixedCode": "/min", "mustSupport": true }, { "id": "SampledData.dimensions", "path": "SampledData.dimensions", "mustSupport": true, "fixedPositiveInt": 1 } ] }, "contact": [ { "name": "Jacob Andersen", "telecom": [ { "value": "mailto:jacob.andersen@alexandra.dk", "system": "email" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/SampledData" }