V2+
2.1.0 - CI Build

V2+ - Local Development build (v2.1.0). See the Directory of published versions

Logical Model: v2plus.Segment - XML Profile

XML representation of the Segment logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Segment"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>Segment Description in general</p>
      <p>specific addition</p>
    </div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
    <valueUri value="urn:hl7-org:v2plus"/>
  </extension>
  <url value="http://hl7.org/fhir/v2plus/StructureDefinition/Segment"/>
  <version value="2.1.0"/>
  <name value="v2plus.Segment"/>
  <title value="Segment (Definition)"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2021-04-23T17:12:04+02:00"/>
  <publisher value="Frank Oemig"/>
  <description value="Segment Definition"/>
  <fhirVersion value="4.0.1"/>
  <kind value="logical"/>
  <abstract value="false"/>
  <type value="Segment"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="Segment">
      <path value="Segment"/>
      <short
             value="This structure definition describes the contents of a segment."/>
      <definition
                  value="This structure definition describes the contents of a segment."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
    </element>
    <element id="Segment.code">
      <path value="Segment.code"/>
      <representation value="xmlAttr"/>
      <short value="A three letter code as an identifier for the segment."/>
      <definition value="A three letter code identifies the segment."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Segment.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="Segment.description">
      <path value="Segment.description"/>
      <representation value="xmlAttr"/>
      <short value="A description for the purpose and contents of this segment."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Segment.description"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="Segment.field">
      <path value="Segment.field"/>
      <short
             value="A segment consists of a list of fields that are referenced and their use specified."/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Segment.field"/>
        <min value="1"/>
        <max value="*"/>
      </base>
    </element>
    <element id="Segment.field.seqno">
      <path value="Segment.field.seqno"/>
      <short value="Position of this field within the segment."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Segment.field.seqno"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="integer"/>
      </type>
    </element>
    <element id="Segment.field.dataelement">
      <path value="Segment.field.dataelement"/>
      <representation value="xmlAttr"/>
      <short value="Reference to the data element"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Segment.field.dataelement"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/v2plus/StructureDefinition/DataElement"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="Segment.field.implement">
      <path value="Segment.field.implement"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Segment.field.implement"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="Segment.field.minCardinality">
      <path value="Segment.field.minCardinality"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Segment.field.minCardinality"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="integer"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="Segment.field.maxCardinality">
      <path value="Segment.field.maxCardinality"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Segment.field.maxCardinality"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="integer"/>
      </type>
      <mustSupport value="true"/>
    </element>
  </snapshot>
  <differential>
    <element id="Segment">
      <path value="Segment"/>
      <short
             value="This structure definition describes the contents of a segment."/>
      <definition
                  value="This structure definition describes the contents of a segment."/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="Segment.code">
      <path value="Segment.code"/>
      <representation value="xmlAttr"/>
      <short value="A three letter code as an identifier for the segment."/>
      <definition value="A three letter code identifies the segment."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="Segment.description">
      <path value="Segment.description"/>
      <representation value="xmlAttr"/>
      <short value="A description for the purpose and contents of this segment."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
    </element>
    <element id="Segment.field">
      <path value="Segment.field"/>
      <short
             value="A segment consists of a list of fields that are referenced and their use specified."/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="1"/>
      <max value="*"/>
    </element>
    <element id="Segment.field.seqno">
      <path value="Segment.field.seqno"/>
      <short value="Position of this field within the segment."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="integer"/>
      </type>
    </element>
    <element id="Segment.field.dataelement">
      <path value="Segment.field.dataelement"/>
      <representation value="xmlAttr"/>
      <short value="Reference to the data element"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/v2plus/StructureDefinition/DataElement"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="Segment.field.implement">
      <path value="Segment.field.implement"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="Segment.field.minCardinality">
      <path value="Segment.field.minCardinality"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="integer"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="Segment.field.maxCardinality">
      <path value="Segment.field.maxCardinality"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="integer"/>
      </type>
      <mustSupport value="true"/>
    </element>
  </differential>
</StructureDefinition>