{
  "resourceType": "StructureDefinition",
  "id": "nl-core-contactpoint",
  "url": "http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint",
  "version": "1.0.0",
  "name": "nl-core-contactpoint",
  "title": "nl-core-contactpoint",
  "status": "active",
  "publisher": "HL7 Netherlands",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "info@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Base StructureDefinition for Address Type with additions for Dutch realm addresses. Dutch addresses break down Address.line in several parts and it is important to mark an address as being 'officially registered'.",
  "purpose": "Address information is used for visiting a person or organization and for addressing of mail.",
  "copyright": "CC0",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "hcim-contactinformation-v2.0.1-2015EN",
      "uri": "https://zibs.nl/wiki/Patient-v2.0.1(2015EN)",
      "name": "ContactInformation as part of HCIM Patient-v2.0.1(2015EN)",
      "comment": "ContactInformation has become an independent information model as of release 2017 of the HCIMs"
    },
    {
      "identity": "hcim-contactinformation-v3.0-2016EN",
      "uri": "https://zibs.nl/wiki/Patient-v3.0(2016EN)",
      "name": "ContactInformation as part of HCIM Patient-v3.0(2016EN)",
      "comment": "ContactInformation has become an independent information model as of release 2017 of the HCIMs"
    },
    {
      "identity": "hcim-contactinformation-v1.0-2017EN",
      "uri": "https://zibs.nl/wiki/ContactInformation-v1.0(2017EN)",
      "name": "HCIM ContactInformation-v1.0.1(2017EN)"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "type": "ContactPoint",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ContactPoint",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "ContactPoint",
        "path": "ContactPoint",
        "short": "ContactInformation",
        "definition": "Contact information includes a person's telephone numbers en e-mail addresses.",
        "alias": [
          "Contactgegevens"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element",
          "min": 0,
          "max": "*"
        },
        "example": [
          {
            "label": "Mobile business phone number. Note: the mobile nature stems from the number being an 06-* number.",
            "valueContactPoint": {
              "system": "phone",
              "value": "+31611234567",
              "use": "work"
            }
          },
          {
            "label": "Mobile phone number undetermined private/business. Note: the mobile nature stems from the number being an 06-* number.",
            "valueContactPoint": {
              "system": "phone",
              "value": "+31611234567",
              "use": "mobile"
            }
          },
          {
            "label": "Private email address",
            "valueContactPoint": {
              "system": "email",
              "value": "giesput@myweb.nl",
              "use": "home"
            }
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          },
          {
            "key": "cpt-2",
            "severity": "error",
            "human": "A system is required if a value is provided.",
            "expression": "value.empty() or system.exists()",
            "xpath": "not(exists(f:value)) or exists(f:system)"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "XTN"
          },
          {
            "identity": "rim",
            "map": "TEL"
          },
          {
            "identity": "servd",
            "map": "ContactPoint"
          },
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.5",
            "comment": "ContactInformation"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.5",
            "comment": "ContactInformation"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.1",
            "comment": "ContactInformation"
          }
        ]
      },
      {
        "id": "ContactPoint.id",
        "path": "ContactPoint.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ContactPoint.extension",
        "path": "ContactPoint.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ContactPoint.system",
        "path": "ContactPoint.system",
        "short": "TelecomType / EmailAddressType",
        "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.",
        "alias": [
          "TelecomSoort / EmailSoort"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "ContactPoint.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "cpt-2"
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ContactPointSystem"
            }
          ],
          "strength": "required",
          "description": "Telecommunications form for contact point",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XTN.3"
          },
          {
            "identity": "rim",
            "map": "./scheme"
          },
          {
            "identity": "servd",
            "map": "./ContactPointType"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.5",
            "comment": "TelecomType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/TelecomSoortCodelijst-to-ContactPointSystem"
          },
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.19",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointSystem"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.19",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointSystem"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.8",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointSystem"
          }
        ]
      },
      {
        "id": "ContactPoint.value",
        "path": "ContactPoint.value",
        "short": "TelephoneNumber / EmailAddress",
        "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
        "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.",
        "requirements": "Need to support legacy numbers that are not in a tightly controlled format.",
        "alias": [
          "Telefoonnummer / E-mailadres"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactPoint.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "Example TelephoneNumber international",
            "valueString": "+31611234567"
          },
          {
            "label": "Example EmailAddress",
            "valueString": "giesput@myweb.nl"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XTN.1 (or XTN.12)"
          },
          {
            "identity": "rim",
            "map": "./url"
          },
          {
            "identity": "servd",
            "map": "./Value"
          },
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.23",
            "comment": "TelephoneNumber"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.23",
            "comment": "TelephoneNumber"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.4",
            "comment": "EmailAddress"
          },
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.20",
            "comment": "EmailAddress"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.20",
            "comment": "EmailAddress"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.7",
            "comment": "EmailAddress"
          }
        ]
      },
      {
        "id": "ContactPoint.use",
        "path": "ContactPoint.use",
        "short": "TelecomType / NumberType / EmailAddressType",
        "definition": "Purpose of this contact point",
        "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one. Applications can assume that a contact is current unless it explicitly says that it is temporary or old.",
        "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.",
        "alias": [
          "TelecomSoort / NummerSoort / EmailSoort"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactPoint.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ContactPointUse"
            }
          ],
          "strength": "required",
          "description": "Use of contact point",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XTN.2 - but often indicated by field"
          },
          {
            "identity": "rim",
            "map": "unique(./use)"
          },
          {
            "identity": "servd",
            "map": "./ContactPointPurpose"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.5",
            "comment": "TelecomType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/TelecomSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.22",
            "comment": "NumberType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/NummerSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.22",
            "comment": "NumberType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/NummerSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.6",
            "comment": "NumberType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/NummerSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.19",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.19",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.8",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointUse"
          }
        ]
      },
      {
        "id": "ContactPoint.rank",
        "path": "ContactPoint.rank",
        "short": "Specify preferred order of use (1 = highest)",
        "definition": "Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.",
        "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactPoint.rank",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "positiveInt"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ContactPoint.period",
        "path": "ContactPoint.period",
        "short": "Time period when the contact point was/is in use",
        "definition": "Time period when the contact point was/is in use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactPoint.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "./usablePeriod[type=\"IVL<TS>\"]"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "ContactPoint",
        "path": "ContactPoint",
        "short": "ContactInformation",
        "definition": "Contact information includes a person's telephone numbers en e-mail addresses.",
        "alias": [
          "Contactgegevens"
        ],
        "example": [
          {
            "label": "Mobile business phone number. Note: the mobile nature stems from the number being an 06-* number.",
            "valueContactPoint": {
              "system": "phone",
              "value": "+31611234567",
              "use": "work"
            }
          },
          {
            "label": "Mobile phone number undetermined private/business. Note: the mobile nature stems from the number being an 06-* number.",
            "valueContactPoint": {
              "system": "phone",
              "value": "+31611234567",
              "use": "mobile"
            }
          },
          {
            "label": "Private email address",
            "valueContactPoint": {
              "system": "email",
              "value": "giesput@myweb.nl",
              "use": "home"
            }
          }
        ],
        "mapping": [
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.5",
            "comment": "ContactInformation"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.5",
            "comment": "ContactInformation"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.1",
            "comment": "ContactInformation"
          }
        ]
      },
      {
        "id": "ContactPoint.system",
        "path": "ContactPoint.system",
        "short": "TelecomType / EmailAddressType",
        "alias": [
          "TelecomSoort / EmailSoort"
        ],
        "min": 1,
        "mapping": [
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.5",
            "comment": "TelecomType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/TelecomSoortCodelijst-to-ContactPointSystem"
          },
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.19",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointSystem"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.19",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointSystem"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.8",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointSystem"
          }
        ]
      },
      {
        "id": "ContactPoint.value",
        "path": "ContactPoint.value",
        "short": "TelephoneNumber / EmailAddress",
        "alias": [
          "Telefoonnummer / E-mailadres"
        ],
        "example": [
          {
            "label": "Example TelephoneNumber international",
            "valueString": "+31611234567"
          },
          {
            "label": "Example EmailAddress",
            "valueString": "giesput@myweb.nl"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.23",
            "comment": "TelephoneNumber"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.23",
            "comment": "TelephoneNumber"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.4",
            "comment": "EmailAddress"
          },
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.20",
            "comment": "EmailAddress"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.20",
            "comment": "EmailAddress"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.7",
            "comment": "EmailAddress"
          }
        ]
      },
      {
        "id": "ContactPoint.use",
        "path": "ContactPoint.use",
        "short": "TelecomType / NumberType / EmailAddressType",
        "definition": "Purpose of this contact point",
        "alias": [
          "TelecomSoort / NummerSoort / EmailSoort"
        ],
        "mapping": [
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.5",
            "comment": "TelecomType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/TelecomSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.22",
            "comment": "NumberType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/NummerSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.22",
            "comment": "NumberType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/NummerSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.6",
            "comment": "NumberType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/NummerSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v2.0.1-2015EN",
            "map": "NL-CM:0.1.19",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v3.0-2016EN",
            "map": "NL-CM:0.1.19",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointUse"
          },
          {
            "identity": "hcim-contactinformation-v1.0-2017EN",
            "map": "NL-CM:20.6.8",
            "comment": "EmailAddressType. See for details the ConceptMap https://simplifier.net/resolve?target=simplifier&canonical=http://nictiz.nl/fhir/ConceptMap/EmailSoortCodelijst-to-ContactPointUse"
          }
        ]
      }
    ]
  }
}