practitionerrole-primaryInd.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="practitionerrole-primaryInd" /> 4 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> 5 <valueCode value="pa" /> 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/practitionerrole-primaryInd" /> 11 <version value="4.0.1" /> 12 <name value="primaryInd" /> 13 <title value="primaryInd" /> 14 <status value="draft" /> 15 <date value="2019-10-31T23:29:23.0000000+01:00" /> 16 <publisher value="HL7" /> 17 <description value="Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary." /> 18 <fhirVersion value="4.0.1" /> 19 <mapping> 20 <identity value="rim" /> 21 <uri value="http://hl7.org/v3" /> 22 <name value="RIM Mapping" /> 23 </mapping> 24 <kind value="complex-type" /> 25 <abstract value="false" /> 26 <context> 27 <type value="element" /> 28 <expression value="PractitionerRole.specialty" /> 29 </context> 30 <type value="Extension" /> 31 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> 32 <derivation value="constraint" /> 33 <snapshot> 34 <element id="Extension"> 35 <path value="Extension" /> 36 <short value="Indicator of primary specialty" /> 37 <definition value="Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary." /> 38 <min value="0" /> 39 <max value="1" /> 40 <base> 41 <path value="Extension" /> 42 <min value="0" /> 43 <max value="*" /> 44 </base> 45 <condition value="ele-1" /> 46 <constraint> 47 <key value="ele-1" /> 48 <severity value="error" /> 49 <human value="All FHIR elements must have a @value or children" /> 50 <expression value="hasValue() or (children().count() > id.count())" /> 51 <xpath value="@value|f:*|h:div" /> 52 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 53 </constraint> 54 <constraint> 55 <key value="ext-1" /> 56 <severity value="error" /> 57 <human value="Must have either extensions or value[x], not both" /> 58 <expression value="extension.exists() != value.exists()" /> 59 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" /> 60 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 61 </constraint> 62 <isModifier value="false" /> 63 </element> 64 <element id="Extension.id"> 65 <path value="Extension.id" /> 66 <representation value="xmlAttr" /> 67 <short value="Unique id for inter-element referencing" /> 68 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 69 <min value="0" /> 70 <max value="1" /> 71 <base> 72 <path value="Element.id" /> 73 <min value="0" /> 74 <max value="1" /> 75 </base> 76 <type> 77 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 78 <valueUrl value="string" /> 79 </extension> 80 <code value="http://hl7.org/fhirpath/System.String" /> 81 </type> 82 <isModifier value="false" /> 83 <isSummary value="false" /> 84 <mapping> 85 <identity value="rim" /> 86 <map value="n/a" /> 87 </mapping> 88 </element> 89 <element id="Extension.extension"> 90 <path value="Extension.extension" /> 91 <slicing> 92 <discriminator> 93 <type value="value" /> 94 <path value="url" /> 95 </discriminator> 96 <description value="Extensions are always sliced by (at least) url" /> 97 <rules value="open" /> 98 </slicing> 99 <short value="Extension" /> 100 <definition value="An Extension" /> 101 <min value="0" /> 102 <max value="0" /> 103 <base> 104 <path value="Element.extension" /> 105 <min value="0" /> 106 <max value="*" /> 107 </base> 108 <type> 109 <code value="Extension" /> 110 </type> 111 <constraint> 112 <key value="ele-1" /> 113 <severity value="error" /> 114 <human value="All FHIR elements must have a @value or children" /> 115 <expression value="hasValue() or (children().count() > id.count())" /> 116 <xpath value="@value|f:*|h:div" /> 117 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 118 </constraint> 119 <constraint> 120 <key value="ext-1" /> 121 <severity value="error" /> 122 <human value="Must have either extensions or value[x], not both" /> 123 <expression value="extension.exists() != value.exists()" /> 124 <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" /> 125 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 126 </constraint> 127 <isModifier value="false" /> 128 <isSummary value="false" /> 129 </element> 130 <element id="Extension.url"> 131 <path value="Extension.url" /> 132 <representation value="xmlAttr" /> 133 <short value="identifies the meaning of the extension" /> 134 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 135 <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." /> 136 <min value="1" /> 137 <max value="1" /> 138 <base> 139 <path value="Extension.url" /> 140 <min value="1" /> 141 <max value="1" /> 142 </base> 143 <type> 144 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 145 <valueUrl value="uri" /> 146 </extension> 147 <code value="http://hl7.org/fhirpath/System.String" /> 148 </type> 149 <fixedUri value="http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd" /> 150 <isModifier value="false" /> 151 <isSummary value="false" /> 152 <mapping> 153 <identity value="rim" /> 154 <map value="N/A" /> 155 </mapping> 156 </element> 157 <element id="Extension.value[x]"> 158 <path value="Extension.value[x]" /> 159 <short value="Value of extension" /> 160 <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)." /> 161 <min value="1" /> 162 <max value="1" /> 163 <base> 164 <path value="Extension.value[x]" /> 165 <min value="0" /> 166 <max value="1" /> 167 </base> 168 <type> 169 <code value="boolean" /> 170 </type> 171 <constraint> 172 <key value="ele-1" /> 173 <severity value="error" /> 174 <human value="All FHIR elements must have a @value or children" /> 175 <expression value="hasValue() or (children().count() > id.count())" /> 176 <xpath value="@value|f:*|h:div" /> 177 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 178 </constraint> 179 <isModifier value="false" /> 180 <isSummary value="false" /> 181 <mapping> 182 <identity value="rim" /> 183 <map value="N/A" /> 184 </mapping> 185 </element> 186 </snapshot> 187 <differential> 188 <element id="Extension"> 189 <path value="Extension" /> 190 <short value="Indicator of primary specialty" /> 191 <definition value="Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary." /> 192 <min value="0" /> 193 <max value="1" /> 194 <isModifier value="false" /> 195 </element> 196 <element id="Extension.extension"> 197 <path value="Extension.extension" /> 198 <max value="0" /> 199 </element> 200 <element id="Extension.url"> 201 <path value="Extension.url" /> 202 <fixedUri value="http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd" /> 203 </element> 204 <element id="Extension.value[x]"> 205 <path value="Extension.value[x]" /> 206 <min value="1" /> 207 <type> 208 <code value="boolean" /> 209 </type> 210 </element> 211 </differential> 212 </StructureDefinition>