Clinical Document Architecture with Australian Schema
1.0.0 - current Australia flag

Clinical Document Architecture with Australian Schema - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Logical Model: CS - TTL Profile

Active as of 2024-08-29

TTL representation of the CS logical model.

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "CS"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Coded data, consists of a code, display name, code system, and original text. Used when a single code value must be sent.</p>\n    </div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ] ;
fhir:value [ fhir:v "not-applicable" ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:v3"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics"^^xsd:anyURI ] ;
fhir:value [ fhir:v "can-bind" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-binding-style"^^xsd:anyURI ] ;
fhir:value [ fhir:v "CDA" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-container"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"^^xsd:anyURI ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "CS"] ; # 
  fhir:title [ fhir:v "CS: CodedSimpleValue (V3 Data Type)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-08-29T09:46:41+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7"] ; # 
  fhir:description [ fhir:v "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."] ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CV"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/CV>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
    ( fhir:element [
fhir:id [ fhir:v "CS" ] ;
fhir:path [ fhir:v "CS" ] ;
fhir:short [ fhir:v "Base for all types and resources" ] ;
fhir:definition [ fhir:v "Coded data in its simplest form, where only the code is not predetermined. Used when a single code value must be sent." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Base" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "CS.nullFlavor" ] ;
fhir:path [ fhir:v "CS.nullFlavor" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Exceptional Value Detail" ] ;
fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "ANY.nullFlavor" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor>         ]       ]     ] [
fhir:id [ fhir:v "CS.code" ] ;
fhir:path [ fhir:v "CS.code" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Code" ] ;
fhir:definition [ fhir:v "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." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CD.code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "CS.codeSystem" ] ;
fhir:path [ fhir:v "CS.codeSystem" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Code System" ] ;
fhir:definition [ fhir:v "Specifies the code system that defines the code." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "CD.codeSystem" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/oid>         ] [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/uuid>         ] [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/ruid>         ] )       ] )     ] [
fhir:id [ fhir:v "CS.codeSystemName" ] ;
fhir:path [ fhir:v "CS.codeSystemName" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Code System Name" ] ;
fhir:definition [ fhir:v "The common name of the coding system." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "CD.codeSystemName" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "CS.codeSystemVersion" ] ;
fhir:path [ fhir:v "CS.codeSystemVersion" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Code System Version" ] ;
fhir:definition [ fhir:v "If applicable, a version descriptor defined specifically for the given code system." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "CD.codeSystemVersion" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "CS.displayName" ] ;
fhir:path [ fhir:v "CS.displayName" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Display Name" ] ;
fhir:definition [ fhir:v "A name or title for the code, under which the sending system shows the code value to its users." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "CD.displayName" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "CS.sdtcValueSet" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "valueSet" ]       ] ) ;
fhir:path [ fhir:v "CS.sdtcValueSet" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:definition [ fhir:v "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CD.valueSet" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/oid>         ] )       ] )     ] [
fhir:id [ fhir:v "CS.sdtcValueSetVersion" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "valueSetVersion" ]       ] ) ;
fhir:path [ fhir:v "CS.sdtcValueSetVersion" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:definition [ fhir:v "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." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "CD.sdtcValueSetVersion" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "CS.originalText" ] ;
fhir:path [ fhir:v "CS.originalText" ] ;
fhir:label [ fhir:v "Original Text" ] ;
fhir:definition [ fhir:v "The text or phrase used as the basis for the coding." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "CD.originalText" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "CS.qualifier" ] ;
fhir:path [ fhir:v "CS.qualifier" ] ;
fhir:label [ fhir:v "Qualifier" ] ;
fhir:definition [ fhir:v "Specifies additional codes that increase the specificity of the the primary code." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "CD.qualifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CR"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "CS.translation" ] ;
fhir:path [ fhir:v "CS.translation" ] ;
      ( fhir:representation [ fhir:v "typeAttr" ] ) ;
fhir:label [ fhir:v "Translation" ] ;
fhir:definition [ fhir:v "A set of other concept descriptors that translate this concept descriptor into other code systems." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "CD.translation" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD"^^xsd:anyURI ]       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "CS" ] ;
fhir:path [ fhir:v "CS" ] ;
fhir:definition [ fhir:v "Coded data in its simplest form, where only the code is not predetermined. Used when a single code value must be sent." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]     ] [
fhir:id [ fhir:v "CS.codeSystem" ] ;
fhir:path [ fhir:v "CS.codeSystem" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Code System" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ]     ] [
fhir:id [ fhir:v "CS.codeSystemName" ] ;
fhir:path [ fhir:v "CS.codeSystemName" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Code System Name" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ]     ] [
fhir:id [ fhir:v "CS.codeSystemVersion" ] ;
fhir:path [ fhir:v "CS.codeSystemVersion" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Code System Version" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ]     ] [
fhir:id [ fhir:v "CS.displayName" ] ;
fhir:path [ fhir:v "CS.displayName" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Display Name" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ]     ] [
fhir:id [ fhir:v "CS.originalText" ] ;
fhir:path [ fhir:v "CS.originalText" ] ;
fhir:label [ fhir:v "Original Text" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ]     ] )
  ] . #