PackagesCanonicalsLogsProblems
    Packages
    medcom.fhir.dk.core@3.0.1
    http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
description: Extension that contains the contact information
package_name: medcom.fhir.dk.core
derivation: constraint
name: MedComCoreContactExtension
type: Extension
elements:
  extension: {index: 0}
  url:
    pattern: {type: Uri, value: 'http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension'}
    index: 1
  value:
    choices: []
    index: 3
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        valueContactPoint:
          match: {}
          schema:
            choices: [valueContactPoint]
            _required: true
            index: 5
          min: 1
          max: 1
  valueContactPoint:
    type: ContactPoint
    choiceOf: value
    index: 6
    slicing:
      slices:
        valueContactPoint:
          match: {}
          schema: {type: ContactPoint, choiceOf: value, _required: true, index: 6}
          min: 1
          max: 1
  value[x]:
    elements:
      system:
        mustSupport: true
        pattern: {type: Code, value: phone}
        index: 7
      value:
        short: Shall contain a relevant telephone number.
        constraint:
          medcom-core-contact: {human: The telephone number may include + and numbers from 0-9, source: 'http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension', severity: error, expression: 'matches(''[+]?[-0-9]'')'}
        mustSupport: true
        index: 8
    required: [value]
package_version: 3.0.1
extensions: {}
class: extension
kind: complex-type
url: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-contact-extension
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 3.0.1
required: [valueContactPoint, value]