zib-ContactInformation-TelephoneNumbers
type: StructureDefinition
node role: treeRoot
id:
  v: zib-ContactInformation-TelephoneNumbers
text:
  status:
    v: extensions
  div: Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> ContactPoint 0..* ContactPoint This is an abstract profile. Child profiles: NlcoreContactInformationTelephoneNumbers TelephoneNumbers comment 0..1 string Optional Extensions Element URL: http://nictiz.nl/fhir/StructureDefinition/ext-Comment value[x] 0..1 string Comment system 1..1 code TelecomType Binding: http://nictiz.nl/fhir/ValueSet/ContactInformation-TelephoneNumbersSystem (required): Use ConceptMap TelecomType-to-ContactInformation-TelephoneNumbersSystem to translate terminology from the functional model to profile terminology in ValueSet ContactInformation-TelephoneNumbersSystem. telecomType 0..1 CodeableConcept Optional Extensions Element URL: http://nictiz.nl/fhir/StructureDefinition/ext-CodeSpecification value[x] 0..1 CodeableConcept TelecomType Binding: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.6.1--20200901000000 (required) value 0..1 string TelephoneNumber use 0..1 code NumberType Binding: http://nictiz.nl/fhir/ValueSet/ContactInformation-TelephoneNumbersUse (required): Use ConceptMap NummerSoortCodelijst-to-ContactInformation-TelephoneNumbersUse to translate terminology from the functional model to profile terminology in ValueSet ContactInformation-TelephoneNumbersUse. <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelephoneNumbers
version:
  v: 0.9.0
name:
  v: ZibContactInformationTelephoneNumbers
title:
  v: zib ContactInformation TelephoneNumbers
status:
  v: draft
date:
  v: 2023-10-17T18:06:34+02:00
publisher:
  v: HL7NL
contact:
  name:
    v: HL7NL
  telecom:
    system:
      v: url
    value:
      v: https://hl7.nl
description:
  v: Contact information includes a person's telephone numbers en e-mail addresses.
