Clinical Document Architecture
2.0.0-sd - release

This page is part of the CDA: Clinical Document Architecture (v2.0.0-sd: CDA2 - Informative) generated with FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Logical Model: SC - XML Profile

Active as of 2024-05-17

XML representation of the SC logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="SC"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>A ST that optionally may have a code attached. The text must always be present if a code is present. The code is often a local code.</p>
    </div>
  </text>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/logical-target">
    <valueBoolean>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
        <valueCode value="not-applicable"/>
      </extension>
    </valueBoolean>
  </extension>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
    <valueUri value="urn:hl7-org:v3"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
    <valueCode value="can-bind"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-binding-style">
    <valueCode value="CDA"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/logical-container">
    <valueUri
              value="http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"/>
  </extension>
  <url value="http://hl7.org/cda/stds/core/StructureDefinition/SC"/>
  <version value="2.0.0-sd"/>
  <name value="SC"/>
  <title value="SC: CharacterStringWithCode (V3 Data Type)"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2024-05-17T05:57:28+10: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="A character string that optionally may have a code attached. The text must always be present if a code is present. The code is often a local code."/>
  <fhirVersion value="5.0.0"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type value="http://hl7.org/cda/stds/core/StructureDefinition/SC"/>
  <baseDefinition
                  value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="SC">
      <path value="SC"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="An ST that optionally may have a code attached. The text must always be present if a code is present. The code is often a local code."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="SC.nullFlavor">
      <path value="SC.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="SC.representation">
      <path value="SC.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="SC.mediaType">
      <path value="SC.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="SC.language">
      <path value="SC.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="SC.xmlText">
      <path value="SC.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="SC.code">
      <path value="SC.code"/>
      <representation value="xmlAttr"/>
      <label value="Code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SC.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="SC.codeSystem">
      <path value="SC.codeSystem"/>
      <representation value="xmlAttr"/>
      <label value="Code System"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SC.codeSystem"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
      </type>
    </element>
    <element id="SC.codeSystemName">
      <path value="SC.codeSystemName"/>
      <representation value="xmlAttr"/>
      <label value="Code System Name"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SC.codeSystemName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="SC.codeSystemVersion">
      <path value="SC.codeSystemVersion"/>
      <representation value="xmlAttr"/>
      <label value="Code System Version"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SC.codeSystemVersion"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="SC.displayName">
      <path value="SC.displayName"/>
      <representation value="xmlAttr"/>
      <label value="Display Name"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SC.displayName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="SC">
      <path value="SC"/>
      <definition
                  value="An ST that optionally may have a code attached. The text must always be present if a code is present. The code is often a local code."/>
      <min value="1"/>
      <max value="*"/>
    </element>
    <element id="SC.code">
      <path value="SC.code"/>
      <representation value="xmlAttr"/>
      <label value="Code"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="SC.codeSystem">
      <path value="SC.codeSystem"/>
      <representation value="xmlAttr"/>
      <label value="Code System"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
      </type>
    </element>
    <element id="SC.codeSystemName">
      <path value="SC.codeSystemName"/>
      <representation value="xmlAttr"/>
      <label value="Code System Name"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="SC.codeSystemVersion">
      <path value="SC.codeSystemVersion"/>
      <representation value="xmlAttr"/>
      <label value="Code System Version"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="SC.displayName">
      <path value="SC.displayName"/>
      <representation value="xmlAttr"/>
      <label value="Display Name"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
  </differential>
</StructureDefinition>