{
  "resourceType": "StructureDefinition",
  "id": "ca-bc-lra-profile-Group",
  "url": "http://phsa.ca/fhir/StructureDefinition/ca-bc-lra-profile-Group",
  "version": "0.1.0",
  "name": "LRAPASGroup",
  "title": "Group (PAS-LRA)",
  "status": "draft",
  "date": "2024-07-16",
  "publisher": "Provincial Health Services Authority (BC)",
  "contact": [
    {
      "name": "Provincial Health Services Authority (BC)",
      "telecom": [
        {
          "system": "url",
          "value": "http://phsa.ca/fhir/"
        },
        {
          "system": "email",
          "value": "some.email@phsa.ca"
        }
      ]
    }
  ],
  "description": "Enable providers to manage their patient panels in their EMR, enable their EMR to exchange information with PAS",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Group",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Group",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Group.type",
        "path": "Group.type",
        "patternCode": "person",
        "mustSupport": true
      },
      {
        "id": "Group.managingEntity",
        "path": "Group.managingEntity",
        "short": "The physician that owns the panel",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://phsa.ca/fhir/StructureDefinition/ca-bc-lra-profile-pas-Practitioner"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Group.member",
        "path": "Group.member",
        "short": "The members of the panel to be acted upon. Note: current implementation only supports processing of one patient (member)",
        "min": 1
      },
      {
        "id": "Group.member.entity",
        "path": "Group.member.entity",
        "short": "The patient as a member of the panel",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://phsa.ca/fhir/StructureDefinition/ca-bc-lra-profile-pas-Patient"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}