PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.registry-protocols@1.0.0-ballot
    http://hl7.org/fhir/us/registry-protocols/StructureDefinition/ExampleMap
{
  "description": "This is an example of the data that would be used for a Resgistry Submission.\\nThe full map is a logical model as that allows conformance to the FHIR Standard the way a custom Resource would not.\\nEach element has the short name of the data, a full description and the paths to fetch and place the information, by data standard type, for each.\\nA section (such as Demographics) is a BackboneElement (holds no values).  All subordinate elements are strings.\\nEach mapping includes the following:\\n* identity = standard used for the mapping (e.g., FHIR)\\n* language = mime type that matches identity\\n* map = FHIRPath expression of the path to the data\\n* comment = *Output mapping only* Resource/Profile for inclusion in the Submission Bundle",
  "_filename": "example/StructureDefinition-ExampleMap.json",
  "package_name": "hl7.fhir.us.registry-protocols",
  "date": "2021-11-01",
  "derivation": "specialization",
  "publisher": "Clinical Interoperability Council",
  "fhirVersion": "4.0.1",
  "jurisdiction": [ {
    "coding": [ {
      "code": "US",
      "system": "urn:iso:std:iso:3166",
      "display": "United States of America"
    } ]
  } ],
  "name": "Example_Submission_map",
  "mapping": [ {
    "uri": "http://fhir.hl7.org",
    "name": "Fast Health Interoperability Resources",
    "comment": "Path to where in a FHIR Resource the data element is found",
    "identity": "FHIR"
  }, {
    "uri": "http://build.fhir.org/ig/HL7/cda-core-2.0/",
    "name": "Clinical Document Architecture",
    "comment": "Path to where in a CDA 2.0/CCDA 2.1 Document the data element is found",
    "identity": "CDA"
  }, {
    "uri": "http://www.hl7.eu/refactored/index.html",
    "name": "HL7 V2 Messages",
    "comment": "Path to where in a HL7 V2 Message the data element is found",
    "identity": "HL7V2"
  }, {
    "uri": "http://hl7.org/fhir/us/core",
    "name": "Submission Data Output location",
    "comment": "Location within the requirements profile to place the data for submission in US Core or FHIR Core Resources",
    "identity": "Output"
  } ],
  "abstract": false,
  "type": "http://hl7.org/fhir/us/registry-protocols/StructureDefinition/ExampleMap",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Example Submission Map",
  "package_version": "1.0.0-ballot",
  "snapshot": {
    "element": [ {
      "id": "ExampleMap",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      },
      "path": "ExampleMap",
      "short": "Example Submission Map",
      "definition": "This is an example of the data that would be used for a Resgistry Submission.\nThe full map is a logical model as that allows conformance to the FHIR Standard the way a custom Resource would not.\nEach element has the short name of the data, a full description and the paths to fetch and place the information, by data standard type, for each.\nA section (such as Demographics) is a BackboneElement (holds no values).  All subordinate elements are strings.\nEach mapping includes the following:\n* identity = standard used for the mapping (e.g., FHIR)\n* language = mime type that matches identity\n* map = FHIRPath expression of the path to the data\n* comment = *Output mapping only* Resource/Profile for inclusion in the Submission Bundle",
      "isModifier": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ExampleMap.demographics",
      "min": 1,
      "definition": "Patient Demographics",
      "short": "Patient Demographics",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ExampleMap.demographics",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.demographics"
      }
    }, {
      "path": "ExampleMap.demographics.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ExampleMap.demographics.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.demographics.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ExampleMap.demographics.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.demographics.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ExampleMap.demographics.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ExampleMap.demographics.lastName",
      "min": 1,
      "definition": "Indicate the patient's last name. Hyphenated names should be recorded with a hyphen.",
      "short": "Last Name",
      "mapping": [ {
        "map": "Patient.name.family",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "ClinicalDocument.recordTarget.patient.name.family",
        "identity": "CDA",
        "language": "application/hl7-sda+xml"
      }, {
        "map": "ADT_A01.PID.5.1",
        "identity": "HL7V2",
        "language": "application/edi-hl7v2"
      }, {
        "map": "Patient.name.family",
        "comment": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient.name.family",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.demographics.lastName",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.demographics.lastName"
      }
    }, {
      "path": "ExampleMap.demographics.firstName",
      "min": 1,
      "definition": "Indicate the patient's first name.",
      "short": "First Name",
      "mapping": [ {
        "map": "Patient.name.given[0]",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "ClinicalDocument.recordTarget.patient.name.given[1]",
        "identity": "CDA",
        "language": "application/hl7-sda+xml"
      }, {
        "map": "ADT_A01.PID.5.2",
        "identity": "HL7V2",
        "language": "application/edi-hl7v2"
      }, {
        "map": "Patient.name.given",
        "comment": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient.name.given[0]",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.demographics.firstName",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.demographics.firstName"
      }
    }, {
      "path": "ExampleMap.demographics.middleName",
      "min": 0,
      "definition": "Indicate the patient's middle names.",
      "short": "Middle Name",
      "mapping": [ {
        "map": "Patient.name.given[position()>0]",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "ClinicalDocument.recordTarget.patient.name.given[position()>1]",
        "identity": "CDA",
        "language": "application/hl7-sda+xml"
      }, {
        "map": "ADT_A01.PID.5.3",
        "identity": "HL7V2",
        "language": "application/edi-hl7v2"
      }, {
        "map": "Patient.name.given",
        "comment": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient.name.given[position()>1]",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ExampleMap.demographics.middleName",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ExampleMap.demographics.middleName"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ExampleMap.episodeInformation",
      "min": 1,
      "definition": "CathPCI Episode Information",
      "short": "CathPCI Episode Information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ExampleMap.episodeInformation",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.episodeInformation"
      }
    }, {
      "path": "ExampleMap.episodeInformation.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ExampleMap.episodeInformation.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.episodeInformation.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ExampleMap.episodeInformation.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.episodeInformation.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ExampleMap.episodeInformation.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ExampleMap.episodeInformation.episodeUniqueKey",
      "min": 1,
      "definition": "Indicate the unique key associated with each patient episode record as assigned by the EMR/EHR or your software application.",
      "short": "Episode Unique Key",
      "mapping": [ {
        "map": "iif(Encounter.identifier(type.code='VN').value, Encounter.identifier(type.code='VN').value, Encounter.identifier[0].value)",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "ClinicalDocument.componentOf.encompassingEncounter.id",
        "identity": "CDA",
        "language": "application/hl7-sda+xml"
      }, {
        "map": "ADT_A01.PV1.19.1",
        "identity": "HL7V2",
        "language": "application/edi-hl7v2"
      }, {
        "map": "Encounter.identifier",
        "comment": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter.identifier[0].value)",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.episodeInformation.episodeUniqueKey",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.episodeInformation.episodeUniqueKey"
      }
    }, {
      "path": "ExampleMap.episodeInformation.admissionDateAndTime",
      "min": 1,
      "definition": "Admission Date and Time",
      "short": "Admission Date and Time",
      "mapping": [ {
        "map": "Encounter.period.start",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.episodeInformation.admissionDateAndTime",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.episodeInformation.admissionDateAndTime"
      }
    }, {
      "path": "ExampleMap.episodeInformation.healthInsurance",
      "min": 1,
      "definition": "Indicate if the patient has health insurance.",
      "short": "Health Insurance",
      "mapping": [ {
        "map": "Claim.where(encounter=Encounter.id).insurance.coverage.exists()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.episodeInformation.healthInsurance",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.episodeInformation.healthInsurance"
      }
    }, {
      "path": "ExampleMap.episodeInformation.healthInsuranceClaimNumber",
      "min": 1,
      "definition": "Indicate the patient's Health Insurance Claim (HIC) number.    Note(s):  Enter the Health Insurance Claim (HIC) number for those patients covered by Medicare. Patients with other insurances will not have a HIC number.",
      "short": "Health Insurance Claim Number (HIC)",
      "mapping": [ {
        "map": "resolve(Claim.where(encounter=Encounter.id).insurance.coverage).identifier.value",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.episodeInformation.healthInsuranceClaimNumber",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.episodeInformation.healthInsuranceClaimNumber"
      }
    }, {
      "path": "ExampleMap.episodeInformation.healthInsurancePaymentSource",
      "min": 1,
      "definition": "Indicate the patient's health insurance payment type.    Note(s):  If the patient has multiple insurance payors, select all payors.    If there is uncertainty regarding how to identify a specific health insurance plan, please discuss with your billing department to understand how it should be identified in the registry.",
      "short": "Health Insurance Payment Source",
      "mapping": [ {
        "map": "resolve(Claim.where(encounter=Encounter.id)).insurer.display.value",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ExampleMap.episodeInformation.healthInsurancePaymentSource",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ExampleMap.episodeInformation.healthInsurancePaymentSource"
      }
    }, {
      "path": "ExampleMap.episodeInformation.medicareBeneficiaryIdentifier",
      "min": 1,
      "definition": "Medicare Beneficiary Identifier",
      "short": "Medicare Beneficiary Identifier",
      "mapping": [ {
        "map": "Patient.identifier.where(system='http://hl7.org/fhir/sid/us-mbi').value",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.episodeInformation.medicareBeneficiaryIdentifier",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.episodeInformation.medicareBeneficiaryIdentifier"
      }
    }, {
      "path": "ExampleMap.episodeInformation.patientEnrolledInResearchStudy",
      "min": 1,
      "definition": "Indicate if the patient is enrolled in an ongoing ACC - NCDR research study related to this registry.",
      "short": "Patient Enrolled in Research Study",
      "mapping": [ {
        "map": "ResearchSubject.where(patient=Patient.id and period.overlaps(Encounter.period)).exists()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.episodeInformation.patientEnrolledInResearchStudy",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.episodeInformation.patientEnrolledInResearchStudy"
      }
    }, {
      "path": "ExampleMap.episodeInformation.patientRestriction",
      "min": 1,
      "definition": "Indicate if the patient requested for their information not to be used for any research or studies for the associated episode of care.    Note(s):  Documentation must be found in the patient record to support the request of removal of their information.",
      "short": "Patient Restriction",
      "mapping": [ {
        "map": "Patient.meta.securityLabel.memberOf(%Restricted)",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.episodeInformation.patientRestriction",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.episodeInformation.patientRestriction"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ExampleMap.arrivalInformation",
      "min": 1,
      "definition": "Patient Arrival Information",
      "short": "Patient Arrival Information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ExampleMap.arrivalInformation",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.arrivalInformation"
      }
    }, {
      "path": "ExampleMap.arrivalInformation.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ExampleMap.arrivalInformation.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.arrivalInformation.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ExampleMap.arrivalInformation.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.arrivalInformation.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ExampleMap.arrivalInformation.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ExampleMap.arrivalInformation.numberOfTransferringFacilityUnavailable",
      "min": 1,
      "definition": "Number of Transferring Facility Unavailable",
      "short": "Number of Transferring Facility Unavailable",
      "mapping": [ {
        "map": "resolve(Encounter.hospital.where(admitSource.coding.where(code ='hosp-trans' and system='http://terminology.hl7.org/CodeSystem/admit-source')).origin).identifier.where(system='').exists().not()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.arrivalInformation.numberOfTransferringFacilityUnavailable",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.arrivalInformation.numberOfTransferringFacilityUnavailable"
      }
    }, {
      "path": "ExampleMap.arrivalInformation.transferringFacilityAmericanHospitalAssociationName",
      "min": 1,
      "definition": "Transferring Facility American Hospital Association Name",
      "short": "Transferring Facility American Hospital Association Name",
      "mapping": [ {
        "map": "resolve(Encounter.hospital.where(admitSource.coding.where(code ='hosp-trans' and system='http://terminology.hl7.org/CodeSystem/admit-source')).origin).name",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.arrivalInformation.transferringFacilityAmericanHospitalAssociationName",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.arrivalInformation.transferringFacilityAmericanHospitalAssociationName"
      }
    }, {
      "path": "ExampleMap.arrivalInformation.transferringFacilityAmericanHospitalAssociationNumber",
      "min": 1,
      "definition": "Transferring Facility American Hospital Association Number",
      "short": "Transferring Facility American Hospital Association Number",
      "mapping": [ {
        "map": "resolve(Encounter.hospital.where(admitSource.coding.where(code ='hosp-trans' and system='http://terminology.hl7.org/CodeSystem/admit-source')).origin).identifier.where(system='').value",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.arrivalInformation.transferringFacilityAmericanHospitalAssociationNumber",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.arrivalInformation.transferringFacilityAmericanHospitalAssociationNumber"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ExampleMap.cardiacStatus",
      "min": 1,
      "definition": "Patient Cardiac Status",
      "short": "Patient Cardiac Status",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ExampleMap.cardiacStatus",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.cardiacStatus"
      }
    }, {
      "path": "ExampleMap.cardiacStatus.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ExampleMap.cardiacStatus.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.cardiacStatus.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ExampleMap.cardiacStatus.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.cardiacStatus.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ExampleMap.cardiacStatus.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ExampleMap.cardiacStatus.bystanderCardiopulmonaryResuscitation",
      "min": 1,
      "definition": "Bystander Cardiopulmonary Resuscitation",
      "short": "Bystander Cardiopulmonary Resuscitation",
      "mapping": [ {
        "map": "Observation.where(code='112000000186' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.cardiacStatus.bystanderCardiopulmonaryResuscitation",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.cardiacStatus.bystanderCardiopulmonaryResuscitation"
      }
    }, {
      "path": "ExampleMap.cardiacStatus.cardiacArrestAfterArrivalOfEmergencyMedicalServices",
      "min": 1,
      "definition": "Indicate if the out-of-hospital cardiac arrest occurred after arrival of Emergency Medical Services (EMS).",
      "short": "Cardiac Arrest After Arrival of Emergency Medical Services",
      "mapping": [ {
        "map": "Observation.where(code='100014081' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.cardiacStatus.cardiacArrestAfterArrivalOfEmergencyMedicalServices",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.cardiacStatus.cardiacArrestAfterArrivalOfEmergencyMedicalServices"
      }
    }, {
      "path": "ExampleMap.cardiacStatus.cardiacArrestAtTransferringHealthcareFacility",
      "min": 1,
      "definition": "Indicate if the patient had cardiac arrest at the transferring healthcare facility prior to arrival at the current facility.",
      "short": "Cardiac Arrest at Transferring Healthcare Facility",
      "mapping": [ {
        "map": "Observation.where(code='100014016' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.cardiacStatus.cardiacArrestAtTransferringHealthcareFacility",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.cardiacStatus.cardiacArrestAtTransferringHealthcareFacility"
      }
    }, {
      "path": "ExampleMap.cardiacStatus.cardiacArrestOutOfHealthcareFacility",
      "min": 1,
      "definition": "Indicate if a cardiac arrest event occurred outside of any healthcare facility.",
      "short": "Cardiac Arrest Out of Healthcare Facility",
      "mapping": [ {
        "map": "Observation.where(code='10001424808' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.cardiacStatus.cardiacArrestOutOfHealthcareFacility",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.cardiacStatus.cardiacArrestOutOfHealthcareFacility"
      }
    }, {
      "path": "ExampleMap.cardiacStatus.cardiacArrestWitnessed",
      "min": 1,
      "definition": "Indicate if the out-of-hospital cardiac arrest was witnessed by another person.",
      "short": "Cardiac Arrest Witnessed",
      "mapping": [ {
        "map": "Observation.where(code='100014082' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.cardiacStatus.cardiacArrestWitnessed",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.cardiacStatus.cardiacArrestWitnessed"
      }
    }, {
      "path": "ExampleMap.cardiacStatus.firstCardiacArrestRhythm",
      "min": 1,
      "definition": "Indicate if the initial out-of-hospital cardiac arrest rhythm was a shockable rhythm.",
      "short": "First Cardiac Arrest Rhythm",
      "mapping": [ {
        "map": "Observation.where(code='100014013' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.cardiacStatus.firstCardiacArrestRhythm",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.cardiacStatus.firstCardiacArrestRhythm"
      }
    }, {
      "path": "ExampleMap.cardiacStatus.firstCardiacArrestRhythmUnknown",
      "min": 1,
      "definition": "Indicate if the initial out-of-hospital cardiac arrest rhythm was unknown.",
      "short": "First Cardiac Arrest Rhythm Unknown",
      "mapping": [ {
        "map": "Observation.where(code='100014013' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.cardiacStatus.firstCardiacArrestRhythmUnknown",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.cardiacStatus.firstCardiacArrestRhythmUnknown"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ExampleMap.historyAndRiskFactors",
      "min": 1,
      "definition": "Patient History and Risk Factors",
      "short": "Patient History and Risk Factors",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.historyAndRiskFactors"
      }
    }, {
      "path": "ExampleMap.historyAndRiskFactors.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.historyAndRiskFactors.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ExampleMap.historyAndRiskFactors.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.historyAndRiskFactors.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ExampleMap.historyAndRiskFactors.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ExampleMap.historyAndRiskFactors.basicActivitiesOfDailyLiving",
      "min": 1,
      "definition": "Basic Activities of Daily Living",
      "short": "Basic Activities of Daily Living",
      "mapping": [ {
        "map": "Observation.where(code='112000000180' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors.basicActivitiesOfDailyLiving",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.historyAndRiskFactors.basicActivitiesOfDailyLiving"
      }
    }, {
      "path": "ExampleMap.historyAndRiskFactors.basicActivitiesOfDailyLivingUnknown",
      "min": 1,
      "definition": "Basic Activities of Daily Living Unknown",
      "short": "Basic Activities of Daily Living Unknown",
      "mapping": [ {
        "map": "Observation.where(code='112000000180' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors.basicActivitiesOfDailyLivingUnknown",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.historyAndRiskFactors.basicActivitiesOfDailyLivingUnknown"
      }
    }, {
      "path": "ExampleMap.historyAndRiskFactors.cognition",
      "min": 1,
      "definition": "Cognition",
      "short": "Cognition",
      "mapping": [ {
        "map": "Observation.where(code='112000000140' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors.cognition",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.historyAndRiskFactors.cognition"
      }
    }, {
      "path": "ExampleMap.historyAndRiskFactors.cognitionUnknown",
      "min": 1,
      "definition": "Cognition Unknown",
      "short": "Cognition Unknown",
      "mapping": [ {
        "map": "Observation.where(code='112000000140' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors.cognitionUnknown",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.historyAndRiskFactors.cognitionUnknown"
      }
    }, {
      "path": "ExampleMap.historyAndRiskFactors.smokingAmount",
      "min": 1,
      "definition": "Indicate the amount of cigarette smoking reported by the patient.",
      "short": "Smoking Amount",
      "mapping": [ {
        "map": "Observation.where(code='100001256' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors.smokingAmount",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.historyAndRiskFactors.smokingAmount"
      }
    }, {
      "path": "ExampleMap.historyAndRiskFactors.tobaccoType",
      "min": 1,
      "definition": "<<< CathPCI - Instruction >>> Indicate the type of tobacco product the patient uses. <<< CPMI - Instruction >>> Indicate the frequency that the patient uses tobacco.    Note(s): Consider use of any tobacco product as equivalent to a cigarette for referenced definitions.     ",
      "short": "Tobacco Type",
      "mapping": [ {
        "map": "Observation.where(code='266918002' and system='http://snomed.info/sct' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors.tobaccoType",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.historyAndRiskFactors.tobaccoType"
      }
    }, {
      "path": "ExampleMap.historyAndRiskFactors.tobaccoUse",
      "min": 1,
      "definition": "Indicate the frequency that the patient uses tobacco. Note(s): Consider use of any tobacco product as equivalent to a cigarette for referenced definitions.",
      "short": "Tobacco Use",
      "mapping": [ {
        "map": "Observation.where(code='110483000' and system='http://snomed.info/sct' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors.tobaccoUse",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.historyAndRiskFactors.tobaccoUse"
      }
    }, {
      "path": "ExampleMap.historyAndRiskFactors.walking",
      "min": 1,
      "definition": "Walking",
      "short": "Walking",
      "mapping": [ {
        "map": "Observation.where(code='116329008' and system='http://snomed.info/sct' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors.walking",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.historyAndRiskFactors.walking"
      }
    }, {
      "path": "ExampleMap.historyAndRiskFactors.walkingUnknown",
      "min": 1,
      "definition": "Walking Unknown",
      "short": "Walking Unknown",
      "mapping": [ {
        "map": "Observation.where(code='116329008' and system='http://snomed.info/sct' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.historyAndRiskFactors.walkingUnknown",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.historyAndRiskFactors.walkingUnknown"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ExampleMap.researchStudy",
      "min": 0,
      "definition": "Research Study Information",
      "short": "Research Study Information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ExampleMap.researchStudy",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ExampleMap.researchStudy"
      }
    }, {
      "path": "ExampleMap.researchStudy.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ExampleMap.researchStudy.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.researchStudy.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ExampleMap.researchStudy.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ExampleMap.researchStudy.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ExampleMap.researchStudy.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ExampleMap.researchStudy.researchStudyName",
      "min": 1,
      "definition": "Indicate the research study name as provided by the research study protocol.    Note(s):  If the patient is in more than one research study, list each separately.",
      "short": "Research Study Name",
      "mapping": [ {
        "map": "resolve(ResearchSubject.where(patient=Patient.id and period.overlaps(Encounter.period)).researchStudy).title",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.researchStudy.researchStudyName",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.researchStudy.researchStudyName"
      }
    }, {
      "path": "ExampleMap.researchStudy.researchStudyPatientId",
      "min": 1,
      "definition": "Indicate the research study patient identification number as assigned by the research protocol.    Note(s):  If the patient is in more than one research study, list each separately.",
      "short": "Research Study Patient ID",
      "mapping": [ {
        "map": "ResearchSubject.where( individual = Patient.id and ((( Encounter.period.start >= period.start ) and (Encounter.period.start <= period.end)) or ((Encounter.period.end >= period.start) and  (Encounter.period.end <= period.end )))).identifier",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ExampleMap.researchStudy.researchStudyPatientId",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ExampleMap.researchStudy.researchStudyPatientId"
      }
    } ]
  },
  "status": "active",
  "id": "12209d34-2208-4b41-9bc0-73f4896a20e2",
  "kind": "logical",
  "url": "http://hl7.org/fhir/us/registry-protocols/StructureDefinition/ExampleMap",
  "identifier": [ {
    "use": "official"
  } ],
  "version": "1.0.0-ballot",
  "differential": {
    "element": [ {
      "id": "ExampleMap",
      "path": "ExampleMap",
      "short": "Example Submission Map",
      "definition": "This is an example of the data that would be used for a Resgistry Submission.\nThe full map is a logical model as that allows conformance to the FHIR Standard the way a custom Resource would not.\nEach element has the short name of the data, a full description and the paths to fetch and place the information, by data standard type, for each.\nA section (such as Demographics) is a BackboneElement (holds no values).  All subordinate elements are strings.\nEach mapping includes the following:\n* identity = standard used for the mapping (e.g., FHIR)\n* language = mime type that matches identity\n* map = FHIRPath expression of the path to the data\n* comment = *Output mapping only* Resource/Profile for inclusion in the Submission Bundle"
    }, {
      "id": "ExampleMap.demographics",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.demographics",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Patient Demographics",
      "definition": "Patient Demographics"
    }, {
      "id": "ExampleMap.demographics.lastName",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.demographics.lastName",
      "type": [ {
        "code": "string"
      } ],
      "short": "Last Name",
      "mapping": [ {
        "map": "Patient.name.family",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "ClinicalDocument.recordTarget.patient.name.family",
        "identity": "CDA",
        "language": "application/hl7-sda+xml"
      }, {
        "map": "ADT_A01.PID.5.1",
        "identity": "HL7V2",
        "language": "application/edi-hl7v2"
      }, {
        "map": "Patient.name.family",
        "comment": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient.name.family",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate the patient's last name. Hyphenated names should be recorded with a hyphen."
    }, {
      "id": "ExampleMap.demographics.firstName",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.demographics.firstName",
      "type": [ {
        "code": "string"
      } ],
      "short": "First Name",
      "mapping": [ {
        "map": "Patient.name.given[0]",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "ClinicalDocument.recordTarget.patient.name.given[1]",
        "identity": "CDA",
        "language": "application/hl7-sda+xml"
      }, {
        "map": "ADT_A01.PID.5.2",
        "identity": "HL7V2",
        "language": "application/edi-hl7v2"
      }, {
        "map": "Patient.name.given",
        "comment": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient.name.given[0]",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate the patient's first name."
    }, {
      "id": "ExampleMap.demographics.middleName",
      "max": "*",
      "min": 0,
      "path": "ExampleMap.demographics.middleName",
      "type": [ {
        "code": "string"
      } ],
      "short": "Middle Name",
      "mapping": [ {
        "map": "Patient.name.given[position()>0]",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "ClinicalDocument.recordTarget.patient.name.given[position()>1]",
        "identity": "CDA",
        "language": "application/hl7-sda+xml"
      }, {
        "map": "ADT_A01.PID.5.3",
        "identity": "HL7V2",
        "language": "application/edi-hl7v2"
      }, {
        "map": "Patient.name.given",
        "comment": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient.name.given[position()>1]",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate the patient's middle names."
    }, {
      "id": "ExampleMap.episodeInformation",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.episodeInformation",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "CathPCI Episode Information",
      "definition": "CathPCI Episode Information"
    }, {
      "id": "ExampleMap.episodeInformation.episodeUniqueKey",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.episodeInformation.episodeUniqueKey",
      "type": [ {
        "code": "string"
      } ],
      "short": "Episode Unique Key",
      "mapping": [ {
        "map": "iif(Encounter.identifier(type.code='VN').value, Encounter.identifier(type.code='VN').value, Encounter.identifier[0].value)",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "ClinicalDocument.componentOf.encompassingEncounter.id",
        "identity": "CDA",
        "language": "application/hl7-sda+xml"
      }, {
        "map": "ADT_A01.PV1.19.1",
        "identity": "HL7V2",
        "language": "application/edi-hl7v2"
      }, {
        "map": "Encounter.identifier",
        "comment": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter.identifier[0].value)",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate the unique key associated with each patient episode record as assigned by the EMR/EHR or your software application."
    }, {
      "id": "ExampleMap.episodeInformation.admissionDateAndTime",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.episodeInformation.admissionDateAndTime",
      "type": [ {
        "code": "string"
      } ],
      "short": "Admission Date and Time",
      "mapping": [ {
        "map": "Encounter.period.start",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Admission Date and Time"
    }, {
      "id": "ExampleMap.episodeInformation.healthInsurance",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.episodeInformation.healthInsurance",
      "type": [ {
        "code": "string"
      } ],
      "short": "Health Insurance",
      "mapping": [ {
        "map": "Claim.where(encounter=Encounter.id).insurance.coverage.exists()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate if the patient has health insurance."
    }, {
      "id": "ExampleMap.episodeInformation.healthInsuranceClaimNumber",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.episodeInformation.healthInsuranceClaimNumber",
      "type": [ {
        "code": "string"
      } ],
      "short": "Health Insurance Claim Number (HIC)",
      "mapping": [ {
        "map": "resolve(Claim.where(encounter=Encounter.id).insurance.coverage).identifier.value",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate the patient's Health Insurance Claim (HIC) number.    Note(s):  Enter the Health Insurance Claim (HIC) number for those patients covered by Medicare. Patients with other insurances will not have a HIC number."
    }, {
      "id": "ExampleMap.episodeInformation.healthInsurancePaymentSource",
      "max": "*",
      "min": 1,
      "path": "ExampleMap.episodeInformation.healthInsurancePaymentSource",
      "type": [ {
        "code": "string"
      } ],
      "short": "Health Insurance Payment Source",
      "mapping": [ {
        "map": "resolve(Claim.where(encounter=Encounter.id)).insurer.display.value",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate the patient's health insurance payment type.    Note(s):  If the patient has multiple insurance payors, select all payors.    If there is uncertainty regarding how to identify a specific health insurance plan, please discuss with your billing department to understand how it should be identified in the registry."
    }, {
      "id": "ExampleMap.episodeInformation.medicareBeneficiaryIdentifier",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.episodeInformation.medicareBeneficiaryIdentifier",
      "type": [ {
        "code": "string"
      } ],
      "short": "Medicare Beneficiary Identifier",
      "mapping": [ {
        "map": "Patient.identifier.where(system='http://hl7.org/fhir/sid/us-mbi').value",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Medicare Beneficiary Identifier"
    }, {
      "id": "ExampleMap.episodeInformation.patientEnrolledInResearchStudy",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.episodeInformation.patientEnrolledInResearchStudy",
      "type": [ {
        "code": "string"
      } ],
      "short": "Patient Enrolled in Research Study",
      "mapping": [ {
        "map": "ResearchSubject.where(patient=Patient.id and period.overlaps(Encounter.period)).exists()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate if the patient is enrolled in an ongoing ACC - NCDR research study related to this registry."
    }, {
      "id": "ExampleMap.episodeInformation.patientRestriction",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.episodeInformation.patientRestriction",
      "type": [ {
        "code": "string"
      } ],
      "short": "Patient Restriction",
      "mapping": [ {
        "map": "Patient.meta.securityLabel.memberOf(%Restricted)",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate if the patient requested for their information not to be used for any research or studies for the associated episode of care.    Note(s):  Documentation must be found in the patient record to support the request of removal of their information."
    }, {
      "id": "ExampleMap.arrivalInformation",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.arrivalInformation",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Patient Arrival Information",
      "definition": "Patient Arrival Information"
    }, {
      "id": "ExampleMap.arrivalInformation.numberOfTransferringFacilityUnavailable",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.arrivalInformation.numberOfTransferringFacilityUnavailable",
      "type": [ {
        "code": "string"
      } ],
      "short": "Number of Transferring Facility Unavailable",
      "mapping": [ {
        "map": "resolve(Encounter.hospital.where(admitSource.coding.where(code ='hosp-trans' and system='http://terminology.hl7.org/CodeSystem/admit-source')).origin).identifier.where(system='').exists().not()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Number of Transferring Facility Unavailable"
    }, {
      "id": "ExampleMap.arrivalInformation.transferringFacilityAmericanHospitalAssociationName",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.arrivalInformation.transferringFacilityAmericanHospitalAssociationName",
      "type": [ {
        "code": "string"
      } ],
      "short": "Transferring Facility American Hospital Association Name",
      "mapping": [ {
        "map": "resolve(Encounter.hospital.where(admitSource.coding.where(code ='hosp-trans' and system='http://terminology.hl7.org/CodeSystem/admit-source')).origin).name",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Transferring Facility American Hospital Association Name"
    }, {
      "id": "ExampleMap.arrivalInformation.transferringFacilityAmericanHospitalAssociationNumber",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.arrivalInformation.transferringFacilityAmericanHospitalAssociationNumber",
      "type": [ {
        "code": "string"
      } ],
      "short": "Transferring Facility American Hospital Association Number",
      "mapping": [ {
        "map": "resolve(Encounter.hospital.where(admitSource.coding.where(code ='hosp-trans' and system='http://terminology.hl7.org/CodeSystem/admit-source')).origin).identifier.where(system='').value",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Transferring Facility American Hospital Association Number"
    }, {
      "id": "ExampleMap.cardiacStatus",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.cardiacStatus",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Patient Cardiac Status",
      "definition": "Patient Cardiac Status"
    }, {
      "id": "ExampleMap.cardiacStatus.bystanderCardiopulmonaryResuscitation",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.cardiacStatus.bystanderCardiopulmonaryResuscitation",
      "type": [ {
        "code": "string"
      } ],
      "short": "Bystander Cardiopulmonary Resuscitation",
      "mapping": [ {
        "map": "Observation.where(code='112000000186' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Bystander Cardiopulmonary Resuscitation"
    }, {
      "id": "ExampleMap.cardiacStatus.cardiacArrestAfterArrivalOfEmergencyMedicalServices",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.cardiacStatus.cardiacArrestAfterArrivalOfEmergencyMedicalServices",
      "type": [ {
        "code": "string"
      } ],
      "short": "Cardiac Arrest After Arrival of Emergency Medical Services",
      "mapping": [ {
        "map": "Observation.where(code='100014081' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate if the out-of-hospital cardiac arrest occurred after arrival of Emergency Medical Services (EMS)."
    }, {
      "id": "ExampleMap.cardiacStatus.cardiacArrestAtTransferringHealthcareFacility",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.cardiacStatus.cardiacArrestAtTransferringHealthcareFacility",
      "type": [ {
        "code": "string"
      } ],
      "short": "Cardiac Arrest at Transferring Healthcare Facility",
      "mapping": [ {
        "map": "Observation.where(code='100014016' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate if the patient had cardiac arrest at the transferring healthcare facility prior to arrival at the current facility."
    }, {
      "id": "ExampleMap.cardiacStatus.cardiacArrestOutOfHealthcareFacility",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.cardiacStatus.cardiacArrestOutOfHealthcareFacility",
      "type": [ {
        "code": "string"
      } ],
      "short": "Cardiac Arrest Out of Healthcare Facility",
      "mapping": [ {
        "map": "Observation.where(code='10001424808' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate if a cardiac arrest event occurred outside of any healthcare facility."
    }, {
      "id": "ExampleMap.cardiacStatus.cardiacArrestWitnessed",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.cardiacStatus.cardiacArrestWitnessed",
      "type": [ {
        "code": "string"
      } ],
      "short": "Cardiac Arrest Witnessed",
      "mapping": [ {
        "map": "Observation.where(code='100014082' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate if the out-of-hospital cardiac arrest was witnessed by another person."
    }, {
      "id": "ExampleMap.cardiacStatus.firstCardiacArrestRhythm",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.cardiacStatus.firstCardiacArrestRhythm",
      "type": [ {
        "code": "string"
      } ],
      "short": "First Cardiac Arrest Rhythm",
      "mapping": [ {
        "map": "Observation.where(code='100014013' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate if the initial out-of-hospital cardiac arrest rhythm was a shockable rhythm."
    }, {
      "id": "ExampleMap.cardiacStatus.firstCardiacArrestRhythmUnknown",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.cardiacStatus.firstCardiacArrestRhythmUnknown",
      "type": [ {
        "code": "string"
      } ],
      "short": "First Cardiac Arrest Rhythm Unknown",
      "mapping": [ {
        "map": "Observation.where(code='100014013' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate if the initial out-of-hospital cardiac arrest rhythm was unknown."
    }, {
      "id": "ExampleMap.historyAndRiskFactors",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.historyAndRiskFactors",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Patient History and Risk Factors",
      "definition": "Patient History and Risk Factors"
    }, {
      "id": "ExampleMap.historyAndRiskFactors.basicActivitiesOfDailyLiving",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.historyAndRiskFactors.basicActivitiesOfDailyLiving",
      "type": [ {
        "code": "string"
      } ],
      "short": "Basic Activities of Daily Living",
      "mapping": [ {
        "map": "Observation.where(code='112000000180' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Basic Activities of Daily Living"
    }, {
      "id": "ExampleMap.historyAndRiskFactors.basicActivitiesOfDailyLivingUnknown",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.historyAndRiskFactors.basicActivitiesOfDailyLivingUnknown",
      "type": [ {
        "code": "string"
      } ],
      "short": "Basic Activities of Daily Living Unknown",
      "mapping": [ {
        "map": "Observation.where(code='112000000180' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Basic Activities of Daily Living Unknown"
    }, {
      "id": "ExampleMap.historyAndRiskFactors.cognition",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.historyAndRiskFactors.cognition",
      "type": [ {
        "code": "string"
      } ],
      "short": "Cognition",
      "mapping": [ {
        "map": "Observation.where(code='112000000140' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Cognition"
    }, {
      "id": "ExampleMap.historyAndRiskFactors.cognitionUnknown",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.historyAndRiskFactors.cognitionUnknown",
      "type": [ {
        "code": "string"
      } ],
      "short": "Cognition Unknown",
      "mapping": [ {
        "map": "Observation.where(code='112000000140' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Cognition Unknown"
    }, {
      "id": "ExampleMap.historyAndRiskFactors.smokingAmount",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.historyAndRiskFactors.smokingAmount",
      "type": [ {
        "code": "string"
      } ],
      "short": "Smoking Amount",
      "mapping": [ {
        "map": "Observation.where(code='100001256' and system='https://cvquality.acc.org/NCDR' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate the amount of cigarette smoking reported by the patient."
    }, {
      "id": "ExampleMap.historyAndRiskFactors.tobaccoType",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.historyAndRiskFactors.tobaccoType",
      "type": [ {
        "code": "string"
      } ],
      "short": "Tobacco Type",
      "mapping": [ {
        "map": "Observation.where(code='266918002' and system='http://snomed.info/sct' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "<<< CathPCI - Instruction >>> Indicate the type of tobacco product the patient uses. <<< CPMI - Instruction >>> Indicate the frequency that the patient uses tobacco.    Note(s): Consider use of any tobacco product as equivalent to a cigarette for referenced definitions.     "
    }, {
      "id": "ExampleMap.historyAndRiskFactors.tobaccoUse",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.historyAndRiskFactors.tobaccoUse",
      "type": [ {
        "code": "string"
      } ],
      "short": "Tobacco Use",
      "mapping": [ {
        "map": "Observation.where(code='110483000' and system='http://snomed.info/sct' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate the frequency that the patient uses tobacco. Note(s): Consider use of any tobacco product as equivalent to a cigarette for referenced definitions."
    }, {
      "id": "ExampleMap.historyAndRiskFactors.walking",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.historyAndRiskFactors.walking",
      "type": [ {
        "code": "string"
      } ],
      "short": "Walking",
      "mapping": [ {
        "map": "Observation.where(code='116329008' and system='http://snomed.info/sct' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Walking"
    }, {
      "id": "ExampleMap.historyAndRiskFactors.walkingUnknown",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.historyAndRiskFactors.walkingUnknown",
      "type": [ {
        "code": "string"
      } ],
      "short": "Walking Unknown",
      "mapping": [ {
        "map": "Observation.where(code='116329008' and system='http://snomed.info/sct' and effectiveDateTime > %Encounter.period.start).first()",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Walking Unknown"
    }, {
      "id": "ExampleMap.researchStudy",
      "max": "1",
      "min": 0,
      "path": "ExampleMap.researchStudy",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Research Study Information",
      "definition": "Research Study Information"
    }, {
      "id": "ExampleMap.researchStudy.researchStudyName",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.researchStudy.researchStudyName",
      "type": [ {
        "code": "string"
      } ],
      "short": "Research Study Name",
      "mapping": [ {
        "map": "resolve(ResearchSubject.where(patient=Patient.id and period.overlaps(Encounter.period)).researchStudy).title",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate the research study name as provided by the research study protocol.    Note(s):  If the patient is in more than one research study, list each separately."
    }, {
      "id": "ExampleMap.researchStudy.researchStudyPatientId",
      "max": "1",
      "min": 1,
      "path": "ExampleMap.researchStudy.researchStudyPatientId",
      "type": [ {
        "code": "string"
      } ],
      "short": "Research Study Patient ID",
      "mapping": [ {
        "map": "ResearchSubject.where( individual = Patient.id and ((( Encounter.period.start >= period.start ) and (Encounter.period.start <= period.end)) or ((Encounter.period.end >= period.start) and  (Encounter.period.end <= period.end )))).identifier",
        "identity": "FHIR",
        "language": "application/fhir"
      }, {
        "map": "Observation",
        "comment": "Observation",
        "identity": "Output",
        "language": "application/fhir"
      } ],
      "definition": "Indicate the research study patient identification number as assigned by the research protocol.    Note(s):  If the patient is in more than one research study, list each separately."
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.org/Special/committees/cic",
      "system": "url"
    } ]
  }, {
    "telecom": [ {
      "value": "cic@lists.hl7.org",
      "system": "email"
    } ]
  }, {
    "name": "Clinical Interoperability Council",
    "telecom": [ {
      "value": "http://hl7.org/Special/committees/cic/index.cfm",
      "system": "url"
    } ]
  }, {
    "name": "David Pyke",
    "telecom": [ {
      "value": "mailto:David.Pyke@pointclickcare.com",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base"
}