boolean.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="boolean" /> 4 <meta> 5 <lastUpdated value="2023-03-26T06:21:02.749+02:00" /> 6 </meta> 7 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"> 8 <valueCode value="normative" /> 9 </extension> 10 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"> 11 <valueCode value="4.0.0" /> 12 </extension> 13 <url value="http://hl7.org/fhir/StructureDefinition/boolean" /> 14 <version value="5.0.0" /> 15 <name value="boolean" /> 16 <status value="active" /> 17 <experimental value="false" /> 18 <date value="2023-03-26T06:21:02.0000000+02:00" /> 19 <publisher value="HL7 FHIR Standard" /> 20 <contact> 21 <telecom> 22 <system value="url" /> 23 <value value="http://hl7.org/fhir" /> 24 </telecom> 25 </contact> 26 <description value="boolean Type: Value of "true" or "false"" /> 27 <jurisdiction> 28 <coding> 29 <system value="http://unstats.un.org/unsd/methods/m49/m49.htm" /> 30 <code value="001" /> 31 <display value="World" /> 32 </coding> 33 </jurisdiction> 34 <fhirVersion value="5.0.0" /> 35 <kind value="primitive-type" /> 36 <abstract value="false" /> 37 <type value="boolean" /> 38 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PrimitiveType" /> 39 <derivation value="specialization" /> 40 <snapshot> 41 <element id="boolean"> 42 <path value="boolean" /> 43 <short value="Primitive Type boolean" /> 44 <definition value="Value of "true" or "false"" /> 45 <min value="0" /> 46 <max value="*" /> 47 <base> 48 <path value="boolean" /> 49 <min value="0" /> 50 <max value="*" /> 51 </base> 52 <constraint> 53 <key value="ele-1" /> 54 <severity value="error" /> 55 <human value="All FHIR elements must have a @value or children" /> 56 <expression value="hasValue() or (children().count() > id.count())" /> 57 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 58 </constraint> 59 <isModifier value="false" /> 60 <isSummary value="false" /> 61 </element> 62 <element id="boolean.id"> 63 <path value="boolean.id" /> 64 <representation value="xmlAttr" /> 65 <short value="xml:id (or equivalent in JSON)" /> 66 <definition value="unique id for the element within a resource (for internal references)" /> 67 <min value="0" /> 68 <max value="1" /> 69 <base> 70 <path value="Element.id" /> 71 <min value="0" /> 72 <max value="1" /> 73 </base> 74 <type> 75 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 76 <valueUrl value="string" /> 77 </extension> 78 <code value="http://hl7.org/fhirpath/System.String" /> 79 </type> 80 <isModifier value="false" /> 81 <isSummary value="false" /> 82 </element> 83 <element id="boolean.extension"> 84 <path value="boolean.extension" /> 85 <short value="Additional content defined by implementations" /> 86 <definition value="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." /> 87 <comment value="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." /> 88 <alias value="extensions" /> 89 <alias value="user content" /> 90 <min value="0" /> 91 <max value="*" /> 92 <base> 93 <path value="Element.extension" /> 94 <min value="0" /> 95 <max value="*" /> 96 </base> 97 <type> 98 <code value="Extension" /> 99 </type> 100 <constraint> 101 <key value="ele-1" /> 102 <severity value="error" /> 103 <human value="All FHIR elements must have a @value or children" /> 104 <expression value="hasValue() or (children().count() > id.count())" /> 105 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 106 </constraint> 107 <constraint> 108 <key value="ext-1" /> 109 <severity value="error" /> 110 <human value="Must have either extensions or value[x], not both" /> 111 <expression value="extension.exists() != value.exists()" /> 112 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 113 </constraint> 114 <isModifier value="false" /> 115 <isSummary value="false" /> 116 </element> 117 <element id="boolean.value"> 118 <path value="boolean.value" /> 119 <representation value="xmlAttr" /> 120 <short value="Primitive value for boolean" /> 121 <definition value="The actual value" /> 122 <min value="0" /> 123 <max value="1" /> 124 <base> 125 <path value="boolean.value" /> 126 <min value="0" /> 127 <max value="1" /> 128 </base> 129 <type> 130 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 131 <valueUrl value="boolean" /> 132 </extension> 133 <extension url="http://hl7.org/fhir/StructureDefinition/regex"> 134 <valueString value="true|false" /> 135 </extension> 136 <code value="http://hl7.org/fhirpath/System.Boolean" /> 137 </type> 138 <isModifier value="false" /> 139 <isSummary value="false" /> 140 </element> 141 </snapshot> 142 <differential> 143 <element id="boolean"> 144 <path value="boolean" /> 145 <short value="Primitive Type boolean" /> 146 <definition value="Value of "true" or "false"" /> 147 <min value="0" /> 148 <max value="*" /> 149 </element> 150 <element id="boolean.value"> 151 <path value="boolean.value" /> 152 <representation value="xmlAttr" /> 153 <short value="Primitive value for boolean" /> 154 <definition value="Primitive value for boolean" /> 155 <min value="0" /> 156 <max value="1" /> 157 <type> 158 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 159 <valueUrl value="boolean" /> 160 </extension> 161 <extension url="http://hl7.org/fhir/StructureDefinition/regex"> 162 <valueString value="true|false" /> 163 </extension> 164 <code value="http://hl7.org/fhirpath/System.Boolean" /> 165 </type> 166 </element> 167 </differential> 168 </StructureDefinition>