Clinical Document Architecture, published by Health Level 7. This guide is not an authorized publication; it is the continuous build for version 2.0.0-sd built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/CDA-core-sd/ and changes regularly. See the Directory of published versions
Active as of 2024-10-25 |
XML representation of the int-simple data type profile.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="int-simple"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Primitive type 'int'</p>
</div>
</text>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
<valueUri value="urn:hl7-org:v3"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/logical-container">
<valueUri
value="http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
<valueCode value="has-range"/>
</extension>
<url value="http://hl7.org/cda/stds/core/StructureDefinition/int-simple"/>
<version value="2.0.0-sd"/>
<name value="int"/>
<title value="int: Integer Number"/>
<status value="active"/>
<experimental value="false"/>
<date value="2024-10-25T20:25:09+00:00"/>
<publisher value="Health Level 7"/>
<contact>
<name value="HL7 International - Structured Documents"/>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/structure"/>
</telecom>
<telecom>
<system value="email"/>
<value value="structdog@lists.HL7.org"/>
</telecom>
</contact>
<description
value="Integer numbers (-1,0,1,2, 100, 3398129, etc.) are precise numbers that are results of counting and enumerating. Integer numbers are discrete, the set of integers is infinite but countable. No arbitrary limit is imposed on the range of integer numbers. Two NULL flavors are defined for the positive and negative infinity."/>
<fhirVersion value="5.0.0"/>
<kind value="primitive-type"/>
<abstract value="false"/>
<type value="integer"/>
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/integer"/>
<derivation value="constraint"/>
<snapshot>
<element id="integer">
<path value="integer"/>
<short value="Primitive Type integer"/>
<definition value="A whole number"/>
<comment
value="32 bit number; for values larger than this, use decimal"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="integer"/>
<min value="0"/>
<max value="*"/>
</base>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="integer.id">
<path value="integer.id"/>
<representation value="xmlAttr"/>
<short value="xml:id (or equivalent in JSON)"/>
<definition
value="unique id for the element within a resource (for internal references)"/>
<min value="0"/>
<max value="0"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="integer.extension">
<path value="integer.extension"/>
<short value="Extension"/>
<definition value="An Extension"/>
<min value="0"/>
<max value="0"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression
value="hasValue() or (children().count() > id.count())"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
<element id="integer.value">
<path value="integer.value"/>
<representation value="xmlAttr"/>
<short value="Primitive value for integer"/>
<definition value="The actual value"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="integer.value"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="integer"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/regex">
<valueString value="[0]|[-+]?[1-9][0-9]*"/>
</extension>
<code value="http://hl7.org/fhirpath/System.Integer"/>
</type>
<minValueInteger value="-2147483648"/>
<maxValueInteger value="2147483647"/>
<isModifier value="false"/>
<isSummary value="false"/>
</element>
</snapshot>
<differential>
<element id="integer.id">
<path value="integer.id"/>
<max value="0"/>
</element>
<element id="integer.extension">
<path value="integer.extension"/>
<max value="0"/>
</element>
</differential>
</StructureDefinition>