This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: PatientRole

StructureDefinition for Standard Profile for CDA R2 on FHIR

{
  "resourceType": "StructureDefinition",
  "id": "cda-patient-role",
  "meta": {
    "lastUpdated": "2014-11-05T20:31:00Z"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/cda-patient-role",
  "name": "PatientRole",
  "publisher": "HL7 FHIR Project",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    }
  ],
  "description": "Standard Profile for CDA R2 on FHIR",
  "status": "draft",
  "date": "2014-07-28",
  "mapping": [
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    }
  ],
  "type": "constraint",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Patient",
  "snapshot": {
    "element": [
      {
        "path": "Patient",
        "short": "CDA PatientRole",
        "definition": "Demographics and other administrative information about an individual or animal receiving care or other health-related services.",
        "requirements": "Tracking patient is the center of the healthcare process.",
        "alias": [
          "SubjectOfCare Client Resident"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Patient"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Patient[classCode=PAT]"
          },
          {
            "identity": "cda",
            "map": "PatientRole"
          }
        ]
      },
      {
        "path": "Patient.id",
        "short": "Logical id of this artefact",
        "definition": "The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.",
        "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Patient.meta",
        "short": "Metadata about the resource",
        "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.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Meta"
          }
        ]
      },
      {
        "path": "Patient.implicitRules",
        "short": "A set of rules under which this content was created",
        "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.",
        "comments": "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 as much as possible.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true
      },
      {
        "path": "Patient.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comments": "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\n\nNot 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).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "name": "Language",
          "strength": "required",
          "description": "A human language",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "path": "Patient.text",
        "short": "Text summary of the resource, for human interpretation",
        "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.",
        "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "path": "Patient.contained",
        "short": "Contained, inline Resources",
        "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.",
        "comments": "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.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "ordered": true,
          "rules": "openAtEnd"
        },
        "short": "Patient's religious classification",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/us-core-religion"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.religiousAffiliationCode"
          }
        ]
      },
      {
        "path": "Patient.extension",
        "short": "Patient's racial classification",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/us-core-race"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.raceCode"
          }
        ]
      },
      {
        "path": "Patient.extension",
        "short": "Patient's ethnic classification",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": "ethnicGroupCode"
          }
        ]
      },
      {
        "path": "Patient.extension",
        "short": "Patient's birthplace",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/cda-Birthplace"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.birthPlace"
          }
        ]
      },
      {
        "path": "Patient.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. 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.",
        "comments": "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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Patient.identifier",
        "short": "Patient Identifier",
        "definition": "An identifier for this patient.",
        "requirements": "Patients are almost always assigned specific numerical identifiers.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-3"
          },
          {
            "identity": "rim",
            "map": "id"
          },
          {
            "identity": "cda",
            "map": ".id"
          },
          {
            "identity": "cda",
            "map": ".patient.id"
          }
        ]
      },
      {
        "path": "Patient.name",
        "short": "Patient names",
        "definition": "A name associated with the individual.",
        "comments": "A Patient may have multiple names with different uses or applicable periods. For animals, the name is a \"HumanName\" in the sense that is assigned and used by humans and has the same patterns.",
        "requirements": "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-5, PID-9"
          },
          {
            "identity": "rim",
            "map": "name"
          },
          {
            "identity": "cda",
            "map": ".patient.name"
          }
        ]
      },
      {
        "path": "Patient.telecom",
        "short": "Patient Contact Details",
        "definition": "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.",
        "comments": "A Patient may have multiple ways to be contacted with different uses or applicable periods. \rMay need to have options for contacting the person urgently and also to help with identification. The address may not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone).",
        "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": "PID-13, PID-14, PID-40"
          },
          {
            "identity": "rim",
            "map": "telecom"
          },
          {
            "identity": "cda",
            "map": ".telecom"
          }
        ]
      },
      {
        "path": "Patient.gender",
        "short": "Patient administrative Gender",
        "definition": "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.",
        "comments": "The gender may not match the biological sex as determined by genetics, or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than M and F, though the vast majority of systems and contexts only support M and F. \nSystems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific gender aspect of interest (anatomical, chromosonal, social, etc.)  However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice.  Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosonal and other gender aspects.  For example, an alert about a hysterectomy on a male should be handled as a warning or overrideable error, not a \"hard\" error.",
        "requirements": "Needed for identification of the individual, in combination with (at least) name and birth date. Gender of individual drives many clinical processes.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "name": "AdministrativeGender",
          "strength": "required",
          "description": "The gender of a person used for administrative purposes",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/administrative-gender"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-8"
          },
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
          },
          {
            "identity": "cda",
            "map": ".patient.administrativeGender"
          }
        ]
      },
      {
        "path": "Patient.birthDate",
        "short": "Patient Birthtime",
        "definition": "The date of birth for the individual.",
        "comments": "At least an estimated year should be provided as a guess if the real dob is unknown.",
        "requirements": "Age of the individual drives many clinical processes.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "loinc",
            "map": "21112-8"
          },
          {
            "identity": "v2",
            "map": "PID-7"
          },
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime"
          },
          {
            "identity": "cda",
            "map": ".patient.birthTime"
          }
        ]
      },
      {
        "path": "Patient.deceased[x]",
        "short": "Indicates if the individual is deceased or not",
        "definition": "Indicates if the individual is deceased or not.",
        "comments": "If there's no value in the instance it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.",
        "requirements": "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "dateTime"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-30\r (bool) and PID-29 (datetime)"
          },
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd,\rplayer[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime"
          }
        ]
      },
      {
        "path": "Patient.address",
        "short": "Patient Address",
        "definition": "Addresses for the individual.",
        "comments": "Patient may have multiple addresses with different uses or applicable periods.",
        "requirements": "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Address"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-11"
          },
          {
            "identity": "rim",
            "map": "addr"
          },
          {
            "identity": "cda",
            "map": ".addr"
          }
        ]
      },
      {
        "path": "Patient.maritalStatus",
        "short": "CDA Patient Marital Status",
        "definition": "This field contains a patient's most recent marital (civil) status.",
        "requirements": "Most, if not all systems capture it.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "name": "MaritalStatus",
          "strength": "required",
          "description": "The domestic partnership status of a person",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/marital-status"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-16"
          },
          {
            "identity": "rim",
            "map": "player[classCode=PSN]/maritalStatusCode"
          },
          {
            "identity": "cda",
            "map": ".patient.maritalStatusCode"
          }
        ]
      },
      {
        "path": "Patient.multipleBirth[x]",
        "short": "Whether patient is part of a multiple birth",
        "definition": "Indicates whether the patient is part of a multiple or indicates the actual birth order.",
        "requirements": "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-24 (bool), PID-25 (integer)"
          },
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, \rplayer[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber"
          }
        ]
      },
      {
        "path": "Patient.photo",
        "short": "Image of the patient",
        "definition": "Image of the patient.",
        "requirements": "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "OBX-5 - needs a profile"
          },
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc"
          }
        ]
      },
      {
        "path": "Patient.contact",
        "short": "CDA Guardian",
        "definition": "A contact party (e.g. guardian, partner, friend) for the patient.",
        "comments": "Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact.",
        "requirements": "Need to track people you can contact about the patient.",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "pat-1",
            "name": "ContactNeedsDetails",
            "severity": "error",
            "human": "SHALL at least contain a contact's details or a reference to an organization",
            "xpath": "f:name or f:telecom or f:address or f:organization"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]"
          },
          {
            "identity": "cda",
            "map": ".patient.guardian"
          }
        ]
      },
      {
        "path": "Patient.contact.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Patient.contact.extension",
        "short": "CDA Guardian Identifier",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/cda-guardian-id"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.guardian.id"
          }
        ]
      },
      {
        "path": "Patient.contact.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 element, 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.",
        "comments": "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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Patient.contact.relationship",
        "slicing": {
          "discriminator": [
            "coding.code"
          ],
          "ordered": true,
          "rules": "openAtEnd"
        },
        "short": "The kind of relationship",
        "definition": "The nature of the relationship between the patient and the contact person.",
        "requirements": "Used to determine which contact person is the most relevant to approach, depending on circumstances.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "name": "ContactRelationship",
          "strength": "required",
          "description": "The nature of the relationship between a patient and a contact person for that patient",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/patient-contact-relationship"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-7, NK1-3"
          },
          {
            "identity": "rim",
            "map": "code"
          }
        ]
      },
      {
        "path": "Patient.contact.relationship",
        "short": "in CDA, only Guardian is allowed",
        "definition": "The nature of the relationship between the patient and the contact person.",
        "requirements": "Used to determine which contact person is the most relevant to approach, depending on circumstances.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/patient-contact-relationship",
              "code": "guardian"
            }
          ]
        },
        "binding": {
          "name": "ContactRelationship",
          "strength": "required",
          "description": "The nature of the relationship between a patient and a contact person for that patient",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/patient-contact-relationship"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-7, NK1-3"
          },
          {
            "identity": "rim",
            "map": "code"
          }
        ]
      },
      {
        "path": "Patient.contact.relationship",
        "short": "The kind of relationship",
        "definition": "The nature of the relationship between the patient and the contact person.",
        "requirements": "Used to determine which contact person is the most relevant to approach, depending on circumstances.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "name": "ContactRelationship",
          "strength": "required",
          "description": "The nature of the relationship between a patient and a contact person for that patient",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/patient-contact-relationship"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-7, NK1-3"
          },
          {
            "identity": "rim",
            "map": "code"
          },
          {
            "identity": "cda",
            "map": ".patient.guardian.code"
          }
        ]
      },
      {
        "path": "Patient.contact.name",
        "short": "Guardian name (if a person)",
        "definition": "A name associated with the contact person.",
        "requirements": "Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-2"
          },
          {
            "identity": "rim",
            "map": "name"
          },
          {
            "identity": "cda",
            "map": ".patient.guardian.name"
          }
        ]
      },
      {
        "path": "Patient.contact.telecom",
        "short": "A contact detail for the guardian",
        "definition": "A contact detail for the person, e.g. a telephone number or an email address.",
        "comments": "Contact may have multiple ways to be contacted with different uses or applicable periods. \rMay 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"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-5, NK1-6, NK1-40"
          },
          {
            "identity": "rim",
            "map": "telecom"
          },
          {
            "identity": "cda",
            "map": ".patient.guardian.telecom"
          }
        ]
      },
      {
        "path": "Patient.contact.address",
        "short": "Address for the guardian",
        "definition": "Address for the contact person.",
        "requirements": "Need to keep track where the contact person can be contacted per postal mail or visited.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Address"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-4"
          },
          {
            "identity": "rim",
            "map": "addr"
          },
          {
            "identity": "cda",
            "map": ".patient.guardian.addr"
          }
        ]
      },
      {
        "path": "Patient.contact.gender",
        "short": "male | female | other | unknown",
        "definition": "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.",
        "requirements": "Needed to address the person correctly.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "name": "AdministrativeGender",
          "strength": "required",
          "description": "The gender of a person used for administrative purposes",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/administrative-gender"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-15"
          },
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
          }
        ]
      },
      {
        "path": "Patient.contact.organization",
        "short": "Organization that acts as guardian for the contact",
        "definition": "Organization on behalf of which the contact is acting or for which the contact is working.",
        "requirements": "For guardians or business related contacts, the organization is relevant.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "#Organization"
          }
        ],
        "condition": [
          "pat-1"
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41"
          },
          {
            "identity": "rim",
            "map": "scoper"
          },
          {
            "identity": "cda",
            "map": ".patient.guardian.guardianOrganization"
          }
        ]
      },
      {
        "path": "Patient.contact.period",
        "short": "The period during which this contact person or organization is valid to be contacted relating to this patient",
        "definition": "The period during which this contact person or organization is valid to be contacted relating to this patient.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "path": "Patient.animal",
        "short": "If this patient is an animal (non-human)",
        "definition": "This element has a value if the patient is an animal.",
        "comments": "The animal element is labeled \"Is Modifier\" since patients may be non-human. Systems SHALL either handle patient details appropriately (e.g. inform users patient is not human) or reject non-human patient records.",
        "requirements": "Many clinical systems are extended to care for animal patients as well as human.",
        "min": 0,
        "max": "0",
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "player[classCode=ANM]"
          }
        ]
      },
      {
        "path": "Patient.animal.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Patient.animal.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. 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.",
        "comments": "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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Patient.animal.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 element, 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.",
        "comments": "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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Patient.animal.species",
        "short": "E.g. Dog, Cow",
        "definition": "Identifies the high level taxonomic categorization of the kind of animal.",
        "comments": "If the patient is non-human, at least a species SHALL be specified. Species SHALL be a widely recognised taxonomic classification.  It may or may not be Linnaean taxonomy and may or may not be at the level of species. If the level is finer than species--such as a breed code--the code system used SHALL allow inference of the species.  (The common example is that the word \"Hereford\" does not allow inference of the species Bos taurus, because there is a Hereford pig breed, but the SNOMED code for \"Hereford Cattle Breed\" does.).",
        "requirements": "Need to know what kind of animal.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "name": "AnimalSpecies",
          "strength": "example",
          "description": "The species of an animal",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/animal-species"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-35"
          },
          {
            "identity": "rim",
            "map": "code"
          }
        ]
      },
      {
        "path": "Patient.animal.breed",
        "short": "E.g. Poodle, Angus",
        "definition": "Identifies the detailed categorization of the kind of animal.",
        "comments": "Breed MAY be used to provide further taxonomic or non-taxonomic classification.  It may involve local or proprietary designation--such as commercial strain--and/or additional information such as production type.",
        "requirements": "May need to know the specific kind within the species.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "name": "AnimalBreed",
          "strength": "example",
          "description": "The breed of an animal",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/animal-breeds"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-37"
          },
          {
            "identity": "rim",
            "map": "playedRole[classCode=GEN]/scoper[classCode=ANM, determinerCode=KIND]/code"
          }
        ]
      },
      {
        "path": "Patient.animal.genderStatus",
        "short": "E.g. Neutered, Intact",
        "definition": "Indicates the current state of the animal's reproductive organs.",
        "requirements": "Gender status can affect housing and animal behavior.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "name": "AnimalGenderStatus",
          "strength": "example",
          "description": "The state of the animal's reproductive organs",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/animal-genderstatus"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "genderStatusCode"
          }
        ]
      },
      {
        "path": "Patient.communication",
        "short": "CDA patient language",
        "definition": "Languages which may be used to communicate with the patient about his or her health.",
        "comments": "If no language is specified, this *implies* that the default local language is spoken.\rIf you need to convey proficiency for multiple modes than you need multiple Patient.Communication associations. \r\rFor animals, language is not a relevant field, and should be absent from the instance. If the Patient 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 patient 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": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "LanguageCommunication"
          },
          {
            "identity": "cda",
            "map": ".patient.languageCommunication.languageCode"
          }
        ]
      },
      {
        "path": "Patient.communication.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Patient.communication.extension",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "ordered": true,
          "rules": "openAtEnd"
        },
        "short": "CDA patient language mode",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/StructureDefinition/cda-language-mode"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.languageCommunication.modeCode"
          }
        ]
      },
      {
        "path": "Patient.communication.extension",
        "short": "CDA patient language proficiency",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/StructureDefinition/cda-language-proficiency"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.languageCommunication.proficiencyCode"
          }
        ]
      },
      {
        "path": "Patient.communication.extension",
        "short": "CDA patient language preference",
        "definition": "An Extension",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/StructureDefinition/cda-language-preference"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.languageCommunication.preferenceInd"
          }
        ]
      },
      {
        "path": "Patient.communication.coding",
        "short": "Code defined by a terminology system",
        "definition": "A reference to a code defined by a terminology system.",
        "comments": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the V3 Core Principles for more information.  Ordering of codings is undefined and SHALL not be used to infer meaning.",
        "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.1-8, C*E.10-22"
          },
          {
            "identity": "rim",
            "map": "union(., ./translation)"
          }
        ]
      },
      {
        "path": "Patient.communication.text",
        "short": "Plain text representation of the concept",
        "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
        "comments": "Very often the text is the same as a displayName of one of the codings.",
        "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity": "rim",
            "map": "./originalText[mediaType/code=\"text/plain\"]/data"
          }
        ]
      },
      {
        "path": "Patient.communication.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Patient.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. 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.",
        "comments": "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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Patient.communication.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 element, 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.",
        "comments": "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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Patient.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.",
        "comments": "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",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "name": "Language",
          "strength": "required",
          "description": "A human language",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-15, LAN-2"
          },
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code"
          }
        ]
      },
      {
        "path": "Patient.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).",
        "comments": "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",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-15"
          },
          {
            "identity": "rim",
            "map": "preferenceInd"
          }
        ]
      },
      {
        "path": "Patient.careProvider",
        "short": "Patient's nominated care provider",
        "definition": "Patient's nominated care provider.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/Organization"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "subjectOf.CareEvent.performer.AssignedEntity"
          }
        ]
      },
      {
        "path": "Patient.managingOrganization",
        "short": "Organization that is the custodian of the patient record",
        "definition": "Organization that is the custodian of the patient record.",
        "requirements": "Need to know who recognizes this patient record, manages and updates it.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "#Organization"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "scoper"
          },
          {
            "identity": "cda",
            "map": ".providerOrganization"
          }
        ]
      },
      {
        "path": "Patient.link",
        "short": "Link to another patient resource that concerns the same actual person",
        "definition": "Link to another patient resource that concerns the same actual patient.",
        "comments": "There is no assumption that linked patient records have mutual links.",
        "requirements": "There are multiple usecases: * Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and * Distribution of patient information across multiple servers.",
        "min": 0,
        "max": "0",
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "outboundLink"
          }
        ]
      },
      {
        "path": "Patient.link.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Patient.link.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. 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.",
        "comments": "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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Patient.link.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 element, 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.",
        "comments": "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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Patient.link.other",
        "short": "The other patient resource that the link refers to",
        "definition": "The other patient resource that the link refers to.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-3, MRG-1"
          },
          {
            "identity": "rim",
            "map": "id"
          }
        ]
      },
      {
        "path": "Patient.link.type",
        "short": "replace | refer | seealso - type of link",
        "definition": "The type of link between this patient resource and another patient resource.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "binding": {
          "name": "LinkType",
          "strength": "required",
          "description": "The type of link between this patient resource and another patient resource.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/vs/link-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "typeCode"
          }
        ]
      },
      {
        "path": "Patient.active",
        "short": "Whether this patient's record is in active use",
        "definition": "Whether this patient record is in active use.",
        "comments": "Default is true. If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient.",
        "requirements": "Need to be able to mark a patient record as not to be used because it was created in error.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "defaultValueBoolean": true,
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "statusCode"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "Patient",
        "short": "CDA PatientRole",
        "min": 1,
        "max": "1",
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": "PatientRole"
          }
        ]
      },
      {
        "path": "Patient.extension",
        "short": "Patient's religious classification",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/us-core-religion"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.religiousAffiliationCode"
          }
        ]
      },
      {
        "path": "Patient.extension",
        "short": "Patient's racial classification",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/us-core-race"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.raceCode"
          }
        ]
      },
      {
        "path": "Patient.extension",
        "short": "Patient's ethnic classification",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": "ethnicGroupCode"
          }
        ]
      },
      {
        "path": "Patient.extension",
        "short": "Patient's birthplace",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/cda-Birthplace"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.birthPlace"
          }
        ]
      },
      {
        "path": "Patient.identifier",
        "short": "Patient Identifier",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".id"
          },
          {
            "identity": "cda",
            "map": ".patient.id"
          }
        ]
      },
      {
        "path": "Patient.name",
        "short": "Patient names",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.name"
          }
        ]
      },
      {
        "path": "Patient.telecom",
        "short": "Patient Contact Details",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".telecom"
          }
        ]
      },
      {
        "path": "Patient.gender",
        "short": "Patient administrative Gender",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.administrativeGender"
          }
        ]
      },
      {
        "path": "Patient.birthDate",
        "short": "Patient Birthtime",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.birthTime"
          }
        ]
      },
      {
        "path": "Patient.deceased[x]",
        "min": 0,
        "max": "0",
        "isModifier": true
      },
      {
        "path": "Patient.address",
        "short": "Patient Address",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Address"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".addr"
          }
        ]
      },
      {
        "path": "Patient.maritalStatus",
        "short": "CDA Patient Marital Status",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.maritalStatusCode"
          }
        ]
      },
      {
        "path": "Patient.multipleBirth[x]",
        "min": 0,
        "max": "0"
      },
      {
        "path": "Patient.photo",
        "min": 0,
        "max": "0"
      },
      {
        "path": "Patient.contact",
        "short": "CDA Guardian",
        "min": 0,
        "max": "*",
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.guardian"
          }
        ]
      },
      {
        "path": "Patient.contact.extension",
        "short": "CDA Guardian Identifier",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/cda-guardian-id"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.guardian.id"
          }
        ]
      },
      {
        "path": "Patient.contact.relationship",
        "slicing": {
          "discriminator": [
            "coding.code"
          ],
          "ordered": true,
          "rules": "openAtEnd"
        }
      },
      {
        "path": "Patient.contact.relationship",
        "short": "in CDA, only Guardian is allowed",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/patient-contact-relationship",
              "code": "guardian"
            }
          ]
        }
      },
      {
        "path": "Patient.contact.relationship",
        "min": 0,
        "max": "1",
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.guardian.code"
          }
        ]
      },
      {
        "path": "Patient.contact.name",
        "short": "Guardian name (if a person)",
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.guardian.name"
          }
        ]
      },
      {
        "path": "Patient.contact.telecom",
        "short": "A contact detail for the guardian",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.guardian.telecom"
          }
        ]
      },
      {
        "path": "Patient.contact.address",
        "short": "Address for the guardian",
        "definition": "Address for the contact person.",
        "min": 0,
        "max": "1",
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.guardian.addr"
          }
        ]
      },
      {
        "path": "Patient.contact.gender",
        "min": 0,
        "max": "0"
      },
      {
        "path": "Patient.contact.organization",
        "short": "Organization that acts as guardian for the contact",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "#Organization"
          }
        ],
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.guardian.guardianOrganization"
          }
        ]
      },
      {
        "path": "Patient.animal",
        "min": 0,
        "max": "0"
      },
      {
        "path": "Patient.communication",
        "short": "CDA patient language",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.languageCommunication.languageCode"
          }
        ]
      },
      {
        "path": "Patient.communication.extension",
        "short": "CDA patient language mode",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/StructureDefinition/cda-language-mode"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.languageCommunication.modeCode"
          }
        ]
      },
      {
        "path": "Patient.communication.extension",
        "short": "CDA patient language proficiency",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/StructureDefinition/cda-language-proficiency"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.languageCommunication.proficiencyCode"
          }
        ]
      },
      {
        "path": "Patient.communication.extension",
        "short": "CDA patient language preference",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/StructureDefinition/cda-language-preference"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".patient.languageCommunication.preferenceInd"
          }
        ]
      },
      {
        "path": "Patient.careProvider",
        "min": 0,
        "max": "0"
      },
      {
        "path": "Patient.managingOrganization",
        "short": "Organization that is the custodian of the patient record",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": "#Organization"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "cda",
            "map": ".providerOrganization"
          }
        ]
      },
      {
        "path": "Patient.link",
        "min": 0,
        "max": "0"
      },
      {
        "path": "Patient.active",
        "min": 0,
        "max": "0"
      }
    ]
  }
}