## Profile Comparison between http://hl7.org/fhir/us/directory-attestation/StructureDefinition/NatlDirEx-restriction vs http://hl7.org/fhir/us/directory-attestation/StructureDefinition/NatlDirEx-restriction

Left: | NatlDirEx Restriction (http://hl7.org/fhir/us/directory-attestation/StructureDefinition/NatlDirEx-restriction)
Right: | NatlDirEx Restriction (http://hl7.org/fhir/us/directory-attestation/StructureDefinition/NatlDirEx-restriction)

### Messages

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Consent |
copyright |  |
date | 2017-12-15T01:01:31.325+11:00 |
description | Restriction on use/release of exchanged information |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | NatlDirAttestUsageRestriction |
publisher | HL7 Patient Administration Working Group |
purpose |  |
status | active |
title | NatlDirEx Restriction |
type | Consent |
url | http://hl7.org/fhir/us/directory-attestation/StructureDefinition/NatlDirEx-restriction |
version | 1.0.0-ballot |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | L Type | L Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Consent | C | 0..* | Consent | A policy may permit or deny recipients or roles to perform actions for specific purposes and periods of time | C | 0..* | Consent | A policy may permit or deny recipients or roles to perform actions for specific purposes and periods of time |
id | Σ | 0..1 | string | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
|  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
status | ?!S Σ | 1..1 | code | Indicates the current state of this restriction Binding: ConsentState (required): Indicates the state of the consent. | ?!S Σ | 1..1 | code | Indicates the current state of this restriction Binding: ConsentState (required): Indicates the state of the consent. |
scope | ?!S Σ | 1..1 | CodeableConcept | Which of the four areas this resource covers (extensible) Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. | ?!S Σ | 1..1 | CodeableConcept | Which of the four areas this resource covers (extensible) Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. |
category | S Σ | 1..* | CodeableConcept | Type of restriction Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement. | S Σ | 1..* | CodeableConcept | Type of restriction Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement. |
patient | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
dateTime | S Σ | 0..1 | dateTime | date/time of last update for this restriction | S Σ | 0..1 | dateTime | date/time of last update for this restriction |
performer | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
organization | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
source[x] | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
policy | S | 0..* | BackboneElement | Policies covered by this consent | S | 0..* | BackboneElement | Policies covered by this consent |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
authority | S C | 0..0 |  |  | S C | 0..0 |  |  |
uri | S C | 0..1 | uri | Specific policy covered by this restriction | S C | 0..1 | uri | Specific policy covered by this restriction |
policyRule | Σ C | 0..1 | CodeableConcept | Regulation that this consents to Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples. | Σ C | 0..1 | CodeableConcept | Regulation that this consents to Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples. |
verification | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
verified | S Σ | 1..1 | boolean | Has been verified | S Σ | 1..1 | boolean | Has been verified |
verifiedWith | S | 0..1 | Reference(Patient | RelatedPerson) | Person who verified | S | 0..1 | Reference(Patient | RelatedPerson) | Person who verified |
verificationDate | S | 0..1 | dateTime | When consent verified | S | 0..1 | dateTime | When consent verified |
provision | S Σ | 0..1 | BackboneElement | Access rights | S Σ | 0..1 | BackboneElement | Access rights |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | S Σ | 0..1 | code | deny | permit Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent. Fixed Value: permit | S Σ | 0..1 | code | deny | permit Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent. Fixed Value: permit |
period | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
actor | S | 1..* | BackboneElement | Who|what controlled by this rule (or group, by role) | S | 1..* | BackboneElement | Who|what controlled by this rule (or group, by role) |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
role | S | 1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. | S | 1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. |
reference | S | 1..1 | Reference(Organization | CareTeam | Practitioner) | definedUserOrGroup | S | 1..1 | Reference(Organization | CareTeam | Practitioner) | definedUserOrGroup |
action | S Σ | 0..1 | CodeableConcept | reasonType Binding: ConsentActionCodes (example): Detailed codes for the consent action. | S Σ | 0..1 | CodeableConcept | reasonType Binding: ConsentActionCodes (example): Detailed codes for the consent action. |
securityLabel | S Σ | 0..* | Coding | userType Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | S Σ | 0..* | Coding | userType Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
purpose | S Σ | 0..* | Coding | reasonName Binding: PurposeOfUse (extensible): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels. | S Σ | 0..* | Coding | reasonName Binding: PurposeOfUse (extensible): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels. |
class | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
code | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
dataPeriod | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
data | S Σ | 0..0 |  |  | S Σ | 0..0 |  |  |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
meaning | S Σ | 1..1 | code | instance | related | dependents | authoredby Binding: ConsentDataMeaning (required): How a resource reference is interpreted when testing consent restrictions. | S Σ | 1..1 | code | instance | related | dependents | authoredby Binding: ConsentDataMeaning (required): How a resource reference is interpreted when testing consent restrictions. |
reference | S Σ | 1..1 | Reference(Resource) | The actual data reference | S Σ | 1..1 | Reference(Resource) | The actual data reference |
provision | S | 0..0 |  |  | S | 0..0 |  |  |
Documentation for this format