DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R3 R2

7.11.9.2 StructureDefinition: ConsentDirective

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/consentdirective

Consent Directive

This profile was published on Fri, Jan 31, 2014 00:00+1100 as a draft by Health Level Seven International (Community Based Collaborative Care).

7.11.9.2.1 Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Contract.

Summary

Mandatory: 1 element (+8 nested mandatory elements)
Prohibited: 2 elements

This structure is derived from Contract.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Contract 0..*ContractConsent Directive
... identifier 0..1IdentifierConsent Directive identifier
... issued 0..1dateTimeWhen this Consent Directive was issued
... applies 0..1PeriodEffective time
... subject 0..*Reference(Resource)Subject of this Consent Directive
... authority 0..*Reference(Organization)Authority under which this Consent Directive has standing
... domain 0..*Reference(Location)Domain in which this Consent Directive applies
... type 0..1CodeableConceptConsent Directive Type
... subType 0..*CodeableConceptConsent Directive Subtype
... action 0..*CodeableConceptConsent Directive Action
... actionReason 0..*CodeableConceptConsent Directive Action Reason
... actor 0..*BackboneElementConsent Directive Actor
.... entity 1..1Reference(Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance)Consent Directive Actor Type
.... role 0..*CodeableConceptConsent Directive Actor Role
... valuedItem 0..0
... signer 0..*BackboneElementConsent Directive Signer
.... type 1..1CodingConsent Directive Signer Type
.... party 1..1Reference(Organization | Patient | Practitioner | RelatedPerson)Consent Directive Signatory party
.... signature 1..1stringConsent Directive Documentation Signature
... term 0..*BackboneElementConsent Directive Term List
.... identifier 0..1IdentifierConsent Directive Term identifier
.... issued 0..1dateTimeConsent Directive Term Issue Date Time
.... applies 0..1PeriodConsent Directive Term Effective Time
.... type 0..1CodeableConceptConsent Directive Term Type
.... subType 0..1CodeableConceptConsent Directive Term Subtype
.... subject 0..1Reference(Resource)Subject of this Consent Directive Term
.... action 0..*CodeableConceptConsent Directive Term Action
.... actionReason 0..*CodeableConceptConsent Directive Term Action Reason
.... actor 0..*BackboneElementConsent Directive Term Actor List
..... entity 1..1Reference(Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance)Consent Directive Term Actor
..... role 0..*CodeableConceptConsent Directive Term Actor Role
.... text 0..1stringHuman readable Consent Directive term text
.... valuedItem 0..0
.... group 0..*Nested Consent DirectiveTerm Group
... binding[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Binding Consent Directive
... friendly 0..*BackboneElementConsent Directive Friendly Language
.... content[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Easily comprehended representation of this Consent Directive
... legal 0..*BackboneElementConsent Directive Legal Language
.... content[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Consent Directive Legal Text
... rule 0..*BackboneElementComputable Consent Directive Language
.... content[x] 1..1Attachment, Reference(DocumentReference)Computable Consent Directive Rules

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Contract 0..*ContractConsent Directive
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..1IdentifierConsent Directive identifier
... issued 0..1dateTimeWhen this Consent Directive was issued
... applies 0..1PeriodEffective time
... subject 0..*Reference(Resource)Subject of this Consent Directive
... authority 0..*Reference(Organization)Authority under which this Consent Directive has standing
... domain 0..*Reference(Location)Domain in which this Consent Directive applies
... type 0..1CodeableConceptConsent Directive Type
Binding: Contract Type Codes (example)
... subType 0..*CodeableConceptConsent Directive Subtype
Binding: Contract Subtype Codes (example)
... action 0..*CodeableConceptConsent Directive Action
Binding: Contract Action Codes (example)
... actionReason 0..*CodeableConceptConsent Directive Action Reason
Binding: PurposeOfUse (example)
... actor 0..*BackboneElementConsent Directive Actor
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... entity 1..1Reference(Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance)Consent Directive Actor Type
.... role 0..*CodeableConceptConsent Directive Actor Role
Binding: Contract Actor Role Codes (example)
... signer 0..*BackboneElementConsent Directive Signer
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... type 1..1CodingConsent Directive Signer Type
Binding: Signature Type Codes (preferred)
.... party 1..1Reference(Organization | Patient | Practitioner | RelatedPerson)Consent Directive Signatory party
.... signature 1..1stringConsent Directive Documentation Signature
... term 0..*BackboneElementConsent Directive Term List
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... identifier 0..1IdentifierConsent Directive Term identifier
.... issued 0..1dateTimeConsent Directive Term Issue Date Time
.... applies 0..1PeriodConsent Directive Term Effective Time
.... type 0..1CodeableConceptConsent Directive Term Type
Binding: Contract Term Type Codes (example)
.... subType 0..1CodeableConceptConsent Directive Term Subtype
Binding: Contract Term Type Codes (example)
.... subject 0..1Reference(Resource)Subject of this Consent Directive Term
.... action 0..*CodeableConceptConsent Directive Term Action
Binding: Contract Action Codes (example)
.... actionReason 0..*CodeableConceptConsent Directive Term Action Reason
Binding: PurposeOfUse (example)
.... actor 0..*BackboneElementConsent Directive Term Actor List
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... entity 1..1Reference(Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance)Consent Directive Term Actor
..... role 0..*CodeableConceptConsent Directive Term Actor Role
Binding: Contract Actor Role Codes (example)
.... text 0..1stringHuman readable Consent Directive term text
.... group 0..*Nested Consent DirectiveTerm Group
... binding[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Binding Consent Directive
... friendly 0..*BackboneElementConsent Directive Friendly Language
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... content[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Easily comprehended representation of this Consent Directive
... legal 0..*BackboneElementConsent Directive Legal Language
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... content[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Consent Directive Legal Text
... rule 0..*BackboneElementComputable Consent Directive Language
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... content[x] 1..1Attachment, Reference(DocumentReference)Computable Consent Directive Rules

doco Documentation for this format

todo

This structure is derived from Contract.

Summary

Mandatory: 1 element (+8 nested mandatory elements)
Prohibited: 2 elements

Differential View

This structure is derived from Contract.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Contract 0..*ContractConsent Directive
... identifier 0..1IdentifierConsent Directive identifier
... issued 0..1dateTimeWhen this Consent Directive was issued
... applies 0..1PeriodEffective time
... subject 0..*Reference(Resource)Subject of this Consent Directive
... authority 0..*Reference(Organization)Authority under which this Consent Directive has standing
... domain 0..*Reference(Location)Domain in which this Consent Directive applies
... type 0..1CodeableConceptConsent Directive Type
... subType 0..*CodeableConceptConsent Directive Subtype
... action 0..*CodeableConceptConsent Directive Action
... actionReason 0..*CodeableConceptConsent Directive Action Reason
... actor 0..*BackboneElementConsent Directive Actor
.... entity 1..1Reference(Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance)Consent Directive Actor Type
.... role 0..*CodeableConceptConsent Directive Actor Role
... valuedItem 0..0
... signer 0..*BackboneElementConsent Directive Signer
.... type 1..1CodingConsent Directive Signer Type
.... party 1..1Reference(Organization | Patient | Practitioner | RelatedPerson)Consent Directive Signatory party
.... signature 1..1stringConsent Directive Documentation Signature
... term 0..*BackboneElementConsent Directive Term List
.... identifier 0..1IdentifierConsent Directive Term identifier
.... issued 0..1dateTimeConsent Directive Term Issue Date Time
.... applies 0..1PeriodConsent Directive Term Effective Time
.... type 0..1CodeableConceptConsent Directive Term Type
.... subType 0..1CodeableConceptConsent Directive Term Subtype
.... subject 0..1Reference(Resource)Subject of this Consent Directive Term
.... action 0..*CodeableConceptConsent Directive Term Action
.... actionReason 0..*CodeableConceptConsent Directive Term Action Reason
.... actor 0..*BackboneElementConsent Directive Term Actor List
..... entity 1..1Reference(Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance)Consent Directive Term Actor
..... role 0..*CodeableConceptConsent Directive Term Actor Role
.... text 0..1stringHuman readable Consent Directive term text
.... valuedItem 0..0
.... group 0..*Nested Consent DirectiveTerm Group
... binding[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Binding Consent Directive
... friendly 0..*BackboneElementConsent Directive Friendly Language
.... content[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Easily comprehended representation of this Consent Directive
... legal 0..*BackboneElementConsent Directive Legal Language
.... content[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Consent Directive Legal Text
... rule 0..*BackboneElementComputable Consent Directive Language
.... content[x] 1..1Attachment, Reference(DocumentReference)Computable Consent Directive Rules

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Contract 0..*ContractConsent Directive
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..1IdentifierConsent Directive identifier
... issued 0..1dateTimeWhen this Consent Directive was issued
... applies 0..1PeriodEffective time
... subject 0..*Reference(Resource)Subject of this Consent Directive
... authority 0..*Reference(Organization)Authority under which this Consent Directive has standing
... domain 0..*Reference(Location)Domain in which this Consent Directive applies
... type 0..1CodeableConceptConsent Directive Type
Binding: Contract Type Codes (example)
... subType 0..*CodeableConceptConsent Directive Subtype
Binding: Contract Subtype Codes (example)
... action 0..*CodeableConceptConsent Directive Action
Binding: Contract Action Codes (example)
... actionReason 0..*CodeableConceptConsent Directive Action Reason
Binding: PurposeOfUse (example)
... actor 0..*BackboneElementConsent Directive Actor
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... entity 1..1Reference(Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance)Consent Directive Actor Type
.... role 0..*CodeableConceptConsent Directive Actor Role
Binding: Contract Actor Role Codes (example)
... signer 0..*BackboneElementConsent Directive Signer
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... type 1..1CodingConsent Directive Signer Type
Binding: Signature Type Codes (preferred)
.... party 1..1Reference(Organization | Patient | Practitioner | RelatedPerson)Consent Directive Signatory party
.... signature 1..1stringConsent Directive Documentation Signature
... term 0..*BackboneElementConsent Directive Term List
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... identifier 0..1IdentifierConsent Directive Term identifier
.... issued 0..1dateTimeConsent Directive Term Issue Date Time
.... applies 0..1PeriodConsent Directive Term Effective Time
.... type 0..1CodeableConceptConsent Directive Term Type
Binding: Contract Term Type Codes (example)
.... subType 0..1CodeableConceptConsent Directive Term Subtype
Binding: Contract Term Type Codes (example)
.... subject 0..1Reference(Resource)Subject of this Consent Directive Term
.... action 0..*CodeableConceptConsent Directive Term Action
Binding: Contract Action Codes (example)
.... actionReason 0..*CodeableConceptConsent Directive Term Action Reason
Binding: PurposeOfUse (example)
.... actor 0..*BackboneElementConsent Directive Term Actor List
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
..... entity 1..1Reference(Contract | Device | Group | Location | Organization | Patient | Practitioner | RelatedPerson | Substance)Consent Directive Term Actor
..... role 0..*CodeableConceptConsent Directive Term Actor Role
Binding: Contract Actor Role Codes (example)
.... text 0..1stringHuman readable Consent Directive term text
.... group 0..*Nested Consent DirectiveTerm Group
... binding[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Binding Consent Directive
... friendly 0..*BackboneElementConsent Directive Friendly Language
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... content[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Easily comprehended representation of this Consent Directive
... legal 0..*BackboneElementConsent Directive Legal Language
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... content[x] 1..1Attachment, Reference(Composition), Reference(DocumentReference), Reference(QuestionnaireResponse)Consent Directive Legal Text
... rule 0..*BackboneElementComputable Consent Directive Language
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... content[x] 1..1Attachment, Reference(DocumentReference)Computable Consent Directive Rules

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

7.11.9.2.2 Terminology Bindings

PathNameConformanceValueSet
Contract.language?extrequiredhttp://tools.ietf.org/html/bcp47
Contract.typeContract Type CodesexampleContract Type Codes
Contract.subTypeContract Subtype CodesexampleContract Subtype Codes
Contract.actionContract Action CodesexampleContract Action Codes
Contract.actionReasonPurposeOfUseexamplePurposeOfUse
Contract.actor.roleContract Actor Role CodesexampleContract Actor Role Codes
Contract.signer.typeSignature Type CodespreferredSignature Type Codes
Contract.term.typeContract Term Type CodesexampleContract Term Type Codes
Contract.term.subTypeContract Term Type CodesexampleContract Term Type Codes
Contract.term.actionContract Action CodesexampleContract Action Codes
Contract.term.actionReasonPurposeOfUseexamplePurposeOfUse
Contract.term.actor.roleContract Actor Role CodesexampleContract Actor Role Codes

7.11.9.2.3 Constraints

IdPathDetailsRequirements
qty-3Contract.valuedItem.quantityIf a code for the unit is present, the system SHALL also be present
XPath: not(exists(f:code)) or exists(f:system)
sqty-1Contract.valuedItem.quantityThe comparator is not used on a SimpleQuantity
XPath: not(exists(f:comparator))
qty-3Contract.valuedItem.unitPriceIf a code for the unit is present, the system SHALL also be present
XPath: not(exists(f:code)) or exists(f:system)
mny-1Contract.valuedItem.unitPriceThere SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = "urn:iso:std:iso:4217" - currency).
XPath: (f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')
qty-3Contract.valuedItem.netIf a code for the unit is present, the system SHALL also be present
XPath: not(exists(f:code)) or exists(f:system)
mny-1Contract.valuedItem.netThere SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = "urn:iso:std:iso:4217" - currency).
XPath: (f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')
qty-3Contract.term.valuedItem.quantityIf a code for the unit is present, the system SHALL also be present
XPath: not(exists(f:code)) or exists(f:system)
sqty-1Contract.term.valuedItem.quantityThe comparator is not used on a SimpleQuantity
XPath: not(exists(f:comparator))
qty-3Contract.term.valuedItem.unitPriceIf a code for the unit is present, the system SHALL also be present
XPath: not(exists(f:code)) or exists(f:system)
mny-1Contract.term.valuedItem.unitPriceThere SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = "urn:iso:std:iso:4217" - currency).
XPath: (f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')
qty-3Contract.term.valuedItem.netIf a code for the unit is present, the system SHALL also be present
XPath: not(exists(f:code)) or exists(f:system)
mny-1Contract.term.valuedItem.netThere SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = "urn:iso:std:iso:4217" - currency).
XPath: (f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='urn:iso:std:iso:4217')
.