Protocols for Clinical Registry Extraction and Data Submission (CREDS) IG
1.0.0 - STU1 United States of America flag

Protocols for Clinical Registry Extraction and Data Submission (CREDS) IG, published by HL7 International / Clinical Interoperability Council. This is not an authorized publication; it is the continuous build for version 1.0.0. This version is based on the current content of https://github.com/HL7/fhir-registry-protocols-ig/ and changes regularly. See the Directory of published versions

Logical Model: CathPCI_Submission_Map_detailed - Mappings

Active as of 2021-11-01

Mappings for the ACCNCDRCathPCIDetailed logical model.

Mappings for Fast Health Interoperability Resources (http://fhir.hl7.org)

Path to where in a FHIR Resource the data element is found

CathPCI_Submission_Map_detailed
ACCNCDRCathPCIDetailed
   administration
      datenow()
      authorOrganization
   demographicsPatient
   episodeInformation
      episodeUniqueKeyEncounter.where(reason.resolve().is(FHIR.Procedure) and reason.resolve().code.codable.code=415070008 )
      healthInsurancePaymentSourceCoverage
      healthInsuranceClaimNumberClaimResponse.where(type = medi).identifier.value
      patientRestrictionConsent.where(scope = research)
      admittingProviderEncounter.participant.where( type.coding.code = 'ADM' ).individual.resolve()
      attendingProviderEncounter.participant.where( type.coding.code = 'ATND' ).individual.resolve()
   historyAndRiskFactors
      familyHistoryOfPrematureCoronaryArteryDiseaseObservation.where(code.coding.code = '80985-5')
      priorMyocardialInfarctionCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PriorMyocardialInfarction) and %encounter.actualPeriod.start > (occurrenceDateTime - 1 day)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PriorMyocardialInfarction) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day))
      priorPercutaneousCoronaryInterventionProcedure.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/priorPercutaneousCoronaryIntervention) and %encounter.actualPeriod.start > (occurrenceDateTime - 1 day)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/priorPercutaneousCoronaryIntervention) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day))
      priorCoronaryArteryBypassGraftProcedure.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PriorCABG) and %encounter.actualPeriod.start > (occurrenceDateTime - 1 day)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PriorCABG) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day))
      cerebrovascularDiseaseCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PriorCerebrovascularDisease) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PriorCerebrovascularDisease) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day))
      diabetesMellitusCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PriorOrCurrentDiabetesMellitus) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PriorOrCurrentDiabetesMellitus) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day))
      currentlyOnDialysisCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/HemodialysisOrPeritonealDialysis) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/HemodialysisOrPeritonealDialysis) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day))
      canadianStudyOfHealthAndAgingClinicalFrailtyScaleObservation.where(code.coding.code = '763264000' ) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day))
      chronicLungDiseaseCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ChronicLungDisease) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ChronicLungDisease) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day))
      peripheralArterialDiseaseCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PeripheralArterialOcclusiveDisease) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PeripheralArterialOcclusiveDisease) and %encounter.actualPeriod.start > (effectiveDateTime - 1 day))
      hypertensionCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/Hypertension)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/Hypertension))
      dyslipidemiaCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/Dyslipidemia)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/Dyslipidemia))
      tobaccoUseCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/Dyslipidemia)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/Dyslipidemia))
      heightObservation.where(code.coding.code = '8302-2')
      weightObservation.where(code.coding.code = '3141-9')
   procedureInformation
      systolicBloodPressureObservation.where(code.coding.code = '8480-6')
      pciPatientProcedureProcedure.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/'PercutaneousCoronaryIntervention') and performedPeriod.exists() )
      diagnosticCoronaryAngiographyProcedureProcedure.where(code.coding.code = '80994-7' and performedPeriod.start >= %period.start and performedPeriod.end <= %period.end )
      diagnosticCatheterizationOperatorProcedure.where(code.coding.code = '80994-7' and performedPeriod.start >= %period.start and performedPeriod <= %period.end ).performer.actor.resolve())
      diagnosticLeftHeartCathProcedure.where(code.coding.code = '67629009' and performedPeriod.start >= %period.start and performedPeriod.end <= %period.end)
      lvefPercentDiagnosticLeftHeartCathObservation.where(code.coding.code = '10230-1' and effectiveDate ge %period.start)
      cumulativeAirKermaObservation.where(code.coding.code = '228850003' and (effectivePeriod.start >= %period.start and effectivePeriod.end <= %period.end)
      cardiacArrestAtThisFacilityObservation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/CardiacArrest) and (effectivePeriod.start> %period.start and effectivePeriod.start < %procedure.period.start))
      preprocedureInformation
         heartFailureCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/HeartFailure) and recordedDate.exists())
         newYorkHeartAssociationClassificationObservation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/NewYorkHeartAssociationQuery))
         diagnosticTest
            newAntiarrhythmicTherapyInitiatedPriorToCathLabMedicationStatement.where(medicationCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/Antiarrhythmics) and effectiveDateTime < %Encounter.period.start and effeciveDateTime < %Encounter.period.start - 30 days)
            electrocardiacAbnormalityTypeObservation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/AbnormalElectrocardiacAssessment)
            agatstonCalciumScoreObservation.where(code.coding.code = '450360000')
            heartRateObservation.where(code.coding.code = '8867-4')
         preprocedureMedicationMedicationAdministration.where(effectiveDateTime >= %period.start - 2 weeks and effeciveDateTime < %procedure.period.start)
      closureMethods
         closureMethodUdi%procedure.focalDevice.manipulated.resolve()
      preprocedureLabs
         hemoglobinObservation.where(code.coding.code = '718-7' and effectiveDateTime >= %procedure.period.end - 30 days and effectiveDateTime < %procedure.period.start)
         creatinineObservation.where(code.coding.code = '2160-0' and effectiveDateTime >= %period.start and effectiveDateTime < %procedure.period.start)
         troponinIObservation.where(code.coding.code = '10839-9' and effectiveDateTime >= %period.start and effectiveDateTime < %procedure.period.start), Observation.where(code.coding.code = '6598-7' and effectiveDateTime >= %period.start and effectiveDateTime < %procedure.period.start)
         totalCholesterolObservation.where(code.coding.code = '2093-3' and and effectiveDateTime >= %procedure.period.start - 30 days and effectiveDateTime < %procedure.period.start)
         highDensityLipoproteinObservation.where(code.coding.code = '2085-9' and and effectiveDateTime >= %procedure.period.start - 30 days and effectiveDateTime < %procedure.period.start)
      postprocedureLabs
         hemoglobinObservation.where(code.coding.code = '718-7' and effectiveDateTime >= %procedure.period.end and effectiveDateTime < %procedure.period.end + 72 hours)
         creatinineObservation.where(code.coding.code = '2160-0' and effectiveDateTime >= %procedure.period.end and effectiveDateTime < %procedure.period.end + 5 days)
         troponinIObservation.where(code.coding.code = '10839-9' and effectiveDateTime >= %procedure.period.end + 6 hours and effectiveDateTime < %procedure.period.end + 24 hours), Observation.where(code.coding.code = '6598-7' and effectiveDateTime >= %procedure.period.end + 6 hours and effectiveDateTime < %procedure.period.end + 24 hours)
      cathLabVisit
         solidOrganTransplantdonorObservation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/OrganDonor) or code.coding.code = '51032003')
         valvularDiseaseStenosisCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ValvularStenosis)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ValvularStenosis))
         valvularDiseaseRegurgitationCondition.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ValvularStenosis)), Observation.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ValvularStenosis))
      pciProcedure
         hypothermiaInducedProcedure.where(code.coding.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/HypothermiaInduced))
         pciOperator%Procedure.participant.where( function.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PCIOperator) ).actor.resolve()
         pciProcedureMedicationCodeMedicationStatement.where(effectiveDateTime >= %procedure.period.start and effectiveDateTime <= %procedure.period.end)
         intracoronaryDevices
            deviceProcedure.focalDevice.manipulated.resolve().memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/CardiacCatheter)
   discharge
      dischargeProviderEncounter.where(type.code.coding.code=58000006).participant.individual.resolve()

