FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/CS

Packageau.digitalhealth.cda.schema
TypeStructureDefinition
IdCS
FHIR VersionR5
Sourcehttp://ns.electronichealth.net.au/cda/https://build.fhir.org/ig/AuDigitalHealth/cda-au-schema/StructureDefinition-CS.html
URLhttp://hl7.org/cda/stds/core/StructureDefinition/CS
Version1.0.0
Statusactive
Date2025-07-21T22:05:27+00:00
NameCS
TitleCS: CodedSimpleValue (V3 Data Type)
Realmau
Authoritynational
DescriptionCoded data in its simplest form, where only the code is not predetermined. The code system and code system version are fixed by the context in which the CS value occurs. CS is used for coded attributes that have a single HL7-defined value set.
Typehttp://hl7.org/cda/stds/core/StructureDefinition/CS
Kindlogical

Resources that use this resource

StructureDefinition
ActAct (CDA Class)
AlternateIdentificationAlternateIdentification (CDA Class)
AuthenticatorAuthenticator (CDA Class)
ClinicalDocumentClinicalDocument (CDA Class)
ConsentConsent (CDA Class)
EncounterEncounter (CDA Class)
InfrastructureRootInfrastructureRoot (Base Type for all CDA Classes)
LanguageCommunicationLanguageCommunication (CDA Class)
LegalAuthenticatorLegalAuthenticator (CDA Class)
NonXMLBodyNonXMLBody (CDA Class)
ObservationObservation (CDA Class)
ObservationMediaObservationMedia (CDA Class)
ObservationRangeObservationRange (CDA Class)
OrganizationPartOfOrganizationPartOf (CDA Class)
OrganizerOrganizer (CDA Class)
Precondition2Precondition2 (CDA Class)
ProcedureProcedure (CDA Class)
RegionOfInterestRegionOfInterest (CDA Class)
SectionSection (CDA Class)
StructuredBodyStructuredBody (CDA Class)
SubstanceAdministrationSubstanceAdministration (CDA Class)
SupplySupply (CDA Class)
au-ActADHA Act (CDA Class)
au-ClinicalDocumentADHA ClinicalDocument (CDA Class)
au-EncounterADHA Encounter (CDA Class)
au-LegalAuthenticatorADHA LegalAuthenticator (CDA Class)
au-ObservationADHA Observation (CDA Class)
au-ObservationMediaADHA ObservationMedia (CDA Class)
au-OrganizationPartOfADHA OrganizationPartOf (CDA Class)
au-OrganizerADHA Organizer (CDA Class)
au-ProcedureADHA Procedure (CDA Class)
au-RegionOfInterestADHA RegionOfInterest (CDA Class)
au-SectionADHA Section (CDA Class)
au-StructuredBodyADHA StructuredBody (CDA Class)
au-SubstanceAdministrationADHA SubstanceAdministration (CDA Class)
au-SupplyADHA Supply (CDA Class)
au-languageCommunicationADHA LanguageCommunication (CDA Class)
controlActADHA extension controlAct

Resources that this resource uses

StructureDefinition
CVCV: CodedValue (V3 Data Type)

Narrative

Note: links and images are rebased to the (stated) source

Coded data, consists of a code, display name, code system, and original text. Used when a single code value must be sent.


Source

