DSTU2 QA Preview

This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: SDC-Element - JSON

StructureDefinition for Sets expectations for data elements registered or used as part of the structured data capture project

Raw JSON

{
  "resourceType": "StructureDefinition",
  "id": "sdc-element",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/sdc-element",
  "name": "Structured Data Capture Data Element",
  "status": "draft",
  "publisher": "Health Level Seven International (Orders and Observations - Structured Data Capture)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://wiki.siframework.org/Structured+Data+Capture+Initiative"
        }
      ]
    }
  ],
  "date": "2014-04-21",
  "description": "Sets expectations for data elements registered or used as part of the structured data capture project",
  "kind": "resource",
  "constrainedType": "DataElement",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/DataElement",
  "snapshot": {
    "element": [
      {
        "path": "DataElement",
        "name": "SDC-Element",
        "short": "Resource data element",
        "definition": "The formal description of a single piece of information that can be gathered and reported.",
        "comments": "Often called a clinical template.",
        "alias": [
          "Master Observation",
          "Data Element",
          "CDE"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "DataElement"
          }
        ],
        "mapping": [
          {
            "identity": "dex",
            "map": "RetrieveMetadata response"
          },
          {
            "identity": "v2",
            "map": "OM1"
          },
          {
            "identity": "rim",
            "map": "Observation[classCode=OBS, moodCode=DEFN]"
          },
          {
            "identity": "iso11179",
            "map": "Data_Element"
          },
          {
            "identity": "w5",
            "map": "conformance.content"
          }
        ]
      },
      {
        "path": "DataElement.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.",
        "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "isSummary": true
      },
      {
        "path": "DataElement.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": "DataElement.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isSummary": true
      },
      {
        "path": "DataElement.implicitRules",
        "short": "A set of rules under which this content was created",
        "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
        "comments": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "path": "DataElement.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comments": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  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": "DataElement.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "A human language",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "path": "DataElement.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "path": "DataElement.contained",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comments": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "DataElement.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "DataElement.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "DataElement.url",
        "short": "Globally unique logical id for data element",
        "definition": "An absolute URL that is used to identify this data element when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this data element is (or will be) published.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataElement.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "./id[use=INSTANCE]"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "DataElement.identifier",
        "short": "Logical id to reference this data element",
        "definition": "Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance.",
        "comments": "Typically, this is used for values that can go in a v3 II data type.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "DataElement.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "dex",
            "map": "id"
          },
          {
            "identity": "loinc",
            "map": "LOINC_NUM (the code is the identifier)"
          },
          {
            "identity": "v2",
            "map": "OM1.2"
          },
          {
            "identity": "rim",
            "map": "./id[use=BUS]"
          },
          {
            "identity": "iso11179",
            "map": "(Identified_Item).identifier  As assigned by registering authority"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "DataElement.version",
        "short": "Logical id for this version of the data element",
        "definition": "The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.",
        "comments": "N/A.",
        "requirements": "There may be multiple resource versions of the data element that have this same identifier. The resource version id will change for technical reasons, whereas the stated version number needs to be under the author's control.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "dex",
            "map": "version"
          },
          {
            "identity": "loinc",
            "map": "N/A"
          },
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "./id[use=VER]"
          },
          {
            "identity": "iso11179",
            "map": "(Identified_Item).identifier.version"
          },
          {
            "identity": "w5",
            "map": "id.version"
          }
        ]
      },
      {
        "path": "DataElement.name",
        "short": "Descriptive label for this element definition",
        "definition": "The term used by humans to refer to the data element.  Should ideally be unique within the context in which the data element is expected to be used.",
        "comments": "This may be similar to the question used to prompt someone for a data element value, but the purpose is communicating about the data element, not asking the question.  (Refer to the 'question' element for the latter.).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataElement.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "dex",
            "map": "displayName"
          },
          {
            "identity": "loinc",
            "map": "LONG_COMMON_NAME"
          },
          {
            "identity": "v2",
            "map": "OM1.11"
          },
          {
            "identity": "rim",
            "map": "./title"
          },
          {
            "identity": "iso11179",
            "map": "(Designatable_Item).designation.sign  acceptability=preferred in default context"
          }
        ]
      },
      {
        "path": "DataElement.status",
        "short": "draft | active | retired",
        "definition": "The status of the data element.",
        "requirements": "Allows filtering of data elements that are appropriate for use vs. not.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataElement.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mustSupport": true,
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "The lifecycle status of a Value Set or Concept Map",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/conformance-resource-status"
          }
        },
        "mapping": [
          {
            "identity": "loinc",
            "map": "STATUS"
          },
          {
            "identity": "v2",
            "map": "MFE.1"
          },
          {
            "identity": "rim",
            "map": "./status (draft = new  active = active  retired = aborted)"
          },
          {
            "identity": "iso11179",
            "map": "(Administered_item).registration.state  new = Incomplete, Candidate, Recorded, Qualified  active = Standard, Preferred Standard, Application  retired = Retired, Superseded, Historical"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "path": "DataElement.experimental",
        "short": "If for testing purposes, not real usage",
        "definition": "A flag to indicate that this search data elemnt definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.",
        "comments": "Allows filtering of search data element definitions that are appropriate for use vs. not.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.experimental",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "./inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"experimental\"].value[type=BL]"
          },
          {
            "identity": "w5",
            "map": "class"
          }
        ]
      },
      {
        "path": "DataElement.publisher",
        "short": "Name of the publisher (Organization or individual)",
        "definition": "The name of the individual or organization that published the data element.",
        "comments": "Usually an organization, but may be an individual. This item SHOULD be populated unless the information is available from context.",
        "requirements": "Helps establish the \"authority/credibility\" of the data element.  May also allow for contact.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.publisher",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "dex",
            "map": "registrationAuthority"
          },
          {
            "identity": "loinc",
            "map": "Fixed to Regenstrief or SOURCE"
          },
          {
            "identity": "v2",
            "map": "OM1.16"
          },
          {
            "identity": "rim",
            "map": "./participation[typeCode=AUT]/role[classCode=ASSIGN]/scoper[classCode=ORG,determinerCode=INSTANCE]/name"
          },
          {
            "identity": "iso11179",
            "map": "(Administered_Item).stewardship_record.organization.name"
          },
          {
            "identity": "w5",
            "map": "who.witness"
          }
        ]
      },
      {
        "path": "DataElement.contact",
        "short": "Contact details of the publisher",
        "definition": "Contacts to assist a user in finding and communicating with the publisher.",
        "comments": "May be a web site, an email address, a telephone number (tel:), etc.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.contact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "loinc",
            "map": "N/A"
          },
          {
            "identity": "v2",
            "map": "OM1.17"
          },
          {
            "identity": "rim",
            "map": "./participation[typeCode=AUT]/role[classCode=ASSIGN]/scoper[classCode=ORG,determinerCode=INSTANCE]"
          },
          {
            "identity": "iso11179",
            "map": "(Administered_Item).stewardship_record.organization.[email_address, phone_number, uri]"
          }
        ]
      },
      {
        "path": "DataElement.contact.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.contact.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "DataElement.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.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.contact.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "DataElement.contact.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.contact.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "DataElement.contact.name",
        "short": "Name of a individual to contact",
        "definition": "The name of an individual to contact regarding the data element.",
        "comments": "If there is no named individual, the telecom is for the organization as a whole.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.contact.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "./name"
          }
        ]
      },
      {
        "path": "DataElement.contact.telecom",
        "short": "Contact details for individual or publisher",
        "definition": "Contact details for individual (if a name was provided) or the publisher.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.contact.telecom",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "./telecom"
          }
        ]
      },
      {
        "path": "DataElement.date",
        "short": "Date for this version of the data element",
        "definition": "The date that this version of the Data Element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. in addition, it should change when the substantiative content of the data element  changes.",
        "comments": "This refers to the \"business\" version - the DataElement.version which changes based on business processes.  It does not refer to the date of the RESTful version which is part of the resource metadata. Additional specific dates may be added as extensions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "dex",
            "map": "revisionDate"
          },
          {
            "identity": "loinc",
            "map": "DATE_LAST_CHANGED"
          },
          {
            "identity": "v2",
            "map": "OM1.21"
          },
          {
            "identity": "rim",
            "map": "./participation[typeCode=AUT]/time"
          },
          {
            "identity": "iso11179",
            "map": "(Administered_item).last_change_date"
          },
          {
            "identity": "w5",
            "map": "when.recorded"
          }
        ]
      },
      {
        "path": "DataElement.useContext",
        "short": "Content intends to support these contexts",
        "definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.useContext",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "binding": {
          "strength": "extensible",
          "description": "Indicates the countries, regions, disciplines and other aspects of use this artifact is targeted for use within",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/use-context"
          }
        },
        "mapping": [
          {
            "identity": "loinc",
            "map": "COMPONENT, PROPERTY, TIME_ASPCT, SYSTEM, SCALE_TYP, METHOD_TYP, CLASS, CLASSTYPE, ORDER_OBS, DOCUMENT_SECTION, HL7_ATTACHMENT_STRUCTURE"
          },
          {
            "identity": "v2",
            "map": "OM1.18, OM1.42, OM1.46, OM7.3"
          },
          {
            "identity": "rim",
            "map": "./inboundRelationship[typeCode=SUBJ]/source[classCode=LIST, moodCode=EVN]/code"
          },
          {
            "identity": "iso11179",
            "map": "(Classifiable_Item).classifier"
          }
        ]
      },
      {
        "path": "DataElement.copyright",
        "short": "Use and/or Publishing restrictions",
        "definition": "A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element.",
        "comments": "The copyright statement does not apply to values for the data element, only to its definition.",
        "alias": [
          "License",
          "Restrictions"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.copyright",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "./inboundRelationship[typeCode=SUBJ]/source[classCode=CONTRACT,moodCode=EVN].text"
          }
        ]
      },
      {
        "path": "DataElement.stringency",
        "short": "comparable | fully-specified | equivalent | convertable | scaleable | flexible",
        "definition": "Identifies how precise the data element is in its definition.",
        "requirements": "Allows determining whether the degree of comparability of data element instances - less granular data elements result in data that is less comparable (or at least requires more work to compare).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataElement.stringency",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "Indicates the degree of precision of the data element definition",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/dataelement-stringency"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "./target[typeCode=SUBJ]/source[classCode=OBS, moodCode=EVN, code=\"granularity\"]/value"
          }
        ]
      },
      {
        "path": "DataElement.mapping",
        "short": "External specification mapped to",
        "definition": "Identifies a specification (other than a terminology) that the elements that make up the DataElement hav some correspondance with.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.mapping",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "dex",
            "map": "100;0"
          },
          {
            "identity": "rim",
            "map": "N/A (MIF)"
          }
        ]
      },
      {
        "path": "DataElement.mapping.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.mapping.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "DataElement.mapping.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.mapping.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "DataElement.mapping.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataElement.mapping.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "DataElement.mapping.identity",
        "short": "Internal id when this mapping is used",
        "definition": "An Internal id that is used to identify this mapping set when specific mappings are made on a per-element basis.",
        "comments": "The specification is described once, with general comments, and then specific mappings are made that reference this declaration.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataElement.mapping.identity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (MIF)"
          }
        ]
      },
      {
        "path": "DataElement.mapping.uri",
        "short": "Identifies what this mapping refers to",
        "definition": "An absolute URI that identifies the specification that this mapping is expressed to.",
        "comments": "A formal identity for the specification being mapped to helps with identifying maps consistently.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.mapping.uri",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (MIF)"
          }
        ]
      },
      {
        "path": "DataElement.mapping.name",
        "short": "Names what this mapping refers to",
        "definition": "A name for the specification that is being mapped to.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.mapping.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (MIF)"
          }
        ]
      },
      {
        "path": "DataElement.mapping.comments",
        "short": "Versions, Issues, Scope limitations etc",
        "definition": "Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataElement.mapping.comments",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (MIF)"
          }
        ]
      },
      {
        "path": "DataElement.element",
        "short": "Definition of element",
        "definition": "Defines the structure, type, allowed values and other constraining characteristics of the data element.",
        "comments": "For simple data types there will only be one repetition.  For complex data types, multiple repetitions will be present defining a nested structure using the \"path\" element.",
        "requirements": "1.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "DataElement.element",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "ElementDefinition"
          }
        ],
        "constraint": [
          {
            "key": "dae-1",
            "severity": "error",
            "human": "No base allowed",
            "xpath": "not(exists(f:base))"
          },
          {
            "key": "dae-2",
            "severity": "error",
            "human": "No slicing allowed",
            "xpath": "not(exists(f:slicing))"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (MIF)"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "DataElement",
        "name": "SDC-Element",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "DataElement"
          }
        ]
      },
      {
        "path": "DataElement.url",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "path": "DataElement.identifier",
        "min": 1,
        "max": "*",
        "mustSupport": true
      },
      {
        "path": "DataElement.version",
        "mustSupport": true
      },
      {
        "path": "DataElement.name",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "path": "DataElement.status",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "path": "DataElement.experimental",
        "mustSupport": true
      },
      {
        "path": "DataElement.publisher",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.contact",
        "mustSupport": true
      },
      {
        "path": "DataElement.contact.telecom",
        "mustSupport": true
      },
      {
        "path": "DataElement.date",
        "mustSupport": true
      },
      {
        "path": "DataElement.useContext",
        "mustSupport": true
      },
      {
        "path": "DataElement.copyright",
        "mustSupport": true
      },
      {
        "path": "DataElement.stringency",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "path": "DataElement.mapping",
        "mustSupport": true
      },
      {
        "path": "DataElement.mapping.identity",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "path": "DataElement.mapping.uri",
        "mustSupport": true
      },
      {
        "path": "DataElement.mapping.name",
        "mustSupport": true
      },
      {
        "path": "DataElement.mapping.comments",
        "mustSupport": true
      },
      {
        "path": "DataElement.element",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.extension",
        "name": "question",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/elementdefinition-question"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.element.extension",
        "name": "allowedUnits",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.element.extension",
        "name": "minLength",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/minLength"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.element.extension",
        "name": "regex",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/regex"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.element.extension",
        "name": "entryFormat",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/entryFormat"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.element.extension",
        "name": "maxDecimalPlaces",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.element.path",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.representation"
      },
      {
        "path": "DataElement.element.name",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.label",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.code",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.slicing"
      },
      {
        "path": "DataElement.element.short",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "path": "DataElement.element.definition",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.comments",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.requirements",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.alias",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.min",
        "min": 0,
        "max": "0",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.max",
        "min": 0,
        "max": "0",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.base",
        "min": 0,
        "max": "0"
      },
      {
        "path": "DataElement.element.type",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.type.code",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.type.profile"
      },
      {
        "path": "DataElement.element.type.aggregation"
      },
      {
        "path": "DataElement.element.nameReference"
      },
      {
        "path": "DataElement.element.defaultValue[x]",
        "min": 0,
        "max": "0"
      },
      {
        "path": "DataElement.element.meaningWhenMissing",
        "min": 0,
        "max": "0"
      },
      {
        "path": "DataElement.element.fixed[x]"
      },
      {
        "path": "DataElement.element.pattern[x]"
      },
      {
        "path": "DataElement.element.example[x]",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.minValue[x]",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          },
          {
            "code": "decimal"
          },
          {
            "code": "instant"
          },
          {
            "code": "date"
          },
          {
            "code": "time"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.element.maxValue[x]",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          },
          {
            "code": "decimal"
          },
          {
            "code": "instant"
          },
          {
            "code": "date"
          },
          {
            "code": "time"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.element.maxLength",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.condition",
        "min": 0,
        "max": "0",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.constraint",
        "min": 0,
        "max": "0",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.mustSupport",
        "min": 0,
        "max": "0"
      },
      {
        "path": "DataElement.element.isModifier"
      },
      {
        "path": "DataElement.element.isSummary"
      },
      {
        "path": "DataElement.element.binding",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.binding.strength",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.binding.description",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.binding.valueSetReference",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/ValueSet"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.element.mapping",
        "min": 0,
        "max": "*",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.mapping.extension",
        "name": "MappingEquivalence",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "ordered": false,
          "rules": "open"
        },
        "comments": "...We only care about mappings that are equivalent - as only these are safe for mapping purposes.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "path": "DataElement.element.mapping.extension.valueCode",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "equivalent",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.mapping.identity",
        "mustSupport": true
      },
      {
        "path": "DataElement.element.mapping.language",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "description": "Mime Types that correspond to the mapping languages supported by DEX",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/sdc-dex-mimetype"
          }
        }
      },
      {
        "path": "DataElement.element.mapping.map",
        "definition": "This should be expressed as \"[uri for object class code system]#[code for object class code system] | [uri for property code system]#[code for property code system]\".",
        "comments": "We express the mapping even though the class and property extensions already convey the data to ensure that systems that don't recognize the extensions still understand the mappings.",
        "mustSupport": true
      }
    ]
  }
}