{
  "resourceType": "StructureDefinition",
  "id": "profile-Patient-search-recipient",
  "url": "https://bpcs.exchange/fhir/StructureDefinition/profile-Patient-search-recipient",
  "name": "PatientSearch",
  "title": "Recipient Search Result Profile for individual",
  "status": "active",
  "experimental": false,
  "description": "Data elements returned about a recipient when performing a search and returning for an individual rather than a family",
  "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-search",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.meta",
        "path": "Patient.meta"
      },
      {
        "id": "Patient.meta.versionId",
        "path": "Patient.meta.versionId",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "BPCS",
            "map": "RecipientDTO.recCreateCustomTimestamp (convert to proper timestamp, remove separators - YYYYMMDDhhmmssssssss)"
          }
        ]
      },
      {
        "id": "Patient.meta.extension",
        "path": "Patient.meta.extension",
        "min": 1
      },
      {
        "id": "Patient.meta.extension:effectiveDate",
        "path": "Patient.meta.extension",
        "sliceName": "effectiveDate",
        "min": 1
      },
      {
        "id": "Patient.contained",
        "path": "Patient.contained",
        "min": 1
      },
      {
        "id": "Patient.contained:provenance",
        "path": "Patient.contained",
        "sliceName": "provenance",
        "short": "Creation/Update/etc. Metadata",
        "definition": "Nested Provenance information referring to this resource that describes the creation, and sometimes the most recent update and/or inactivation of the record, specifically who was responsible and when it occurred",
        "min": 1
      }
    ]
  }
}