This page is part of a downloaded copy of this specification. This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v0.1.0: STU 1 Ballot 1) based on FHIR v3.5.0. . For a full list of available versions, see the Directory of published versions

## StructureDefinition: CRD Patient - JSON Profile

JSON representation of the profile-patient-stu3 Profile.

    {
      "resourceType" : "StructureDefinition",
      "id" : "profile-patient-stu3",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="profile-patient-stu3-definitions.html#Patient">Patient</a><a name="Patient"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="profile-patient-stu3-definitions.html#Patient.identifier">identifier</a><a name="Patient.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red; opacity: 0.4; font-style: italic" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4; font-style: italic" href="http://hl7.org/fhir/STU3/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:type.coding.system, value:type.coding.code</span><br style="font-style: italic"/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck05.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="profile-patient-stu3-definitions.html#Patient.identifier:MRIdentifier" title="Slice MRIdentifier: ">identifier</a><a name="Patient.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red; opacity: 0.4" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.4">1</span>..<span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck041.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="profile-patient-stu3-definitions.html#Patient.identifier:MRIdentifier.type">type</a><a name="Patient.identifier.type"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0401.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="profile-patient-stu3-definitions.html#Patient.identifier:MRIdentifier.type.coding">coding</a><a name="Patient.identifier.type.coding"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck04010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="profile-patient-stu3-definitions.html#Patient.identifier:MRIdentifier.type.coding.system">system</a><a name="Patient.identifier.type.coding.system"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">http://terminology.hl7.org/CodeSystem/v2-0203</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck04000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="profile-patient-stu3-definitions.html#Patient.identifier:MRIdentifier.type.coding.code">code</a><a name="Patient.identifier.type.coding.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">MR</span></td></tr>
    <tr><td colspan="5" class="hierarchy"><br/><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>"
      },
      "url" : "http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-patient-stu3",
      "version" : "0.1.0",
      "name" : "CRD Patient",
      "status" : "draft",
      "date" : "2018-07-25T00:00:00+10:00",
      "publisher" : "DaVinci",
      "description" : "CRD Patient based on US Core Patient",
      "fhirVersion" : "3.0.1",
      "mapping" : [
        {
          "identity" : "argonaut-dq-dstu2",
          "uri" : "http://unknown.org/Argonaut-DQ-DSTU2",
          "name" : "Argonaut-DQ-DSTU2"
        },
        {
          "identity" : "rim",
          "uri" : "http://hl7.org/v3",
          "name" : "RIM Mapping"
        },
        {
          "identity" : "cda",
          "uri" : "http://hl7.org/v3/cda",
          "name" : "CDA (R2)"
        },
        {
          "identity" : "w5",
          "uri" : "http://hl7.org/fhir/w5",
          "name" : "W5 Mapping"
        },
        {
          "identity" : "v2",
          "uri" : "http://hl7.org/v2",
          "name" : "HL7 v2 Mapping"
        },
        {
          "identity" : "loinc",
          "uri" : "http://loinc.org",
          "name" : "LOINC code for the element"
        }
      ],
      "kind" : "resource",
      "abstract" : false,
      "type" : "Patient",
      "baseDefinition" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [
          {
            "id" : "Patient",
            "path" : "Patient",
            "short" : "US Core Patient Profile",
            "definition" : "The US Core Patient Profile is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements from the 2015 Edition Common Clinical Data Set.",
            "alias" : [
              "SubjectOfCare Client Resident"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Patient",
              "min" : 0,
              "max" : "*"
            },
            "constraint" : [
              {
                "key" : "dom-2",
                "severity" : "error",
                "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                "expression" : "contained.contained.empty()",
                "xpath" : "not(parent::f:contained and f:contained)",
                "source" : "DomainResource"
              },
              {
                "key" : "dom-1",
                "severity" : "error",
                "human" : "If the resource is contained in another resource, it SHALL NOT contain any narrative",
                "expression" : "contained.text.empty()",
                "xpath" : "not(parent::f:contained and f:text)",
                "source" : "DomainResource"
              },
              {
                "key" : "dom-4",
                "severity" : "error",
                "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
                "source" : "DomainResource"
              },
              {
                "key" : "dom-3",
                "severity" : "error",
                "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
                "expression" : "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
                "xpath" : "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
                "source" : "DomainResource"
              }
            ],
            "mustSupport" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "Entity. Role, or Act"
              },
              {
                "identity" : "rim",
                "map" : "Patient[classCode=PAT]"
              },
              {
                "identity" : "cda",
                "map" : "ClinicalDocument.recordTarget.patientRole"
              },
              {
                "identity" : "w5",
                "map" : "administrative.individual"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient"
              }
            ]
          },
          {
            "id" : "Patient.id",
            "path" : "Patient.id",
            "short" : "Logical id of this artifact",
            "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
            "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.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "id"
              }
            ],
            "isSummary" : true
          },
          {
            "id" : "Patient.meta",
            "path" : "Patient.meta",
            "short" : "Metadata about the resource",
            "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.meta",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Meta"
              }
            ],
            "isSummary" : true
          },
          {
            "id" : "Patient.implicitRules",
            "path" : "Patient.implicitRules",
            "short" : "A set of rules under which this content was created",
            "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
            "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.

    This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.implicitRules",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "isModifier" : true,
            "isSummary" : true
          },
          {
            "id" : "Patient.language",
            "path" : "Patient.language",
            "short" : "Language of the resource content",
            "definition" : "The base language in which the resource is written.",
            "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).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.language",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "binding" : {
              "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
                }
              ],
              "strength" : "extensible",
              "description" : "A human language.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/languages"
              }
            }
          },
          {
            "id" : "Patient.text",
            "path" : "Patient.text",
            "short" : "Text summary of the resource, for human interpretation",
            "definition" : "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
            "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.",
            "alias" : [
              "narrative",
              "html",
              "xhtml",
              "display"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "DomainResource.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "dom-1"
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "Act.text?"
              }
            ]
          },
          {
            "id" : "Patient.contained",
            "path" : "Patient.contained",
            "short" : "Contained, inline Resources",
            "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
            "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.",
            "alias" : [
              "inline resources",
              "anonymous resources",
              "contained resources"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.contained",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Resource"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Patient.extension",
            "path" : "Patient.extension",
            "slicing" : {
              "id" : "1",
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "ordered" : false,
              "rules" : "open"
            },
            "short" : "Extension",
            "definition" : "An Extension",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ]
          },
          {
            "id" : "Patient.extension:race",
            "path" : "Patient.extension",
            "sliceName" : "race",
            "short" : "Extension",
            "definition" : "An Extension",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension",
                "profile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.extension"
              }
            ]
          },
          {
            "id" : "Patient.extension:ethnicity",
            "path" : "Patient.extension",
            "sliceName" : "ethnicity",
            "short" : "Extension",
            "definition" : "An Extension",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension",
                "profile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.extension"
              }
            ]
          },
          {
            "id" : "Patient.extension:birthsex",
            "path" : "Patient.extension",
            "sliceName" : "birthsex",
            "short" : "Extension",
            "definition" : "An Extension",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension",
                "profile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.extension"
              }
            ]
          },
          {
            "id" : "Patient.modifierExtension",
            "path" : "Patient.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Patient.identifier",
            "path" : "Patient.identifier",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "type.coding.system"
                },
                {
                  "type" : "value",
                  "path" : "type.coding.code"
                }
              ],
              "rules" : "open"
            },
            "short" : "An identifier for this patient",
            "definition" : "An identifier for this patient.",
            "requirements" : "Patients are almost always assigned specific numerical identifiers.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Patient.identifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-3"
              },
              {
                "identity" : "rim",
                "map" : "id"
              },
              {
                "identity" : "cda",
                "map" : ".id"
              },
              {
                "identity" : "w5",
                "map" : "id"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.identifier"
              }
            ]
          },
          {
            "id" : "Patient.identifier.id",
            "path" : "Patient.identifier.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.identifier.extension",
            "path" : "Patient.identifier.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.identifier.use",
            "path" : "Patient.identifier.use",
            "short" : "usual | official | temp | secondary (If known)",
            "definition" : "The purpose of this identifier.",
            "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.",
            "requirements" : "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Identifier.use",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "IdentifierUse"
                }
              ],
              "strength" : "required",
              "description" : "Identifies the purpose for this identifier, if known .",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "N/A"
              },
              {
                "identity" : "rim",
                "map" : "Role.code or implied by context"
              }
            ]
          },
          {
            "id" : "Patient.identifier.type",
            "path" : "Patient.identifier.type",
            "short" : "Description of identifier",
            "definition" : "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
            "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.

    Where 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.",
            "requirements" : "Allows users to make use of identifiers when the identifier system is not known.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Identifier.type",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "IdentifierType"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "extensible",
              "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"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "CX.5"
              },
              {
                "identity" : "rim",
                "map" : "Role.code or implied by context"
              }
            ]
          },
          {
            "id" : "Patient.identifier.system",
            "path" : "Patient.identifier.system",
            "short" : "The namespace for the identifier value",
            "definition" : "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
            "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,
            "max" : "1",
            "base" : {
              "path" : "Identifier.system",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "example" : [
              {
                "label" : "General",
                "valueUri" : "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "CX.4 / EI-2-4"
              },
              {
                "identity" : "rim",
                "map" : "II.root or Role.id.root"
              },
              {
                "identity" : "servd",
                "map" : "./IdentifierType"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.identifier.system"
              }
            ]
          },
          {
            "id" : "Patient.identifier.value",
            "path" : "Patient.identifier.value",
            "short" : "The value that is unique within the system.",
            "definition" : "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
            "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).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Identifier.value",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "example" : [
              {
                "label" : "General",
                "valueString" : "123456"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "CX.1 / EI.1"
              },
              {
                "identity" : "rim",
                "map" : "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
              },
              {
                "identity" : "servd",
                "map" : "./Value"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.identifier.value"
              }
            ]
          },
          {
            "id" : "Patient.identifier.period",
            "path" : "Patient.identifier.period",
            "short" : "Time period when id is/was valid for use",
            "definition" : "Time period during which identifier is/was valid for use.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Identifier.period",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "CX.7 + CX.8"
              },
              {
                "identity" : "rim",
                "map" : "Role.effectiveTime or implied by context"
              },
              {
                "identity" : "servd",
                "map" : "./StartDate and ./EndDate"
              }
            ]
          },
          {
            "id" : "Patient.identifier.assigner",
            "path" : "Patient.identifier.assigner",
            "short" : "Organization that issued id (may be just text)",
            "definition" : "Organization that issued/manages the identifier.",
            "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.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Identifier.assigner",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "CX.4 / (CX.4,CX.9,CX.10)"
              },
              {
                "identity" : "rim",
                "map" : "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
              },
              {
                "identity" : "servd",
                "map" : "./IdentifierIssuingAuthority"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier",
            "path" : "Patient.identifier",
            "sliceName" : "MRIdentifier",
            "short" : "An identifier for this patient",
            "definition" : "An identifier for this patient.",
            "requirements" : "Patients are almost always assigned specific numerical identifiers.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Patient.identifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-3"
              },
              {
                "identity" : "rim",
                "map" : "id"
              },
              {
                "identity" : "cda",
                "map" : ".id"
              },
              {
                "identity" : "w5",
                "map" : "id"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.identifier"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.id",
            "path" : "Patient.identifier.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.extension",
            "path" : "Patient.identifier.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.use",
            "path" : "Patient.identifier.use",
            "short" : "usual | official | temp | secondary (If known)",
            "definition" : "The purpose of this identifier.",
            "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.",
            "requirements" : "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Identifier.use",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "IdentifierUse"
                }
              ],
              "strength" : "required",
              "description" : "Identifies the purpose for this identifier, if known .",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/identifier-use"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "N/A"
              },
              {
                "identity" : "rim",
                "map" : "Role.code or implied by context"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type",
            "path" : "Patient.identifier.type",
            "short" : "Description of identifier",
            "definition" : "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
            "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.

    Where 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.",
            "requirements" : "Allows users to make use of identifiers when the identifier system is not known.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Identifier.type",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "IdentifierType"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "extensible",
              "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"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "CX.5"
              },
              {
                "identity" : "rim",
                "map" : "Role.code or implied by context"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.id",
            "path" : "Patient.identifier.type.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.extension",
            "path" : "Patient.identifier.type.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding",
            "path" : "Patient.identifier.type.coding",
            "short" : "Code defined by a terminology system",
            "definition" : "A reference to a code defined by a terminology system.",
            "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.",
            "requirements" : "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "CodeableConcept.coding",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Coding"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "C*E.1-8, C*E.10-22"
              },
              {
                "identity" : "rim",
                "map" : "union(., ./translation)"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding.id",
            "path" : "Patient.identifier.type.coding.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding.extension",
            "path" : "Patient.identifier.type.coding.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding.system",
            "path" : "Patient.identifier.type.coding.system",
            "short" : "Identity of the terminology system",
            "definition" : "The identification of the code system that defines the meaning of the symbol in the code.",
            "comment" : "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
            "requirements" : "Need to be unambiguous about the source of the definition of the symbol.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Coding.system",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "fixedUri" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "C*E.3"
              },
              {
                "identity" : "rim",
                "map" : "./codeSystem"
              },
              {
                "identity" : "orim",
                "map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding.version",
            "path" : "Patient.identifier.type.coding.version",
            "short" : "Version of the system - if relevant",
            "definition" : "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
            "comment" : "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Coding.version",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "C*E.7"
              },
              {
                "identity" : "rim",
                "map" : "./codeSystemVersion"
              },
              {
                "identity" : "orim",
                "map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding.code",
            "path" : "Patient.identifier.type.coding.code",
            "short" : "Symbol in syntax defined by the system",
            "definition" : "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
            "requirements" : "Need to refer to a particular code in the system.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Coding.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "fixedCode" : "MR",
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "C*E.1"
              },
              {
                "identity" : "rim",
                "map" : "./code"
              },
              {
                "identity" : "orim",
                "map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding.display",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
                "valueBoolean" : true
              }
            ],
            "path" : "Patient.identifier.type.coding.display",
            "short" : "Representation defined by the system",
            "definition" : "A representation of the meaning of the code in the system, following the rules of the system.",
            "requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Coding.display",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "C*E.2 - but note this is not well followed"
              },
              {
                "identity" : "rim",
                "map" : "CV.displayName"
              },
              {
                "identity" : "orim",
                "map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding.userSelected",
            "path" : "Patient.identifier.type.coding.userSelected",
            "short" : "If this coding was chosen directly by the user",
            "definition" : "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
            "comment" : "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
            "requirements" : "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Coding.userSelected",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "Sometimes implied by being first"
              },
              {
                "identity" : "rim",
                "map" : "CD.codingRationale"
              },
              {
                "identity" : "orim",
                "map" : "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.text",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
                "valueBoolean" : true
              }
            ],
            "path" : "Patient.identifier.type.text",
            "short" : "Plain text representation of the concept",
            "definition" : "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
            "comment" : "Very often the text is the same as a displayName of one of the codings.",
            "requirements" : "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "CodeableConcept.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "C*E.9. But note many systems use C*E.2 for this"
              },
              {
                "identity" : "rim",
                "map" : "./originalText[mediaType/code="text/plain"]/data"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.system",
            "path" : "Patient.identifier.system",
            "short" : "The namespace for the identifier value",
            "definition" : "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
            "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,
            "max" : "1",
            "base" : {
              "path" : "Identifier.system",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "example" : [
              {
                "label" : "General",
                "valueUri" : "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "CX.4 / EI-2-4"
              },
              {
                "identity" : "rim",
                "map" : "II.root or Role.id.root"
              },
              {
                "identity" : "servd",
                "map" : "./IdentifierType"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.identifier.system"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.value",
            "path" : "Patient.identifier.value",
            "short" : "The value that is unique within the system.",
            "definition" : "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
            "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).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Identifier.value",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "example" : [
              {
                "label" : "General",
                "valueString" : "123456"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "CX.1 / EI.1"
              },
              {
                "identity" : "rim",
                "map" : "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
              },
              {
                "identity" : "servd",
                "map" : "./Value"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.identifier.value"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.period",
            "path" : "Patient.identifier.period",
            "short" : "Time period when id is/was valid for use",
            "definition" : "Time period during which identifier is/was valid for use.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Identifier.period",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "CX.7 + CX.8"
              },
              {
                "identity" : "rim",
                "map" : "Role.effectiveTime or implied by context"
              },
              {
                "identity" : "servd",
                "map" : "./StartDate and ./EndDate"
              }
            ]
          },
          {
            "id" : "Patient.identifier:MRIdentifier.assigner",
            "path" : "Patient.identifier.assigner",
            "short" : "Organization that issued id (may be just text)",
            "definition" : "Organization that issued/manages the identifier.",
            "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.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Identifier.assigner",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "CX.4 / (CX.4,CX.9,CX.10)"
              },
              {
                "identity" : "rim",
                "map" : "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
              },
              {
                "identity" : "servd",
                "map" : "./IdentifierIssuingAuthority"
              }
            ]
          },
          {
            "id" : "Patient.active",
            "path" : "Patient.active",
            "short" : "Whether this patient's record is in active use",
            "definition" : "Whether this patient record is in active use.",
            "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

    This 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.",
            "requirements" : "Need to be able to mark a patient record as not to be used because it was created in error.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.active",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ],
            "defaultValueBoolean" : true,
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "statusCode"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              },
              {
                "identity" : "w5",
                "map" : "status"
              }
            ]
          },
          {
            "id" : "Patient.name",
            "path" : "Patient.name",
            "short" : "A name associated with the patient",
            "definition" : "A name associated with the individual.",
            "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.",
            "requirements" : "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Patient.name",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "HumanName"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-5, PID-9"
              },
              {
                "identity" : "rim",
                "map" : "name"
              },
              {
                "identity" : "cda",
                "map" : ".patient.name"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.name"
              }
            ]
          },
          {
            "id" : "Patient.name.id",
            "path" : "Patient.name.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.name.extension",
            "path" : "Patient.name.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.name.use",
            "path" : "Patient.name.use",
            "short" : "usual | official | temp | nickname | anonymous | old | maiden",
            "definition" : "Identifies the purpose for this name.",
            "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.",
            "requirements" : "Allows the appropriate name for a particular context of use to be selected from among a set of names.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "HumanName.use",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "NameUse"
                }
              ],
              "strength" : "required",
              "description" : "The use of a human name",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/name-use"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN.7, but often indicated by which field contains the name"
              },
              {
                "identity" : "rim",
                "map" : "unique(./use)"
              },
              {
                "identity" : "servd",
                "map" : "./NamePurpose"
              }
            ]
          },
          {
            "id" : "Patient.name.text",
            "path" : "Patient.name.text",
            "short" : "Text representation of the full name",
            "definition" : "A full text representation of the name.",
            "comment" : "Can provide both a text representation and structured parts.",
            "requirements" : "A renderable, unencoded form.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "HumanName.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "implied by XPN.11"
              },
              {
                "identity" : "rim",
                "map" : "./formatted"
              }
            ]
          },
          {
            "id" : "Patient.name.family",
            "path" : "Patient.name.family",
            "short" : "Family name (often called 'Surname')",
            "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.",
            "comment" : "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).",
            "alias" : [
              "surname"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "HumanName.family",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN.1/FN.1"
              },
              {
                "identity" : "rim",
                "map" : "./part[partType = FAM]"
              },
              {
                "identity" : "servd",
                "map" : "./FamilyName"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.name.family"
              }
            ]
          },
          {
            "id" : "Patient.name.given",
            "path" : "Patient.name.given",
            "short" : "Given names (not always 'first'). Includes middle names",
            "definition" : "Given name.",
            "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.",
            "alias" : [
              "first name",
              "middle name"
            ],
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "HumanName.given",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "orderMeaning" : "Given Names appear in the correct order for presenting the name",
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN.2 + XPN.3"
              },
              {
                "identity" : "rim",
                "map" : "./part[partType = GIV]"
              },
              {
                "identity" : "servd",
                "map" : "./GivenNames"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.name.given"
              }
            ]
          },
          {
            "id" : "Patient.name.prefix",
            "path" : "Patient.name.prefix",
            "short" : "Parts that come before the name",
            "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.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "HumanName.prefix",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "orderMeaning" : "Prefixes appear in the correct order for presenting the name",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN.5"
              },
              {
                "identity" : "rim",
                "map" : "./part[partType = PFX]"
              },
              {
                "identity" : "servd",
                "map" : "./TitleCode"
              }
            ]
          },
          {
            "id" : "Patient.name.suffix",
            "path" : "Patient.name.suffix",
            "short" : "Parts that come after the name",
            "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.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "HumanName.suffix",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "orderMeaning" : "Suffixes appear in the correct order for presenting the name",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN/4"
              },
              {
                "identity" : "rim",
                "map" : "./part[partType = SFX]"
              }
            ]
          },
          {
            "id" : "Patient.name.period",
            "path" : "Patient.name.period",
            "short" : "Time period when name was/is in use",
            "definition" : "Indicates the period of time when this name was valid for the named person.",
            "requirements" : "Allows names to be placed in historical context.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "HumanName.period",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "XPN.13 + XPN.14"
              },
              {
                "identity" : "rim",
                "map" : "./usablePeriod[type="IVL<TS>"]"
              },
              {
                "identity" : "servd",
                "map" : "./StartDate and ./EndDate"
              }
            ]
          },
          {
            "id" : "Patient.telecom",
            "path" : "Patient.telecom",
            "short" : "A contact detail for the individual",
            "definition" : "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.",
            "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).",
            "requirements" : "People have (primary) ways to contact them in some way such as phone, email.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Patient.telecom",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "ContactPoint"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-13, PID-14, PID-40"
              },
              {
                "identity" : "rim",
                "map" : "telecom"
              },
              {
                "identity" : "cda",
                "map" : ".telecom"
              }
            ]
          },
          {
            "id" : "Patient.gender",
            "path" : "Patient.gender",
            "short" : "male | female | other | unknown",
            "definition" : "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.",
            "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.",
            "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,
            "max" : "1",
            "base" : {
              "path" : "Patient.gender",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "binding" : {
              "strength" : "required",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/administrative-gender"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-8"
              },
              {
                "identity" : "rim",
                "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
              },
              {
                "identity" : "cda",
                "map" : ".patient.administrativeGenderCode"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.gender"
              }
            ]
          },
          {
            "id" : "Patient.birthDate",
            "path" : "Patient.birthDate",
            "short" : "The date of birth for the individual",
            "definition" : "The date of birth for the individual.",
            "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).",
            "requirements" : "Age of the individual drives many clinical processes.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.birthDate",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "date"
              }
            ],
            "mustSupport" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-7"
              },
              {
                "identity" : "rim",
                "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime"
              },
              {
                "identity" : "cda",
                "map" : ".patient.birthTime"
              },
              {
                "identity" : "loinc",
                "map" : "21112-8"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.birthDate"
              }
            ]
          },
          {
            "id" : "Patient.deceased[x]",
            "path" : "Patient.deceased[x]",
            "short" : "Indicates if the individual is deceased or not",
            "definition" : "Indicates if the individual is deceased or not.",
            "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.

    This 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.",
            "requirements" : "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.deceased[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              },
              {
                "code" : "dateTime"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-30  (bool) and PID-29 (datetime)"
              },
              {
                "identity" : "rim",
                "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.address",
            "path" : "Patient.address",
            "short" : "Addresses for the individual",
            "definition" : "Addresses for the individual.",
            "comment" : "Patient may have multiple addresses with different uses or applicable periods.",
            "requirements" : "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Patient.address",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Address"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-11"
              },
              {
                "identity" : "rim",
                "map" : "addr"
              },
              {
                "identity" : "cda",
                "map" : ".addr"
              }
            ]
          },
          {
            "id" : "Patient.maritalStatus",
            "path" : "Patient.maritalStatus",
            "short" : "Marital (civil) status of a patient",
            "definition" : "This field contains a patient's most recent marital (civil) status.",
            "requirements" : "Most, if not all systems capture it.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.maritalStatus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "MaritalStatus"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "extensible",
              "description" : "The domestic partnership status of a person.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/marital-status"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-16"
              },
              {
                "identity" : "rim",
                "map" : "player[classCode=PSN]/maritalStatusCode"
              },
              {
                "identity" : "cda",
                "map" : ".patient.maritalStatusCode"
              }
            ]
          },
          {
            "id" : "Patient.multipleBirth[x]",
            "path" : "Patient.multipleBirth[x]",
            "short" : "Whether patient is part of a multiple birth",
            "definition" : "Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).",
            "comment" : "Where the valueInteger is provided, the number is the birth number in the sequence.
    E.g. The middle birth in tripplets would be valueInteger=2 and the third born would have valueInteger=3
    If a bool value was provided for this tripplets examle, then all 3 patient records would have valueBool=true (the ordering is not indicated).",
            "requirements" : "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.multipleBirth[x]",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              },
              {
                "code" : "integer"
              }
            ],
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-24 (bool), PID-25 (integer)"
              },
              {
                "identity" : "rim",
                "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd,  player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.photo",
            "path" : "Patient.photo",
            "short" : "Image of the patient",
            "definition" : "Image of the patient.",
            "requirements" : "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Patient.photo",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Attachment"
              }
            ],
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "OBX-5 - needs a profile"
              },
              {
                "identity" : "rim",
                "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.contact",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Contact"
              }
            ],
            "path" : "Patient.contact",
            "short" : "A contact party (e.g. guardian, partner, friend) for the patient",
            "definition" : "A contact party (e.g. guardian, partner, friend) for the patient.",
            "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.",
            "requirements" : "Need to track people you can contact about the patient.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Patient.contact",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "Element"
              },
              {
                "key" : "pat-1",
                "severity" : "error",
                "human" : "SHALL at least contain a contact's details or a reference to an organization",
                "expression" : "name.exists() or telecom.exists() or address.exists() or organization.exists()",
                "xpath" : "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.contact.id",
            "path" : "Patient.contact.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.contact.extension",
            "path" : "Patient.contact.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.contact.modifierExtension",
            "path" : "Patient.contact.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Patient.contact.relationship",
            "path" : "Patient.contact.relationship",
            "short" : "The kind of relationship",
            "definition" : "The nature of the relationship between the patient and the contact person.",
            "requirements" : "Used to determine which contact person is the most relevant to approach, depending on circumstances.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Patient.contact.relationship",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "ContactRelationship"
                }
              ],
              "strength" : "extensible",
              "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"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "NK1-7, NK1-3"
              },
              {
                "identity" : "rim",
                "map" : "code"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.contact.name",
            "path" : "Patient.contact.name",
            "short" : "A name associated with the contact person",
            "definition" : "A name associated with the contact person.",
            "requirements" : "Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.contact.name",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "HumanName"
              }
            ],
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "NK1-2"
              },
              {
                "identity" : "rim",
                "map" : "name"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.contact.telecom",
            "path" : "Patient.contact.telecom",
            "short" : "A contact detail for the person",
            "definition" : "A contact detail for the person, e.g. a telephone number or an email address.",
            "comment" : "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.",
            "requirements" : "People have (primary) ways to contact them in some way such as phone, email.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Patient.contact.telecom",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "ContactPoint"
              }
            ],
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "NK1-5, NK1-6, NK1-40"
              },
              {
                "identity" : "rim",
                "map" : "telecom"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.contact.address",
            "path" : "Patient.contact.address",
            "short" : "Address for the contact person",
            "definition" : "Address for the contact person.",
            "requirements" : "Need to keep track where the contact person can be contacted per postal mail or visited.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.contact.address",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Address"
              }
            ],
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "NK1-4"
              },
              {
                "identity" : "rim",
                "map" : "addr"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.contact.gender",
            "path" : "Patient.contact.gender",
            "short" : "male | female | other | unknown",
            "definition" : "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.",
            "requirements" : "Needed to address the person correctly.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.contact.gender",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "AdministrativeGender"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "required",
              "description" : "The gender of a person used for administrative purposes.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/administrative-gender"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "NK1-15"
              },
              {
                "identity" : "rim",
                "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.contact.organization",
            "path" : "Patient.contact.organization",
            "short" : "Organization that is associated with the contact",
            "definition" : "Organization on behalf of which the contact is acting or for which the contact is working.",
            "requirements" : "For guardians or business related contacts, the organization is relevant.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.contact.organization",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization"
              }
            ],
            "condition" : [
              "pat-1"
            ],
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41"
              },
              {
                "identity" : "rim",
                "map" : "scoper"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.contact.period",
            "path" : "Patient.contact.period",
            "short" : "The period during which this contact person or organization is valid to be contacted relating to this patient",
            "definition" : "The period during which this contact person or organization is valid to be contacted relating to this patient.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.contact.period",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "effectiveTime"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.animal",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Animal"
              }
            ],
            "path" : "Patient.animal",
            "short" : "This patient is known to be an animal (non-human)",
            "definition" : "This patient is known to be an 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).",
            "requirements" : "Many clinical systems are extended to care for animal patients as well as human.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Patient.animal",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "player[classCode=ANM]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.animal"
              }
            ]
          },
          {
            "id" : "Patient.animal.id",
            "path" : "Patient.animal.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.animal.extension",
            "path" : "Patient.animal.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.animal.modifierExtension",
            "path" : "Patient.animal.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Patient.animal.species",
            "path" : "Patient.animal.species",
            "short" : "E.g. Dog, Cow",
            "definition" : "Identifies the high level taxonomic categorization of the kind of animal.",
            "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.).",
            "requirements" : "Need to know what kind of animal.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Patient.animal.species",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "AnimalSpecies"
                }
              ],
              "strength" : "example",
              "description" : "The species of an animal.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/animal-species"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-35"
              },
              {
                "identity" : "rim",
                "map" : "code"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.animal.breed",
            "path" : "Patient.animal.breed",
            "short" : "E.g. Poodle, Angus",
            "definition" : "Identifies the detailed categorization of the kind of animal.",
            "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.",
            "requirements" : "May need to know the specific kind within the species.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.animal.breed",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "AnimalBreed"
                }
              ],
              "strength" : "example",
              "description" : "The breed of an animal.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/animal-breeds"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-37"
              },
              {
                "identity" : "rim",
                "map" : "playedRole[classCode=GEN]/scoper[classCode=ANM, determinerCode=KIND]/code"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.animal.genderStatus",
            "path" : "Patient.animal.genderStatus",
            "short" : "E.g. Neutered, Intact",
            "definition" : "Indicates the current state of the animal's reproductive organs.",
            "requirements" : "Gender status can affect housing and animal behavior.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.animal.genderStatus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "AnimalGenderStatus"
                }
              ],
              "strength" : "example",
              "description" : "The state of the animal's reproductive organs.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/animal-genderstatus"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "N/A"
              },
              {
                "identity" : "rim",
                "map" : "genderStatusCode"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.communication",
            "path" : "Patient.communication",
            "short" : "A list of Languages which may be used to communicate with the patient about his or her health",
            "definition" : "Languages which may be used to communicate with the patient about his or her health.",
            "comment" : "If no language is specified, this *implies* that the default local language is spoken.  If you need to convey proficiency for multiple modes then you need multiple 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.",
            "requirements" : "If a patient does not speak the local language, interpreters may be required, so languages spoken and proficiency is an important things to keep track of both for patient and other persons of interest.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Patient.communication",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "Element"
              }
            ],
            "mustSupport" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "LanguageCommunication"
              },
              {
                "identity" : "cda",
                "map" : "patient.languageCommunication"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.communication"
              }
            ]
          },
          {
            "id" : "Patient.communication.id",
            "path" : "Patient.communication.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.communication.extension",
            "path" : "Patient.communication.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.communication.modifierExtension",
            "path" : "Patient.communication.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Patient.communication.language",
            "path" : "Patient.communication.language",
            "short" : "The language which can be used to communicate with the patient about his or her health",
            "definition" : "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. "en" for English, or "en-US" for American English versus "en-EN" for England English.",
            "comment" : "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.",
            "requirements" : "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Patient.communication.language",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mustSupport" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
                  "valueReference" : {
                    "reference" : "http://hl7.org/fhir/us/core/ValueSet/simple-language"
                  }
                }
              ],
              "strength" : "extensible",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/us/core/ValueSet/simple-language"
              }
            },
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-15, LAN-2"
              },
              {
                "identity" : "rim",
                "map" : "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code"
              },
              {
                "identity" : "cda",
                "map" : ".languageCode"
              },
              {
                "identity" : "argonaut-dq-dstu2",
                "map" : "Patient.communication.language"
              }
            ]
          },
          {
            "id" : "Patient.communication.preferred",
            "path" : "Patient.communication.preferred",
            "short" : "Language preference indicator",
            "definition" : "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).",
            "comment" : "This language is specifically identified for communicating healthcare information.",
            "requirements" : "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.communication.preferred",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ],
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-15"
              },
              {
                "identity" : "rim",
                "map" : "preferenceInd"
              },
              {
                "identity" : "cda",
                "map" : ".preferenceInd"
              }
            ]
          },
          {
            "id" : "Patient.generalPractitioner",
            "path" : "Patient.generalPractitioner",
            "short" : "Patient's nominated primary care provider",
            "definition" : "Patient's nominated care provider.",
            "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.

    It 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.",
            "alias" : [
              "careProvider"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Patient.generalPractitioner",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Practitioner"
              }
            ],
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PD1-4"
              },
              {
                "identity" : "rim",
                "map" : "subjectOf.CareEvent.performer.AssignedEntity"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.managingOrganization",
            "path" : "Patient.managingOrganization",
            "short" : "Organization that is the custodian of the patient record",
            "definition" : "Organization that is the custodian of the patient record.",
            "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).",
            "requirements" : "Need to know who recognizes this patient record, manages and updates it.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Patient.managingOrganization",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Organization"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "scoper"
              },
              {
                "identity" : "cda",
                "map" : ".providerOrganization"
              }
            ]
          },
          {
            "id" : "Patient.link",
            "path" : "Patient.link",
            "short" : "Link to another patient resource that concerns the same actual person",
            "definition" : "Link to another patient resource that concerns the same actual patient.",
            "comment" : "There is no assumption that linked patient records have mutual links.

    This 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'.",
            "requirements" : "There are multiple usecases:

    * Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and * Distribution of patient information across multiple servers.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Patient.link",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() | (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "Element"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "outboundLink"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.link.id",
            "path" : "Patient.link.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "xml:id (or equivalent in JSON)",
            "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.link.extension",
            "path" : "Patient.link.extension",
            "short" : "Additional Content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.link.modifierExtension",
            "path" : "Patient.link.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "isModifier" : true,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Patient.link.other",
            "path" : "Patient.link.other",
            "short" : "The other patient or related person resource that the link refers to",
            "definition" : "The other patient resource that the link refers to.",
            "comment" : "Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Patient.link.other",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Patient"
              },
              {
                "code" : "Reference",
                "targetProfile" : "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
              }
            ],
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "v2",
                "map" : "PID-3, MRG-1"
              },
              {
                "identity" : "rim",
                "map" : "id"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Patient.link.type",
            "path" : "Patient.link.type",
            "short" : "replaced-by | replaces | refer | seealso - type of link",
            "definition" : "The type of link between this patient resource and another patient resource.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Patient.link.type",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "LinkType"
                }
              ],
              "strength" : "required",
              "description" : "The type of link between this patient resource and another patient resource.",
              "valueSetReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/link-type"
              }
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "typeCode"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "Patient",
            "path" : "Patient",
            "mustSupport" : false,
            "isModifier" : false
          },
          {
            "id" : "Patient.identifier",
            "path" : "Patient.identifier",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "type.coding.system"
                },
                {
                  "type" : "value",
                  "path" : "type.coding.code"
                }
              ],
              "rules" : "open"
            },
            "min" : 1,
            "max" : "*",
            "mustSupport" : true,
            "isModifier" : false
          },
          {
            "id" : "Patient.identifier:MRIdentifier",
            "path" : "Patient.identifier",
            "sliceName" : "MRIdentifier",
            "min" : 1,
            "max" : "1",
            "mustSupport" : true,
            "isModifier" : false
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type",
            "path" : "Patient.identifier.type",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding",
            "path" : "Patient.identifier.type.coding",
            "min" : 1,
            "max" : "1",
            "mustSupport" : true,
            "isModifier" : false
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding.system",
            "path" : "Patient.identifier.type.coding.system",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "fixedUri" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "mustSupport" : true,
            "isModifier" : false
          },
          {
            "id" : "Patient.identifier:MRIdentifier.type.coding.code",
            "path" : "Patient.identifier.type.coding.code",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "code"
              }
            ],
            "fixedCode" : "MR",
            "mustSupport" : true,
            "isModifier" : false
          }
        ]
      }
    }