purpose:
  v: This ContactPoint resource represents the TelephoneNumbers concept of the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) ContactInformation v1.2 (2020)](https://zibs.nl/wiki/ContactInformation-v1.2(2020EN)). For the entire zib, the complementary profile [zib-ContactInformation-EmailAddresses](http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-EmailAddresses) should be used. Both profiles can be added in a slice with the discriminator set to `profile`/`$this`.
copyright:
  v: Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: zib-contactinformation-v1.2-2020EN
  uri:
    v: https://zibs.nl/wiki/ContactInformation-v1.2(2020EN)
  name:
    v: zib ContactInformation-v1.2(2020EN)
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
  name:
    v: HL7 v2 Mapping
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: servd
  uri:
    v: http://www.omg.org/spec/ServD/1.0/
  name:
    v: ServD
kind:
  v: complex-type
abstract:
  v: true
type:
  v: ContactPoint
base definition:
  v: http://hl7.org/fhir/StructureDefinition/ContactPoint
  link: http://hl7.org/fhir/StructureDefinition/ContactPoint
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: ContactPoint
    path:
      v: ContactPoint
    short:
      v: TelephoneNumbers
    definition:
      v: Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.
    comment:
      v: Implementation of the "TelephoneNumbers" concept of zib ContactInformation. Please note that, although the zib concepts TelecomType and NumberType are functionally equivalent to the FHIR concepts `ContactPoint.system` and `ContactPoint.use` respectively, a mismatch occurs on the concept of mobile phone numbers; the zib uses the first concept and FHIR the second. For this reason, the ValueSet on `ContactPoint.system` is too narrow and the zib code will need to be communicated using the ext-CodeSpecification extension.
    alias:
      v: Telefoonnummers
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: ContactPoint
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    constraint:
      key:
        v: cpt-2
      severity:
        v: error
      human:
        v: A system is required if a value is provided.
      expression:
        v: value.empty() or system.exists()
      xpath:
        v: not(exists(f:value)) or exists(f:system)
      source:
        v: http://hl7.org/fhir/StructureDefinition/ContactPoint
        link: http://hl7.org/fhir/StructureDefinition/ContactPoint
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        link: http://hl7.org/fhir/StructureDefinition/Element
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
    mapping:
      identity:
        v: v2
      map:
        v: XTN
    mapping:
      identity:
        v: rim
      map:
        v: TEL
    mapping:
      identity:
        v: servd
      map:
        v: ContactPoint
    mapping:
      identity:
        v: zib-contactinformation-v1.2-2020EN
      map:
        v: NL-CM:20.6.2
      comment:
        v: TelephoneNumbers
  element:
    id:
      v: ContactPoint.id
    path:
      v: ContactPoint.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/fhirpath/System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: ContactPoint.extension
    path:
      v: ContactPoint.extension
    slicing:
      description:
        v: Extensions are always sliced by (at least) url

v: string

v: value

v: url

v: open

v: Additional content defined by implementations

v: 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 manageable, 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.

v: 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.

v: extensions

v: user content

v: 0

v: *

path:
  v: Element.extension
min:
  v: 0
max:
  v: *

code:
  v: Extension

key:
  v: ele-1
severity:
  v: error
human:
  v: All FHIR elements must have a @value or children
expression:
  v: hasValue() or (children().count() > id.count())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  link: http://hl7.org/fhir/StructureDefinition/Element

key:
  v: ext-1
severity:
  v: error
human:
  v: Must have either extensions or value[x], not both
expression:
  v: extension.exists() != value.exists()
xpath:
  v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
source:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  link: http://hl7.org/fhir/StructureDefinition/Extension

v: false

v: false

identity:
  v: rim
map:
  v: n/a

id:
  v: ContactPoint.extension:comment
path:
  v: ContactPoint.extension
slice name:
  v: comment
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
    link: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ContactPoint.extension:comment.id
path:
  v: ContactPoint.extension.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ContactPoint.extension:comment.extension
path:
  v: ContactPoint.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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 manageable, 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ContactPoint.extension:comment.url
path:
  v: ContactPoint.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: uri
  code:
    v: http://hl7.org/fhirpath/System.String
fixed:
  v: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ContactPoint.extension:comment.value[x]
path:
  v: ContactPoint.extension.value[x]
short:
  v: Comment
definition:
  v: Explanation about the telephone number and how to use it. It can be indicated, for example, that it is a department number (for healthcare professionnels) or that availability by phone is only possible during a specified part of the day.
alias:
  v: Toelichting
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A
mapping:
  identity:
    v: zib-contactinformation-v1.2-2020EN
  map:
    v: NL-CM:20.6.9
  comment:
    v: Comment

id:
  v: ContactPoint.system
path:
  v: ContactPoint.system
short:
  v: TelecomType
definition:
  v: The telecom or device type that the telephone number is connected to.
alias:
  v: TelecomType
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ContactPoint.system
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
condition:
  v: cpt-2
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: required
  description:
    v: Use ConceptMap TelecomType-to-ContactInformation-TelephoneNumbersSystem to translate terminology from the functional model to profile terminology in ValueSet ContactInformation-TelephoneNumbersSystem.
  value set:
    v: http://nictiz.nl/fhir/ValueSet/ContactInformation-TelephoneNumbersSystem
    link: http://nictiz.nl/fhir/ValueSet/ContactInformation-TelephoneNumbersSystem
mapping:
  identity:
    v: v2
  map:
    v: XTN.3
mapping:
  identity:
    v: rim
  map:
    v: ./scheme
mapping:
  identity:
    v: servd
  map:
    v: ./ContactPointType
mapping:
  identity:
    v: zib-contactinformation-v1.2-2020EN
  map:
    v: NL-CM:20.6.5
  comment:
    v: TelecomType

id:
  v: ContactPoint.system.id
path:
  v: ContactPoint.system.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false

id:
  v: ContactPoint.system.extension
path:
  v: ContactPoint.system.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: ContactPoint.system.extension:telecomType
path:
  v: ContactPoint.system.extension
slice name:
  v: telecomType
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/ext-CodeSpecification
    link: http://nictiz.nl/fhir/StructureDefinition/ext-CodeSpecification
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ContactPoint.system.extension:telecomType.id
path:
  v: ContactPoint.system.extension.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ContactPoint.system.extension:telecomType.extension
path:
  v: ContactPoint.system.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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 manageable, 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ContactPoint.system.extension:telecomType.url
path:
  v: ContactPoint.system.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: uri
  code:
    v: http://hl7.org/fhirpath/System.String
fixed:
  v: http://nictiz.nl/fhir/StructureDefinition/ext-CodeSpecification
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ContactPoint.system.extension:telecomType.value[x]
path:
  v: ContactPoint.system.extension.value[x]
short:
  v: TelecomType
definition:
  v: The telecom or device type that the telephone number is connected to.
alias:
  v: TelecomType
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: required
  value set:
    v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.6.1--20200901000000
    link: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.6.1--20200901000000
mapping:
  identity:
    v: rim
  map:
    v: N/A
mapping:
  identity:
    v: zib-contactinformation-v1.2-2020EN
  map:
    v: NL-CM:20.6.5
  comment:
    v: TelecomType

id:
  v: ContactPoint.system.value
path:
  v: ContactPoint.system.value
representation:
  v: xmlAttr
short:
  v: Primitive value for code
definition:
  v: Primitive value for code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: string.value
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/regex
    value:
      v: [^\s]+(\s[^\s]+)*
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false

id:
  v: ContactPoint.value
path:
  v: ContactPoint.value
short:
  v: TelephoneNumber
definition:
  v: The person's telephone number.
comment:
  v: Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.
requirements:
  v: Need to support legacy numbers that are not in a tightly controlled format.
alias:
  v: Telefoonnummer
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.value
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: XTN.1 (or XTN.12)
mapping:
  identity:
    v: rim
  map:
    v: ./url
mapping:
  identity:
    v: servd
  map:
    v: ./Value
mapping:
  identity:
    v: zib-contactinformation-v1.2-2020EN
  map:
    v: NL-CM:20.6.4
  comment:
    v: TelephoneNumber

id:
  v: ContactPoint.use
path:
  v: ContactPoint.use
short:
  v: NumberType
definition:
  v: NumberType indicates whether the number is a landline, temporary, work telephone number.
comment:
  v: Applications can assume that a contact is current unless it explicitly says that it is temporary or old.
requirements:
  v: Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.
alias:
  v: NummerSoort
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.use
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This is labeled as "Is Modifier" because applications should not mistake a temporary or old contact etc.for a current/permanent one
is summary:
  v: true
binding:
  strength:
    v: required
  description:
    v: Use ConceptMap NummerSoortCodelijst-to-ContactInformation-TelephoneNumbersUse to translate terminology from the functional model to profile terminology in ValueSet ContactInformation-TelephoneNumbersUse.
  value set:
    v: http://nictiz.nl/fhir/ValueSet/ContactInformation-TelephoneNumbersUse
    link: http://nictiz.nl/fhir/ValueSet/ContactInformation-TelephoneNumbersUse
mapping:
  identity:
    v: v2
  map:
    v: XTN.2 - but often indicated by field
mapping:
  identity:
    v: rim
  map:
    v: unique(./use)
mapping:
  identity:
    v: servd
  map:
    v: ./ContactPointPurpose
mapping:
  identity:
    v: zib-contactinformation-v1.2-2020EN
  map:
    v: NL-CM:20.6.6
  comment:
    v: NumberType

id:
  v: ContactPoint.rank
path:
  v: ContactPoint.rank
short:
  v: Specify preferred order of use (1 = highest)
definition:
  v: 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.
comment:
  v: Note that rank does not necessarily follow the order in which the contacts are represented in the instance.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.rank
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: positiveInt
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ContactPoint.period
path:
  v: ContactPoint.period
short:
  v: Time period when the contact point was/is in use
definition:
  v: Time period when the contact point was/is in use.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: ./usablePeriod[type="IVL<TS>"]
mapping:
  identity:
    v: servd
  map:
    v: ./StartDate and ./EndDate

element:
  id:
    v: ContactPoint
  path:
    v: ContactPoint
  short:
    v: TelephoneNumbers
  comment:
    v: Implementation of the "TelephoneNumbers" concept of zib ContactInformation. Please note that, although the zib concepts TelecomType and NumberType are functionally equivalent to the FHIR concepts `ContactPoint.system` and `ContactPoint.use` respectively, a mismatch occurs on the concept of mobile phone numbers; the zib uses the first concept and FHIR the second. For this reason, the ValueSet on `ContactPoint.system` is too narrow and the zib code will need to be communicated using the ext-CodeSpecification extension.
  alias:
    v: Telefoonnummers
  mapping:
    identity:
      v: zib-contactinformation-v1.2-2020EN
    map:
      v: NL-CM:20.6.2
    comment:
      v: TelephoneNumbers
element:
  id:
    v: ContactPoint.extension:comment
  path:
    v: ContactPoint.extension
  slice name:
    v: comment
  max:
    v: 1
  type:
    code:
      v: Extension
    profile:
      v: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
      link: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
element:
  id:
    v: ContactPoint.extension:comment.value[x]
  path:
    v: ContactPoint.extension.value[x]
  short:
    v: Comment
  definition:
    v: Explanation about the telephone number and how to use it. It can be indicated, for example, that it is a department number (for healthcare professionnels) or that availability by phone is only possible during a specified part of the day.
  alias:
    v: Toelichting
  mapping:
    identity:
      v: zib-contactinformation-v1.2-2020EN
    map:
      v: NL-CM:20.6.9
    comment:
      v: Comment
element:
  id:
    v: ContactPoint.system
  path:
    v: ContactPoint.system
  short:
    v: TelecomType
  definition:
    v: The telecom or device type that the telephone number is connected to.
  alias:
    v: TelecomType
  min:
    v: 1
  binding:
    strength:
      v: required
    description:
      v: Use ConceptMap TelecomType-to-ContactInformation-TelephoneNumbersSystem to translate terminology from the functional model to profile terminology in ValueSet ContactInformation-TelephoneNumbersSystem.
    value set:
      v: http://nictiz.nl/fhir/ValueSet/ContactInformation-TelephoneNumbersSystem
      link: http://nictiz.nl/fhir/ValueSet/ContactInformation-TelephoneNumbersSystem
  mapping:
    identity:
      v: zib-contactinformation-v1.2-2020EN
    map:
      v: NL-CM:20.6.5
    comment:
      v: TelecomType
element:
  id:
    v: ContactPoint.system.extension:telecomType
  path:
    v: ContactPoint.system.extension
  slice name:
    v: telecomType
  max:
    v: 1
  type:
    code:
      v: Extension
    profile:
      v: http://nictiz.nl/fhir/StructureDefinition/ext-CodeSpecification
      link: http://nictiz.nl/fhir/StructureDefinition/ext-CodeSpecification
element:
  id:
    v: ContactPoint.system.extension:telecomType.value[x]
  path:
    v: ContactPoint.system.extension.value[x]
  short:
    v: TelecomType
  definition:
    v: The telecom or device type that the telephone number is connected to.
  alias:
    v: TelecomType
  binding:
    strength:
      v: required
    value set:
      v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.6.1--20200901000000
      link: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.20.6.1--20200901000000
  mapping:
    identity:
      v: zib-contactinformation-v1.2-2020EN
    map:
      v: NL-CM:20.6.5
    comment:
      v: TelecomType
element:
  id:
    v: ContactPoint.value
  path:
    v: ContactPoint.value
  short:
    v: TelephoneNumber
  definition:
    v: The person's telephone number.
  alias:
    v: Telefoonnummer
  mapping:
    identity:
      v: zib-contactinformation-v1.2-2020EN
    map:
      v: NL-CM:20.6.4
    comment:
      v: TelephoneNumber
element:
  id:
    v: ContactPoint.use
  path:
    v: ContactPoint.use
  short:
    v: NumberType
  definition:
    v: NumberType indicates whether the number is a landline, temporary, work telephone number.
  alias:
    v: NummerSoort
  binding:
    strength:
      v: required
    description:
      v: Use ConceptMap NummerSoortCodelijst-to-ContactInformation-TelephoneNumbersUse to translate terminology from the functional model to profile terminology in ValueSet ContactInformation-TelephoneNumbersUse.
    value set:
      v: http://nictiz.nl/fhir/ValueSet/ContactInformation-TelephoneNumbersUse
      link: http://nictiz.nl/fhir/ValueSet/ContactInformation-TelephoneNumbersUse
  mapping:
    identity:
      v: zib-contactinformation-v1.2-2020EN
    map:
      v: NL-CM:20.6.6
    comment:
      v: NumberType