ContactPoint.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <StructureDefinition xmlns="http://hl7.org/fhir"> 3 <id value="ContactPoint" /> 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/ContactPoint" /> 14 <version value="5.0.0" /> 15 <name value="ContactPoint" /> 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="ContactPoint Type: Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc." /> 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 <purpose value="Need to track phone, fax, mobile, sms numbers, email addresses, twitter tags, etc." /> 35 <fhirVersion value="5.0.0" /> 36 <mapping> 37 <identity value="v2" /> 38 <uri value="http://hl7.org/v2" /> 39 <name value="HL7 V2 Mapping" /> 40 </mapping> 41 <mapping> 42 <identity value="rim" /> 43 <uri value="http://hl7.org/v3" /> 44 <name value="RIM Mapping" /> 45 </mapping> 46 <mapping> 47 <identity value="servd" /> 48 <uri value="http://www.omg.org/spec/ServD/1.0/" /> 49 <name value="ServD" /> 50 </mapping> 51 <kind value="complex-type" /> 52 <abstract value="false" /> 53 <type value="ContactPoint" /> 54 <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DataType" /> 55 <derivation value="specialization" /> 56 <snapshot> 57 <element id="ContactPoint"> 58 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"> 59 <valueCode value="normative" /> 60 </extension> 61 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"> 62 <valueCode value="4.0.0" /> 63 </extension> 64 <path value="ContactPoint" /> 65 <short value="Details of a Technology mediated contact point (phone, fax, email, etc.)" /> 66 <definition value="Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc." /> 67 <min value="0" /> 68 <max value="*" /> 69 <base> 70 <path value="ContactPoint" /> 71 <min value="0" /> 72 <max value="*" /> 73 </base> 74 <constraint> 75 <key value="cpt-2" /> 76 <severity value="error" /> 77 <human value="A system is required if a value is provided." /> 78 <expression value="value.empty() or system.exists()" /> 79 <source value="http://hl7.org/fhir/StructureDefinition/ContactPoint" /> 80 </constraint> 81 <constraint> 82 <key value="ele-1" /> 83 <severity value="error" /> 84 <human value="All FHIR elements must have a @value or children" /> 85 <expression value="hasValue() or (children().count() > id.count())" /> 86 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 87 </constraint> 88 <isModifier value="false" /> 89 <mapping> 90 <identity value="rim" /> 91 <map value="n/a,TEL" /> 92 </mapping> 93 <mapping> 94 <identity value="v2" /> 95 <map value="XTN" /> 96 </mapping> 97 <mapping> 98 <identity value="servd" /> 99 <map value="ContactPoint" /> 100 </mapping> 101 </element> 102 <element id="ContactPoint.id"> 103 <path value="ContactPoint.id" /> 104 <representation value="xmlAttr" /> 105 <short value="Unique id for inter-element referencing" /> 106 <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." /> 107 <min value="0" /> 108 <max value="1" /> 109 <base> 110 <path value="Element.id" /> 111 <min value="0" /> 112 <max value="1" /> 113 </base> 114 <type> 115 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"> 116 <valueUrl value="id" /> 117 </extension> 118 <code value="http://hl7.org/fhirpath/System.String" /> 119 </type> 120 <condition value="ele-1" /> 121 <isModifier value="false" /> 122 <isSummary value="false" /> 123 <mapping> 124 <identity value="rim" /> 125 <map value="n/a" /> 126 </mapping> 127 </element> 128 <element id="ContactPoint.extension"> 129 <path value="ContactPoint.extension" /> 130 <slicing> 131 <discriminator> 132 <type value="value" /> 133 <path value="url" /> 134 </discriminator> 135 <description value="Extensions are always sliced by (at least) url" /> 136 <rules value="open" /> 137 </slicing> 138 <short value="Additional content defined by implementations" /> 139 <definition value="May be used to represent additional information that is not part of the basic definition of the element. 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." /> 140 <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." /> 141 <alias value="extensions" /> 142 <alias value="user content" /> 143 <min value="0" /> 144 <max value="*" /> 145 <base> 146 <path value="Element.extension" /> 147 <min value="0" /> 148 <max value="*" /> 149 </base> 150 <type> 151 <code value="Extension" /> 152 </type> 153 <constraint> 154 <key value="ele-1" /> 155 <severity value="error" /> 156 <human value="All FHIR elements must have a @value or children" /> 157 <expression value="hasValue() or (children().count() > id.count())" /> 158 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 159 </constraint> 160 <constraint> 161 <key value="ext-1" /> 162 <severity value="error" /> 163 <human value="Must have either extensions or value[x], not both" /> 164 <expression value="extension.exists() != value.exists()" /> 165 <source value="http://hl7.org/fhir/StructureDefinition/Extension" /> 166 </constraint> 167 <isModifier value="false" /> 168 <isSummary value="false" /> 169 <mapping> 170 <identity value="rim" /> 171 <map value="n/a" /> 172 </mapping> 173 </element> 174 <element id="ContactPoint.system"> 175 <path value="ContactPoint.system" /> 176 <short value="phone | fax | email | pager | url | sms | other" /> 177 <definition value="Telecommunications form for contact point - what communications system is required to make use of the contact." /> 178 <min value="0" /> 179 <max value="1" /> 180 <base> 181 <path value="ContactPoint.system" /> 182 <min value="0" /> 183 <max value="1" /> 184 </base> 185 <type> 186 <code value="code" /> 187 </type> 188 <condition value="cpt-2" /> 189 <constraint> 190 <key value="ele-1" /> 191 <severity value="error" /> 192 <human value="All FHIR elements must have a @value or children" /> 193 <expression value="hasValue() or (children().count() > id.count())" /> 194 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 195 </constraint> 196 <isModifier value="false" /> 197 <isSummary value="true" /> 198 <binding> 199 <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition"> 200 <valueString value="Telecommunications form for contact point." /> 201 </extension> 202 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> 203 <valueString value="ContactPointSystem" /> 204 </extension> 205 <strength value="required" /> 206 <description value="Telecommunications form for contact point." /> 207 <valueSet value="http://hl7.org/fhir/ValueSet/contact-point-system|5.0.0" /> 208 </binding> 209 <mapping> 210 <identity value="v2" /> 211 <map value="XTN.3" /> 212 </mapping> 213 <mapping> 214 <identity value="rim" /> 215 <map value="./scheme" /> 216 </mapping> 217 <mapping> 218 <identity value="servd" /> 219 <map value="./ContactPointType" /> 220 </mapping> 221 </element> 222 <element id="ContactPoint.value"> 223 <path value="ContactPoint.value" /> 224 <short value="The actual contact point details" /> 225 <definition value="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)." /> 226 <comment value="Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value." /> 227 <requirements value="Need to support legacy numbers that are not in a tightly controlled format." /> 228 <min value="0" /> 229 <max value="1" /> 230 <base> 231 <path value="ContactPoint.value" /> 232 <min value="0" /> 233 <max value="1" /> 234 </base> 235 <type> 236 <code value="string" /> 237 </type> 238 <condition value="cpt-2" /> 239 <constraint> 240 <key value="ele-1" /> 241 <severity value="error" /> 242 <human value="All FHIR elements must have a @value or children" /> 243 <expression value="hasValue() or (children().count() > id.count())" /> 244 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 245 </constraint> 246 <isModifier value="false" /> 247 <isSummary value="true" /> 248 <mapping> 249 <identity value="v2" /> 250 <map value="XTN.1 (or XTN.12)" /> 251 </mapping> 252 <mapping> 253 <identity value="rim" /> 254 <map value="./url" /> 255 </mapping> 256 <mapping> 257 <identity value="servd" /> 258 <map value="./Value" /> 259 </mapping> 260 </element> 261 <element id="ContactPoint.use"> 262 <path value="ContactPoint.use" /> 263 <short value="home | work | temp | old | mobile - purpose of this contact point" /> 264 <definition value="Identifies the purpose for the contact point." /> 265 <comment value="Applications can assume that a contact is current unless it explicitly says that it is temporary or old." /> 266 <requirements value="Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose." /> 267 <min value="0" /> 268 <max value="1" /> 269 <base> 270 <path value="ContactPoint.use" /> 271 <min value="0" /> 272 <max value="1" /> 273 </base> 274 <type> 275 <code value="code" /> 276 </type> 277 <constraint> 278 <key value="ele-1" /> 279 <severity value="error" /> 280 <human value="All FHIR elements must have a @value or children" /> 281 <expression value="hasValue() or (children().count() > id.count())" /> 282 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 283 </constraint> 284 <isModifier value="true" /> 285 <isModifierReason value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old contact etc.for a current/permanent one" /> 286 <isSummary value="true" /> 287 <binding> 288 <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition"> 289 <valueString value="Use of contact point." /> 290 </extension> 291 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> 292 <valueString value="ContactPointUse" /> 293 </extension> 294 <strength value="required" /> 295 <description value="Use of contact point." /> 296 <valueSet value="http://hl7.org/fhir/ValueSet/contact-point-use|5.0.0" /> 297 </binding> 298 <mapping> 299 <identity value="v2" /> 300 <map value="XTN.2 - but often indicated by field" /> 301 </mapping> 302 <mapping> 303 <identity value="rim" /> 304 <map value="unique(./use)" /> 305 </mapping> 306 <mapping> 307 <identity value="servd" /> 308 <map value="./ContactPointPurpose" /> 309 </mapping> 310 </element> 311 <element id="ContactPoint.rank"> 312 <path value="ContactPoint.rank" /> 313 <short value="Specify preferred order of use (1 = highest)" /> 314 <definition value="Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values." /> 315 <comment value="Note that rank does not necessarily follow the order in which the contacts are represented in the instance. Ranks need not be unique. E.g. it's possible to have multiple contacts with rank=1. If the ranks have different systems or uses, this would be interpreted to mean "X is my most preferred phone number, Y is my most preferred email address" or "X is my preferred home email and Y is my preferred work email". If the system and use for equally-ranked contacts are the same, then the level of preference is equivalent for both repetitions. Ranks need not be sequential and not all repetitions must have a rank. For example, it's possible to have 4 contacts with ranks of 2, 5 and two with no rank specified. That would be interpreted to mean the first is preferred over the second and no preference stated for the remaining contacts." /> 316 <min value="0" /> 317 <max value="1" /> 318 <base> 319 <path value="ContactPoint.rank" /> 320 <min value="0" /> 321 <max value="1" /> 322 </base> 323 <type> 324 <code value="positiveInt" /> 325 </type> 326 <constraint> 327 <key value="ele-1" /> 328 <severity value="error" /> 329 <human value="All FHIR elements must have a @value or children" /> 330 <expression value="hasValue() or (children().count() > id.count())" /> 331 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 332 </constraint> 333 <isModifier value="false" /> 334 <isSummary value="true" /> 335 <mapping> 336 <identity value="v2" /> 337 <map value="n/a" /> 338 </mapping> 339 <mapping> 340 <identity value="rim" /> 341 <map value="n/a" /> 342 </mapping> 343 </element> 344 <element id="ContactPoint.period"> 345 <path value="ContactPoint.period" /> 346 <short value="Time period when the contact point was/is in use" /> 347 <definition value="Time period when the contact point was/is in use." /> 348 <min value="0" /> 349 <max value="1" /> 350 <base> 351 <path value="ContactPoint.period" /> 352 <min value="0" /> 353 <max value="1" /> 354 </base> 355 <type> 356 <code value="Period" /> 357 </type> 358 <constraint> 359 <key value="ele-1" /> 360 <severity value="error" /> 361 <human value="All FHIR elements must have a @value or children" /> 362 <expression value="hasValue() or (children().count() > id.count())" /> 363 <source value="http://hl7.org/fhir/StructureDefinition/Element" /> 364 </constraint> 365 <isModifier value="false" /> 366 <isSummary value="true" /> 367 <mapping> 368 <identity value="v2" /> 369 <map value="N/A" /> 370 </mapping> 371 <mapping> 372 <identity value="rim" /> 373 <map value="./usablePeriod[type="IVL<TS>"]" /> 374 </mapping> 375 <mapping> 376 <identity value="servd" /> 377 <map value="./StartDate and ./EndDate" /> 378 </mapping> 379 </element> 380 </snapshot> 381 <differential> 382 <element id="ContactPoint"> 383 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"> 384 <valueCode value="normative" /> 385 </extension> 386 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"> 387 <valueCode value="4.0.0" /> 388 </extension> 389 <path value="ContactPoint" /> 390 <short value="Details of a Technology mediated contact point (phone, fax, email, etc.)" /> 391 <definition value="Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc." /> 392 <min value="0" /> 393 <max value="*" /> 394 <constraint> 395 <key value="cpt-2" /> 396 <severity value="error" /> 397 <human value="A system is required if a value is provided." /> 398 <expression value="value.empty() or system.exists()" /> 399 <source value="http://hl7.org/fhir/StructureDefinition/ContactPoint" /> 400 </constraint> 401 <mapping> 402 <identity value="v2" /> 403 <map value="XTN" /> 404 </mapping> 405 <mapping> 406 <identity value="rim" /> 407 <map value="TEL" /> 408 </mapping> 409 <mapping> 410 <identity value="servd" /> 411 <map value="ContactPoint" /> 412 </mapping> 413 </element> 414 <element id="ContactPoint.system"> 415 <path value="ContactPoint.system" /> 416 <short value="phone | fax | email | pager | url | sms | other" /> 417 <definition value="Telecommunications form for contact point - what communications system is required to make use of the contact." /> 418 <min value="0" /> 419 <max value="1" /> 420 <type> 421 <code value="code" /> 422 </type> 423 <condition value="cpt-2" /> 424 <isSummary value="true" /> 425 <binding> 426 <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition"> 427 <valueString value="Telecommunications form for contact point." /> 428 </extension> 429 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> 430 <valueString value="ContactPointSystem" /> 431 </extension> 432 <strength value="required" /> 433 <description value="Telecommunications form for contact point." /> 434 <valueSet value="http://hl7.org/fhir/ValueSet/contact-point-system|5.0.0" /> 435 </binding> 436 <mapping> 437 <identity value="v2" /> 438 <map value="XTN.3" /> 439 </mapping> 440 <mapping> 441 <identity value="rim" /> 442 <map value="./scheme" /> 443 </mapping> 444 <mapping> 445 <identity value="servd" /> 446 <map value="./ContactPointType" /> 447 </mapping> 448 </element> 449 <element id="ContactPoint.value"> 450 <path value="ContactPoint.value" /> 451 <short value="The actual contact point details" /> 452 <definition value="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)." /> 453 <comment value="Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value." /> 454 <requirements value="Need to support legacy numbers that are not in a tightly controlled format." /> 455 <min value="0" /> 456 <max value="1" /> 457 <type> 458 <code value="string" /> 459 </type> 460 <condition value="cpt-2" /> 461 <isSummary value="true" /> 462 <mapping> 463 <identity value="v2" /> 464 <map value="XTN.1 (or XTN.12)" /> 465 </mapping> 466 <mapping> 467 <identity value="rim" /> 468 <map value="./url" /> 469 </mapping> 470 <mapping> 471 <identity value="servd" /> 472 <map value="./Value" /> 473 </mapping> 474 </element> 475 <element id="ContactPoint.use"> 476 <path value="ContactPoint.use" /> 477 <short value="home | work | temp | old | mobile - purpose of this contact point" /> 478 <definition value="Identifies the purpose for the contact point." /> 479 <comment value="Applications can assume that a contact is current unless it explicitly says that it is temporary or old." /> 480 <requirements value="Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose." /> 481 <min value="0" /> 482 <max value="1" /> 483 <type> 484 <code value="code" /> 485 </type> 486 <isModifier value="true" /> 487 <isModifierReason value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old contact etc.for a current/permanent one" /> 488 <isSummary value="true" /> 489 <binding> 490 <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition"> 491 <valueString value="Use of contact point." /> 492 </extension> 493 <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> 494 <valueString value="ContactPointUse" /> 495 </extension> 496 <strength value="required" /> 497 <description value="Use of contact point." /> 498 <valueSet value="http://hl7.org/fhir/ValueSet/contact-point-use|5.0.0" /> 499 </binding> 500 <mapping> 501 <identity value="v2" /> 502 <map value="XTN.2 - but often indicated by field" /> 503 </mapping> 504 <mapping> 505 <identity value="rim" /> 506 <map value="unique(./use)" /> 507 </mapping> 508 <mapping> 509 <identity value="servd" /> 510 <map value="./ContactPointPurpose" /> 511 </mapping> 512 </element> 513 <element id="ContactPoint.rank"> 514 <path value="ContactPoint.rank" /> 515 <short value="Specify preferred order of use (1 = highest)" /> 516 <definition value="Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values." /> 517 <comment value="Note that rank does not necessarily follow the order in which the contacts are represented in the instance. Ranks need not be unique. E.g. it's possible to have multiple contacts with rank=1. If the ranks have different systems or uses, this would be interpreted to mean "X is my most preferred phone number, Y is my most preferred email address" or "X is my preferred home email and Y is my preferred work email". If the system and use for equally-ranked contacts are the same, then the level of preference is equivalent for both repetitions. Ranks need not be sequential and not all repetitions must have a rank. For example, it's possible to have 4 contacts with ranks of 2, 5 and two with no rank specified. That would be interpreted to mean the first is preferred over the second and no preference stated for the remaining contacts." /> 518 <min value="0" /> 519 <max value="1" /> 520 <type> 521 <code value="positiveInt" /> 522 </type> 523 <isSummary value="true" /> 524 <mapping> 525 <identity value="v2" /> 526 <map value="n/a" /> 527 </mapping> 528 <mapping> 529 <identity value="rim" /> 530 <map value="n/a" /> 531 </mapping> 532 </element> 533 <element id="ContactPoint.period"> 534 <path value="ContactPoint.period" /> 535 <short value="Time period when the contact point was/is in use" /> 536 <definition value="Time period when the contact point was/is in use." /> 537 <min value="0" /> 538 <max value="1" /> 539 <type> 540 <code value="Period" /> 541 </type> 542 <isSummary value="true" /> 543 <mapping> 544 <identity value="v2" /> 545 <map value="N/A" /> 546 </mapping> 547 <mapping> 548 <identity value="rim" /> 549 <map value="./usablePeriod[type="IVL<TS>"]" /> 550 </mapping> 551 <mapping> 552 <identity value="servd" /> 553 <map value="./StartDate and ./EndDate" /> 554 </mapping> 555 </element> 556 </differential> 557 </StructureDefinition>