{
  "resourceType": "StructureDefinition",
  "id": "CS",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/logical-target",
      "_valueBoolean": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
            "valueCode": "not-applicable"
          }
        ]
      }
    },
    {
      "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/elementdefinition-binding-style",
      "valueCode": "CDA"
    },
    {
      "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",
  "version": "1.0.0",
  "name": "CS",
  "title": "CS: CodedSimpleValue (V3 Data Type)",
  "status": "active",
  "experimental": false,
  "date": "2025-07-21T22:05:27+00:00",
  "publisher": "HL7",
  "description": "Coded data in its simplest form, where only the code is not predetermined. The code system and code system version are fixed by the context in which the CS value occurs. CS is used for coded attributes that have a single HL7-defined value set.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.org/cda/stds/core/StructureDefinition/CS",
  "baseDefinition": "http://hl7.org/cda/stds/core/StructureDefinition/CV",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "1.0.0"
      }
    ],
    "element": [
      {
        "id": "CS",
        "path": "CS",
        "short": "Base for all types and resources",
        "definition": "Coded data in its simplest form, where only the code is not predetermined. Used when a single code value must be sent.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "CS.nullFlavor",
        "path": "CS.nullFlavor",
        "representation": [
          "xmlAttr"
        ],
        "label": "Exceptional Value Detail",
        "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ANY.nullFlavor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "CS.code",
        "path": "CS.code",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code",
        "definition": "The plain code symbol defined by the code system. For example, \"784.0\" is the code symbol of the ICD-9 code \"784.0\" for headache.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ]
      },
      {
        "id": "CS.codeSystem",
        "path": "CS.codeSystem",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System",
        "definition": "Specifies the code system that defines the code.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.codeSystem",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid",
              "http://hl7.org/cda/stds/core/StructureDefinition/uuid",
              "http://hl7.org/cda/stds/core/StructureDefinition/ruid"
            ]
          }
        ]
      },
      {
        "id": "CS.codeSystemName",
        "path": "CS.codeSystemName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System Name",
        "definition": "The common name of the coding system.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.codeSystemName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "CS.codeSystemVersion",
        "path": "CS.codeSystemVersion",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System Version",
        "definition": "If applicable, a version descriptor defined specifically for the given code system.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.codeSystemVersion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "CS.displayName",
        "path": "CS.displayName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Display Name",
        "definition": "A name or title for the code, under which the sending system shows the code value to its users.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.displayName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "CS.sdtcValueSet",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "valueSet"
          }
        ],
        "path": "CS.sdtcValueSet",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.valueSet",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/oid"
            ]
          }
        ]
      },
      {
        "id": "CS.sdtcValueSetVersion",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
            "valueUri": "urn:hl7-org:sdtc"
          },
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-name",
            "valueString": "valueSetVersion"
          }
        ],
        "path": "CS.sdtcValueSetVersion",
        "representation": [
          "xmlAttr"
        ],
        "definition": "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CD.sdtcValueSetVersion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "CS.originalText",
        "path": "CS.originalText",
        "label": "Original Text",
        "definition": "The text or phrase used as the basis for the coding.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.originalText",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
          }
        ]
      },
      {
        "id": "CS.qualifier",
        "path": "CS.qualifier",
        "label": "Qualifier",
        "definition": "Specifies additional codes that increase the specificity of the the primary code.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.qualifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CR"
          }
        ]
      },
      {
        "id": "CS.translation",
        "path": "CS.translation",
        "representation": [
          "typeAttr"
        ],
        "label": "Translation",
        "definition": "A set of other concept descriptors that translate this concept descriptor into other code systems.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "CD.translation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/CD"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "CS",
        "path": "CS",
        "definition": "Coded data in its simplest form, where only the code is not predetermined. Used when a single code value must be sent.",
        "min": 1,
        "max": "*"
      },
      {
        "id": "CS.codeSystem",
        "path": "CS.codeSystem",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System",
        "min": 0,
        "max": "0"
      },
      {
        "id": "CS.codeSystemName",
        "path": "CS.codeSystemName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System Name",
        "min": 0,
        "max": "0"
      },
      {
        "id": "CS.codeSystemVersion",
        "path": "CS.codeSystemVersion",
        "representation": [
          "xmlAttr"
        ],
        "label": "Code System Version",
        "min": 0,
        "max": "0"
      },
      {
        "id": "CS.displayName",
        "path": "CS.displayName",
        "representation": [
          "xmlAttr"
        ],
        "label": "Display Name",
        "min": 0,
        "max": "0"
      },
      {
        "id": "CS.originalText",
        "path": "CS.originalText",
        "label": "Original Text",
        "min": 0,
        "max": "0"
      }
    ]
  }
}