FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/Consent.StructureDefinition

Packageca.bc.bcy-ids
Resource TypeStructureDefinition
IdConsent.StructureDefinition
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=ca.bc.bcy-ids@1.0.0&canonical=http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/Consent
URLhttp://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/Consent
Statusdraft
NameConsent
TypeConsent
Kindresource

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
consent-type-form-doses-commentsConsentExtension

Narrative

No narrative content found in resource


Source

{
  "resourceType": "StructureDefinition",
  "url": "http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/Consent",
  "name": "Consent",
  "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.id",
        "path": "Consent.id",
        "comment": "See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "CONSENT.CONSENT_DIRECTIVE.CONSENT_DIRECTIVE_ID"
          }
        ]
      },
      {
        "id": "Consent.meta",
        "path": "Consent.meta"
      },
      {
        "id": "Consent.meta.versionId",
        "path": "Consent.meta.versionId",
        "comment": "Apply \"2025.01.1\".  This indicates the FHIR Specs as of year 2025 Jan."
      },
      {
        "id": "Consent.meta.lastUpdated",
        "path": "Consent.meta.lastUpdated",
        "comment": "Updated: Relax the previously crossed-out elements."
      },
      {
        "id": "Consent.meta.profile",
        "path": "Consent.meta.profile",
        "comment": "Apply \"http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/Consent\"",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Consent.meta.security",
        "path": "Consent.meta.security",
        "max": "1"
      },
      {
        "id": "Consent.meta.tag",
        "path": "Consent.meta.tag",
        "max": "1"
      },
      {
        "id": "Consent.contained",
        "path": "Consent.contained",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "RelatedPerson",
              "PractitionerConsentGivenTo"
            ]
          }
        ]
      },
      {
        "id": "Consent.extension:consentExtension",
        "path": "Consent.extension",
        "sliceName": "consentExtension",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/consent-type-form-doses-comments"
            ]
          }
        ]
      },
      {
        "id": "Consent.identifier",
        "path": "Consent.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Consent.identifier.type",
        "path": "Consent.identifier.type",
        "min": 1
      },
      {
        "id": "Consent.identifier.type.coding",
        "path": "Consent.identifier.type.coding",
        "max": "1"
      },
      {
        "id": "Consent.identifier.type.text",
        "path": "Consent.identifier.type.text",
        "comment": "See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "\"PANORAMACONSENTID\""
          }
        ]
      },
      {
        "id": "Consent.identifier.system",
        "path": "Consent.identifier.system",
        "comment": "See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-panorama-consent-id"
          }
        ]
      },
      {
        "id": "Consent.identifier.value",
        "path": "Consent.identifier.value",
        "comment": "See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "CONSENT.CONSENT_DIRECTIVE.CONSENT_DIRECTIVE_ID"
          }
        ]
      },
      {
        "id": "Consent.status",
        "path": "Consent.status",
        "code": [
          {
            "system": "http://hl7.org/fhir/ValueSet/consent-state-codes",
            "code": "active"
          }
        ],
        "comment": "Confirmed (PIR) maps to Active (FHIR).  See Mappings.",
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "CONSENT.CONSENT_DIRECTIVE.DIRECTIVE_STATUS_CODE_CNCPT_ID"
          }
        ]
      },
      {
        "id": "Consent.scope.coding",
        "path": "Consent.scope.coding",
        "min": 1
      },
      {
        "id": "Consent.scope.coding.system",
        "path": "Consent.scope.coding.system",
        "code": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/consentscope"
          }
        ],
        "comment": "See Code",
        "min": 1
      },
      {
        "id": "Consent.scope.coding.code",
        "path": "Consent.scope.coding.code",
        "comment": "Apply \"treatment\"",
        "min": 1
      },
      {
        "id": "Consent.category.coding.system",
        "path": "Consent.category.coding.system",
        "code": [
          {
            "system": "http://loinc.org"
          }
        ],
        "comment": "See Code",
        "min": 1
      },
      {
        "id": "Consent.category.coding.code",
        "path": "Consent.category.coding.code",
        "comment": "Apply \"59284-0\"",
        "min": 1
      },
      {
        "id": "Consent.patient.reference",
        "path": "Consent.patient.reference",
        "comment": "See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "fullURL + \"Patient/\" + (Patient ID)",
            "comment": "e.g. http://ehealth.bc.ca/panorama/fhir/Patient/59900999\""
          }
        ]
      },
      {
        "id": "Consent.performer",
        "path": "Consent.performer",
        "max": "1"
      },
      {
        "id": "Consent.performer.reference",
        "path": "Consent.performer.reference",
        "comment": "See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "\"#RelatedPerson\"+(CONSENT.CONSENT_DIRECTIVE.CONSENT_DIRECTIVE_ID)\""
          }
        ]
      },
      {
        "id": "Consent.organization",
        "path": "Consent.organization",
        "max": "1"
      },
      {
        "id": "Consent.policy",
        "path": "Consent.policy",
        "max": "1"
      },
      {
        "id": "Consent.policyRule",
        "path": "Consent.policyRule",
        "min": 1
      },
      {
        "id": "Consent.policyRule.coding",
        "path": "Consent.policyRule.coding",
        "min": 1
      },
      {
        "id": "Consent.policyRule.coding.system",
        "path": "Consent.policyRule.coding.system",
        "code": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/consentpolicycodes"
          }
        ],
        "comment": "See Code",
        "min": 1
      },
      {
        "id": "Consent.policyRule.coding.code",
        "path": "Consent.policyRule.coding.code",
        "comment": "Apply \"cric\" (Common Rule Informed Consent).",
        "min": 1
      },
      {
        "id": "Consent.verification",
        "path": "Consent.verification",
        "max": "1"
      },
      {
        "id": "Consent.provision",
        "path": "Consent.provision",
        "min": 1
      },
      {
        "id": "Consent.provision.period",
        "path": "Consent.provision.period",
        "min": 1
      },
      {
        "id": "Consent.provision.period.start",
        "path": "Consent.provision.period.start",
        "comment": "See Mappings.",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "CONSENT.CONSENT_DIRECTIVE.EFFECT_FROM_DATE"
          }
        ]
      },
      {
        "id": "Consent.provision.period.end",
        "path": "Consent.provision.period.end",
        "comment": "See Mappings",
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "CONSENT.CONSENT_DIRECTIVE.EFFECT_TO_DATE"
          }
        ]
      },
      {
        "id": "Consent.provision.actor.role.coding",
        "path": "Consent.provision.actor.role.coding",
        "min": 1
      },
      {
        "id": "Consent.provision.actor.role.coding.system",
        "path": "Consent.provision.actor.role.coding.system",
        "code": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
          }
        ],
        "min": 1
      },
      {
        "id": "Consent.provision.actor.role.coding.code",
        "path": "Consent.provision.actor.role.coding.code",
        "comment": "Apply \"CONSENTER\"",
        "min": 1
      },
      {
        "id": "Consent.provision.actor.reference.reference",
        "path": "Consent.provision.actor.reference.reference",
        "comment": "See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "\"#PractitionerConsentGivenTo\"+(CONSENT.CONSENT_DIRECTIVE.CONSENT_DIRECTIVE_ID)\""
          }
        ]
      },
      {
        "id": "Consent.provision.action",
        "path": "Consent.provision.action",
        "short": "Consent or Refusal",
        "definition": "Consent or Refusal",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Consent.provision.action.coding",
        "path": "Consent.provision.action.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Consent.provision.action.coding:sliceConsentInstruction",
        "path": "Consent.provision.action.coding",
        "sliceName": "sliceConsentInstruction",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Consent.provision.action.coding:sliceConsentInstruction.system",
        "path": "Consent.provision.action.coding.system",
        "code": [
          {
            "system": "http://hl7.org/fhir/sid/icd9"
          }
        ],
        "comment": "See Code",
        "min": 1
      },
      {
        "id": "Consent.provision.action.coding:sliceConsentInstruction.code",
        "path": "Consent.provision.action.coding.code",
        "comment": "G | R.\r\nRefer to IMMS codeset spreadsheet: Consent - Instruction.  See Mappings.",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "CONSENT.CONSENT_DIRECTIVE.CONSENT_VALUE_CODED_CNCPT_ID"
          }
        ]
      },
      {
        "id": "Consent.provision.action.coding:sliceConsentInstruction.display",
        "path": "Consent.provision.action.coding.display",
        "comment": "Grant | Refuse",
        "min": 1
      },
      {
        "id": "Consent.provision.action.coding:sliceConsentRefusalReaason",
        "path": "Consent.provision.action.coding",
        "sliceName": "sliceConsentRefusalReaason",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Consent.provision.action.coding:sliceConsentRefusalReaason.system",
        "path": "Consent.provision.action.coding.system",
        "code": [
          {
            "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-panorama-consent-refusal-reason"
          }
        ],
        "comment": "See Code",
        "min": 1
      },
      {
        "id": "Consent.provision.action.coding:sliceConsentRefusalReaason.code",
        "path": "Consent.provision.action.coding.code",
        "comment": "Refer to IMMS codeset spreadsheet: Consent - Reason.  See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "CONSENT.CONSENT_DIRECTIVE.REFUSAL_REASON_CODE_CNCPT_ID"
          }
        ]
      },
      {
        "id": "Consent.provision.action.coding:sliceConsentRefusalReaason.display",
        "path": "Consent.provision.action.coding.display",
        "comment": "Refer to IMMS codeset spreadsheet: Consent - Reason",
        "min": 1
      },
      {
        "id": "Consent.provision.action.text",
        "path": "Consent.provision.action.text",
        "comment": "Mandatory if Reason for Refusal = \"O\"ther.  See Mappings.",
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "CONSENT.CONSENT_DIRECTIVE.REFUSAL_REASON_OTHER"
          }
        ]
      },
      {
        "id": "Consent.provision.securityLabel",
        "path": "Consent.provision.securityLabel",
        "max": "1"
      },
      {
        "id": "Consent.provision.purpose",
        "path": "Consent.provision.purpose",
        "max": "1"
      },
      {
        "id": "Consent.provision.class",
        "path": "Consent.provision.class",
        "max": "1"
      },
      {
        "id": "Consent.provision.code",
        "path": "Consent.provision.code",
        "min": 1
      },
      {
        "id": "Consent.provision.code.coding",
        "path": "Consent.provision.code.coding",
        "min": 1
      },
      {
        "id": "Consent.provision.code.coding.system",
        "path": "Consent.provision.code.coding.system",
        "comment": "See Mappings",
        "min": 1,
        "mapping": [
          {
            "identity": "code-NVC",
            "map": "https://nvc-cnv.canada.ca"
          },
          {
            "identity": "code-SNOMED",
            "map": "http://snomed.info/sct"
          },
          {
            "identity": "code-PIR",
            "map": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-panorama-code"
          }
        ]
      },
      {
        "id": "Consent.provision.code.coding.code",
        "path": "Consent.provision.code.coding.code",
        "comment": "Enter Vaccine code for both consent and Consent Refussal.  See Mappings.",
        "min": 1,
        "mapping": [
          {
            "identity": "source-PIR",
            "map": "CONSENT.CONSENT_DIRECTIVE.DIRECTIVE_ANTIGEN_ID"
          }
        ]
      },
      {
        "id": "Consent.provision.code.coding.display",
        "path": "Consent.provision.code.coding.display",
        "comment": "Enter Vaccine Name for Consent or Consent Refussal",
        "min": 1
      },
      {
        "id": "Consent.provision.data",
        "path": "Consent.provision.data",
        "max": "1"
      },
      {
        "id": "Consent.provision.provision",
        "path": "Consent.provision.provision",
        "max": "1"
      }
    ]
  }
}