structuredefinition-security-category.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="structuredefinition-security-category" /> 4 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> 5 <valueCode value="fhir" /> 6 </extension> 7 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"> 8 <valueInteger value="1" /> 9 </extension> 10 <url value="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" /> 11 <version value="4.0.1" /> 12 <name value="security-category" /> 13 <title value="Security Category" /> 14 <status value="draft" /> 15 <date value="2014-01-31" /> 16 <publisher value="Health Level Seven, Inc. - [WG Name] WG" /> 17 <contact> 18 <telecom> 19 <system value="url" /> 20 <value value="http://hl7.org/special/committees/FHIR" /> 21 </telecom> 22 </contact> 23 <description value="Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete the resource." /> 24 <fhirVersion value="4.0.1" /> 25 <mapping> 26 <identity value="rim" /> 27 <uri value="http://hl7.org/v3" /> 28 <name value="RIM Mapping" /> 29 </mapping> 30 <kind value="complex-type" /> 31 <abstract value="false" /> 32 <context> 33 <type value="element" /> 34 <expression value="StructureDefinition" /> 35 </context> 36 <type value="Extension" /> 37 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 38 <derivation value="constraint" /> 39 <snapshot> 40 <element id="Extension"> 41 <path value="Extension" /> 42 <short value="Security Categorization for Resource" /> 43 <definition value="Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete the resource." /> 44 <comment value="This is only guidance; applications must perform their own analysis to meet their own requirements." /> 45 <min value="0" /> 46 <max value="1" /> 47 <base> 48 <path value="Extension" /> 49 <min value="0" /> 50 <max value="*" /> 51 </base> 52 <condition value="ele-1" /> 53 <constraint> 54 <key value="ele-1" /> 55 <severity value="error" /> 56 <human value="All FHIR elements must have a @value or children" /> 57 <expression value="hasValue() or (children().count() > id.count())" /> 58 <xpath value="@value|f:*|h:div" /> 59 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 60 </constraint> 61 <constraint> 62 <key value="ext-1" /> 63 <severity value="error" /> 64 <human value="Must have either extensions or value[x], not both" /> 65 <expression value="extension.exists() != value.exists()" /> 66 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" /> 67 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 68 </constraint> 69 <isModifier value="false" /> 70 </element> 71 <element id="Extension.id"> 72 <path value="Extension.id" /> 73 <representation value="xmlAttr" /> 74 <short value="Unique id for inter-element referencing" /> 75 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 76 <min value="0" /> 77 <max value="1" /> 78 <base> 79 <path value="Element.id" /> 80 <min value="0" /> 81 <max value="1" /> 82 </base> 83 <type> 84 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 85 <valueUrl value="string" /> 86 </extension> 87 <code value="http://hl7.org/fhirpath/System.String" /> 88 </type> 89 <isModifier value="false" /> 90 <isSummary value="false" /> 91 <mapping> 92 <identity value="rim" /> 93 <map value="n/a" /> 94 </mapping> 95 </element> 96 <element id="Extension.extension"> 97 <path value="Extension.extension" /> 98 <slicing> 99 <discriminator> 100 <type value="value" /> 101 <path value="url" /> 102 </discriminator> 103 <description value="Extensions are always sliced by (at least) url" /> 104 <rules value="open" /> 105 </slicing> 106 <short value="Extension" /> 107 <definition value="An Extension" /> 108 <min value="0" /> 109 <max value="0" /> 110 <base> 111 <path value="Element.extension" /> 112 <min value="0" /> 113 <max value="*" /> 114 </base> 115 <type> 116 <code value="Extension" /> 117 </type> 118 <constraint> 119 <key value="ele-1" /> 120 <severity value="error" /> 121 <human value="All FHIR elements must have a @value or children" /> 122 <expression value="hasValue() or (children().count() > id.count())" /> 123 <xpath value="@value|f:*|h:div" /> 124 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 125 </constraint> 126 <constraint> 127 <key value="ext-1" /> 128 <severity value="error" /> 129 <human value="Must have either extensions or value[x], not both" /> 130 <expression value="extension.exists() != value.exists()" /> 131 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 132 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 133 </constraint> 134 <isModifier value="false" /> 135 <isSummary value="false" /> 136 </element> 137 <element id="Extension.url"> 138 <path value="Extension.url" /> 139 <representation value="xmlAttr" /> 140 <short value="identifies the meaning of the extension" /> 141 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 142 <comment value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." /> 143 <min value="1" /> 144 <max value="1" /> 145 <base> 146 <path value="Extension.url" /> 147 <min value="1" /> 148 <max value="1" /> 149 </base> 150 <type> 151 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 152 <valueUrl value="uri" /> 153 </extension> 154 <code value="http://hl7.org/fhirpath/System.String" /> 155 </type> 156 <fixedUri value="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" /> 157 <isModifier value="false" /> 158 <isSummary value="false" /> 159 <mapping> 160 <identity value="rim" /> 161 <map value="N/A" /> 162 </mapping> 163 </element> 164 <element id="Extension.value[x]"> 165 <path value="Extension.value[x]" /> 166 <short value="Value of extension" /> 167 <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list)." /> 168 <min value="1" /> 169 <max value="1" /> 170 <base> 171 <path value="Extension.value[x]" /> 172 <min value="0" /> 173 <max value="1" /> 174 </base> 175 <type> 176 <code value="code" /> 177 </type> 178 <constraint> 179 <key value="ele-1" /> 180 <severity value="error" /> 181 <human value="All FHIR elements must have a @value or children" /> 182 <expression value="hasValue() or (children().count() > id.count())" /> 183 <xpath value="@value|f:*|h:div" /> 184 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 185 </constraint> 186 <isModifier value="false" /> 187 <isSummary value="false" /> 188 <binding> 189 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> 190 <valueString value="ResourceSecurityCategory" /> 191 </extension> 192 <strength value="required" /> 193 <description value="Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete a resource." /> 194 <valueSet value="http://hl7.org/fhir/ValueSet/resource-security-category|4.0.1" /> 195 </binding> 196 <mapping> 197 <identity value="rim" /> 198 <map value="N/A" /> 199 </mapping> 200 </element> 201 </snapshot> 202 <differential> 203 <element id="Extension"> 204 <path value="Extension" /> 205 <short value="Security Categorization for Resource" /> 206 <definition value="Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete the resource." /> 207 <comment value="This is only guidance; applications must perform their own analysis to meet their own requirements." /> 208 <min value="0" /> 209 <max value="1" /> 210 </element> 211 <element id="Extension.extension"> 212 <path value="Extension.extension" /> 213 <max value="0" /> 214 </element> 215 <element id="Extension.url"> 216 <path value="Extension.url" /> 217 <fixedUri value="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" /> 218 </element> 219 <element id="Extension.value[x]"> 220 <path value="Extension.value[x]" /> 221 <min value="1" /> 222 <type> 223 <code value="code" /> 224 </type> 225 <binding> 226 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> 227 <valueString value="ResourceSecurityCategory" /> 228 </extension> 229 <strength value="required" /> 230 <description value="Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete a resource." /> 231 <valueSet value="http://hl7.org/fhir/ValueSet/resource-security-category|4.0.1" /> 232 </binding> 233 </element> 234 </differential> 235 </StructureDefinition>