### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/RelatedPerson.json
### ----------------------------------------------------
### -- Chunk 4 of 5
, but SHALL NOT have security labels.",
      "alias" : ["inline resources",
      "anonymous resources",
      "contained resources"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.contained",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Resource"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "RelatedPerson.extension",
      "path" : "RelatedPerson.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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" : "DomainResource.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "RelatedPerson.modifierExtension",
      "path" : "RelatedPerson.modifierExtension",
      "short" : "Extensions that cannot be ignored",
      "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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "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.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "RelatedPerson.identifier",
      "path" : "RelatedPerson.identifier",
      "short" : "A human identifier for this person",
      "definition" : "Identifier for a person within a particular scope.",
      "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,
      "max" : "*",
      "base" : {
        "path" : "RelatedPerson.identifier",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Identifier"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "v2",
        "map" : "NK1-33"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      }]
    },
    {
      "id" : "RelatedPerson.active",
      "path" : "RelatedPerson.active",
      "short" : "Whether this related person's record is in active use",
      "definition" : "Whether this related person record is in active use.",
      "comment" : "This element is labeled as a modifier because it may be used to mark that the resource was created in error.",
      "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,
      "max" : "1",
      "base" : {
        "path" : "RelatedPerson.active",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "meaningWhenMissing" : "This resource is generally assumed to be active if no value is provided for the active element",
      "isModifier" : true,
      "isModifierReason" : "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.status"
      },
      {
        "identity" : "rim",
        "map" : ".statusCode"
      }]
    },
    {
      "id" : "RelatedPerson.patient",
      "path" : "RelatedPerson.patient",
      "short" : "The patient this person is related to",
      "definition" : "The patient this person is related to.",
      "requirements" : "We need to know which patient this RelatedPerson is related to.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "RelatedPerson.patient",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "v2",
        "map" : "PID-3"
      },
      {
        "identity" : "rim",
        "map" : "scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id"
      }]
    },
    {
      "id" : "RelatedPerson.relationship",
      "path" : "RelatedPerson.relationship",
      "short" : "The nature of the relationship",
      "definition" : "The nature of the relationship between a patient and the related person.",
      "requirements" : "We need to know the relationship with the patient since it influences the interpretation of the information attributed to this person.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "RelatedPerson.relationship",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PatientRelationshipType"
        }],
        "strength" : "preferred",
        "description" : "The nature of the relationship between a patient and the related person.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      },
      {
        "identity" : "v2",
        "map" : "NK1-3"
      },
      {
        "identity" : "rim",
        "map" : "code"
      }]
    },
    {
      "id" : "RelatedPerson.name",
      "path" : "RelatedPerson.name",
      "short" : "A name associated with the person",
      "definition" : "A name associated with the person.",
      "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,
      "max" : "*",
      "base" : {
        "path" : "RelatedPerson.name",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "HumanName"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "v2",
        "map" : "NK1-2"
      },
      {
        "identity" : "rim",
        "map" : "name"
      }]
    },
    {
      "id" : "RelatedPerson.telecom",
      "path" : "RelatedPerson.telecom",
      "short" : "A contact detail for the person",
      "definition" : "A contact detail for the person, e.g. a telephone number or an email address.",
      "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.",
      "requirements" : "People have (primary) ways to contact them in some way such as phone, email.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "RelatedPerson.telecom",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "ContactPoint"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "v2",
        "map" : "NK1-5 / NK1-6 / NK1-40"
      },
      {
        "identity" : "rim",
        "map" : "telecom"
      }]
    },
    {
      "id" : "RelatedPerson.gender",
      "path" : "RelatedPerson.gender",
      "short" : "male | female | other | unknown",
      "definition" : "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.",
      "requirements" : "Needed for identification of the person, in combination with (at least) name and birth date.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "RelatedPerson.gender",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdministrativeGender"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The gender of a person used for administrative purposes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.0"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "NK1-15"
      },
      {
        "identity" : "rim",
        "map" : "administrativeGender"
      }]
    },
    {
      "id" : "RelatedPerson.birthDate",
      "path" : "RelatedPerson.birthDate",
      "short" : "The date on which the related person was born",
      "definition" : "The date on which the related person was born.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "RelatedPerson.birthDate",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "date"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "player.birthTime"
      }]
    },
    {
      "id" : "RelatedPerson.address",
      "path" : "RelatedPerson.address",
      "short" : "Address where the related person can be contacted or visited",
      "definition" : "Address where the related person can be contacted or visited.",
      "requirements" : "Need to keep track where the related person can be contacted per postal mail or visited.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "RelatedPerson.address",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Address"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "v2",
        "map" : "NK1-4"
      },
      {
        "identity" : "rim",
        "map" : "addr"
      }]
    },
    {
      "id" : "RelatedPerson.photo",
      "path" : "RelatedPerson.photo",
      "short" : "Image of the person",
      "definition" : "Image of the person.",
      "requirements" : "Many EHR systems have the capability to capture an image of persons. Fits with newer social media usage too.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "RelatedPerson.photo",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Attachment"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "v2",
        "map" : "OBX-5 - needs a profile"
      },
      {
        "identity" : "rim",
        "map" : "player[classCode='PSN' and determinerCode='INSTANCE']/desc"
      }]
    },
    {
      "id" : "RelatedPerson.period",
      "path" : "RelatedPerson.period",
      "short" : "Period of time that this relationship is considered valid",
      "definition" : "The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "RelatedPerson.period",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Period"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.done[x]"
      },
      {
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "RelatedPerson.communication",
      "path" : "RelatedPerson.communication",
      "short" : "A language which may be used to communicate with about the patient's health",
      "definition" : "A language which may be used to communicate with about the patient's health.",
      "comment" : "If no language is specified, this *implies* that the default local language is spoken.  If you need to convey proficiency for multiple modes, then you need multiple RelatedPerson.Communication associations.   If the RelatedPerson does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.",
      "requirements" : "If a related person does not speak the local language, interpreters may be required, so languages spoken and proficiency is an important things to keep track of both for patient and other persons of interest.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "RelatedPerson.communication",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "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"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "LanguageCommunication"
      }]
    },
    {
      "id" : "RelatedPerson.communication.id",
      "path" : "RelatedPerson.communication.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "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"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "RelatedPerson.communication.extension",
      "path" : "RelatedPerson.communication.extension",
      "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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "RelatedPerson.communication.modifierExtension",
      "path" : "RelatedPerson.communication.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "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.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "RelatedPerson.communication.language",
      "path" : "RelatedPerson.communication.language",
      "short" : "The language which can be used to communicate with the patient about his or her health",
      "definition" : "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English.",
      "comment" : "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.",
      "requirements" : "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "RelatedPerson.communication.language",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "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
        }],
        "strength" : "preferred",
        "description" : "A human language.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code"
      }]
    },
    {
      "id" : "RelatedPerson.communication.preferred",
      "path" : "RelatedPerson.communication.preferred",
      "short" : "Language preference indicator",
      "definition" : "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).",
      "comment" : "This language is specifically identified for communicating healthcare information.",
      "requirements" : "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "RelatedPerson.communication.preferred",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "preferenceInd"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "RelatedPerson",
      "path" : "RelatedPerson",
      "short" : "A person that is related to a patient, but who is not a direct target of care",
      "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.",
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "rim",
        "map" : "role"
      }]
    },
    {
      "id" : "RelatedPerson.identifier",
      "path" : "RelatedPerson.identifier",
      "short" : "A human identifier for this person",
      "definition" : "Identifier for a person within a particular scope.",
      "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,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "v2",
        "map" : "NK1-33"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      }]
    },
    {
      "id" : "RelatedPerson.active",
      "path" : "RelatedPerson.active",
      "short" : "Whether this related person's record is in active use",
      "definition" : "Whether this related person record is in active use.",
      "comment" : "This element is labeled as a modifier because it may be used to mark that the resource was created in error.",
      "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,
      "max" : "1",
      "type" : [{
        "code" : "boolean"
      }],
      "meaningWhenMissing" : "This resource is generally assumed to be active if no value is provided for the active element",
      "isModifier" : true,
      "isModifierReason" : "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.status"
      },
      {
        "identity" : "rim",
        "map" : ".statusCode"
      }]
    },
    {
      "id" : "RelatedPerson.patient",
      "path" : "RelatedPerson.patient",
      "short" : "The patient this person is related to",
      "definition" : "The patient this person is related to.",
      "requirements" : "We need to know which patient this RelatedPerson is related to.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "v2",
        "map" : "PID-3"
      },
      {
        "identity" : "rim",
        "map" : "scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id"
      }]
    },
    {
      "id" : "RelatedPerson.relationship",
      "path" : "RelatedPerson.relationship",
      "short" : "The nature of the relationship",
      "definition" : "The nature of the relationship between a patient and the related person.",
      "requirements" : "We need to know the relationship with the patient since it influences the interpretation of the information attributed to this person.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PatientRelationshipType"
        }],
        "strength" : "preferred",
        "description" : "The nature of the relationship between a patient and the related person.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      },
      {
        "identity" : "v2",
        "map" : "NK1-3"
      },
      {
        "identity" : "rim",
        "map" : "code"
      }]
    },
    {
      "id" : "RelatedPerson.name",
      "path" : "RelatedPerson.name",
      "short" : "A name associated with the person",
      "definition" : "A name associated with the person.",
      "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,
      "max" : "*",
      "type" : [{
        "code" : "HumanName"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "v2",
        "map" : "NK1-2"
      },
      {
        "identity" : "rim",
        "map" : "name"
      }]
    },
    {
      "id" : "RelatedPerson.telecom",
      "path" : "RelatedPerson.telecom",
      "short" : "A contact detail for the person",
      "definition" : "A contact detail for the person, e.g. a telephone number or an email address.",
      "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.",
      "requirements" : "People have (primary) ways to contact them in some way such as phone, email.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "ContactPoint"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "v2",
        "map" : "NK1-5 / NK1-6 / NK1-40"
      },
      {
        "identity" : "rim",
        "map" : "telecom"
      }]
    },
    {
      "id" : "RelatedPerson.gender",
      "path" : "RelatedPerson.gender",
      "short" : "male | female | other | unknown",
      "definition" : "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.",
      "requirements" : "Needed for identification of the person, in combination with (at least) name and birth date.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdministrativeGender"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The gender of a person used for administrative purposes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.0"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "NK1-15"
      },
      {
        "identity" : "rim",
        "map" : "administrativeGender"
      }]
    },
    {
      "id" : "RelatedPerson.birthDate",
      "path" : "RelatedPerson.birthDate",
      "short" : "The date on which the related person was born",
      "definition" : "The date on which the related person was born.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "player.birthTime"
      }]
    },
    {
      "id" : "RelatedPerson.address",
      "path" : "RelatedPerson.address",
      "short" : "Address where the related person can be contacted or visited",
      "definition" : "Address where the related person can be contacted or visited.",
      "requirements" : "Need to keep track where the related person can be contacted per postal mail or visited.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Address"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "v2",
        "map" : "NK1-4"
      },
      {
        "identity" : "rim",
        "map" : "addr"
      }]
    },
    {
      "id" : "RelatedPerson.photo",
      "path" : "RelatedPerson.photo",
      "short" : "Image of the person",
      "definition" : "Image of the person.",
      "requirements" : "Many EHR systems have the capability to capture an image of persons. Fits with newer social media usage too.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Attachment"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OBX-5 - needs a profile"
      },
      {
        "identity" : "rim",
        "map" : "player[classCode='PSN' and determinerCode='INSTANCE']/desc"
      }]
    },
    {
      "id" : "RelatedPerson.period",
      "path" : "RelatedPerson.period",
      "short" : "Period of time that this relationship is considered valid",
      "definition" : "The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Period"
