description: 'This profile represents the constraints applied to the Composition resource by the International Patient Summary (IPS) for use within the SMART Guidelines\n\nNote: The profile expects atleast one SMART Consent entry to be present within Advance Directives section' package_name: smart.who.int.ph4h derivation: constraint name: SmartIPSComposition type: Composition elements: section: array: true min: 4 index: 0 slicing: slices: sectionAdvanceDirectives: match: {} schema: _required: true index: 1 elements: entry: constraint: containsSmartConsent-cmp2: {human: At least one entry of consent must be SmartConsent, source: 'http://smart.who.int/ph4h/StructureDefinition/SmartIPSComposition', severity: error, expression: 'reference.resolve().where(conformsTo(''http://smart.who.int/ph4h/StructureDefinition/SmartConsent'')).exists()'} index: 2 package_version: 0.9.9 class: profile kind: resource url: http://smart.who.int/ph4h/StructureDefinition/SmartIPSComposition base: http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips version: 0.9.9