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