{ "description": "Base StructureDefinition for boolean Type: Value of \\\"true\\\" or \\\"false\\\"", "_filename": "boolean.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": "boolean", "abstract": false, "type": "boolean", "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": "boolean", "min": 0, "definition": "Value of \"true\" or \"false\"", "isModifier": false, "short": "Primitive Type boolean", "max": "*", "id": "boolean", "base": { "max": "*", "min": 0, "path": "boolean" }, "isSummary": false }, { "path": "boolean.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": "boolean.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": "boolean.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": "boolean.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": "boolean.value", "min": 0, "definition": "The actual value", "isModifier": false, "short": "Primitive value for boolean", "type": [ { "code": "http://hl7.org/fhirpath/System.Boolean", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUri": "boolean" }, { "url": "http://hl7.org/fhir/StructureDefinition/regex", "valueString": "true|false" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "boolean.value", "base": { "max": "1", "min": 0, "path": "boolean.value" }, "isSummary": false } ] }, "status": "active", "id": "72d434ae-d54f-4e8e-9330-a6d45e3d2d4e", "kind": "primitive-type", "url": "http://hl7.org/fhir/StructureDefinition/boolean", "version": "4.6.0", "differential": { "element": [ { "id": "boolean", "max": "*", "min": 0, "path": "boolean", "short": "Primitive Type boolean", "definition": "Value of \"true\" or \"false\"" }, { "id": "boolean.value", "max": "1", "min": 0, "path": "boolean.value", "type": [ { "code": "http://hl7.org/fhirpath/System.Boolean", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUri": "boolean" }, { "url": "http://hl7.org/fhir/StructureDefinition/regex", "valueString": "true|false" } ] } ], "short": "Primitive value for boolean", "definition": "Primitive value for boolean", "representation": [ "xmlAttr" ] } ] }, "contact": [ { "telecom": [ { "value": "http://hl7.org/fhir", "system": "url" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PrimitiveType" }