description: Represents a flag on a patient record within the context of a computable clinical practice guideline package_name: hl7.fhir.uv.cpg.r4 derivation: constraint name: CPGFlag type: Flag elements: category: {mustSupport: true, index: 7} encounter: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-encounter'] index: 11 author: {mustSupport: true, index: 12} extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: instantiatesCaseFeature: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-instantiatesCaseFeature', index: 1} min: 0 max: 1 caseFeatureType: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeatureType', index: 2} min: 0 max: 1 caseFeaturePertinence: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeaturePertinence', index: 3} min: 0 max: 1 pertinent: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinent', index: 4} min: 0 status: {mustSupport: true, index: 6} code: {mustSupport: true, index: 8} identifier: {mustSupport: true, index: 5} period: {mustSupport: true, index: 10} subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-patient'] index: 9 package_version: 2.0.0-ballot extensions: instantiatesCaseFeature: {url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-instantiatesCaseFeature', min: 0, max: 1, type: Extension, mustSupport: true, index: 1} caseFeatureType: {url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeatureType', min: 0, max: 1, type: Extension, mustSupport: true, index: 2} caseFeaturePertinence: {url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeaturePertinence', min: 0, max: 1, type: Extension, mustSupport: true, index: 3} pertinent: {url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-pertinent', min: 0, type: Extension, mustSupport: true, index: 4} class: profile kind: resource url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-flag base: http://hl7.org/fhir/StructureDefinition/Flag version: 2.0.0-ballot required: [category]