{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/Consent-BNet-Preg",
  "name": "Consent-BNet-Preg",
  "status": "draft",
  "date": "2025-03-25T15:48:13.0118183Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This consent resource defines whether the pregnant person/woman has asked for their pregnancy record to not be shared by the BadgerNet Spine.",
  "copyright": "(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only.",
  "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",
        "short": "Indicates the current state of this consent resource",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Consent.scope",
        "path": "Consent.scope",
        "short": "Which of the four areas this resource covers",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Consent.scope.coding.system",
        "path": "Consent.scope.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/consentscope"
      },
      {
        "id": "Consent.scope.coding.code",
        "path": "Consent.scope.coding.code",
        "fixedString": "patient-privacy"
      },
      {
        "id": "Consent.scope.coding.display",
        "path": "Consent.scope.coding.display",
        "fixedString": "Privacy Consent"
      },
      {
        "id": "Consent.category",
        "path": "Consent.category",
        "short": "Classification of the consent statement - for indexing/retrieval",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Consent.category.coding.system",
        "path": "Consent.category.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
      },
      {
        "id": "Consent.category.coding.code",
        "path": "Consent.category.coding.code",
        "fixedString": "ICOL"
      },
      {
        "id": "Consent.category.coding.display",
        "path": "Consent.category.coding.display",
        "fixedString": "information collection"
      },
      {
        "id": "Consent.patient",
        "path": "Consent.patient",
        "short": "Reference for the pregnant person/woman",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Consent.provision.type",
        "path": "Consent.provision.type",
        "short": "Action to take - permit or deny - when the rule conditions are met.",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Consent.provision.data.meaning",
        "path": "Consent.provision.data.meaning",
        "short": "How the resource reference is interpreted when testing consent restrictions.",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Consent.provision.data.reference",
        "path": "Consent.provision.data.reference",
        "short": "Reference to the episode of care that this consent relates to",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Consent.extension:doNotShareReason",
        "path": "Consent.extension:doNotShareReason",
        "short": "A reason provided for the do not share request. The extension URL is: https://fhir.clevermed.com/StuctureDefinition/Consent-doNotShareReason",
        "definition": "",
        "min": 1,
        "max": "1"
      }
    ]
  }
}