{ "description": "Base StructureDefinition for canonical type: A URI that is a reference to a canonical URL on a FHIR resource", "_filename": "canonical.profile.json", "package_name": "hl7.fhir.r5.examples", "date": "2021-05-03T21:59:52+10:00", "derivation": "specialization", "publisher": "HL7 FHIR Standard", "fhirVersion": "4.6.0", "name": "canonical", "abstract": false, "type": "canonical", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "4.6.0", "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" } ], "snapshot": { "element": [ { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "canonical", "min": 0, "definition": "A URI that is a reference to a canonical URL on a FHIR resource", "isModifier": false, "short": "Primitive Type canonical", "max": "*", "id": "canonical", "comment": "see [Canonical References](references.html#canonical)", "base": { "max": "*", "min": 0, "path": "canonical" }, "isSummary": false }, { "path": "canonical.id", "min": 0, "definition": "unique id for the element within a resource (for internal references)", "isModifier": false, "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", "valueUri": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "canonical.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "canonical.extension", "min": 0, "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 manageable, 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.", "isModifier": false, "short": "Additional content defined by implementations", "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "canonical.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.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "path": "canonical.value", "min": 0, "definition": "Primitive value for canonical", "isModifier": false, "short": "Primitive value for canonical", "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUri": "string" }, { "url": "http://hl7.org/fhir/StructureDefinition/regex", "valueString": "\\S*" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "canonical.value", "base": { "max": "1", "min": 0, "path": "uri.value" }, "isSummary": false } ] }, "status": "active", "id": "d5b95c07-92f9-4d2b-b16a-70c3556c396b", "kind": "primitive-type", "url": "http://hl7.org/fhir/StructureDefinition/canonical", "version": "4.6.0", "differential": { "element": [ { "id": "canonical", "max": "*", "min": 0, "path": "canonical", "short": "Primitive Type canonical", "comment": "see [Canonical References](references.html#canonical)", "definition": "A URI that is a reference to a canonical URL on a FHIR resource" }, { "id": "canonical.value", "max": "1", "min": 0, "path": "canonical.value", "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUri": "canonical" }, { "url": "http://hl7.org/fhir/StructureDefinition/regex", "valueString": "\\S*" } ] } ], "short": "Primitive value for canonical", "definition": "Primitive value for canonical", "representation": [ "xmlAttr" ] } ] }, "contact": [ { "telecom": [ { "value": "http://hl7.org/fhir", "system": "url" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/uri" }