{
  "resourceType": "StructureDefinition",
  "id": "CaregiverPatientConsent",
  "url": "https://novoheal.my/fhir/StructureDefinition/CaregiverPatientConsent",
  "name": "CaregiverPatientConsent",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Consent",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Consent",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Consent.status",
        "path": "Consent.status",
        "definition": "caregiver consent request status: proposed"
      },
      {
        "id": "Consent.scope",
        "path": "Consent.scope",
        "fixedCodeableConcept": {
          "coding": [
            {
              "code": "patient-privacy",
              "display": "Privacy Consent"
            }
          ]
        }
      },
      {
        "id": "Consent.category",
        "path": "Consent.category",
        "fixedCodeableConcept": {
          "coding": [
            {
              "code": "ICOL",
              "display": "information collection"
            }
          ]
        }
      },
      {
        "id": "Consent.policyRule",
        "path": "Consent.policyRule",
        "fixedCodeableConcept": {
          "coding": [
            {
              "code": "hipaa-npp",
              "display": "HIPAA Notice of Privacy Practices"
            }
          ]
        }
      },
      {
        "id": "Consent.policyRule.text",
        "path": "Consent.policyRule.text",
        "short": "Consent request",
        "definition": "Dear {Patient Name},\r\nI, {Caregiver Name} from {Organization Name}, am requesting your permission to access and update your healthcare records.\r\n\r\nThis access will help us provide you with better healthcare services, such as:\r\nMonitoring your vital signs and symptoms.\r\nUpdating your health records for accurate medical tracking.\r\n\r\nYour information will be handled in compliance with HIPAA regulations, ensuring confidentiality and secure handling.\r\n\r\nDuration of Access: 90 Days\r\nPurpose of Access: For providing healthcare services and updating medical records.\r\n\r\nNote: You can revoke your consent at any time by accessing the settings in this app"
      }
    ]
  }
}