// RareLink Consent
{
"resourceType" : "Consent",
"id" : "<id>", // Logical id of this artifact
"meta" : {Meta}, // C? Metadata about the resource
"implicitRules" : "<uri>", // C? A set of rules under which this content was created
"language" : "<code>", // C? Language of the resource content
"text" : {Narrative}, // C? Text summary of the resource, for human interpretation
"contained" : [{Resource}], // Contained, inline Resources
"extension": [
{ // C? Only One! Consent to Reuse Data
"url": "https://github.com/BIH-CEI/RareLink/StructureDefinition/consent-to-reuse-data",
"valueCodeableConcept" : {CodeableConcept} // C? Value of extension
},
{ // C? Only One! Agreement to Be Contacted
"url": "https://github.com/BIH-CEI/RareLink/StructureDefinition/agreement-to-be-contacted",
"valueCodeableConcept" : {CodeableConcept} // C? Value of extension
}
],
"identifier" : [{Identifier}], // C? Identifier for this record (external references)
"status" : "<code>", // C? R! draft | proposed | active | rejected | inactive | entered-in-error
"scope" : { // C? R! Which of the four areas this resource covers (extensible)
"extension": [
],
"coding" : [{ // C? Code defined by a terminology system
"extension": [
],
"system" : "<uri>", // C? Identity of the terminology system
"version" : "<string>", // C? Version of the system - if relevant
"code" : "<code>", // C? Symbol in syntax defined by the system
"display" : "<string>", // C? Representation defined by the system
"userSelected" : <boolean> // C? If this coding was chosen directly by the user
}],
"text" : "<string>" // C? Plain text representation of the concept
},
"category" : [{ // C? R! Only One! Classification of the consent statement - for indexing/retrieval
"extension": [
],
"coding" : [{ // C? Code defined by a terminology system
"extension": [
],
"system" : "<uri>", // C? Identity of the terminology system
"version" : "<string>", // C? Version of the system - if relevant
"code" : "<code>", // C? Symbol in syntax defined by the system
"display" : "<string>", // C? Representation defined by the system
"userSelected" : <boolean> // C? If this coding was chosen directly by the user
}],
"text" : "<string>" // C? Plain text representation of the concept
}],
"patient" : { // C? R! Who the consent applies to
"extension": [
],
"reference" : "<string>", // C? Literal reference, Relative, internal or absolute URL
"type" : "<uri>", // C? Type the reference refers to (e.g. "Patient")
"identifier" : {Identifier}, // C? Logical reference, when literal reference is not known
"display" : "<string>" // C? Text alternative for the resource
},
"dateTime" : "<dateTime>", // C? When this Consent was created or indexed
"performer" : [{Reference(Organization)}], // C? Who is agreeing to the policy and rules
"organization" : [{Reference(Organization)}], // C? Custodian of the consent
// source[x]: Source from which this consent is taken. One of these 2:
"sourceAttachment" : {Attachment}, // C? Source from which this consent is taken
"sourceReference" : {Reference(Consent)}, // C? Source from which this consent is taken
"policy" : [{ // C? R! Only One! Policies covered by this consent
"extension": [
],
"authority" : "<uri>", // C? Enforcement source for policy
"uri" : "<uri>", // C? Specific policy covered by this consent
}],
"policyRule" : {CodeableConcept}, // C? Regulation that this consents to
"verification" : [{ // C? Consent Verified by patient or family
"extension": [
],
"verified" : <boolean>, // C? R! Has been verified
"verifiedWith" : {Reference(Patient)}, // C? Person who verified
"verificationDate" : "<dateTime>", // C? When consent verified
}],
"provision" : { // C? Constraints to the base Consent.policyRule
"extension": [
],
"type" : "<code>", // C? deny | permit
"period" : {Period}, // C? Timeframe for this rule
"actor" : [{ // C? Who|what controlled by this rule (or group, by role)
"extension": [
],
"role" : {CodeableConcept}, // C? R! How the actor is involved
"reference" : {Reference(Device)}, // C? R! Resource for the actor (or group, by role)
}],
"action" : [{CodeableConcept}], // C? Actions controlled by this rule
"securityLabel" : [{Coding}], // C? Security Labels that define affected resources
"purpose" : [{Coding}], // C? Context of activities covered by this rule
"class" : [{Coding}], // C? e.g. Resource Type, Profile, CDA, etc.
"code" : [{CodeableConcept}], // C? e.g. LOINC or SNOMED CT code, etc. in the content
"dataPeriod" : {Period}, // C? Timeframe for data controlled by this rule
"data" : [{ // C? Data controlled by this rule
"extension": [
],
"meaning" : "<code>", // C? R! instance | related | dependents | authoredby
"reference" : {Reference(Resource)}, // C? R! The actual data reference
}],
"provision" : [<n/a>], // C? Nested Exception Rules
},
}