Skip to content

cs: Coded Simple Value - Clinical Document Architecture v2.0.1-sd-202510-matchbox-patch

Data Type Profile: cs: Coded Simple Value

Official URL:http://hl7.org/cda/stds/core/StructureDefinition/cs-simple Version:2.0.1-sd-202510-matchbox-patch
Active as of 2025-10-29 Computable Name:cs

Coded data in its simplest form, consists of a code. The code system and code system version is fixed by the context in which the value occurs. 'cs' is used for coded attributes that have a single HL7-defined value set.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Template Content

Description of Template, Differentials, Snapshots and how the different presentations work.

Other representations of profile: CSV, Excel, Schematron

Resource Content

{
  "resourceType" : "StructureDefinition",
  "id" : "cs-simple",
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
      "valueUri" : "urn:hl7-org:v3"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode" : "can-bind"
    },
    {
      "url" : "http://hl7.org/fhir/tools/StructureDefinition/logical-container",
      "valueUri" : "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"
    }
  ],
  "url" : "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple",
  "version" : "2.0.1-sd-202510-matchbox-patch",
  "name" : "cs",
  "title" : "cs: Coded Simple Value",
  "status" : "active",
  "experimental" : false,
  "date" : "2025-10-29T22:15:57+01:00",
  "publisher" : "Health Level 7",
  "contact" : [
    {
      "name" : "HL7 International - Structured Documents",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/structure"
        },
        {
          "system" : "email",
          "value" : "structdog@lists.HL7.org"
        }
      ]
    }
  ],
  "description" : "Coded data in its simplest form, consists of a code. The code system and code system version is fixed by the context in which the value occurs. 'cs' is used for coded attributes that have a single HL7-defined value set.",
  "fhirVersion" : "5.0.0",
  "kind" : "primitive-type",
  "abstract" : false,
  "type" : "code",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/code",
  "derivation" : "constraint",
  "differential" : {
    "element" : [
      {
        "id" : "code",
        "path" : "code",
        "constraint" : [
          {
            "key" : "cs-pattern",
            "severity" : "error",
            "human" : "cs attributes must not contain any whitespace",
            "expression" : "matches('^[^\\\\s]+$')"
          }
        ]
      },
      {
        "id" : "code.id",
        "path" : "code.id",
        "max" : "0"
      },
      {
        "id" : "code.extension",
        "path" : "code.extension",
        "max" : "0"
      }
    ]
  }
}