description: A collection of data for an mCODE cancer patient. package_name: hl7.fhir.us.mcode derivation: constraint name: MCODEPatientBundle type: Bundle elements: type: pattern: {type: Code, value: collection} index: 0 timestamp: {mustSupport: true, index: 1} entry: mustSupport: true index: 2 elements: resource: {mustSupport: true, index: 3} required: [resource] slicing: rules: open description: Slicing based on the resource type discriminator: - {path: resource, type: type} min: 1 slices: mcodeDiagnosticReports: match: {} schema: short: 'FHIR Diagnostic Report Resources, if they exist for the patient, including but not limited to: GenomicsReport.' mustSupport: true array: true index: 14 elements: resource: {type: DiagnosticReport, index: 15} mcodeProcedures: match: {} schema: short: 'FHIR Procedure Resources, if they exist for the patient, including but not limited to: CancerRelatedSurgicalProcedure and RadiotherapyCourseSummary.' mustSupport: true array: true index: 18 elements: resource: {type: Procedure, index: 19} mcodeBodyStructures: match: {} schema: short: 'FHIR BodyStructure Resources, if they exist for the patient, including but not limited to: RadiotherapyVolume and Tumor.' mustSupport: true array: true index: 20 elements: resource: {type: BodyStructure, index: 21} cancerPatient: match: {} schema: short: Cancer Patient mustSupport: true _required: true index: 4 elements: resource: {type: Patient, index: 5} mcodeSpecimens: match: {} schema: short: 'FHIR Specimen Resources, if they exist for the patient, including but not limited to: HumanSpecimen.' mustSupport: true array: true index: 16 elements: resource: {type: Specimen, index: 17} mcodeMedicationAdministrations: match: {} schema: short: 'FHIR Medication Administration Resources, if they exist for the patient, including but not limited to: CancerRelatedMedicationAdministration.' mustSupport: true array: true index: 10 elements: resource: {type: MedicationAdministration, index: 11} mcodeConditions: match: {} schema: short: 'FHIR Condition Resources, if they exist for the patient, including but not limited to: PrimaryCancerCondition, SecondaryCancerCondition, and HistoryOfMetastaticCancer.' mustSupport: true array: true index: 8 elements: resource: {type: Condition, index: 9} mcodeMedicationRequests: match: {} schema: short: 'FHIR Medication Request Resources, if they exist for the patient, including but not limited to: CancerRelatedMedicationRequest.' mustSupport: true array: true index: 12 elements: resource: {type: MedicationRequest, index: 13} mcodeObservations: match: {} schema: short: 'FHIR Observation Resources, if they exist for the patient, including but not limited to: CancerDiseaseStatus, CancerStage (TNM and non-TNM), Comorbidities, ECOGPerformanceStatus, GenomicRegionStudied, GenomicVariant, KarnofskyPerformanceStatus, TumorMarkerTest, TumorSize, and USCoreVitalSigns.' mustSupport: true array: true index: 6 elements: resource: {type: Observation, index: 7} package_version: 4.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-patient-bundle base: http://hl7.org/fhir/StructureDefinition/Bundle version: 4.0.0-ballot required: [entry]