PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ecr@0.2.0
    http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-patient
{
  "description": "This profile represents an eCR Patient. It is based on the US Core Patient and further restricts that profile to allow masking of some elements.",
  "_filename": "StructureDefinition-ecr-patient.json",
  "package_name": "hl7.fhir.us.ecr",
  "date": "2018-08-01T00:00:00+10:00",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "3.0.1",
  "jurisdiction": [ {
    "coding": [ {
      "code": "US",
      "system": "urn:iso:std:iso:3166",
      "display": "United States of America"
    } ]
  } ],
  "name": "ecr-patient",
  "mapping": [ {
    "uri": "http://unknown.org/Argonaut DQ DSTU2",
    "name": "Argonaut DQ DSTU2",
    "identity": "argonaut-dq-dstu2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/v3/cda",
    "name": "CDA (R2)",
    "identity": "cda"
  }, {
    "uri": "http://hl7.org/fhir/w5",
    "name": "W5 Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://loinc.org",
    "name": "LOINC code for the element",
    "identity": "loinc"
  } ],
  "abstract": false,
  "type": "Patient",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "eCR Patient",
  "package_version": "0.2.0",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-1",
        "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
        "xpath": "not(parent::f:contained and f:text)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.text.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
        "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()"
      } ],
      "path": "Patient",
      "min": 0,
      "definition": "This profile represents an eCR Patient. It is based on the US Core Patient and further restricts that profile to allow masking of some elements.",
      "short": "eCR Patient",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Patient[classCode=PAT]",
        "identity": "rim"
      }, {
        "map": "ClinicalDocument.recordTarget.patientRole",
        "identity": "cda"
      }, {
        "map": "administrative.individual",
        "identity": "w5"
      }, {
        "map": "Patient",
        "identity": "argonaut-dq-dstu2"
      } ],
      "mustSupport": true,
      "alias": [ "SubjectOfCare Client Resident" ],
      "max": "*",
      "id": "Patient",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient"
      }
    }, {
      "path": "Patient.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "Patient.id",
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "Patient.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "Patient.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "Patient.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Patient.implicitRules",
      "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isSummary": true
    }, {
      "path": "Patient.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-languages"
          }
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A human language.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      "max": "1",
      "id": "Patient.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      }
    }, {
      "path": "Patient.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "Patient.text",
      "condition": [ "dom-1" ],
      "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      }
    }, {
      "path": "Patient.contained",
      "min": 0,
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "Patient.contained",
      "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      }
    }, {
      "path": "Patient.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "id": "1",
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
      } ],
      "mustSupport": true,
      "sliceName": "race",
      "max": "1",
      "id": "Patient.extension:race",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
      } ],
      "mustSupport": true,
      "sliceName": "ethnicity",
      "max": "1",
      "id": "Patient.extension:ethnicity",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "children().count() > id.count()"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"
      } ],
      "mustSupport": true,
      "sliceName": "birthsex",
      "max": "1",
      "id": "Patient.extension:birthsex",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "path": "Patient.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      }
    }, {
      "path": "Patient.identifier",
      "requirements": "Patients are almost always assigned specific numerical identifiers.",
      "min": 1,
      "definition": "An identifier for this patient.",
      "short": "An identifier for this patient",
      "mapping": [ {
        "map": "PID-3",
        "identity": "v2"
      }, {
        "map": "id",
        "identity": "rim"
      }, {
        "map": ".id",
        "identity": "cda"
      }, {
        "map": "id",
        "identity": "w5"
      }, {
        "map": "Patient.identifier",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.identifier",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.identifier"
      },
      "isSummary": true
    }, {
      "path": "Patient.identifier.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.identifier.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.identifier.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.identifier.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.identifier.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "mustSupport": true,
      "sliceName": "extensionDataAbsentReason",
      "max": "1",
      "id": "Patient.identifier.extension:extensionDataAbsentReason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.identifier.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.identifier.extension:extensionDataAbsentReason.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.identifier.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.identifier.extension:extensionDataAbsentReason.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.identifier.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.identifier.extension:extensionDataAbsentReason.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Patient.identifier.extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "sliceName": "valueCode",
      "patternCode": "masked",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DataAbsentReason"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Used to specify why the normally expected content of the data element is missing.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/data-absent-reason"
        }
      },
      "max": "1",
      "id": "Patient.identifier.extension:extensionDataAbsentReason.valueCode:valueCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Patient.identifier.use",
      "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
      "min": 0,
      "definition": "The purpose of this identifier.",
      "isModifier": true,
      "short": "usual | official | temp | secondary (If known)",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierUse"
        } ],
        "description": "Identifies the purpose for this identifier, if known .",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
        }
      },
      "max": "1",
      "id": "Patient.identifier.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.use"
      },
      "isSummary": true
    }, {
      "path": "Patient.identifier.type",
      "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
      "min": 0,
      "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
      "short": "Description of identifier",
      "mapping": [ {
        "map": "CX.5",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierType"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/identifier-type"
        }
      },
      "max": "1",
      "id": "Patient.identifier.type",
      "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.type"
      },
      "isSummary": true
    }, {
      "path": "Patient.identifier.system",
      "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
      "min": 1,
      "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
      "short": "The namespace for the identifier value",
      "mapping": [ {
        "map": "CX.4 / EI-2-4",
        "identity": "v2"
      }, {
        "map": "II.root or Role.id.root",
        "identity": "rim"
      }, {
        "map": "./IdentifierType",
        "identity": "servd"
      }, {
        "map": "Patient.identifier.system",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Patient.identifier.system",
      "example": [ {
        "label": "General",
        "valueUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.system"
      },
      "isSummary": true
    }, {
      "path": "Patient.identifier.value",
      "min": 1,
      "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
      "short": "The value that is unique within the system.",
      "mapping": [ {
        "map": "CX.1 / EI.1",
        "identity": "v2"
      }, {
        "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)",
        "identity": "rim"
      }, {
        "map": "./Value",
        "identity": "servd"
      }, {
        "map": "Patient.identifier.value",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Patient.identifier.value",
      "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html).",
      "example": [ {
        "label": "General",
        "valueString": "123456"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.value"
      },
      "isSummary": true
    }, {
      "path": "Patient.identifier.period",
      "min": 0,
      "definition": "Time period during which identifier is/was valid for use.",
      "short": "Time period when id is/was valid for use",
      "mapping": [ {
        "map": "CX.7 + CX.8",
        "identity": "v2"
      }, {
        "map": "Role.effectiveTime or implied by context",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Patient.identifier.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.period"
      },
      "isSummary": true
    }, {
      "path": "Patient.identifier.assigner",
      "min": 0,
      "definition": "Organization that issued/manages the identifier.",
      "short": "Organization that issued id (may be just text)",
      "mapping": [ {
        "map": "CX.4 / (CX.4,CX.9,CX.10)",
        "identity": "v2"
      }, {
        "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper",
        "identity": "rim"
      }, {
        "map": "./IdentifierIssuingAuthority",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      } ],
      "max": "1",
      "id": "Patient.identifier.assigner",
      "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.assigner"
      },
      "isSummary": true
    }, {
      "path": "Patient.active",
      "requirements": "Need to be able to mark a patient record as not to be used because it was created in error.",
      "min": 0,
      "definition": "Whether this patient record is in active use.",
      "isModifier": true,
      "short": "Whether this patient's record is in active use",
      "mapping": [ {
        "map": "statusCode",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      }, {
        "map": "status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "defaultValueBoolean": true,
      "max": "1",
      "id": "Patient.active",
      "comment": "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\n\nThis element is labeled as a modifier because when the patient record is marked as not active it is not expected to be used/referenced without being changed back to active.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.active"
      },
      "isSummary": true
    }, {
      "path": "Patient.name",
      "requirements": "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.",
      "min": 1,
      "definition": "A name associated with the individual.",
      "short": "A name associated with the patient",
      "mapping": [ {
        "map": "PID-5, PID-9",
        "identity": "v2"
      }, {
        "map": "name",
        "identity": "rim"
      }, {
        "map": ".patient.name",
        "identity": "cda"
      }, {
        "map": "Patient.name",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "HumanName"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.name",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.name"
      },
      "isSummary": true
    }, {
      "path": "Patient.name.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.name.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.name.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.name.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.name.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "mustSupport": true,
      "sliceName": "extensionDataAbsentReason",
      "max": "1",
      "id": "Patient.name.extension:extensionDataAbsentReason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.name.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.name.extension:extensionDataAbsentReason.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.name.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.name.extension:extensionDataAbsentReason.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.name.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.name.extension:extensionDataAbsentReason.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Patient.name.extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "sliceName": "valueCode",
      "patternCode": "masked",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DataAbsentReason"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Used to specify why the normally expected content of the data element is missing.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/data-absent-reason"
        }
      },
      "max": "1",
      "id": "Patient.name.extension:extensionDataAbsentReason.valueCode:valueCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Patient.name.use",
      "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
      "min": 0,
      "definition": "Identifies the purpose for this name.",
      "isModifier": true,
      "short": "usual | official | temp | nickname | anonymous | old | maiden",
      "mapping": [ {
        "map": "XPN.7, but often indicated by which field contains the name",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "./NamePurpose",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NameUse"
        } ],
        "description": "The use of a human name",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/name-use"
        }
      },
      "max": "1",
      "id": "Patient.name.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one. Applications can assume that a name is current unless it explicitly says that it is temporary or old.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.use"
      },
      "isSummary": true
    }, {
      "path": "Patient.name.text",
      "requirements": "A renderable, unencoded form.",
      "min": 0,
      "definition": "A full text representation of the name.",
      "short": "Text representation of the full name",
      "mapping": [ {
        "map": "implied by XPN.11",
        "identity": "v2"
      }, {
        "map": "./formatted",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Patient.name.text",
      "comment": "Can provide both a text representation and structured parts.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.text"
      },
      "isSummary": true
    }, {
      "path": "Patient.name.family",
      "min": 1,
      "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.",
      "short": "Family name (often called 'Surname')",
      "mapping": [ {
        "map": "XPN.1/FN.1",
        "identity": "v2"
      }, {
        "map": "./part[partType = FAM]",
        "identity": "rim"
      }, {
        "map": "./FamilyName",
        "identity": "servd"
      }, {
        "map": "Patient.name.family",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "alias": [ "surname" ],
      "max": "1",
      "id": "Patient.name.family",
      "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.family"
      },
      "isSummary": true
    }, {
      "path": "Patient.name.given",
      "min": 1,
      "definition": "Given name.",
      "short": "Given names (not always 'first'). Includes middle names",
      "mapping": [ {
        "map": "XPN.2 + XPN.3",
        "identity": "v2"
      }, {
        "map": "./part[partType = GIV]",
        "identity": "rim"
      }, {
        "map": "./GivenNames",
        "identity": "servd"
      }, {
        "map": "Patient.name.given",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "alias": [ "first name", "middle name" ],
      "max": "*",
      "id": "Patient.name.given",
      "comment": "If only initials are recorded, they may be used in place of the full name.  Not called \"first name\" since given names do not always come first.",
      "orderMeaning": "Given Names appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.given"
      },
      "isSummary": true
    }, {
      "path": "Patient.name.prefix",
      "min": 0,
      "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.",
      "short": "Parts that come before the name",
      "mapping": [ {
        "map": "XPN.5",
        "identity": "v2"
      }, {
        "map": "./part[partType = PFX]",
        "identity": "rim"
      }, {
        "map": "./TitleCode",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Patient.name.prefix",
      "orderMeaning": "Prefixes appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.prefix"
      },
      "isSummary": true
    }, {
      "path": "Patient.name.suffix",
      "min": 0,
      "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.",
      "short": "Parts that come after the name",
      "mapping": [ {
        "map": "XPN/4",
        "identity": "v2"
      }, {
        "map": "./part[partType = SFX]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Patient.name.suffix",
      "orderMeaning": "Suffixes appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.suffix"
      },
      "isSummary": true
    }, {
      "path": "Patient.name.period",
      "requirements": "Allows names to be placed in historical context.",
      "min": 0,
      "definition": "Indicates the period of time when this name was valid for the named person.",
      "short": "Time period when name was/is in use",
      "mapping": [ {
        "map": "XPN.13 + XPN.14",
        "identity": "v2"
      }, {
        "map": "./usablePeriod[type=\"IVL\"]",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Patient.name.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.period"
      },
      "isSummary": true
    }, {
      "path": "Patient.telecom",
      "requirements": "People have (primary) ways to contact them in some way such as phone, email.",
      "min": 0,
      "definition": "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.",
      "short": "A contact detail for the individual",
      "mapping": [ {
        "map": "PID-13, PID-14, PID-40",
        "identity": "v2"
      }, {
        "map": "telecom",
        "identity": "rim"
      }, {
        "map": ".telecom",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "ContactPoint"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.telecom",
      "comment": "A Patient 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. 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).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.telecom"
      },
      "isSummary": true
    }, {
      "path": "Patient.telecom.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.telecom.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.telecom.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.telecom.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.telecom.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "mustSupport": true,
      "sliceName": "extensionDataAbsentReason",
      "max": "1",
      "id": "Patient.telecom.extension:extensionDataAbsentReason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.telecom.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.telecom.extension:extensionDataAbsentReason.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.telecom.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.telecom.extension:extensionDataAbsentReason.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.telecom.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.telecom.extension:extensionDataAbsentReason.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Patient.telecom.extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "sliceName": "valueCode",
      "patternCode": "masked",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DataAbsentReason"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Used to specify why the normally expected content of the data element is missing.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/data-absent-reason"
        }
      },
      "max": "1",
      "id": "Patient.telecom.extension:extensionDataAbsentReason.valueCode:valueCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Patient.telecom.system",
      "min": 0,
      "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.",
      "short": "phone | fax | email | pager | url | sms | other",
      "mapping": [ {
        "map": "XTN.3",
        "identity": "v2"
      }, {
        "map": "./scheme",
        "identity": "rim"
      }, {
        "map": "./ContactPointType",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ContactPointSystem"
        } ],
        "description": "Telecommunications form for contact point",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
        }
      },
      "max": "1",
      "id": "Patient.telecom.system",
      "condition": [ "cpt-2" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "ContactPoint.system"
      },
      "isSummary": true
    }, {
      "path": "Patient.telecom.value",
      "requirements": "Need to support legacy numbers that are not in a tightly controlled format.",
      "min": 0,
      "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
      "short": "The actual contact point details",
      "mapping": [ {
        "map": "XTN.1 (or XTN.12)",
        "identity": "v2"
      }, {
        "map": "./url",
        "identity": "rim"
      }, {
        "map": "./Value",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Patient.telecom.value",
      "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ContactPoint.value"
      },
      "isSummary": true
    }, {
      "path": "Patient.telecom.use",
      "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.",
      "min": 0,
      "definition": "Identifies the purpose for the contact point.",
      "isModifier": true,
      "short": "home | work | temp | old | mobile - purpose of this contact point",
      "mapping": [ {
        "map": "XTN.2 - but often indicated by field",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "./ContactPointPurpose",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ContactPointUse"
        } ],
        "description": "Use of contact point",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
        }
      },
      "max": "1",
      "id": "Patient.telecom.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one. Applications can assume that a contact is current unless it explicitly says that it is temporary or old.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ContactPoint.use"
      },
      "isSummary": true
    }, {
      "path": "Patient.telecom.rank",
      "min": 0,
      "definition": "Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.",
      "short": "Specify preferred order of use (1 = highest)",
      "mapping": [ {
        "map": "n/a",
        "identity": "v2"
      }, {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Patient.telecom.rank",
      "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ContactPoint.rank"
      },
      "isSummary": true
    }, {
      "path": "Patient.telecom.period",
      "min": 0,
      "definition": "Time period when the contact point was/is in use.",
      "short": "Time period when the contact point was/is in use",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "./usablePeriod[type=\"IVL\"]",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Patient.telecom.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ContactPoint.period"
      },
      "isSummary": true
    }, {
      "path": "Patient.gender",
      "requirements": "Needed for identification of the individual, in combination with (at least) name and birth date. Gender of individual drives many clinical processes.",
      "min": 1,
      "definition": "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.",
      "short": "male | female | other | unknown",
      "mapping": [ {
        "map": "PID-8",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender",
        "identity": "rim"
      }, {
        "map": ".patient.administrativeGenderCode",
        "identity": "cda"
      }, {
        "map": "Patient.gender",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
        }
      },
      "max": "1",
      "id": "Patient.gender",
      "comment": "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.  Systems 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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.gender"
      },
      "isSummary": true
    }, {
      "path": "Patient.gender.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references)",
      "short": "xml:id (or equivalent in JSON)",
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.gender.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.gender.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.gender.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.gender.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "mustSupport": true,
      "sliceName": "extensionDataAbsentReason",
      "max": "1",
      "id": "Patient.gender.extension:extensionDataAbsentReason",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.gender.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.gender.extension:extensionDataAbsentReason.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.gender.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.gender.extension:extensionDataAbsentReason.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.gender.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.gender.extension:extensionDataAbsentReason.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Patient.gender.extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "sliceName": "valueCode",
      "patternCode": "masked",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DataAbsentReason"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Used to specify why the normally expected content of the data element is missing.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/data-absent-reason"
        }
      },
      "max": "1",
      "id": "Patient.gender.extension:extensionDataAbsentReason.valueCode:valueCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Patient.gender.value",
      "min": 0,
      "definition": "Primitive value for code",
      "short": "Primitive value for code",
      "type": [ {
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-regex",
          "valueString": "[^\\s]+([\\s]?[^\\s]+)*"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.gender.value",
      "base": {
        "max": "1",
        "min": 0,
        "path": "string.value"
      }
    }, {
      "path": "Patient.birthDate",
      "requirements": "Age of the individual drives many clinical processes.",
      "min": 0,
      "definition": "The date of birth for the individual.",
      "short": "The date of birth for the individual",
      "mapping": [ {
        "map": "PID-7",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime",
        "identity": "rim"
      }, {
        "map": ".patient.birthTime",
        "identity": "cda"
      }, {
        "map": "21112-8",
        "identity": "loinc"
      }, {
        "map": "Patient.birthDate",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Patient.birthDate",
      "comment": "At least an estimated year should be provided as a guess if the real DOB is unknown  There is a standard extension \"patient-birthTime\" available that should be used where Time is required (such as in maternaty/infant care systems).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.birthDate"
      },
      "isSummary": true
    }, {
      "path": "Patient.birthDate.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references)",
      "short": "xml:id (or equivalent in JSON)",
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.birthDate.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.birthDate.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.birthDate.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Patient.birthDate.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "mustSupport": true,
      "sliceName": "extensionDataAbsentReason",
      "max": "1",
      "id": "Patient.birthDate.extension:extensionDataAbsentReason",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.birthDate.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.birthDate.extension:extensionDataAbsentReason.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.birthDate.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.birthDate.extension:extensionDataAbsentReason.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.birthDate.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.birthDate.extension:extensionDataAbsentReason.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Patient.birthDate.extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "sliceName": "valueCode",
      "patternCode": "masked",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DataAbsentReason"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Used to specify why the normally expected content of the data element is missing.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/data-absent-reason"
        }
      },
      "max": "1",
      "id": "Patient.birthDate.extension:extensionDataAbsentReason.valueCode:valueCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Patient.birthDate.value",
      "min": 0,
      "definition": "The actual value",
      "short": "Primitive value for date",
      "type": [ {
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-regex",
          "valueString": "-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.birthDate.value",
      "base": {
        "max": "1",
        "min": 0,
        "path": "date.value"
      }
    }, {
      "path": "Patient.deceased[x]",
      "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,
      "definition": "Indicates if the individual is deceased or not.",
      "isModifier": true,
      "short": "Indicates if the individual is deceased or not",
      "mapping": [ {
        "map": "PID-30  (bool) and PID-29 (datetime)",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "boolean"
      }, {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "Patient.deceased[x]",
      "comment": "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.\n\nThis element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.deceased[x]"
      },
      "isSummary": true
    }, {
      "path": "Patient.address",
      "requirements": "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.",
      "min": 0,
      "definition": "Addresses for the individual.",
      "short": "Addresses for the individual",
      "mapping": [ {
        "map": "PID-11",
        "identity": "v2"
      }, {
        "map": "addr",
        "identity": "rim"
      }, {
        "map": ".addr",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Address"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.address",
      "comment": "Patient may have multiple addresses with different uses or applicable periods.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.address"
      },
      "isSummary": true
    }, {
      "path": "Patient.address.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.address.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.address.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.address.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.address.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "mustSupport": true,
      "sliceName": "extensionDataAbsentReason",
      "max": "1",
      "id": "Patient.address.extension:extensionDataAbsentReason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.address.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.address.extension:extensionDataAbsentReason.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.address.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.address.extension:extensionDataAbsentReason.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.address.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.address.extension:extensionDataAbsentReason.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Patient.address.extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "sliceName": "valueCode",
      "patternCode": "masked",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DataAbsentReason"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Used to specify why the normally expected content of the data element is missing.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/data-absent-reason"
        }
      },
      "max": "1",
      "id": "Patient.address.extension:extensionDataAbsentReason.valueCode:valueCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Patient.address.use",
      "requirements": "Allows an appropriate address to be chosen from a list of many.",
      "min": 0,
      "definition": "The purpose of this address.",
      "isModifier": true,
      "short": "home | work | temp | old - purpose of this address",
      "mapping": [ {
        "map": "XAD.7",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "./AddressPurpose",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AddressUse"
        } ],
        "description": "The use of an address",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/address-use"
        }
      },
      "max": "1",
      "id": "Patient.address.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one. Applications can assume that an address is current unless it explicitly says that it is temporary or old.",
      "example": [ {
        "label": "General",
        "valueCode": "home"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.use"
      },
      "isSummary": true
    }, {
      "path": "Patient.address.type",
      "min": 0,
      "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.",
      "short": "postal | physical | both",
      "mapping": [ {
        "map": "XAD.18",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "address type parameter",
        "identity": "vcard"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AddressType"
        } ],
        "description": "The type of an address (physical / postal)",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/address-type"
        }
      },
      "max": "1",
      "id": "Patient.address.type",
      "example": [ {
        "label": "General",
        "valueCode": "both"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.type"
      },
      "isSummary": true
    }, {
      "path": "Patient.address.text",
      "requirements": "A renderable, unencoded form.",
      "min": 0,
      "definition": "A full text representation of the address.",
      "short": "Text representation of the address",
      "mapping": [ {
        "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6",
        "identity": "v2"
      }, {
        "map": "./formatted",
        "identity": "rim"
      }, {
        "map": "address label parameter",
        "identity": "vcard"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Patient.address.text",
      "comment": "Can provide both a text representation and parts.",
      "example": [ {
        "label": "General",
        "valueString": "137 Nowhere Street, Erewhon 9132"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.text"
      },
      "isSummary": true
    }, {
      "path": "Patient.address.line",
      "requirements": "home | work | temp | old - purpose of this address.",
      "min": 0,
      "definition": "This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.",
      "short": "Street name, number, direction & P.O. Box etc.",
      "mapping": [ {
        "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = AL]",
        "identity": "rim"
      }, {
        "map": "street",
        "identity": "vcard"
      }, {
        "map": "./StreetAddress (newline delimitted)",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Patient.address.line",
      "example": [ {
        "label": "General",
        "valueString": "137 Nowhere Street"
      } ],
      "orderMeaning": "The order in which lines should appear in an address label",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Address.line"
      },
      "isSummary": true
    }, {
      "path": "Patient.address.city",
      "min": 0,
      "definition": "The name of the city, town, village or other community or delivery center.",
      "short": "Name of city, town etc.",
      "mapping": [ {
        "map": "XAD.3",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CTY]",
        "identity": "rim"
      }, {
        "map": "locality",
        "identity": "vcard"
      }, {
        "map": "./Jurisdiction",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Municpality" ],
      "max": "1",
      "id": "Patient.address.city",
      "example": [ {
        "label": "General",
        "valueString": "Erewhon"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.city"
      },
      "isSummary": true
    }, {
      "path": "Patient.address.district",
      "min": 0,
      "definition": "The name of the administrative area (county).",
      "short": "District name (aka county)",
      "mapping": [ {
        "map": "XAD.9",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CNT | CPA]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "County" ],
      "max": "1",
      "id": "Patient.address.district",
      "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.",
      "example": [ {
        "label": "General",
        "valueString": "Madison"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.district"
      },
      "isSummary": true
    }, {
      "path": "Patient.address.state",
      "min": 0,
      "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes).",
      "short": "Sub-unit of country (abbreviations ok)",
      "mapping": [ {
        "map": "XAD.4",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = STA]",
        "identity": "rim"
      }, {
        "map": "region",
        "identity": "vcard"
      }, {
        "map": "./Region",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Province", "Territory" ],
      "max": "1",
      "id": "Patient.address.state",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.state"
      },
      "isSummary": true
    }, {
      "path": "Patient.address.postalCode",
      "min": 0,
      "definition": "A postal code designating a region defined by the postal service.",
      "short": "Postal code for area",
      "mapping": [ {
        "map": "XAD.5",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = ZIP]",
        "identity": "rim"
      }, {
        "map": "code",
        "identity": "vcard"
      }, {
        "map": "./PostalIdentificationCode",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Zip" ],
      "max": "1",
      "id": "Patient.address.postalCode",
      "example": [ {
        "label": "General",
        "valueString": "9132"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.postalCode"
      },
      "isSummary": true
    }, {
      "path": "Patient.address.country",
      "min": 0,
      "definition": "Country - a nation as commonly understood or generally accepted.",
      "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)",
      "mapping": [ {
        "map": "XAD.6",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CNT]",
        "identity": "rim"
      }, {
        "map": "country",
        "identity": "vcard"
      }, {
        "map": "./Country",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Patient.address.country",
      "comment": "ISO 3166 3 letter codes can be used in place of a full country name.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.country"
      },
      "isSummary": true
    }, {
      "path": "Patient.address.period",
      "requirements": "Allows addresses to be placed in historical context.",
      "min": 0,
      "definition": "Time period when address was/is in use.",
      "short": "Time period when address was/is in use",
      "mapping": [ {
        "map": "XAD.12 / XAD.13 + XAD.14",
        "identity": "v2"
      }, {
        "map": "./usablePeriod[type=\"IVL\"]",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Patient.address.period",
      "example": [ {
        "label": "General",
        "valuePeriod": {
          "end": "2010-07-01T00:00:00+10:00",
          "start": "2010-03-23T00:00:00+10:00"
        }
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.period"
      },
      "isSummary": true
    }, {
      "path": "Patient.maritalStatus",
      "requirements": "Most, if not all systems capture it.",
      "min": 0,
      "definition": "This field contains a patient's most recent marital (civil) status.",
      "short": "Marital (civil) status of a patient",
      "mapping": [ {
        "map": "PID-16",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN]/maritalStatusCode",
        "identity": "rim"
      }, {
        "map": ".patient.maritalStatusCode",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MaritalStatus"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "The domestic partnership status of a person.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/marital-status"
        }
      },
      "max": "1",
      "id": "Patient.maritalStatus",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.maritalStatus"
      }
    }, {
      "path": "Patient.multipleBirth[x]",
      "requirements": "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.",
      "min": 0,
      "definition": "Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).",
      "short": "Whether patient is part of a multiple birth",
      "mapping": [ {
        "map": "PID-24 (bool), PID-25 (integer)",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd,  player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "boolean"
      }, {
        "code": "integer"
      } ],
      "max": "1",
      "id": "Patient.multipleBirth[x]",
      "comment": "Where the valueInteger is provided, the number is the birth number in the sequence.\nE.g. The middle birth in tripplets would be valueInteger=2 and the third born would have valueInteger=3\nIf a bool value was provided for this tripplets examle, then all 3 patient records would have valueBool=true (the ordering is not indicated).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.multipleBirth[x]"
      }
    }, {
      "path": "Patient.photo",
      "requirements": "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.",
      "min": 0,
      "definition": "Image of the patient.",
      "short": "Image of the patient",
      "mapping": [ {
        "map": "OBX-5 - needs a profile",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Attachment"
      } ],
      "max": "*",
      "id": "Patient.photo",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.photo"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "pat-1",
        "human": "SHALL at least contain a contact's details or a reference to an organization",
        "xpath": "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)",
        "source": "Patient.contact",
        "severity": "error",
        "expression": "name.exists() or telecom.exists() or address.exists() or organization.exists()"
      } ],
      "path": "Patient.contact",
      "requirements": "Need to track people you can contact about the patient.",
      "min": 0,
      "definition": "A contact party (e.g. guardian, partner, friend) for the patient.",
      "short": "A contact party (e.g. guardian, partner, friend) for the patient",
      "mapping": [ {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "Contact"
      } ],
      "max": "*",
      "id": "Patient.contact",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.contact"
      }
    }, {
      "path": "Patient.contact.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.contact.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.contact.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.contact.modifierExtension",
      "min": 0,
      "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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Patient.contact.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.relationship",
      "requirements": "Used to determine which contact person is the most relevant to approach, depending on circumstances.",
      "min": 1,
      "definition": "The nature of the relationship between the patient and the contact person.",
      "short": "The kind of relationship",
      "mapping": [ {
        "map": "NK1-7, NK1-3",
        "identity": "v2"
      }, {
        "map": "code",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ContactRelationship"
        } ],
        "description": "The nature of the relationship between a patient and a contact person for that patient.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/v2-0131"
        }
      },
      "max": "1",
      "id": "Patient.contact.relationship",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.contact.relationship"
      }
    }, {
      "path": "Patient.contact.name",
      "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,
      "definition": "A name associated with the contact person.",
      "short": "A name associated with the contact person",
      "mapping": [ {
        "map": "NK1-2",
        "identity": "v2"
      }, {
        "map": "name",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "HumanName"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Patient.contact.name",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.contact.name"
      }
    }, {
      "path": "Patient.contact.name.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.name.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.contact.name.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.contact.name.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.contact.name.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "mustSupport": true,
      "sliceName": "extensionDataAbsentReason",
      "max": "1",
      "id": "Patient.contact.name.extension:extensionDataAbsentReason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.contact.name.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.name.extension:extensionDataAbsentReason.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.contact.name.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.contact.name.extension:extensionDataAbsentReason.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.contact.name.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.name.extension:extensionDataAbsentReason.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Patient.contact.name.extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "sliceName": "valueCode",
      "patternCode": "masked",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DataAbsentReason"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Used to specify why the normally expected content of the data element is missing.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/data-absent-reason"
        }
      },
      "max": "1",
      "id": "Patient.contact.name.extension:extensionDataAbsentReason.valueCode:valueCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Patient.contact.name.use",
      "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
      "min": 0,
      "definition": "Identifies the purpose for this name.",
      "isModifier": true,
      "short": "usual | official | temp | nickname | anonymous | old | maiden",
      "mapping": [ {
        "map": "XPN.7, but often indicated by which field contains the name",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "./NamePurpose",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NameUse"
        } ],
        "description": "The use of a human name",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/name-use"
        }
      },
      "max": "1",
      "id": "Patient.contact.name.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one. Applications can assume that a name is current unless it explicitly says that it is temporary or old.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.use"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.name.text",
      "requirements": "A renderable, unencoded form.",
      "min": 0,
      "definition": "A full text representation of the name.",
      "short": "Text representation of the full name",
      "mapping": [ {
        "map": "implied by XPN.11",
        "identity": "v2"
      }, {
        "map": "./formatted",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Patient.contact.name.text",
      "comment": "Can provide both a text representation and structured parts.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.text"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.name.family",
      "min": 0,
      "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.",
      "short": "Family name (often called 'Surname')",
      "mapping": [ {
        "map": "XPN.1/FN.1",
        "identity": "v2"
      }, {
        "map": "./part[partType = FAM]",
        "identity": "rim"
      }, {
        "map": "./FamilyName",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "surname" ],
      "max": "1",
      "id": "Patient.contact.name.family",
      "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.family"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.name.given",
      "min": 0,
      "definition": "Given name.",
      "short": "Given names (not always 'first'). Includes middle names",
      "mapping": [ {
        "map": "XPN.2 + XPN.3",
        "identity": "v2"
      }, {
        "map": "./part[partType = GIV]",
        "identity": "rim"
      }, {
        "map": "./GivenNames",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "first name", "middle name" ],
      "max": "*",
      "id": "Patient.contact.name.given",
      "comment": "If only initials are recorded, they may be used in place of the full name.  Not called \"first name\" since given names do not always come first.",
      "orderMeaning": "Given Names appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.given"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.name.prefix",
      "min": 0,
      "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.",
      "short": "Parts that come before the name",
      "mapping": [ {
        "map": "XPN.5",
        "identity": "v2"
      }, {
        "map": "./part[partType = PFX]",
        "identity": "rim"
      }, {
        "map": "./TitleCode",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Patient.contact.name.prefix",
      "orderMeaning": "Prefixes appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.prefix"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.name.suffix",
      "min": 0,
      "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.",
      "short": "Parts that come after the name",
      "mapping": [ {
        "map": "XPN/4",
        "identity": "v2"
      }, {
        "map": "./part[partType = SFX]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Patient.contact.name.suffix",
      "orderMeaning": "Suffixes appear in the correct order for presenting the name",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HumanName.suffix"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.name.period",
      "requirements": "Allows names to be placed in historical context.",
      "min": 0,
      "definition": "Indicates the period of time when this name was valid for the named person.",
      "short": "Time period when name was/is in use",
      "mapping": [ {
        "map": "XPN.13 + XPN.14",
        "identity": "v2"
      }, {
        "map": "./usablePeriod[type=\"IVL\"]",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Patient.contact.name.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HumanName.period"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.telecom",
      "requirements": "People have (primary) ways to contact them in some way such as phone, email.",
      "min": 0,
      "definition": "A contact detail for the person, e.g. a telephone number or an email address.",
      "short": "A contact detail for the person",
      "mapping": [ {
        "map": "NK1-5, NK1-6, NK1-40",
        "identity": "v2"
      }, {
        "map": "telecom",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "ContactPoint"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.contact.telecom",
      "comment": "Contact 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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.contact.telecom"
      }
    }, {
      "path": "Patient.contact.telecom.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.telecom.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.contact.telecom.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.contact.telecom.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.contact.telecom.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "mustSupport": true,
      "sliceName": "extensionDataAbsentReason",
      "max": "1",
      "id": "Patient.contact.telecom.extension:extensionDataAbsentReason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.contact.telecom.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.telecom.extension:extensionDataAbsentReason.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.contact.telecom.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.contact.telecom.extension:extensionDataAbsentReason.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.contact.telecom.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.telecom.extension:extensionDataAbsentReason.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Patient.contact.telecom.extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "sliceName": "valueCode",
      "patternCode": "masked",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DataAbsentReason"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Used to specify why the normally expected content of the data element is missing.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/data-absent-reason"
        }
      },
      "max": "1",
      "id": "Patient.contact.telecom.extension:extensionDataAbsentReason.valueCode:valueCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Patient.contact.telecom.system",
      "min": 0,
      "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.",
      "short": "phone | fax | email | pager | url | sms | other",
      "mapping": [ {
        "map": "XTN.3",
        "identity": "v2"
      }, {
        "map": "./scheme",
        "identity": "rim"
      }, {
        "map": "./ContactPointType",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ContactPointSystem"
        } ],
        "description": "Telecommunications form for contact point",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/contact-point-system"
        }
      },
      "max": "1",
      "id": "Patient.contact.telecom.system",
      "condition": [ "cpt-2" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "ContactPoint.system"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.telecom.value",
      "requirements": "Need to support legacy numbers that are not in a tightly controlled format.",
      "min": 0,
      "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
      "short": "The actual contact point details",
      "mapping": [ {
        "map": "XTN.1 (or XTN.12)",
        "identity": "v2"
      }, {
        "map": "./url",
        "identity": "rim"
      }, {
        "map": "./Value",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Patient.contact.telecom.value",
      "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ContactPoint.value"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.telecom.use",
      "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.",
      "min": 0,
      "definition": "Identifies the purpose for the contact point.",
      "isModifier": true,
      "short": "home | work | temp | old | mobile - purpose of this contact point",
      "mapping": [ {
        "map": "XTN.2 - but often indicated by field",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "./ContactPointPurpose",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ContactPointUse"
        } ],
        "description": "Use of contact point",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/contact-point-use"
        }
      },
      "max": "1",
      "id": "Patient.contact.telecom.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one. Applications can assume that a contact is current unless it explicitly says that it is temporary or old.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ContactPoint.use"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.telecom.rank",
      "min": 0,
      "definition": "Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.",
      "short": "Specify preferred order of use (1 = highest)",
      "mapping": [ {
        "map": "n/a",
        "identity": "v2"
      }, {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Patient.contact.telecom.rank",
      "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ContactPoint.rank"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.telecom.period",
      "min": 0,
      "definition": "Time period when the contact point was/is in use.",
      "short": "Time period when the contact point was/is in use",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "./usablePeriod[type=\"IVL\"]",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Patient.contact.telecom.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ContactPoint.period"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.address",
      "requirements": "Need to keep track where the contact person can be contacted per postal mail or visited.",
      "min": 0,
      "definition": "Address for the contact person.",
      "short": "Address for the contact person",
      "mapping": [ {
        "map": "NK1-4",
        "identity": "v2"
      }, {
        "map": "addr",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Address"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Patient.contact.address",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.contact.address"
      }
    }, {
      "path": "Patient.contact.address.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.address.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.contact.address.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.contact.address.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.contact.address.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "mustSupport": true,
      "sliceName": "extensionDataAbsentReason",
      "max": "1",
      "id": "Patient.contact.address.extension:extensionDataAbsentReason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.contact.address.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.address.extension:extensionDataAbsentReason.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.contact.address.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.contact.address.extension:extensionDataAbsentReason.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.contact.address.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.contact.address.extension:extensionDataAbsentReason.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Patient.contact.address.extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "sliceName": "valueCode",
      "patternCode": "masked",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DataAbsentReason"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Used to specify why the normally expected content of the data element is missing.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/data-absent-reason"
        }
      },
      "max": "1",
      "id": "Patient.contact.address.extension:extensionDataAbsentReason.valueCode:valueCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Patient.contact.address.use",
      "requirements": "Allows an appropriate address to be chosen from a list of many.",
      "min": 0,
      "definition": "The purpose of this address.",
      "isModifier": true,
      "short": "home | work | temp | old - purpose of this address",
      "mapping": [ {
        "map": "XAD.7",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "./AddressPurpose",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AddressUse"
        } ],
        "description": "The use of an address",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/address-use"
        }
      },
      "max": "1",
      "id": "Patient.contact.address.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one. Applications can assume that an address is current unless it explicitly says that it is temporary or old.",
      "example": [ {
        "label": "General",
        "valueCode": "home"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.use"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.address.type",
      "min": 0,
      "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.",
      "short": "postal | physical | both",
      "mapping": [ {
        "map": "XAD.18",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "address type parameter",
        "identity": "vcard"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AddressType"
        } ],
        "description": "The type of an address (physical / postal)",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/address-type"
        }
      },
      "max": "1",
      "id": "Patient.contact.address.type",
      "example": [ {
        "label": "General",
        "valueCode": "both"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.type"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.address.text",
      "requirements": "A renderable, unencoded form.",
      "min": 0,
      "definition": "A full text representation of the address.",
      "short": "Text representation of the address",
      "mapping": [ {
        "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6",
        "identity": "v2"
      }, {
        "map": "./formatted",
        "identity": "rim"
      }, {
        "map": "address label parameter",
        "identity": "vcard"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Patient.contact.address.text",
      "comment": "Can provide both a text representation and parts.",
      "example": [ {
        "label": "General",
        "valueString": "137 Nowhere Street, Erewhon 9132"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.text"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.address.line",
      "requirements": "home | work | temp | old - purpose of this address.",
      "min": 0,
      "definition": "This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.",
      "short": "Street name, number, direction & P.O. Box etc.",
      "mapping": [ {
        "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = AL]",
        "identity": "rim"
      }, {
        "map": "street",
        "identity": "vcard"
      }, {
        "map": "./StreetAddress (newline delimitted)",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Patient.contact.address.line",
      "example": [ {
        "label": "General",
        "valueString": "137 Nowhere Street"
      } ],
      "orderMeaning": "The order in which lines should appear in an address label",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Address.line"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.address.city",
      "min": 0,
      "definition": "The name of the city, town, village or other community or delivery center.",
      "short": "Name of city, town etc.",
      "mapping": [ {
        "map": "XAD.3",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CTY]",
        "identity": "rim"
      }, {
        "map": "locality",
        "identity": "vcard"
      }, {
        "map": "./Jurisdiction",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Municpality" ],
      "max": "1",
      "id": "Patient.contact.address.city",
      "example": [ {
        "label": "General",
        "valueString": "Erewhon"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.city"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.address.district",
      "min": 0,
      "definition": "The name of the administrative area (county).",
      "short": "District name (aka county)",
      "mapping": [ {
        "map": "XAD.9",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CNT | CPA]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "County" ],
      "max": "1",
      "id": "Patient.contact.address.district",
      "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.",
      "example": [ {
        "label": "General",
        "valueString": "Madison"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.district"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.address.state",
      "min": 0,
      "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes).",
      "short": "Sub-unit of country (abbreviations ok)",
      "mapping": [ {
        "map": "XAD.4",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = STA]",
        "identity": "rim"
      }, {
        "map": "region",
        "identity": "vcard"
      }, {
        "map": "./Region",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Province", "Territory" ],
      "max": "1",
      "id": "Patient.contact.address.state",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.state"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.address.postalCode",
      "min": 0,
      "definition": "A postal code designating a region defined by the postal service.",
      "short": "Postal code for area",
      "mapping": [ {
        "map": "XAD.5",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = ZIP]",
        "identity": "rim"
      }, {
        "map": "code",
        "identity": "vcard"
      }, {
        "map": "./PostalIdentificationCode",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Zip" ],
      "max": "1",
      "id": "Patient.contact.address.postalCode",
      "example": [ {
        "label": "General",
        "valueString": "9132"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.postalCode"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.address.country",
      "min": 0,
      "definition": "Country - a nation as commonly understood or generally accepted.",
      "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)",
      "mapping": [ {
        "map": "XAD.6",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CNT]",
        "identity": "rim"
      }, {
        "map": "country",
        "identity": "vcard"
      }, {
        "map": "./Country",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Patient.contact.address.country",
      "comment": "ISO 3166 3 letter codes can be used in place of a full country name.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.country"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.address.period",
      "requirements": "Allows addresses to be placed in historical context.",
      "min": 0,
      "definition": "Time period when address was/is in use.",
      "short": "Time period when address was/is in use",
      "mapping": [ {
        "map": "XAD.12 / XAD.13 + XAD.14",
        "identity": "v2"
      }, {
        "map": "./usablePeriod[type=\"IVL\"]",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Patient.contact.address.period",
      "example": [ {
        "label": "General",
        "valuePeriod": {
          "end": "2010-07-01T00:00:00+10:00",
          "start": "2010-03-23T00:00:00+10:00"
        }
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.period"
      },
      "isSummary": true
    }, {
      "path": "Patient.contact.gender",
      "requirements": "Needed to address the person correctly.",
      "min": 0,
      "definition": "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.",
      "short": "male | female | other | unknown",
      "mapping": [ {
        "map": "NK1-15",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AdministrativeGender"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "The gender of a person used for administrative purposes.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
        }
      },
      "max": "1",
      "id": "Patient.contact.gender",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.contact.gender"
      }
    }, {
      "path": "Patient.contact.organization",
      "requirements": "For guardians or business related contacts, the organization is relevant.",
      "min": 0,
      "definition": "Organization on behalf of which the contact is acting or for which the contact is working.",
      "short": "Organization that is associated with the contact",
      "mapping": [ {
        "map": "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41",
        "identity": "v2"
      }, {
        "map": "scoper",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      } ],
      "max": "1",
      "id": "Patient.contact.organization",
      "condition": [ "pat-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.contact.organization"
      }
    }, {
      "path": "Patient.contact.period",
      "min": 0,
      "definition": "The period during which this contact person or organization is valid to be contacted relating to this patient.",
      "short": "The period during which this contact person or organization is valid to be contacted relating to this patient",
      "mapping": [ {
        "map": "effectiveTime",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Patient.contact.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.contact.period"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Patient.animal",
      "requirements": "Many clinical systems are extended to care for animal patients as well as human.",
      "min": 0,
      "definition": "This patient is known to be an animal.",
      "isModifier": true,
      "short": "This patient is known to be an animal (non-human)",
      "mapping": [ {
        "map": "player[classCode=ANM]",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      }, {
        "map": "Patient.animal",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": false,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "Animal"
      } ],
      "max": "0",
      "id": "Patient.animal",
      "comment": "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 declared animal records.   The absense of the animal element does not imply that the patient is a human. If a system requires such a positive assertion that the patient is human, an extension will be required.  (Do not use a species of homo-sapiens in animal species, as this would incorrectly infer that the patient is an animal).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.animal"
      },
      "isSummary": true
    }, {
      "path": "Patient.animal.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.animal.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.animal.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.animal.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.animal.modifierExtension",
      "min": 0,
      "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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Patient.animal.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Patient.animal.species",
      "requirements": "Need to know what kind of animal.",
      "min": 1,
      "definition": "Identifies the high level taxonomic categorization of the kind of animal.",
      "short": "E.g. Dog, Cow",
      "mapping": [ {
        "map": "PID-35",
        "identity": "v2"
      }, {
        "map": "code",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AnimalSpecies"
        } ],
        "description": "The species of an animal.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/animal-species"
        }
      },
      "max": "1",
      "id": "Patient.animal.species",
      "comment": "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 CT code for \"Hereford Cattle Breed\" does.).",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Patient.animal.species"
      },
      "isSummary": true
    }, {
      "path": "Patient.animal.breed",
      "requirements": "May need to know the specific kind within the species.",
      "min": 0,
      "definition": "Identifies the detailed categorization of the kind of animal.",
      "short": "E.g. Poodle, Angus",
      "mapping": [ {
        "map": "PID-37",
        "identity": "v2"
      }, {
        "map": "playedRole[classCode=GEN]/scoper[classCode=ANM, determinerCode=KIND]/code",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AnimalBreed"
        } ],
        "description": "The breed of an animal.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/animal-breeds"
        }
      },
      "max": "1",
      "id": "Patient.animal.breed",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.animal.breed"
      },
      "isSummary": true
    }, {
      "path": "Patient.animal.genderStatus",
      "requirements": "Gender status can affect housing and animal behavior.",
      "min": 0,
      "definition": "Indicates the current state of the animal's reproductive organs.",
      "short": "E.g. Neutered, Intact",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "genderStatusCode",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AnimalGenderStatus"
        } ],
        "description": "The state of the animal's reproductive organs.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/animal-genderstatus"
        }
      },
      "max": "1",
      "id": "Patient.animal.genderStatus",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.animal.genderStatus"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Patient.communication",
      "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,
      "definition": "Languages which may be used to communicate with the patient about his or her health.",
      "short": "A list of Languages which may be used to communicate with the patient about his or her health",
      "mapping": [ {
        "map": "LanguageCommunication",
        "identity": "rim"
      }, {
        "map": "patient.languageCommunication",
        "identity": "cda"
      }, {
        "map": "Patient.communication",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Patient.communication",
      "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 Patient.Communication associations.   For 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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.communication"
      }
    }, {
      "path": "Patient.communication.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.communication.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.communication.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.communication.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.communication.modifierExtension",
      "min": 0,
      "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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Patient.communication.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Patient.communication.language",
      "requirements": "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.",
      "min": 1,
      "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.",
      "short": "The language which can be used to communicate with the patient about his or her health",
      "mapping": [ {
        "map": "PID-15, LAN-2",
        "identity": "v2"
      }, {
        "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code",
        "identity": "rim"
      }, {
        "map": ".languageCode",
        "identity": "cda"
      }, {
        "map": "Patient.communication.language",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "http://hl7.org/fhir/us/core/ValueSet/simple-language"
          }
        } ],
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/us/core/ValueSet/simple-language"
        }
      },
      "max": "1",
      "id": "Patient.communication.language",
      "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Patient.communication.language"
      }
    }, {
      "path": "Patient.communication.language.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.communication.language.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.communication.language.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Patient.communication.language.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.communication.language.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "mustSupport": true,
      "sliceName": "extensionDataAbsentReason",
      "max": "1",
      "id": "Patient.communication.language.extension:extensionDataAbsentReason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.communication.language.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.communication.language.extension:extensionDataAbsentReason.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.communication.language.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.communication.language.extension:extensionDataAbsentReason.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.communication.language.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.communication.language.extension:extensionDataAbsentReason.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "Patient.communication.language.extension.valueCode",
      "min": 1,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "sliceName": "valueCode",
      "patternCode": "masked",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DataAbsentReason"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "Used to specify why the normally expected content of the data element is missing.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/data-absent-reason"
        }
      },
      "max": "1",
      "id": "Patient.communication.language.extension:extensionDataAbsentReason.valueCode:valueCode",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "Patient.communication.language.coding",
      "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,
      "definition": "A reference to a code defined by a terminology system.",
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "max": "*",
      "id": "Patient.communication.language.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Patient.communication.language.text",
      "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,
      "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.",
      "short": "Plain text representation of the concept",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Patient.communication.language.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "path": "Patient.communication.preferred",
      "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,
      "definition": "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).",
      "short": "Language preference indicator",
      "mapping": [ {
        "map": "PID-15",
        "identity": "v2"
      }, {
        "map": "preferenceInd",
        "identity": "rim"
      }, {
        "map": ".preferenceInd",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Patient.communication.preferred",
      "comment": "This language is specifically identified for communicating healthcare information.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.communication.preferred"
      }
    }, {
      "path": "Patient.generalPractitioner",
      "min": 0,
      "definition": "Patient's nominated care provider.",
      "short": "Patient's nominated primary care provider",
      "mapping": [ {
        "map": "PD1-4",
        "identity": "v2"
      }, {
        "map": "subjectOf.CareEvent.performer.AssignedEntity",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
      } ],
      "alias": [ "careProvider" ],
      "max": "*",
      "id": "Patient.generalPractitioner",
      "comment": "This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disablity setting, or even organization that will provide people to perform the care provider roles.\n\nIt is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.generalPractitioner"
      }
    }, {
      "path": "Patient.managingOrganization",
      "requirements": "Need to know who recognizes this patient record, manages and updates it.",
      "min": 0,
      "definition": "Organization that is the custodian of the patient record.",
      "short": "Organization that is the custodian of the patient record",
      "mapping": [ {
        "map": "scoper",
        "identity": "rim"
      }, {
        "map": ".providerOrganization",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      } ],
      "max": "1",
      "id": "Patient.managingOrganization",
      "comment": "There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Patient.managingOrganization"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Patient.link",
      "requirements": "There are multiple usecases: \n\n* 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,
      "definition": "Link to another patient resource that concerns the same actual patient.",
      "isModifier": true,
      "short": "Link to another patient resource that concerns the same actual person",
      "mapping": [ {
        "map": "outboundLink",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Patient.link",
      "comment": "There is no assumption that linked patient records have mutual links. \n\nThis element is labelled as a modifier because it may not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Patient.link"
      },
      "isSummary": true
    }, {
      "path": "Patient.link.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Patient.link.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Patient.link.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Patient.link.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Patient.link.modifierExtension",
      "min": 0,
      "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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Patient.link.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Patient.link.other",
      "min": 1,
      "definition": "The other patient resource that the link refers to.",
      "short": "The other patient or related person resource that the link refers to",
      "mapping": [ {
        "map": "PID-3, MRG-1",
        "identity": "v2"
      }, {
        "map": "id",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
      } ],
      "max": "1",
      "id": "Patient.link.other",
      "comment": "Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Patient.link.other"
      },
      "isSummary": true
    }, {
      "path": "Patient.link.type",
      "min": 1,
      "definition": "The type of link between this patient resource and another patient resource.",
      "short": "replaced-by | replaces | refer | seealso - type of link",
      "mapping": [ {
        "map": "typeCode",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "LinkType"
        } ],
        "description": "The type of link between this patient resource and another patient resource.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/link-type"
        }
      },
      "max": "1",
      "id": "Patient.link.type",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Patient.link.type"
      },
      "isSummary": true
    } ]
  },
  "status": "draft",
  "id": "9ef6cc10-5caa-4c4b-a8cb-72a4b8ad9cd9",
  "kind": "resource",
  "url": "http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-patient",
  "version": "0.2.0",
  "differential": {
    "element": [ {
      "id": "Patient",
      "path": "Patient",
      "short": "eCR Patient",
      "definition": "This profile represents an eCR Patient. It is based on the US Core Patient and further restricts that profile to allow masking of some elements.",
      "mustSupport": true
    }, {
      "id": "Patient.extension:race",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
      } ],
      "sliceName": "race",
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "Patient.extension:ethnicity",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
      } ],
      "sliceName": "ethnicity",
      "isModifier": false,
      "mustSupport": true
    }, {
      "path": "Patient.extension",
      "min": 0,
      "isModifier": false,
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"
      } ],
      "mustSupport": true,
      "sliceName": "birthsex",
      "binding": {
        "strength": "required",
        "description": "Code for sex assigned at birth",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-birthsex"
        }
      },
      "max": "1",
      "id": "Patient.extension:birthsex"
    }, {
      "id": "Patient.identifier",
      "min": 1,
      "path": "Patient.identifier",
      "mustSupport": true
    }, {
      "id": "Patient.identifier.extension",
      "path": "Patient.identifier.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.identifier.extension:extensionDataAbsentReason",
      "max": "1",
      "path": "Patient.identifier.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "sliceName": "extensionDataAbsentReason",
      "mustSupport": true
    }, {
      "id": "Patient.identifier.extension:extensionDataAbsentReason.url",
      "path": "Patient.identifier.extension.url",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
    }, {
      "id": "Patient.identifier.extension:extensionDataAbsentReason.valueCode:valueCode",
      "min": 1,
      "path": "Patient.identifier.extension.valueCode",
      "type": [ {
        "code": "code"
      } ],
      "sliceName": "valueCode",
      "mustSupport": true,
      "patternCode": "masked"
    }, {
      "id": "Patient.name",
      "min": 1,
      "path": "Patient.name"
    }, {
      "id": "Patient.name.extension",
      "path": "Patient.name.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.name.extension:extensionDataAbsentReason",
      "max": "1",
      "path": "Patient.name.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "sliceName": "extensionDataAbsentReason",
      "mustSupport": true
    }, {
      "id": "Patient.name.extension:extensionDataAbsentReason.url",
      "path": "Patient.name.extension.url",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
    }, {
      "id": "Patient.name.extension:extensionDataAbsentReason.valueCode:valueCode",
      "min": 1,
      "path": "Patient.name.extension.valueCode",
      "type": [ {
        "code": "code"
      } ],
      "sliceName": "valueCode",
      "mustSupport": true,
      "patternCode": "masked"
    }, {
      "id": "Patient.telecom",
      "path": "Patient.telecom",
      "mustSupport": true
    }, {
      "id": "Patient.telecom.extension",
      "path": "Patient.telecom.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.telecom.extension:extensionDataAbsentReason",
      "max": "1",
      "path": "Patient.telecom.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "sliceName": "extensionDataAbsentReason",
      "mustSupport": true
    }, {
      "id": "Patient.telecom.extension:extensionDataAbsentReason.url",
      "path": "Patient.telecom.extension.url",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
    }, {
      "id": "Patient.telecom.extension:extensionDataAbsentReason.valueCode:valueCode",
      "min": 1,
      "path": "Patient.telecom.extension.valueCode",
      "type": [ {
        "code": "code"
      } ],
      "sliceName": "valueCode",
      "mustSupport": true,
      "patternCode": "masked"
    }, {
      "id": "Patient.gender",
      "path": "Patient.gender",
      "mustSupport": true
    }, {
      "id": "Patient.gender.extension",
      "path": "Patient.gender.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.gender.extension:extensionDataAbsentReason",
      "max": "1",
      "path": "Patient.gender.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "sliceName": "extensionDataAbsentReason",
      "mustSupport": true
    }, {
      "id": "Patient.gender.extension:extensionDataAbsentReason.url",
      "path": "Patient.gender.extension.url",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
    }, {
      "id": "Patient.gender.extension:extensionDataAbsentReason.valueCode:valueCode",
      "min": 1,
      "path": "Patient.gender.extension.valueCode",
      "type": [ {
        "code": "code"
      } ],
      "sliceName": "valueCode",
      "mustSupport": true,
      "patternCode": "masked"
    }, {
      "id": "Patient.birthDate",
      "path": "Patient.birthDate",
      "mustSupport": true
    }, {
      "id": "Patient.birthDate.extension",
      "path": "Patient.birthDate.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.birthDate.extension:extensionDataAbsentReason",
      "max": "1",
      "path": "Patient.birthDate.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "sliceName": "extensionDataAbsentReason",
      "mustSupport": true
    }, {
      "id": "Patient.birthDate.extension:extensionDataAbsentReason.url",
      "path": "Patient.birthDate.extension.url",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
    }, {
      "id": "Patient.birthDate.extension:extensionDataAbsentReason.valueCode:valueCode",
      "min": 1,
      "path": "Patient.birthDate.extension.valueCode",
      "type": [ {
        "code": "code"
      } ],
      "sliceName": "valueCode",
      "mustSupport": true,
      "patternCode": "masked"
    }, {
      "id": "Patient.address",
      "path": "Patient.address",
      "mustSupport": true
    }, {
      "id": "Patient.address.extension",
      "path": "Patient.address.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.address.extension:extensionDataAbsentReason",
      "max": "1",
      "path": "Patient.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "sliceName": "extensionDataAbsentReason",
      "mustSupport": true
    }, {
      "id": "Patient.address.extension:extensionDataAbsentReason.url",
      "path": "Patient.address.extension.url",
      "fixedUri": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
    }, {
      "id": "Patient.address.extension:extensionDataAbsentReason.valueCode:valueCode",
      "min": 1,
      "path": "Patient.address.extension.valueCode",
      "type": [ {
        "code": "code"
      } ],
      "sliceName": "valueCode",
      "mustSupport": true,
      "patternCode": "masked"
    }, {
      "id": "Patient.contact",
      "path": "Patient.contact",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "Contact"
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.contact.relationship",
      "max": "1",
      "min": 1,
      "path": "Patient.contact.relationship",
      "mustSupport": true
    }, {
      "id": "Patient.contact.name",
      "path": "Patient.contact.name",
      "mustSupport": true
    }, {
      "id": "Patient.contact.name.extension",
      "path": "Patient.contact.name.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.contact.name.extension:extensionDataAbsentReason",
      "max": "1",
      "path": "Patient.contact.name.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "sliceName": "extensionDataAbsentReason",
      "mustSupport": true
    }, {
      "id": "Patient.contact.name.extension:extensionDataAbsentReason.valueCode:valueCode",
      "min": 1,
      "path": "Patient.contact.name.extension.valueCode",
      "type": [ {
        "code": "code"
      } ],
      "sliceName": "valueCode",
      "mustSupport": true,
      "patternCode": "masked"
    }, {
      "id": "Patient.contact.telecom",
      "path": "Patient.contact.telecom",
      "mustSupport": true
    }, {
      "id": "Patient.contact.telecom.extension",
      "path": "Patient.contact.telecom.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.contact.telecom.extension:extensionDataAbsentReason",
      "max": "1",
      "path": "Patient.contact.telecom.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "sliceName": "extensionDataAbsentReason",
      "mustSupport": true
    }, {
      "id": "Patient.contact.telecom.extension:extensionDataAbsentReason.valueCode:valueCode",
      "min": 1,
      "path": "Patient.contact.telecom.extension.valueCode",
      "type": [ {
        "code": "code"
      } ],
      "sliceName": "valueCode",
      "mustSupport": true,
      "patternCode": "masked"
    }, {
      "id": "Patient.contact.address",
      "path": "Patient.contact.address",
      "mustSupport": true
    }, {
      "id": "Patient.contact.address.extension",
      "path": "Patient.contact.address.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.contact.address.extension:extensionDataAbsentReason",
      "max": "1",
      "path": "Patient.contact.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "sliceName": "extensionDataAbsentReason",
      "mustSupport": true
    }, {
      "id": "Patient.contact.address.extension:extensionDataAbsentReason.valueCode:valueCode",
      "min": 1,
      "path": "Patient.contact.address.extension.valueCode",
      "type": [ {
        "code": "code"
      } ],
      "sliceName": "valueCode",
      "mustSupport": true,
      "patternCode": "masked"
    }, {
      "id": "Patient.communication",
      "path": "Patient.communication",
      "mustSupport": true
    }, {
      "id": "Patient.communication.language",
      "path": "Patient.communication.language",
      "mustSupport": true
    }, {
      "id": "Patient.communication.language.extension",
      "path": "Patient.communication.language.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.communication.language.extension:extensionDataAbsentReason",
      "max": "1",
      "path": "Patient.communication.language.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
      } ],
      "sliceName": "extensionDataAbsentReason",
      "mustSupport": true
    }, {
      "id": "Patient.communication.language.extension:extensionDataAbsentReason.valueCode:valueCode",
      "min": 1,
      "path": "Patient.communication.language.extension.valueCode",
      "type": [ {
        "code": "code"
      } ],
      "sliceName": "valueCode",
      "mustSupport": true,
      "patternCode": "masked"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
}