description: Explicit Intermediate Consent \n\n- all elements allowed by Basic are allowed here, plus the following\n- restriction at the root `.provision` apply to the whole Consent\n - restrictions at the `.provision.provision` are exceptions to the base consent\n - no `.provision.provision.provisions` are allowed\n- data authored in a timeframe is specified in the `.dataPeriod` element\n- explicit data objects are indicated in the `.data` element with `.meaning` of `#instance`\n- data with relationship to an object are indicated in a `.data` element with `.meaning` of `#related`\n- data authored by a given actor is indicated in the `.data` element with `.meaning` of `#authoredby`\n- purposes of use activities are indicated in the `.purpose` element\n- `securityLabel` is not allowed, see Advanced package_name: ihe.iti.pcf derivation: constraint name: IntermediateConsent type: Consent elements: patient: {index: 1} provision: mustSupport: true index: 9 elements: provision: type: BackboneElement mustSupport: true index: 29 elements: purpose: {mustSupport: true, index: 30} dataPeriod: {mustSupport: true, index: 31} data: mustSupport: true index: 32 slicing: rules: closed discriminator: - {path: meaning, type: value} min: null slices: iDataP: match: {meaning: instance} schema: index: 33 elements: meaning: pattern: {type: Code, value: instance} index: 34 rDataP: match: {meaning: related} schema: index: 35 elements: meaning: pattern: {type: Code, value: related} index: 36 reference: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare'] index: 37 aDataP: match: {meaning: authoredby} schema: index: 38 elements: meaning: pattern: {type: Code, value: authoredby} index: 39 reference: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 40 provision: {index: 41} purpose: {mustSupport: true, index: 16} dataPeriod: {mustSupport: true, index: 19} type: {index: 10} class: {index: 17} code: {index: 18} action: {index: 14} period: {mustSupport: true, index: 11} securityLabel: {index: 15} actor: mustSupport: true index: 12 elements: role: pattern: type: CodeableConcept value: coding: - {code: IRCP, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} index: 13 data: mustSupport: true index: 20 slicing: rules: closed discriminator: - {path: meaning, type: value} min: null slices: iData: match: {meaning: instance} schema: array: true index: 21 elements: meaning: pattern: {type: Code, value: instance} index: 22 rData: match: {meaning: related} schema: array: true index: 23 elements: meaning: pattern: {type: Code, value: related} index: 24 reference: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare'] index: 25 aData: match: {meaning: authoredby} schema: array: true index: 26 elements: meaning: pattern: {type: Code, value: authoredby} index: 27 reference: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 28 required: [type] organization: {index: 4} verification: {index: 8} source: choices: [] index: 6 scope: pattern: type: CodeableConcept value: coding: - {code: patient-privacy, system: 'http://terminology.hl7.org/CodeSystem/consentscope'} index: 0 policy: elements: uri: {index: 7} required: [uri] dateTime: {index: 2} performer: {index: 3} package_version: 1.1.0 class: profile kind: resource url: https://profiles.ihe.net/ITI/PCF/StructureDefinition/IHE.PCF.consentIntermediate base: http://hl7.org/fhir/StructureDefinition/Consent version: 1.1.0 required: [dateTime, source, patient, provision, organization, performer]