{
  "resourceType": "StructureDefinition",
  "id": "profile-Patient-update",
  "url": "https://bpcs.exchange/fhir/StructureDefinition/profile-Patient-update",
  "name": "PatientUpdate",
  "title": "Recipient Update Profile",
  "status": "active",
  "experimental": false,
  "description": "Information about a recipient submitted when updating an existing record",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "BPCS",
      "name": "Internal BPCS API"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "https://bpcs.exchange/fhir/StructureDefinition/profile-Patient-create",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.id",
        "path": "Patient.id",
        "comment": "This should be the patient's ODB Number",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.meta",
        "path": "Patient.meta"
      },
      {
        "id": "Patient.meta.extension:effectiveDate",
        "path": "Patient.meta.extension",
        "sliceName": "effectiveDate",
        "mapping": [
          {
            "identity": "BPCS",
            "map": "RecipientDTO.effModDt"
          }
        ]
      },
      {
        "id": "Patient.identifier:odbNum",
        "path": "Patient.identifier",
        "sliceName": "odbNum",
        "comment": "This is included to allow identity verification.  The ODBNumber and ODBType cannot change"
      },
      {
        "id": "Patient.identifier:xref",
        "path": "Patient.identifier",
        "sliceName": "xref",
        "max": "0"
      }
    ]
  }
}