{"abstract":false,"baseDefinition":"http://hl7.org/fhir/StructureDefinition/string","contact":[{"telecom":[{"system":"url","value":"http://hl7.org/fhir"}]},{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/fiwg"}]}],"date":"2026-04-01T17:59:15+00:00","derivation":"specialization","description":"code type: A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents","differential":{"element":[{"definition":"A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents","id":"code","max":"*","min":0,"path":"code","short":"Primitive Type code"},{"definition":"Primitive value for code","id":"code.value","max":"1","min":0,"path":"code.value","representation":["xmlAttr"],"short":"Primitive value for code","type":[{"code":"http://hl7.org/fhirpath/System.String","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"code"},{"url":"http://hl7.org/fhir/StructureDefinition/regex","valueString":"[^\\s]+( [^\\s]+)*"}]}]}]},"experimental":false,"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"normative"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version","valueCode":"4.0.0"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics","valueCode":"can-bind"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics","valueCode":"has-length"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-wg","valueCode":"fhir"}],"fhirVersion":"6.0.0-ballot4","id":"code","jurisdiction":[{"coding":[{"code":"001","display":"World","system":"http://unstats.un.org/unsd/methods/m49/m49.htm"}]}],"kind":"primitive-type","name":"code","publisher":"HL7 International / FHIR Infrastructure","resourceType":"StructureDefinition","snapshot":{"element":[{"base":{"max":"*","min":0,"path":"code"},"constraint":[{"expression":"hasValue() or (children().count() > id.count())","human":"All FHIR elements must have a @value or children or both","key":"ele-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"definition":"A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents","id":"code","isModifier":false,"isSummary":false,"max":"*","min":0,"path":"code","short":"Primitive Type code"},{"base":{"max":"1","min":0,"path":"Element.id"},"definition":"unique id for the element within a resource (for internal references)","id":"code.id","isModifier":false,"isSummary":false,"max":"1","min":0,"path":"code.id","representation":["xmlAttr"],"short":"xml:id (or equivalent in JSON)","type":[{"code":"http://hl7.org/fhirpath/System.String","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}]}]},{"alias":["extensions","user content"],"base":{"max":"*","min":0,"path":"Element.extension"},"comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","constraint":[{"expression":"hasValue() or (children().count() > id.count())","human":"All FHIR elements must have a @value or children","key":"ele-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"expression":"extension.exists() != value.exists()","human":"Must have either extensions or value[x], not both","key":"ext-1","severity":"error","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","id":"code.extension","isModifier":false,"isSummary":false,"max":"*","min":0,"path":"code.extension","short":"Additional content defined by implementations","type":[{"code":"Extension"}]},{"base":{"max":"1","min":0,"path":"string.value"},"definition":"Primitive value for code","id":"code.value","isModifier":false,"isSummary":false,"max":"1","min":0,"path":"code.value","representation":["xmlAttr"],"short":"Primitive value for code","type":[{"code":"http://hl7.org/fhirpath/System.String","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"code"},{"url":"http://hl7.org/fhir/StructureDefinition/regex","valueString":"[^\\s]+( [^\\s]+)*"}]}]}]},"status":"active","text":{"div":"<div xmlns=\"http://www.w3.org/1999/xhtml\">to do</div>","status":"generated"},"type":"code","url":"http://hl7.org/fhir/StructureDefinition/code","version":"6.0.0-ballot4"}