Mappings for Submission Data Output location (http://hl7.org/fhir/us/core)

Location within the requirements profile to place the data for submission in US Core or FHIR Core Resources

CathPCI_Submission_Map_detailed
ACCNCDRCathPCIDetailed
   administration
      eventMessageHeader.eventCoding
      participantIdMessageHeader.source.name
      vendorIdentifierMessageHeader.source.software
      vendorSoftwareVersionMessageHeader.source.version
      statusComposition.type
      typeComposition.status
      timeFrameOfDataSubmissionComposition.event.period.start
      registryIdentifierComposition.title
      submissionTypeMessageHeader.reason.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/SubmissionType)
      dateComposition.date
      authorComposition.author
   demographicshttp://hl7.org/fhir/us/core/StructureDefinition/us-core-patient and %patient
   episodeInformation
      episodeUniqueKeyhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter and %encounter
      healthInsurancePaymentSourceCoverage
      healthInsuranceClaimNumberClaimResponse
      patientRestrictionConsent
      admittingProviderhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
      attendingProviderhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
   researchStudyResearchStudy
   historyAndRiskFactors
      familyHistoryOfPrematureCoronaryArteryDiseasehttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation
      priorMyocardialInfarctionhttp://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns.where(category = 'problem-list-item')
      priorPercutaneousCoronaryInterventionhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation
      priorCoronaryArteryBypassGrafthttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation
      cerebrovascularDiseasehttp://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns.where(category = 'problem-list-item')
      diabetesMellitushttp://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns.where(category = 'problem-list-item')
      currentlyOnDialysishttp://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns.where(category = 'problem-list-item')
      canadianStudyOfHealthAndAgingClinicalFrailtyScalehttp://hl7.org/fhir/us/core//StructureDefinition/us-core-observation
      chronicLungDiseasehttp://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns.where(category = 'problem-list-item')
      peripheralArterialDiseasehttp://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns.where(category = 'problem-list-item')
      hypertensionhttp://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns.where(category = 'problem-list-item')
      dyslipidemiahttp://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns.where(category = 'problem-list-item')
      tobaccoUsehttp://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus
      heighthttp://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height
      weighthttp://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight
   cardiacStatus
      cardiacArrestOutofHealthcareFacilityhttp://hl7.org/fhir/us/core/StructureDefinition/Observation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=10001424808 andvalueBoolean.exists())
      cardiacArrestWitnessedhttp://hl7.org/fhir/us/core/StructureDefinition/Observation.where(code.coding.system = 'http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014082 and valueBoolean.exists())
      cardiacArrestAfterArrivalofEMShttp://hl7.org/fhir/us/core/StructureDefinition/Observation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014081 and valueBoolean.exists())
      firstCardiacArrestRhythmhttp://hl7.org/fhir/us/core/StructureDefinition/Observation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014081 and valueCode.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/FirstCardiacArrestRhythm))
      cardiacArrestatTransferringHealthcareFacilityhttp://hl7.org/fhir/us/core/StructureDefinition/Observation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=000000 and valueBoolean.exists())
   procedureInformation
      systolicBloodPressurehttp://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure
      pciPatientProcedurehttp://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
      diagnosticCoronaryAngiographyProcedurehttp://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
      diagnosticCatheterizationOperatorhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-practitoner
      diagnosticLeftHeartCathhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
      lvefPercentDiagnosticLeftHeartCathhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test
      concomitantProceduresPerformedhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ConcomitantProceduresPerformedType))
      cumulativeAirKermaObservation
      fluoroscopyTimeObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014077 and valueTime.exists()
      doseAreaProductObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100000994 and valueQuantity.exists()
      arterialCrossOverObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014075 and valueBoolean.exists()
      venousAccessObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014075 and valueBoolean.exists(
      cardiacArrestAtThisFacilityObservation
      preprocedureInformation
         heartFailureCondition
         newYorkHeartAssociationClassificationObservation.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/NewYorkHeartAssociationAnswers)
         diagnosticTest
            electrocardiacAssessmentObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142467 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ElectrocardiacAssessmentResults) and Observation.method.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ElectrocardiacAssessmentMethod)
            newAntiarrhythmicTherapyInitiatedPriorToCathLabMedicationStatement
            electrocardiacAbnormalityTypeObservation.where(valueCodeableConcept.exists() or valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ElectrocardiacAbnormalityType)
            nonSustainedVentricularTachycardiaTypeObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142475 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/NonSustainedVentricularTachycardiaType)
            lvefObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100001027 and valueQuantity.exists())
            cardiacCtaObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100001257 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/CardiacCTAResults)
            agatstonCalciumScoreObservation
            priorDcapWithoutInterventionObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=10001424782 and valueBoolean.exists())
            priorDcapResultsObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=10001424784 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PriorDiagnosticCoronaryAngiographyProcedureResults))
            heartRatehttp://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate
            stressTestObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142432 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/StressTestResults) and Observation.method.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/StressTest))
               riskOrExtentOfIschemiaObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142434 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/StressTestRiskExtentofIschemia))
         preprocedureMedicationMedicationAdministration
         saQuestionnaireObservation.where(code.coding.system='http://loinc.org' and code.coding.code=88479-1 and component.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/SeattleAnginaQs) and component.valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/SeattleAnginaAs))
         roseDyspneaScaleObservation.where(code.coding.system='http://loinc.org' and code.coding.code=89440-2 and component.code.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/RoseDyspneaQ) and component.valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/YesNo))
      closureMethods
         arterialAccessClosureMethodObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014074 and valueString.exists())
         closureMethodUdihttp://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device
      preprocedureLabs
         hemoglobinhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
         creatininehttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
         troponinIhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab, http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
         totalCholesterolhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
         highDensityLipoproteinhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
      postprocedureLabs
         hemoglobinhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
         creatininehttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
         troponinIhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab, http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
      cathLabVisit
         chestPainSymptomAssessmentObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100001274 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ChestPainSymptomAssessment))
         cardiovascularInstabilitytypeObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014004 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/CardiacInstabilityType))
         ventricularSupportObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100001276 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/VentricularSupport))
         pharmacologicVasopressorSupportObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100001277 and valueBoolen.exists())
         mechanicalVentricularSupportTimingObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100001277 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/MechanicalVentricularSupportTiming))
         evaluationForSurgeryTypeObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014009 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/MechanicalVentricularSupportTiming))
         functionalCapacityObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142418 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/FunctionalCapacity))
         surgicalRiskObservation.where( code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142420 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/SurgicalRisk))
         solidOrganTransplantdonorObservation
         valvularDiseaseStenosisObservation.where(Observation.valueCodeableConcept.exists() or Observation.valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ValvularDiseaseStenosisSeverity)
         valvularDiseaseRegurgitationObservation.where(Observation.valueCodeableConcept.exists() or Observation.valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ValvularDiseaseRegurgitationSeverity)
      coronaryAnatomy
         nativeVessel
            lesionSegmentNumberObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012984 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/LesionSegmentNumber)
            coronaryVesselStenosisObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012981 and valueQuantity.exists())
            adjunctiveMeasurementsObtainedObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012979 and valueBoolean.exists()
            instantaneousWaveFreeRatioObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012980 and valueBoolean.exists())
         graftVessel
            lesionSegmentNumberObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012984 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/LesionSegmentNumber))
            coronaryVesselStenosisObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012982 and valueQuantity.exists())
            cabgObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012983 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/GraftVesselCABGVessel))
            adjunctiveMeasurementsObtainedObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012982 and valueBoolean.exists())
            instantaneousWaveFreeRatioObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012980 and valueBoolean.exists())
      pciProcedure
         pciStatusObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012986 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PCIStatus))
         hypothermiaInducedProcedure.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013039 and valueDateTime.exists())
         decisionForPciWithSurgicalConsultObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142366 and valueBoolean.exists())
         cardiovascularTreatmentDecisionObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142367 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/CardiovascularTreatmentDecision))
         pciForMultivesselDiseaseObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013007 and valueBoolean.exists())
         multiVesselProcedureTypeObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013008 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/MultivesselProcedureType))
         percutaneousCoronaryInterventionIndicationObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100000880 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PCIIndications))
         acuteCoronarySyndromeSymptomObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013003 and valueDateTime.exists())
         syntaxScoreObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=10001424796 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/SyntaxScore))
         stemiOrStemiEquivalentFirstNotedObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100000180 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/STEMIFirstNoted))
         subsequentEcgWithStemiOrStemiEquivalentObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012995 and valueDateTime.exists())
         subsequentEcgObtainedInEmergencyDepartmentObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012995 and valueBoolean.exists())
         patientTransferredInForImmediatePciForStemiObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014084 and valueBoolean.exists())
         emergencyDepartmentPresentationAtReferringFacilityObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012999 and valueDateTime.exists())
         firstDeviceActivationObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012993 and valueDateTime.exists())
         patientCenteredReasonForDelayInPciObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012993 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/PatientCenteredReasonforDelay))
         pciOperatorhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
         arterialAccessSiteObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014079 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/ArterialAccessSite))
         mechanicalVentilatorSupportObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014009 and valueBoolean.exists())
         mechanicalVentilatorSupportDeviceObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100001278 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/VentricularSupportDeviceType))
         pciProcedureMedicationCodeMedicationStatement
         lesionsAndDevices
            lesionCounterObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142441 and valueQuantity.exists())
            nativeLesionSegmentNumberObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100012984 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/LesionSegmentNumber))
            culpritStenosisObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=371895000 and valueBoolean.exists())
            stenosisImmediatelyPriorToTreatmentObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142442 and valueQuantity.exists())
            chronicTotalOcclusionObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100000290 and valueBoolean.exists())
            timiFlowPreInterventionObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=112000000348 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/TIMIFlow))
            previouslyTreatedLesionObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013015 and valueDateTime.exists())
            inStentRestenosisObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013014 and valueBoolean.exists())
            inStentThrombosisObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013014 and valueBoolean.exists())
            stentTypeObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100000856 and valueCodableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/StentType))
            lesionInGraftObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142443 and valueBoolean.exists())
            typeOfCabgGraftObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013028 and valueCodableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/CABGType))
            locationInGraftObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013028 and valueCodableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/LocationInGraft))
            navigateThroughGraftToNativeLesionObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142348 and valueBoolean.exists())
            lesionComplexityObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100000866 and valueCodableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/LesionComplexity))
            lesionLengthObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013030 and valueQuantity.exists())
            severeCalcificationObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142350 and valueBoolean.exists())
            guidewireAcrossLesionObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100000851 and valueBoolean.exists())
            deviceDeployedObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142349 and valueBoolean.exists())
            postInterventionStenosisObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142461 and valueQuantity.exists())
            postInterventionTimiFlowObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013016 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/TIMIFlow))
         intracoronaryDevices
            devicehttp://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device
         intraAndPostProcedureEvents
            eventObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=1000142478 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/IntraAndPostEvents) and effectiveDateTime.exists())
            significantCoronaryArteryDissectionObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100000883 and valueBoolean.exists())
            numberOfUnitsOfPrbcsTransfusedObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014031 and valueQuantity.exists()) and effectiveDateTime.exists()
   discharge
      interventionsThisHospitalizationObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100001284 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/InterventionTypes)
      cabgStatusObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014080 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/CABGStatus), Observation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100001289 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/CABGIndication)
      dischargeProviderhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
      transferredForCabgObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100001296 and valueBoolean.exists())
      cabgPlannedAfterDischargeObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=10001424792 and valueBoolean.exists())
      cardiacRehabilitationReferralObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014067 and valueCodeableConcept.memberOf(http://hl7.org/fhir/us/fhir-registry-protocols-ig/ValueSet/CardiacRehabilitationReferral))
      deathDuringTheProcedureObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100014067 and valueBoolean.exists())
      dischargeMedicationReconciliationCompletedObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013084 and valueBoolean.exists())
      dischargeMedicationsReconciledObservation.where(code.coding.system='http://hl7.org/fhir/us/fhir-registry-protocols-ig/CodeSystem/NCDRQuestionCodesCS' and code.coding.code=100013085 and valueBoolean.exists())