{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/CareTeam-BNet-Preg",
  "name": "CareTeam-BNet-Preg",
  "status": "active",
  "date": "2025-03-25T15:48:12.9586792Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "For updating the BadgerNet pregnancy “Care Plan” in the raw pregnancy record.\n    Initially, this is to assign a “Named Midwife” only, from a MAT Spine Client System update.",
  "copyright": "(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "CareTeam",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CareTeam",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CareTeam.period.start",
        "path": "CareTeam.period.start",
        "short": "Care team start period",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "CareTeam.participant[x].role.coding[0]",
        "path": "CareTeam.participant[x].role.coding[0]",
        "short": "Team Participant Type",
        "definition": "<p>This data item is now a legacy option. Thus, for a short period, clients are able to send both this option and the newer role code option below.</p><p>NZ clients are must send \"LeadMidwife\". UK clients must send 'leadprofessional'.</p>",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "CareTeam.participant[x].role.coding[0].coding.system",
        "path": "CareTeam.participant[x].role.coding[0].coding.system",
        "fixedUri": "https://clevermed.com/fhir/CareTeamRolesForPregCarePlan"
      },
      {
        "id": "CareTeam.participant[x].role.coding[0].coding.code",
        "path": "CareTeam.participant[x].role.coding[0].coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "Participant type",
          "valueSet": "https://simplifier.net/badgernet/ValueSet-BNet-Preg-ParticipantType"
        }
      },
      {
        "id": "CareTeam.participant[x].role.coding[1]",
        "path": "CareTeam.participant[x].role.coding[1]",
        "short": "Team Participant Type",
        "definition": "This is the new valueset, which will supersede the valueset ValueSet-BNet-Preg-ParticipantType.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "CareTeam.participant[x].role.coding[1].coding.system",
        "path": "CareTeam.participant[x].role.coding[1].coding.system",
        "fixedUri": "https://fhir.clevermed.com/ValueSet/LMCType"
      },
      {
        "id": "CareTeam.participant[x].role.coding[1].coding.code",
        "path": "CareTeam.participant[x].role.coding[1].coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "Registration type of the LMC with the Medical Council or the Midwifery Council",
          "valueSet": "https://simplifier.net/badgernet/ValueSet-BNet-Preg-LMCType"
        }
      },
      {
        "id": "CareTeam.participant[x].member.reference",
        "path": "CareTeam.participant[x].member.reference",
        "short": "Reference for the professional or organisation",
        "definition": "This reference's logical ID must match the \"ID\" element from a practitioner resource (https://docs.badger.link/cdl/practitioner-bnet-preg) in the same bundle.\n\nWhere the participant type is a GP, this should use reference(organisation)",
        "min": 1,
        "max": "1",
        "mustSupport": true
      }
    ]
  }
}