{ "description": "Base StructureDefinition for Element Type: Base definition for all elements in a resource.", "_filename": "StructureDefinition-Element.json", "package_name": "hl7.fhir.core", "date": "2018-08-19T21:48:56+10:00", "meta": { "lastUpdated": "2018-08-19T21:48:56.559+10:00" }, "publisher": "HL7 FHIR Standard", "fhirVersion": "3.5.0", "name": "Element", "mapping": [ { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" } ], "abstract": true, "type": "Element", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "3.5.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueString": "Normative" } ], "snapshot": { "element": [ { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Element", "min": 0, "definition": "Base definition for all elements in a resource.", "isModifier": false, "short": "Base for all elements", "mapping": [ { "map": "n/a", "identity": "rim" } ], "max": "*", "id": "Element", "condition": [ "ele-1" ], "base": { "max": "*", "min": 0, "path": "Element" } }, { "path": "Element.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "_code": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type", "valueString": "string" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type", "valueString": "xsd:string" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type", "valueString": "xsd:string" } ] } } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Element.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "path": "Element.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. 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", "mapping": [ { "map": "n/a", "identity": "rim" } ], "slicing": { "rules": "open", "description": "Extensions are always sliced by (at least) url", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "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.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false } ] }, "status": "draft", "id": "72124bb7-f6da-4f50-a3c1-f8ce35a09c9d", "kind": "complex-type", "url": "http://hl7.org/fhir/StructureDefinition/Element", "version": null, "differential": { "element": [ { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "Element", "min": 0, "definition": "Base definition for all elements in a resource.", "short": "Base for all elements", "mapping": [ { "map": "n/a", "identity": "rim" } ], "max": "*", "id": "Element", "condition": [ "ele-1" ] }, { "path": "Element.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "_code": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type", "valueString": "string" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type", "valueString": "xsd:string" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type", "valueString": "xsd:string" } ] } } ], "representation": [ "xmlAttr" ], "max": "1", "id": "Element.id" }, { "path": "Element.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. 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.", "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "slicing": { "rules": "open", "description": "Extensions are always sliced by (at least) url", "discriminator": [ { "path": "url", "type": "value" } ] }, "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "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." } ] }, "contact": [ { "telecom": [ { "value": "http://hl7.org/fhir", "system": "url" } ] } ] }