description: CPG case represents a specific case of a patient enrolled in a particular pathway. The enrollment may have been automatic, prompted, or manual. package_name: hl7.fhir.uv.cpg.r4 derivation: constraint name: CPGCase type: EpisodeOfCare elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: enrolledIn: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrolledIn', index: 1} min: 0 type: binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/episodeofcare-type'} index: 2 diagnosis: index: 3 elements: condition: type: Reference refers: ['http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-condition'] index: 4 patient: type: Reference refers: ['http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-patient'] index: 5 period: {mustSupport: true, index: 6} package_version: 2.0.0 extensions: enrolledIn: {url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrolledIn', min: 0, type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-case base: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare version: 2.0.0 required: [diagnosis]