StructureDefinition-ch-core-patient-ech-11-placeofbirth.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="ch-core-patient-ech-11-placeofbirth" /> 4 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics"> 5 <valueCode value="can-bind" /> 6 </extension> 7 <url value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeofbirth" /> 8 <version value="6.0.0-ballot-ci-build" /> 9 <name value="ChCorePatientEch11PlaceOfBirth" /> 10 <title value="Place of Birth according to eCH-0011" /> 11 <status value="active" /> 12 <date value="2025-01-29T14:29:51.0000000+01:00" /> 13 <publisher value="HL7 Switzerland" /> 14 <contact> 15 <name value="HL7 Switzerland" /> 16 <telecom> 17 <system value="url" /> 18 <value value="https://www.hl7.ch/" /> 19 </telecom> 20 </contact> 21 <contact> 22 <name value="HL7 Switzerland" /> 23 <telecom> 24 <system value="url" /> 25 <value value="https://www.hl7.ch/" /> 26 <use value="work" /> 27 </telecom> 28 </contact> 29 <description value="The registered place of birth of the patient." /> 30 <jurisdiction> 31 <coding> 32 <system value="urn:iso:std:iso:3166" /> 33 <code value="CH" /> 34 </coding> 35 </jurisdiction> 36 <copyright value="CC0-1.0" /> 37 <fhirVersion value="4.0.1" /> 38 <mapping> 39 <identity value="rim" /> 40 <uri value="http://hl7.org/v3" /> 41 <name value="RIM Mapping" /> 42 </mapping> 43 <kind value="complex-type" /> 44 <abstract value="false" /> 45 <context> 46 <type value="element" /> 47 <expression value="Patient" /> 48 </context> 49 <type value="Extension" /> 50 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/patient-birthPlace" /> 51 <derivation value="constraint" /> 52 <snapshot> 53 <element id="Extension"> 54 <path value="Extension" /> 55 <short value="Place of birth for patient according to eCH-0011" /> 56 <definition value="The registered place of birth of the patient." /> 57 <min value="0" /> 58 <max value="1" /> 59 <base> 60 <path value="Extension" /> 61 <min value="0" /> 62 <max value="*" /> 63 </base> 64 <constraint> 65 <key value="ele-1" /> 66 <severity value="error" /> 67 <human value="All FHIR elements must have a @value or children" /> 68 <expression value="hasValue() or (children().count() > id.count())" /> 69 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 70 </constraint> 71 <constraint> 72 <key value="ext-1" /> 73 <severity value="error" /> 74 <human value="Must have either extensions or value[x], not both" /> 75 <expression value="extension.exists() != value.exists()" /> 76 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 77 </constraint> 78 <isModifier value="false" /> 79 </element> 80 <element id="Extension.id"> 81 <path value="Extension.id" /> 82 <representation value="xmlAttr" /> 83 <short value="Unique id for inter-element referencing" /> 84 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 85 <min value="0" /> 86 <max value="1" /> 87 <base> 88 <path value="Element.id" /> 89 <min value="0" /> 90 <max value="1" /> 91 </base> 92 <type> 93 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 94 <valueUrl value="id" /> 95 </extension> 96 <code value="http://hl7.org/fhirpath/System.String" /> 97 </type> 98 <condition value="ele-1" /> 99 <isModifier value="false" /> 100 <isSummary value="false" /> 101 <mapping> 102 <identity value="rim" /> 103 <map value="n/a" /> 104 </mapping> 105 </element> 106 <element id="Extension.extension"> 107 <path value="Extension.extension" /> 108 <slicing> 109 <discriminator> 110 <type value="value" /> 111 <path value="url" /> 112 </discriminator> 113 <description value="Extensions are always sliced by (at least) url" /> 114 <rules value="open" /> 115 </slicing> 116 <short value="Extension" /> 117 <definition value="An Extension" /> 118 <min value="0" /> 119 <max value="0" /> 120 <base> 121 <path value="Element.extension" /> 122 <min value="0" /> 123 <max value="*" /> 124 </base> 125 <type> 126 <code value="Extension" /> 127 </type> 128 <constraint> 129 <key value="ele-1" /> 130 <severity value="error" /> 131 <human value="All FHIR elements must have a @value or children" /> 132 <expression value="hasValue() or (children().count() > id.count())" /> 133 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 134 </constraint> 135 <constraint> 136 <key value="ext-1" /> 137 <severity value="error" /> 138 <human value="Must have either extensions or value[x], not both" /> 139 <expression value="extension.exists() != value.exists()" /> 140 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 141 </constraint> 142 <isModifier value="false" /> 143 <isSummary value="false" /> 144 </element> 145 <element id="Extension.url"> 146 <path value="Extension.url" /> 147 <representation value="xmlAttr" /> 148 <short value="identifies the meaning of the extension" /> 149 <definition value="Source of the definition for the extension code - a logical name or a URL." /> 150 <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." /> 151 <min value="1" /> 152 <max value="1" /> 153 <base> 154 <path value="Extension.url" /> 155 <min value="1" /> 156 <max value="1" /> 157 </base> 158 <type> 159 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 160 <valueUrl value="uri" /> 161 </extension> 162 <code value="http://hl7.org/fhirpath/System.String" /> 163 </type> 164 <fixedUri value="http://hl7.org/fhir/StructureDefinition/patient-birthPlace" /> 165 <isModifier value="false" /> 166 <isSummary value="false" /> 167 <mapping> 168 <identity value="rim" /> 169 <map value="N/A" /> 170 </mapping> 171 </element> 172 <element id="Extension.value[x]"> 173 <path value="Extension.value[x]" /> 174 <short value="Value of extension" /> 175 <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list)." /> 176 <min value="1" /> 177 <max value="1" /> 178 <base> 179 <path value="Extension.value[x]" /> 180 <min value="0" /> 181 <max value="1" /> 182 </base> 183 <type> 184 <code value="Address" /> 185 <profile value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-address-ech-11-placeofbirth" /> 186 </type> 187 <condition value="ext-1" /> 188 <constraint> 189 <key value="ele-1" /> 190 <severity value="error" /> 191 <human value="All FHIR elements must have a @value or children" /> 192 <expression value="hasValue() or (children().count() > id.count())" /> 193 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 194 </constraint> 195 <isModifier value="false" /> 196 <isSummary value="false" /> 197 <mapping> 198 <identity value="rim" /> 199 <map value="N/A" /> 200 </mapping> 201 </element> 202 </snapshot> 203 <differential> 204 <element id="Extension"> 205 <path value="Extension" /> 206 <short value="Place of birth for patient according to eCH-0011" /> 207 <definition value="The registered place of birth of the patient." /> 208 </element> 209 <element id="Extension.value[x]"> 210 <path value="Extension.value[x]" /> 211 <type> 212 <code value="Address" /> 213 <profile value="http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-address-ech-11-placeofbirth" /> 214 </type> 215 </element> 216 </differential> 217 </StructureDefinition>