PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@2.3.1
    http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson
{
  "description": "A RelatedPerson resource as defined by the Dutch Health and Care Information models or HCIM (Dutch: Zorginformatiebouwsteen or ZIB) ContactPersoon version 3.1 (Release 2017). The HCIM ContactPerson is meant to deal with both related persons and contacts. This profile targets instantiations of the HCIM ContactPerson who are related persons. An HCIM ContactPerson who is a contact for a patient, belongs in Patient.contact. If a person is both a related person and a contact person, then some data duplication is inevitable. This may or may not be resolved in a future version of the Patient/RelatedPerson resources.",
  "_filename": "nl-core-relatedperson.json",
  "package_name": "nictiz.fhir.nl.stu3.zib2017",
  "date": null,
  "derivation": "constraint",
  "publisher": "HL7 Netherlands",
  "fhirVersion": "3.0.2",
  "purpose": "Recording relevant information to identify the contacts.",
  "name": "nl-core-relatedperson",
  "mapping": [ {
    "uri": "https://zibs.nl/wiki/ContactPerson-v3.1(2017EN)",
    "name": "HCIM ContactPerson-v3.1(2017EN)",
    "identity": "hcim-contactperson-v3.1-2017EN"
  }, {
    "uri": "https://zibs.nl/wiki/ContactInformation-v1.0(2017EN)",
    "name": "HCIM ContactInformation-v1.0(2017EN)",
    "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/Payer-v3.1(2017EN)",
    "name": "HCIM Payer-v3.1(2017EN)",
    "identity": "hcim-payer-v3.1-2017EN"
  }, {
    "uri": "https://zibs.nl/wiki/BasicElements-v1.0(2017EN)",
    "name": "HCIM BasicElements-v1.0(2017EN)",
    "identity": "hcim-basicelements-v1.0-2017EN"
  }, {
    "uri": "https://zibs.nl/wiki/ContactPerson-v3.0(2016EN)",
    "name": "HCIM ContactPerson-v3.0(2016EN)",
    "identity": "hcim-contactperson-v3.0-2016EN"
  }, {
    "uri": "https://zibs.nl/wiki/Patient-v3.0(2016EN)",
    "name": "HCIM Patient-v3.0(2016EN)",
    "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/Payer-v3.0(2016EN)",
    "name": "HCIM Payer-v3.0(2016EN)",
    "identity": "hcim-payer-v3.0-2016EN"
  }, {
    "uri": "https://zibs.nl/wiki/ContactPerson-v1.2(2015EN)",
    "name": "HCIM ContactPerson-v1.2(2015EN)",
    "identity": "hcim-contactperson-v1.2-2015EN"
  }, {
    "uri": "https://zibs.nl/wiki/Patient-v2.0.1(2015EN)",
    "name": "HCIM Patient-v2.0.1(2015EN)",
    "comment": "ContactInformation has become an independent information model as of release 2017 of the HCIMs",
    "identity": "hcim-contactinformation-v2.0.1-2015EN"
  }, {
    "uri": "https://zibs.nl/wiki/Payer-v1.2(2015EN)",
    "name": "HCIM Payer-v1.2(2015EN)",
    "identity": "hcim-payer-v1.2-2015EN"
  } ],
  "abstract": false,
  "copyright": "CC0",
  "type": "RelatedPerson",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "nl-core-relatedperson",
  "package_version": "2.3.1",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-1",
        "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
        "xpath": "not(parent::f:contained and f:text)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.text.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
        "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()"
      } ],
      "path": "RelatedPerson",
      "min": 0,
      "definition": "Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.",
      "short": "An person that is related to a patient, but who is not a direct target of care",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "role",
        "identity": "rim"
      }, {
        "map": "administrative.individual",
        "identity": "w5"
      }, {
        "map": "NL-CM:3.1.1",
        "comment": "Contact",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.1",
        "comment": "Contact",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.1",
        "comment": "Contact",
        "identity": "hcim-contactperson-v3.1-2017EN"
      }, {
        "map": "NL-CM:0.0.5",
        "comment": "RelatedPersonAsInformationSource::ContactPerson",
        "identity": "hcim-basicelements-v1.0-2017EN"
      }, {
        "map": "NL-CM:0.0.10",
        "comment": "RelatedPersonAsAuthor::ContactPerson",
        "identity": "hcim-basicelements-v1.0-2017EN"
      }, {
        "map": "NL-CM:0.0.13",
        "comment": "RelatedPersonAsSubject::ContactPerson",
        "identity": "hcim-basicelements-v1.0-2017EN"
      } ],
      "max": "*",
      "id": "RelatedPerson",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Resource"
      }
    }, {
      "path": "RelatedPerson.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "RelatedPerson.id",
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "RelatedPerson.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "RelatedPerson.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "RelatedPerson.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "RelatedPerson.implicitRules",
      "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isSummary": true
    }, {
      "path": "RelatedPerson.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-languages"
          }
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A human language.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      "max": "1",
      "id": "RelatedPerson.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      }
    }, {
      "path": "RelatedPerson.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "RelatedPerson.text",
      "condition": [ "dom-1" ],
      "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      }
    }, {
      "path": "RelatedPerson.contained",
      "min": 0,
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "RelatedPerson.contained",
      "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      }
    }, {
      "path": "RelatedPerson.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource. 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "RelatedPerson.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson-role",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "RelatedPerson.extension",
      "min": 0,
      "definition": "Defines the role of the contact in relation to the patient.",
      "short": "Role",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "NL-CM:3.1.2",
        "comment": "Role",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.2",
        "comment": "Role",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.2",
        "comment": "Role",
        "identity": "hcim-contactperson-v3.1-2017EN"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson-role"
      } ],
      "sliceName": "role",
      "alias": [ "extensions", "user content", "Rol" ],
      "max": "*",
      "id": "RelatedPerson.extension:role",
      "condition": [ "ele-1" ],
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "path": "RelatedPerson.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "RelatedPerson.extension:role.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "RelatedPerson.extension.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "0",
      "id": "RelatedPerson.extension:role.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "RelatedPerson.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson-role",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "RelatedPerson.extension:role.url",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "RelatedPerson.extension.value[x]",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Role",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "NL-CM:3.1.2",
        "comment": "Role",
        "identity": "hcim-contactperson-v1.2-2015EN"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "sliceName": "valueCodeableConcept",
      "binding": {
        "strength": "extensible",
        "valueSetReference": {
          "display": "RolCodelijst",
          "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.2--20171231000000"
        }
      },
      "alias": [ "Rol" ],
      "max": "1",
      "id": "RelatedPerson.extension:role.valueCodeableConcept:valueCodeableConcept",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "RelatedPerson.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "RelatedPerson.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      }
    }, {
      "path": "RelatedPerson.identifier",
      "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.",
      "min": 0,
      "definition": "Identifier for a person within a particular scope.",
      "short": "A human identifier for this person",
      "mapping": [ {
        "map": "NK1-33",
        "identity": "v2"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "id",
        "identity": "w5"
      }, {
        "map": "NL-CM:0.0.6",
        "comment": "IdentificationNumber",
        "identity": "hcim-basicelements-v1.0-2017EN"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "RelatedPerson.identifier",
      "base": {
        "max": "*",
        "min": 0,
        "path": "RelatedPerson.identifier"
      },
      "isSummary": true
    }, {
      "path": "RelatedPerson.active",
      "requirements": "Need to be able to mark a related person record as not to be used, such as if it was created in error.",
      "min": 0,
      "definition": "Whether this related person record is in active use.",
      "isModifier": true,
      "short": "Whether this related person's record is in active use",
      "mapping": [ {
        "map": ".statusCode",
        "identity": "rim"
      }, {
        "map": "status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "defaultValueBoolean": true,
      "max": "1",
      "id": "RelatedPerson.active",
      "comment": "This element is labeled as a modifier because it may be used to mark that the resource was created in error.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RelatedPerson.active"
      },
      "isSummary": true
    }, {
      "path": "RelatedPerson.patient",
      "requirements": "We need to know which patient this RelatedPerson is related to.",
      "min": 1,
      "definition": "The patient this person is related to.",
      "short": "The patient this person is related to",
      "mapping": [ {
        "map": "PID-3",
        "identity": "v2"
      }, {
        "map": "scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id",
        "identity": "rim"
      }, {
        "map": "NL-CM:0.0.11",
        "comment": "Subject",
        "identity": "hcim-basicelements-v1.0-2017EN"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
      } ],
      "max": "1",
      "id": "RelatedPerson.patient",
      "base": {
        "max": "1",
        "min": 1,
        "path": "RelatedPerson.patient"
      },
      "isSummary": true
    }, {
      "path": "RelatedPerson.relationship",
      "requirements": "We need to know the relationship with the patient since it influences the interpretation of the information attributed to this person.",
      "min": 0,
      "definition": "Defines the contact’s familial relationship to the patient.",
      "short": "Relationship",
      "mapping": [ {
        "map": "NK1-3",
        "identity": "v2"
      }, {
        "map": "code",
        "identity": "rim"
      }, {
        "map": "class",
        "identity": "w5"
      }, {
        "map": "NL-CM:3.1.3",
        "comment": "Relationship",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.3",
        "comment": "Relationship",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.3",
        "comment": "Relationship",
        "identity": "hcim-contactperson-v3.1-2017EN"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "PatientRelationshipType"
        } ],
        "description": "The nature of the relationship between a patient and the related person",
        "valueSetReference": {
          "display": "RelatieCodelijst",
          "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.1--20171231000000"
        }
      },
      "alias": [ "Relatie" ],
      "max": "1",
      "id": "RelatedPerson.relationship",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RelatedPerson.relationship"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "nl-core-humanname-1",
        "human": "if you specify a prefix for an own name then an own name is also expected",
        "xpath": "not(f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-own-prefix']) or f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-own-name']",
        "source": "http://fhir.nl/fhir/StructureDefinition/nl-core-humanname",
        "severity": "error",
        "expression": "name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-own-prefix').empty().not() implies name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-own-name').empty().not()"
      }, {
        "key": "nl-core-humanname-2",
        "human": "if you specify a voorvoegsel for a partner name then a partner name is also expected",
        "xpath": "not(f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix']) or f:extension[@url='http://hl7.org/fhir/StructureDefinition/humanname-partner-name']",
        "source": "http://fhir.nl/fhir/StructureDefinition/nl-core-humanname",
        "severity": "error",
        "expression": "name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix').empty().not() implies name.family.extension('http://hl7.org/fhir/StructureDefinition/humanname-partner-name').empty().not()"
      } ],
      "path": "RelatedPerson.name",
      "requirements": "Related persons need to be identified by name, but it is uncommon to need details about multiple other names for that person.",
      "min": 0,
      "definition": "Full name of the contact.",
      "short": "NameInformation",
      "mapping": [ {
        "map": "NK1-2",
        "identity": "v2"
      }, {
        "map": "name",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "XPN",
        "identity": "v2"
      }, {
        "map": "EN (actually, PN)",
        "identity": "rim"
      }, {
        "map": "ProviderName",
        "identity": "servd"
      }, {
        "map": "NL-CM:0.1.6",
        "comment": "NameInformation",
        "identity": "hcim-nameinformation-v2.0.1-2015EN"
      }, {
        "map": "NL-CM:0.1.6",
        "comment": "NameInformation",
        "identity": "hcim-nameinformation-v3.0-2016EN"
      }, {
        "map": "NL-CM:20.4.1",
        "comment": "NameInformation",
        "identity": "hcim-nameinformation-v1.0.1-2017EN"
      }, {
        "map": "02",
        "comment": "Naam",
        "identity": "BRP"
      }, {
        "map": "NL-CM:3.1.4",
        "comment": "Name",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.4",
        "comment": "Name",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.4",
        "comment": "NameInformation",
        "identity": "hcim-contactperson-v3.1-2017EN"
      }, {
        "map": "NL-CM:1.1.5",
        "comment": "PayerName",
        "identity": "hcim-payer-v1.2-2015EN"
      }, {
        "map": "NL-CM:1.1.5",
        "comment": "PayerName",
        "identity": "hcim-payer-v3.0-2016EN"
      }, {
        "map": "NL-CM:1.1.5",
        "comment": "PayerName",
        "identity": "hcim-payer-v3.1-2017EN"
      } ],
      "type": [ {
        "code": "HumanName",
        "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-humanname"
      } ],
      "alias": [ "Naamgegevens" ],
      "max": "*",
      "id": "RelatedPerson.name",
      "condition": [ "ele-1" ],
      "comment": "Dutch names require that certain name parts are separately communicable. For this reason, extensions are added onto the base HumanName element to mark the meaning of each part. A Dutch HumanName is still a proper FHIR HumanName; however, there might be an incompatibilty with the default FHIR mechanism for communicating given names. See the compatibility note below for more information.\r\n\r\nThe extension elements cover birth name (NL: eigennaam / geslachtsnaam) and partner/spouse name. Both may have a prefix (NL: voorvoegsel). When a person marries, he or she may keep their own name, assume the partner name, append the partner name to their own name, or the other way around.\r\n\r\n**Incompatibility note**: It has come to light that this specification deviates from the way that the HumanName datatype is normally used. This will be fixed in a future release. However, current implementations should be aware of the special considerations regarding the use of this specification. \r\n\r\nThe issue at hand is the way alternative representations of a name, like initials or a nickname, are communicated. Normally this is done using multiple HumanName instances, which are differentiated using the `.use` element. However, this specification allows for including all alternative representations in the _same_ HumanName instance, with the expectation that the extensions provide enough information for receiving systems to differentiate them. However, this means that contrary to the normal usage of this datatype, repetitions of `.given` names cannot be concatenated to get the full list of given names; the list might be a mix of full names, nicknames and initials.\r\n\r\nSince multiple implementations are based on this specification, sending systems are advised (but not required) to keep the approach with one HumanName instance, while receiving systems should be able to handle this one-instance approach. More specifically:\r\n\r\n* Sending and receiving systems SHOULD always use the specified extensions when using this datatype.\r\n* Sending systems are encouraged to populate the `.text` element to unambigiously communicate the person's name.\r\n* Sending systems are encouraged to send either the full given names or the initials, but not both. This alleviates the duplication of names in `.given`.\r\n* When a sending system uses the current one-instance approach for communicating multiple representations, `.use` MAY NOT be populated. After all, it is not possible to select a single `.use` when the instance contains different representations.\r\n* When a receiving system interprets the instance as the single-instance-multiple-representations approach, the `.given` names marked as initials SHOULD be interpreted as alternatives to the full given names. Note the underlying HCIM expects both the _list_ of full names and _list_ of initials to be a single string; there's no match for an initial to a full name. The instance SHOULD be regarded as using this approach when:\r\n  * They encounter a single instance\r\n  * And the `.use` element is absent\r\n  * And all the name parts are differentiated using the specified extensions\r\n* In any other circumstance, receiving systems SHOULD interpret the usage as the normal use.\r\n\r\nExample: miss Irma XXX_Helleman marries mister de Haas and assumes the name Irma XXX_Helleman-de Haas:\r\n\r\n* `.family` = \"XXX_Helleman-de Haas\"\r\n* `.given` = \"Irma\" (with `.given:iso21090EnQualifier` = _BR_)\r\n* `.family:humannameOwnName` = \"XXX_Helleman\"\r\n* `.family:humannamePartnerPrefix` = \"de \"\r\n* `.family:humannamePartnerName` = \"Haas\"",
      "example": [ {
        "label": "Structured HumanName (preferred above unstructured)",
        "valueHumanName": {
          "text": "Irma XXX_Helleman-de Haas",
          "given": [ "Irma" ],
          "_given": [ {
            "extension": [ {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
              "valueCode": "CL"
            } ]
          } ],
          "family": "XXX_Helleman-de Haas",
          "_family": {
            "extension": [ {
              "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
              "valueString": "XXX_Helleman"
            }, {
              "url": "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
              "valueString": "de"
            }, {
              "url": "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
              "valueString": "Haas"
            } ]
          },
          "extension": [ {
            "url": "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
            "valueCode": "NL4"
          } ]
        }
      }, {
        "label": "Unstructured HumanName",
        "valueHumanName": {
          "text": "Irma XXX_Helleman-de Haas"
        }
      } ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "RelatedPerson.name"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "cpt-2",
        "human": "A system is required if a value is provided.",
        "xpath": "not(exists(f:value)) or exists(f:system)",
        "source": "http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint",
        "severity": "error",
        "expression": "value.empty() or system.exists()"
      } ],
      "path": "RelatedPerson.telecom",
      "requirements": "People have (primary) ways to contact them in some way such as phone, email.",
      "min": 0,
      "definition": "Contact information includes a person's telephone numbers and email addresses. This datatype defines a common basis for expressing all contact information around the world, but adds extensions to express Dutch contacts specifically, according to the HCIM ContactInformation (v1.0, 2017). A Dutch ContactPoint still is a proper FHIR ContactPoint, which means that systems that cannot interpret the extensions will still be able to render and work with this datatype. The table below explains how the HCIM concepts are mapped to the various FHIR elements. The HCIM code itself should also be included using the TelecomType extension.\r\n\r\n| HCIM                                               | `.ext:TelecomType` | `.system` | `.use`   |\r\n|----------------------------------------------------|:------------------:|:---------:|:--------:|\r\n| Primary Home Land Line                             | _LL_               | _phone_   | _home_   |\r\n| Temporary Land Line                                | _LL_               | _phone_   | _temp_   |\r\n| Primary Work Land Line                             | _LL_               | _phone_   | _work_   |\r\n|                                                    |                    |           |          |\r\n| Primary Home Fax                                   | _FAX_              | _fax_     | _home_   |\r\n| Temporary Fax                                      | _FAX_              | _fax_     | _temp_   |\r\n| Primary Work Fax                                   | _FAX_              | _fax_     | _work_   |\r\n|                                                    |                    |           |          |\r\n| Primary Home Mobile Phone                          | _MC_               | _phone_   | _home_   |\r\n| Temporary Mobile Phone                             | _MC_               | _phone_   | _temp_   |\r\n| Primary Work Mobile Phone                          | _MC_               | _phone_   | _work_   |\r\n|                                                    |                    |           |          |\r\n| Primary Home Pager                                 | _PG_               | _pager_   | _home_   |\r\n| Temporary Pager                                    | _PG_               | _pager_   | _temp_   |\r\n| Primary Work Pager                                 | _PG_               | _pager_   | _work_   |\r\n|                                                    |                    |           |          |\r\n| Private email address                              |                    | _email_   | _home_   |\r\n| Work email address                                 |                    | _email_   | _work_   |\r\n|                                                    |                    |           |          |\r\n| Mobile phone number undetermined private/business  |                    | _phone_   | _mobile_ |",
      "short": "ContactInformation",
      "mapping": [ {
        "map": "NK1-5 / NK1-6 / NK1-40",
        "identity": "v2"
      }, {
        "map": "telecom",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "XTN",
        "identity": "v2"
      }, {
        "map": "TEL",
        "identity": "rim"
      }, {
        "map": "ContactPoint",
        "identity": "servd"
      }, {
        "map": "NL-CM:0.1.5",
        "comment": "ContactInformation",
        "identity": "hcim-contactinformation-v2.0.1-2015EN"
      }, {
        "map": "NL-CM:0.1.5",
        "comment": "ContactInformation",
        "identity": "hcim-contactinformation-v3.0-2016EN"
      }, {
        "map": "NL-CM:20.6.1",
        "comment": "ContactInformation",
        "identity": "hcim-contactinformation-v1.0-2017EN"
      }, {
        "map": "NL-CM:3.1.6",
        "comment": "TelephoneE-mail",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.6",
        "comment": "TelephoneE-mail",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.6",
        "comment": "ContactInformation",
        "identity": "hcim-contactperson-v3.1-2017EN"
      }, {
        "map": "NL-CM:1.1.12",
        "comment": "TelephoneE-mail",
        "identity": "hcim-payer-v1.2-2015EN"
      }, {
        "map": "NL-CM:1.1.12",
        "comment": "TelephoneE-mail",
        "identity": "hcim-payer-v3.0-2016EN"
      }, {
        "map": "NL-CM:1.1.12",
        "comment": "ContactInformation",
        "identity": "hcim-payer-v3.1-2017EN"
      } ],
      "type": [ {
        "code": "ContactPoint",
        "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint"
      } ],
      "alias": [ "Contactgegevens" ],
      "max": "*",
      "id": "RelatedPerson.telecom",
      "condition": [ "ele-1" ],
      "comment": "Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification.",
      "example": [ {
        "label": "Mobile business phone number. Note: the mobile nature stems from the number being an 06-* number.",
        "valueContactPoint": {
          "use": "work",
          "value": "+31611234567",
          "system": "phone"
        }
      }, {
        "label": "Mobile phone number undetermined private/business. Note: the mobile nature stems from the number being an 06-* number.",
        "valueContactPoint": {
          "use": "mobile",
          "value": "+31611234567",
          "system": "phone"
        }
      }, {
        "label": "Primary Home Land Line",
        "valueContactPoint": {
          "use": "home",
          "value": "...",
          "system": "phone",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "LL",
                "system": "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                "display": "Land Line"
              } ]
            }
          } ]
        }
      }, {
        "label": "Temporary Land Line",
        "valueContactPoint": {
          "use": "temp",
          "value": "...",
          "system": "phone",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "LL",
                "system": "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                "display": "Land Line"
              } ]
            }
          } ]
        }
      }, {
        "label": "Primary Work Land Line",
        "valueContactPoint": {
          "use": "work",
          "value": "...",
          "system": "phone",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "LL",
                "system": "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                "display": "Land Line"
              } ]
            }
          } ]
        }
      }, {
        "label": "Primary Home Fax",
        "valueContactPoint": {
          "use": "home",
          "value": "...",
          "system": "fax",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "FAX",
                "system": "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                "display": "Fax"
              } ]
            }
          } ]
        }
      }, {
        "label": "Temporary Fax",
        "valueContactPoint": {
          "use": "temp",
          "value": "...",
          "system": "fax",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "FAX",
                "system": "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                "display": "Fax"
              } ]
            }
          } ]
        }
      }, {
        "label": "Primary Work Fax",
        "valueContactPoint": {
          "use": "work",
          "value": "...",
          "system": "fax",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "FAX",
                "system": "urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1",
                "display": "Fax"
              } ]
            }
          } ]
        }
      }, {
        "label": "Primary Home Mobile Phone",
        "valueContactPoint": {
          "use": "home",
          "value": "...",
          "system": "phone",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "MC",
                "system": "http://hl7.org/fhir/v3/AddressUse",
                "display": "Mobile Phone"
              } ]
            }
          } ]
        }
      }, {
        "label": "Temporary Mobile Phone",
        "valueContactPoint": {
          "use": "temp",
          "value": "...",
          "system": "phone",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "MC",
                "system": "http://hl7.org/fhir/v3/AddressUse",
                "display": "Mobile Phone"
              } ]
            }
          } ]
        }
      }, {
        "label": "Primary Work Mobile Phone",
        "valueContactPoint": {
          "use": "work",
          "value": "...",
          "system": "phone",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "MC",
                "system": "http://hl7.org/fhir/v3/AddressUse",
                "display": "Mobile Phone"
              } ]
            }
          } ]
        }
      }, {
        "label": "Primary Home Pager",
        "valueContactPoint": {
          "use": "home",
          "value": "...",
          "system": "pager",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "PG",
                "system": "http://hl7.org/fhir/v3/AddressUse",
                "display": "Pager"
              } ]
            }
          } ]
        }
      }, {
        "label": "Temporary Pager",
        "valueContactPoint": {
          "use": "temp",
          "value": "...",
          "system": "pager",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "PG",
                "system": "http://hl7.org/fhir/v3/AddressUse",
                "display": "Pager"
              } ]
            }
          } ]
        }
      }, {
        "label": "Primary Work Pager",
        "valueContactPoint": {
          "use": "work",
          "value": "...",
          "system": "pager",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "PG",
                "system": "http://hl7.org/fhir/v3/AddressUse",
                "display": "Pager"
              } ]
            }
          } ]
        }
      }, {
        "label": "Private email address",
        "valueContactPoint": {
          "use": "home",
          "value": "giesput@myweb.nl",
          "system": "email"
        }
      }, {
        "label": "Work email address",
        "valueContactPoint": {
          "use": "work",
          "value": "example@workplace.nl",
          "system": "email"
        }
      } ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "RelatedPerson.telecom"
      },
      "isSummary": true
    }, {
      "path": "RelatedPerson.gender",
      "requirements": "Needed for identification of the person, in combination with (at least) name and birth date.",
      "min": 0,
      "definition": "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.",
      "short": "male | female | other | unknown",
      "mapping": [ {
        "map": "NK1-15",
        "identity": "v2"
      }, {
        "map": "administrativeGender",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AdministrativeGender"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "The gender of a person used for administrative purposes.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
        }
      },
      "max": "1",
      "id": "RelatedPerson.gender",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RelatedPerson.gender"
      },
      "isSummary": true
    }, {
      "path": "RelatedPerson.birthDate",
      "min": 0,
      "definition": "The date on which the related person was born.",
      "short": "The date on which the related person was born",
      "mapping": [ {
        "map": "player.birthTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "max": "1",
      "id": "RelatedPerson.birthDate",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RelatedPerson.birthDate"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "nl-streetname-if-official-and-other-line-parts",
        "human": "Address.streetName in an official address SHALL have a value if one of houseNumber|buildingNumberSuffix|additionalLocator has a value",
        "xpath": "not(.[f:extension[@url='http://fhir.nl/fhir/StructureDefinition/nl-core-address-official'][f:valueBoolean/@value='true']][f:line[empty(f:extension[@url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName'])][f:extension[@url=('http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber','http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix','http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator')]]])",
        "source": "http://fhir.nl/fhir/StructureDefinition/nl-core-address",
        "severity": "error",
        "expression": "(extension.where(url = 'http://fhir.nl/fhir/StructureDefinition/nl-core-address-official').where(value = true)).empty() or (line.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName').empty().not() and (line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber').empty().not() or line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix').empty().not() or line.extension.where(url='http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator').empty().not()))",
        "requirements": "This constraint checks conformance against the Dutch BRP constraints on address parts. However: when you only send postalCode + houseNumber which is enough for certain cases this may still be a valid address"
      } ],
      "path": "RelatedPerson.address",
      "requirements": "Need to keep track where the related person can be contacted per postal mail or visited.",
      "min": 0,
      "definition": "This datatype defines a common basis for expressing all addresses around the world, but adds extensions to express Dutch addresses specifically, according to the HCIM AddressInformation (v1.0, 2017). A Dutch Address still is a proper FHIR Address, which means that systems that cannot interpret the extensions will still be able to render and work with this datatype.\r\n\r\nTo have true compatibility an implementer SHOULD use the core Address parts as intended. To have addresses work for Dutch context, the implementer SHOULD in addition use the extension elements.\r\n\r\n**Separate address parts**\r\n\r\nThe first addition is that Dutch addresses make certain address parts separately communicable. These parts are required for use in true Dutch systems when dealing with Dutch addresses, but may not have value for international systems when information gets sent abroad.\r\n\r\n**Custom address types**\r\n\r\nThe second addition is that the HCIM defines its own ValueSet for address types, which can only be partially expressed using the FHIR Address datatype and requires a mapping to multiple elements. The table below explains how the HCIM concepts are mapped to the various FHIR elements (see the ConceptMaps  and  as well). The HCIM code itself should also be included using the AddressType extension.\r\n\r\n| HCIM                              |` .ext:AddressType` | `.ext:official` | `.use` | `.type`    |\r\n|-----------------------------------|:------------------:|:---------------:|:------:|:----------:|\r\n| Postal Address/Postadres          | _PST_              |                 |        | _postal_   |\r\n| Primary Home/Officieel adres      | _HP_               | true            | _home_ |            |\r\n| Visit Address/Woon-/verblijfadres | _PHYS_             |                 | _home_ | _physical_ |\r\n| Temporary Address/Tijdelijk adres | _TMP_              |                 | _temp_ |            |\r\n| Work Place/Werkadres              | _WP_               |                 | _work_ |            |\r\n| Vacation Home/Vakantie adres      | _HV_               |                 | _temp_ |            |\r\n\r\n If Address.type is _both_ then this is to be understood as a dual purpose address (postal and physical). Systems that support importing it like this are encouraged to do so, otherwise they may need to import this as two separate addresses.\r\n\r\nNOTE: FHIR core defines the AD-use extension to further specify the postal address type. However, the ValueSet used in that extension doesn't completely match the HCIM ValueSet. Therefore, a custom extension has been made. This doesn't preclude the use of the AD-use extension.",
      "short": "AddressInformation",
      "mapping": [ {
        "map": "NK1-4",
        "identity": "v2"
      }, {
        "map": "addr",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "XAD",
        "identity": "v2"
      }, {
        "map": "AD",
        "identity": "rim"
      }, {
        "map": "Address",
        "identity": "servd"
      }, {
        "map": "NL-CM:0.1.4",
        "comment": "AddressInformation",
        "identity": "hcim-address-v2.0.1-2015EN"
      }, {
        "map": "NL-CM:0.1.4",
        "comment": "AddressInformation",
        "identity": "hcim-addressinformation-v3.0-2016EN"
      }, {
        "map": "NL-CM:20.5.1",
        "comment": "AddressInformation",
        "identity": "hcim-addressinformation-v1.0-2017EN"
      }, {
        "map": "NL-CM:3.1.5",
        "comment": "Address",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.5",
        "comment": "Address",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.5",
        "comment": "AddressInformation",
        "identity": "hcim-contactperson-v3.1-2017EN"
      }, {
        "map": "NL-CM:1.1.17",
        "comment": "Address",
        "identity": "hcim-payer-v1.2-2015EN"
      }, {
        "map": "NL-CM:1.1.17",
        "comment": "Address",
        "identity": "hcim-payer-v3.0-2016EN"
      }, {
        "map": "NL-CM:1.1.17",
        "comment": "AddressInformation",
        "identity": "hcim-payer-v3.1-2017EN"
      } ],
      "type": [ {
        "code": "Address",
        "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-address"
      } ],
      "alias": [ "AdresInformatie", "Adresgegevens" ],
      "max": "*",
      "id": "RelatedPerson.address",
      "condition": [ "ele-1", "nl-streetname-if-official-and-other-line-parts" ],
      "comment": "Note: address is for postal addresses, not physical locations.",
      "example": [ {
        "label": "Example of a Vacation Home address",
        "valueAddress": {
          "use": "temp",
          "city": "Amsterdam",
          "line": [ "Binnenkant 12A Hoog" ],
          "_line": [ {
            "extension": [ {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
              "valueString": "Binnenkant"
            }, {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
              "valueString": "12"
            }, {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix",
              "valueString": "A"
            }, {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID",
              "valueString": "Hoog"
            } ]
          } ],
          "state": "NH",
          "country": "NLD",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-AddressInformation-AddressType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "HV",
                "system": "http://hl7.org/fhir/v3/AddressUse",
                "display": "Vakantie adres"
              } ]
            }
          } ],
          "postalCode": "1000AA"
        }
      }, {
        "label": "Example of a Primary Home address",
        "valueAddress": {
          "use": "home",
          "city": "Amsterdam",
          "line": [ "Binnenkant to 10" ],
          "_line": [ {
            "extension": [ {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
              "valueString": "Binnenkant"
            }, {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
              "valueString": "to"
            }, {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
              "valueString": "10"
            } ]
          } ],
          "state": "NH",
          "country": "NLD",
          "extension": [ {
            "url": "http://nictiz.nl/fhir/StructureDefinition/zib-AddressInformation-AddressType",
            "valueCodeableConcept": {
              "coding": [ {
                "code": "HP",
                "system": "http://hl7.org/fhir/v3/AddressUse",
                "display": "Officieel adres"
              } ]
            }
          }, {
            "url": "http://fhir.nl/fhir/StructureDefinition/nl-core-address-official",
            "valueBoolean": true
          } ],
          "postalCode": "1001AA"
        }
      } ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "RelatedPerson.address"
      },
      "isSummary": true
    }, {
      "path": "RelatedPerson.photo",
      "requirements": "Many EHR systems have the capability to capture an image of persons. Fits with newer social media usage too.",
      "min": 0,
      "definition": "Image of the person.",
      "short": "Image of the person",
      "mapping": [ {
        "map": "OBX-5 - needs a profile",
        "identity": "v2"
      }, {
        "map": "player[classCode='PSN' and determinerCode='INSTANCE']/desc",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Attachment"
      } ],
      "max": "*",
      "id": "RelatedPerson.photo",
      "base": {
        "max": "*",
        "min": 0,
        "path": "RelatedPerson.photo"
      }
    }, {
      "path": "RelatedPerson.period",
      "min": 0,
      "definition": "The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown.",
      "short": "Period of time that this relationship is considered valid",
      "mapping": [ {
        "map": ".effectiveTime",
        "identity": "rim"
      }, {
        "map": "when.done",
        "identity": "w5"
      }, {
        "map": "NL-CM:0.0.14",
        "comment": "DateTime",
        "identity": "hcim-basicelements-v1.0-2017EN"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "RelatedPerson.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "RelatedPerson.period"
      }
    } ]
  },
  "status": "active",
  "id": "f8c5ca3b-fd96-4817-8fef-8288622b08e0",
  "kind": "resource",
  "url": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson",
  "version": "2.0.5",
  "differential": {
    "element": [ {
      "id": "RelatedPerson",
      "path": "RelatedPerson",
      "mapping": [ {
        "map": "NL-CM:3.1.1",
        "comment": "Contact",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.1",
        "comment": "Contact",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.1",
        "comment": "Contact",
        "identity": "hcim-contactperson-v3.1-2017EN"
      }, {
        "map": "NL-CM:0.0.5",
        "comment": "RelatedPersonAsInformationSource::ContactPerson",
        "identity": "hcim-basicelements-v1.0-2017EN"
      }, {
        "map": "NL-CM:0.0.10",
        "comment": "RelatedPersonAsAuthor::ContactPerson",
        "identity": "hcim-basicelements-v1.0-2017EN"
      }, {
        "map": "NL-CM:0.0.13",
        "comment": "RelatedPersonAsSubject::ContactPerson",
        "identity": "hcim-basicelements-v1.0-2017EN"
      } ]
    }, {
      "id": "RelatedPerson.extension",
      "path": "RelatedPerson.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "RelatedPerson.extension:role",
      "path": "RelatedPerson.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson-role"
      } ],
      "alias": [ "Rol" ],
      "short": "Role",
      "mapping": [ {
        "map": "NL-CM:3.1.2",
        "comment": "Role",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.2",
        "comment": "Role",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.2",
        "comment": "Role",
        "identity": "hcim-contactperson-v3.1-2017EN"
      } ],
      "sliceName": "role",
      "definition": "Defines the role of the contact in relation to the patient."
    }, {
      "id": "RelatedPerson.extension:role.valueCodeableConcept:valueCodeableConcept",
      "path": "RelatedPerson.extension.valueCodeableConcept",
      "binding": {
        "strength": "extensible",
        "valueSetReference": {
          "display": "RolCodelijst",
          "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.2--20171231000000"
        }
      },
      "sliceName": "valueCodeableConcept"
    }, {
      "id": "RelatedPerson.identifier",
      "path": "RelatedPerson.identifier",
      "mapping": [ {
        "map": "NL-CM:0.0.6",
        "comment": "IdentificationNumber",
        "identity": "hcim-basicelements-v1.0-2017EN"
      } ]
    }, {
      "id": "RelatedPerson.patient",
      "path": "RelatedPerson.patient",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
      } ],
      "mapping": [ {
        "map": "NL-CM:0.0.11",
        "comment": "Subject",
        "identity": "hcim-basicelements-v1.0-2017EN"
      } ]
    }, {
      "id": "RelatedPerson.relationship",
      "path": "RelatedPerson.relationship",
      "alias": [ "Relatie" ],
      "short": "Relationship",
      "binding": {
        "strength": "extensible",
        "valueSetReference": {
          "display": "RelatieCodelijst",
          "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.3.1.1--20171231000000"
        }
      },
      "mapping": [ {
        "map": "NL-CM:3.1.3",
        "comment": "Relationship",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.3",
        "comment": "Relationship",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.3",
        "comment": "Relationship",
        "identity": "hcim-contactperson-v3.1-2017EN"
      } ],
      "definition": "Defines the contact’s familial relationship to the patient."
    }, {
      "id": "RelatedPerson.name",
      "path": "RelatedPerson.name",
      "type": [ {
        "code": "HumanName",
        "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-humanname"
      } ],
      "alias": [ "Naamgegevens" ],
      "short": "NameInformation",
      "mapping": [ {
        "map": "NL-CM:3.1.4",
        "comment": "Name",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.4",
        "comment": "Name",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.4",
        "comment": "NameInformation",
        "identity": "hcim-contactperson-v3.1-2017EN"
      }, {
        "map": "NL-CM:1.1.5",
        "comment": "PayerName",
        "identity": "hcim-payer-v1.2-2015EN"
      }, {
        "map": "NL-CM:1.1.5",
        "comment": "PayerName",
        "identity": "hcim-payer-v3.0-2016EN"
      }, {
        "map": "NL-CM:1.1.5",
        "comment": "PayerName",
        "identity": "hcim-payer-v3.1-2017EN"
      } ],
      "definition": "Full name of the contact."
    }, {
      "id": "RelatedPerson.telecom",
      "path": "RelatedPerson.telecom",
      "type": [ {
        "code": "ContactPoint",
        "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint"
      } ],
      "mapping": [ {
        "map": "NL-CM:3.1.6",
        "comment": "TelephoneE-mail",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.6",
        "comment": "TelephoneE-mail",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.6",
        "comment": "ContactInformation",
        "identity": "hcim-contactperson-v3.1-2017EN"
      }, {
        "map": "NL-CM:1.1.12",
        "comment": "TelephoneE-mail",
        "identity": "hcim-payer-v1.2-2015EN"
      }, {
        "map": "NL-CM:1.1.12",
        "comment": "TelephoneE-mail",
        "identity": "hcim-payer-v3.0-2016EN"
      }, {
        "map": "NL-CM:1.1.12",
        "comment": "ContactInformation",
        "identity": "hcim-payer-v3.1-2017EN"
      } ]
    }, {
      "id": "RelatedPerson.address",
      "path": "RelatedPerson.address",
      "type": [ {
        "code": "Address",
        "profile": "http://fhir.nl/fhir/StructureDefinition/nl-core-address"
      } ],
      "alias": [ "Adresgegevens" ],
      "short": "AddressInformation",
      "mapping": [ {
        "map": "NL-CM:3.1.5",
        "comment": "Address",
        "identity": "hcim-contactperson-v1.2-2015EN"
      }, {
        "map": "NL-CM:3.1.5",
        "comment": "Address",
        "identity": "hcim-contactperson-v3.0-2016EN"
      }, {
        "map": "NL-CM:3.1.5",
        "comment": "AddressInformation",
        "identity": "hcim-contactperson-v3.1-2017EN"
      }, {
        "map": "NL-CM:1.1.17",
        "comment": "Address",
        "identity": "hcim-payer-v1.2-2015EN"
      }, {
        "map": "NL-CM:1.1.17",
        "comment": "Address",
        "identity": "hcim-payer-v3.0-2016EN"
      }, {
        "map": "NL-CM:1.1.17",
        "comment": "AddressInformation",
        "identity": "hcim-payer-v3.1-2017EN"
      } ]
    }, {
      "id": "RelatedPerson.period",
      "path": "RelatedPerson.period",
      "mapping": [ {
        "map": "NL-CM:0.0.14",
        "comment": "DateTime",
        "identity": "hcim-basicelements-v1.0-2017EN"
      } ]
    } ]
  },
  "contact": [ {
    "name": "Nictiz",
    "telecom": [ {
      "use": "work",
      "value": "https://www.nictiz.nl",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
}