Package | hl7.v2plus |
Resource Type | StructureDefinition |
Id | NM |
FHIR Version | R5 |
Source | http://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-NM.html |
URL | http://hl7.org/v2/StructureDefinition/NM |
Version | 0.0.0 |
Status | active |
Date | 2024-06-01T12:00:00+11:00 |
Name | NM |
Title | HL7 v2 Numeric Primitive Type |
Authority | hl7 |
Description | FIXME add from v2 |
Type | decimal |
Kind | primitive-type |
StructureDefinition | |
CCP | HL7 v2 CCP Data Type |
CD | HL7 v2 CD Data Type |
CP | HL7 v2 CP Data Type |
CQ | HL7 v2 CQ Data Type |
CSU | HL7 v2 CSU Data Type |
DDI | HL7 v2 DDI Data Type |
DLT | HL7 v2 DLT Data Type |
DTN | HL7 v2 DTN Data Type |
MA | HL7 v2 MA Data Type |
MO | HL7 v2 MO Data Type |
MOP | HL7 v2 MOP Data Type |
NA | HL7 v2 NA Data Type |
NR | HL7 v2 NR Data Type |
OG | HL7 v2 OG Data Type |
RCD | HL7 v2 RCD Data Type |
RPT | HL7 v2 RPT Data Type |
SN | HL7 v2 SN Data Type |
UVC | HL7 v2 UVC Data Type |
WVI | HL7 v2 WVI Data Type |
XAD | HL7 v2 XAD Data Type |
XTN | HL7 v2 XTN Data Type |
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition NM
Profile: HL7 v2 Data Type Definition
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
![]() ![]() | C | 0..* | decimal | Primitive Type decimal Constraints: nm-1 |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
{ "resourceType": "StructureDefinition", "id": "NM", "meta": { "profile": [ "http://hl7.org/v2/StructureDefinition/primitive-data-type-profile" ] }, "text": { "status": "extensions", "div": "<!-- snip (see above) -->" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "FIXME.DataTypes" }, { "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-wg", "valueCode": "inm" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics", "valueCode": "has-range" } ], "url": "http://hl7.org/v2/StructureDefinition/NM", "version": "0.0.0", "name": "NM", "title": "HL7 v2 Numeric Primitive Type", "status": "active", "date": "2024-06-01T12:00:00+11:00", "publisher": "HL7 International", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/Special/committees/v2mgmt" } ] } ], "description": "FIXME add from v2", "fhirVersion": "5.0.0", "kind": "primitive-type", "abstract": false, "type": "decimal", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/decimal", "derivation": "constraint", "snapshot": { "extension": [ { "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.0.0" } ], "element": [ { "id": "decimal", "path": "decimal", "short": "Primitive Type decimal", "definition": "A rational number with implicit precision", "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)", "min": 0, "max": "*", "base": { "path": "decimal", "min": 0, "max": "*" }, "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "source": "http://hl7.org/fhir/StructureDefinition/Element" }, { "key": "nm-1", "severity": "error", "expression": "decimal.value.matches('/^(?=.{1,16}$)([+-]?\\d+(\\.\\d\\d*)?)$/')" } ], "isModifier": false, "isSummary": false }, { "id": "decimal.id", "path": "decimal.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references)", "min": 0, "max": "0", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ], "code": "http://hl7.org/fhirpath/System.String" } ], "isModifier": false, "isSummary": false }, { "id": "decimal.extension", "path": "decimal.extension", "short": "Extension", "definition": "An Extension", "min": 0, "max": "0", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "source": "http://hl7.org/fhir/StructureDefinition/Element" }, { "key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "source": "http://hl7.org/fhir/StructureDefinition/Extension" } ], "isModifier": false, "isSummary": false }, { "id": "decimal.value", "path": "decimal.value", "representation": [ "xmlAttr" ], "short": "Primitive value for decimal", "definition": "The actual value", "min": 0, "max": "1", "base": { "path": "decimal.value", "min": 0, "max": "1" }, "type": [ { "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}})?" } ], "code": "http://hl7.org/fhirpath/System.Decimal" } ], "isModifier": false, "isSummary": false } ] }, "differential": { "element": [ { "id": "decimal", "path": "decimal", "constraint": [ { "key": "nm-1", "severity": "error", "expression": "decimal.value.matches('/^(?=.{1,16}$)([+-]?\\d+(\\.\\d\\d*)?)$/')" } ] }, { "id": "decimal.id", "path": "decimal.id", "max": "0" }, { "id": "decimal.extension", "path": "decimal.extension", "max": "0" } ] } }