{
  "resourceType": "StructureDefinition",
  "id": "pr-patient",
  "url": "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-patient",
  "version": "1.1",
  "name": "Patient",
  "title": "Profile: Patient",
  "status": "active",
  "experimental": false,
  "date": "2024-03-18T21:23:08.4464077+00:00",
  "publisher": "b.Well Connected Health",
  "description": "Describes an individual in the context of a given client. This includes but is not limited to:\r\n- beneficiary of an insurance plan\r\n- receiver of healthcare services\r\n- bWell application user\r\n- client's employee",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States of America"
        }
      ],
      "text": "United States of America"
    }
  ],
  "purpose": "Aims to conform to the following external IGs:\r\n- http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient\r\n- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient",
        "path": "Patient",
        "short": "An individual within the context of a client"
      },
      {
        "id": "Patient.id",
        "path": "Patient.id",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.meta",
        "path": "Patient.meta",
        "min": 1,
        "type": [
          {
            "code": "Meta",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-meta"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.extension:race",
        "path": "Patient.extension",
        "sliceName": "race",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:race.extension",
        "path": "Patient.extension.extension",
        "min": 1
      },
      {
        "id": "Patient.extension:ethnicity",
        "path": "Patient.extension",
        "sliceName": "ethnicity",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:ethnicity.extension",
        "path": "Patient.extension.extension",
        "min": 1
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "description": "slice by type",
          "rules": "open"
        },
        "min": 1,
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-identifier"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:member-number",
        "path": "Patient.identifier",
        "sliceName": "member-number",
        "short": "insurance coverage's unique identifier for the individual",
        "max": "1",
        "patternIdentifier": {
          "id": "member-number",
          "type": {
            "coding": [
              {
                "id": "member-number-type",
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code": "MB"
              }
            ]
          }
        },
        "example": [
          {
            "label": "identifier-member-number",
            "valueIdentifier": {
              "use": "usual",
              "type": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                    "code": "MB",
                    "display": "Member Number"
                  }
                ]
              },
              "system": "https://www.foo.com",
              "value": "M1234"
            }
          }
        ]
      },
      {
        "id": "Patient.identifier:employee-id",
        "path": "Patient.identifier",
        "sliceName": "employee-id",
        "short": "employer's's unique identifier for the individual",
        "max": "1",
        "patternIdentifier": {
          "id": "employee-id",
          "type": {
            "coding": [
              {
                "id": "employee-id-type",
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code": "EI"
              }
            ]
          }
        },
        "example": [
          {
            "label": "identifier-employee-id",
            "valueIdentifier": {
              "use": "usual",
              "type": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                    "code": "EI"
                  }
                ]
              },
              "system": "https://www.foo.com",
              "value": "E1234"
            }
          }
        ]
      },
      {
        "id": "Patient.identifier:medicare-id",
        "path": "Patient.identifier",
        "sliceName": "medicare-id",
        "short": "Medicare Beneficiary Identifier",
        "max": "1",
        "patternIdentifier": {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code": "MC"
              }
            ]
          },
          "system": "http://hl7.org/fhir/sid/us-mbi"
        }
      },
      {
        "id": "Patient.identifier:medicaid-id",
        "path": "Patient.identifier",
        "sliceName": "medicaid-id",
        "max": "1",
        "patternIdentifier": {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code": "MA"
              }
            ]
          }
        },
        "example": [
          {
            "label": "example-medicaid-id",
            "valueIdentifier": {
              "use": "official",
              "type": {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                    "code": "MA"
                  }
                ],
                "text": "Medicaid ID"
              },
              "value": "M123"
            }
          }
        ]
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "comment": "default to true",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "min": 1,
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-human-name"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "slicing": {
          "description": "slice by use & type",
          "rules": "open"
        },
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-contact-point"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.telecom:phone",
        "path": "Patient.telecom",
        "sliceName": "phone",
        "short": "Phone number for the individual",
        "patternContactPoint": {
          "system": "phone"
        },
        "example": [
          {
            "label": "home-phone",
            "valueContactPoint": {
              "system": "phone",
              "value": "555-555-5555",
              "use": "home"
            }
          }
        ]
      },
      {
        "id": "Patient.telecom:email",
        "path": "Patient.telecom",
        "sliceName": "email",
        "short": "An e-mail address for the individual",
        "patternContactPoint": {
          "system": "email"
        },
        "example": [
          {
            "label": "email-address",
            "valueContactPoint": {
              "system": "email",
              "value": "someone@mail.com"
            }
          }
        ]
      },
      {
        "id": "Patient.telecom:work-phone",
        "path": "Patient.telecom",
        "sliceName": "work-phone",
        "short": "A business phone number for the individual",
        "max": "1",
        "patternContactPoint": {
          "system": "phone",
          "use": "work"
        },
        "example": [
          {
            "label": "work-phone",
            "valueContactPoint": {
              "system": "phone",
              "value": "555-555-5555",
              "use": "work"
            }
          }
        ]
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "example": [
          {
            "label": "example-birthdate",
            "valueDate": "2020-01-01"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.deceased[x]",
        "path": "Patient.deceased[x]",
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-address"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-codeable-concept"
            ]
          }
        ]
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "type": [
          {
            "code": "Attachment",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-attachment-image"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact",
        "path": "Patient.contact",
        "mustSupport": true
      },
      {
        "id": "Patient.contact.relationship",
        "path": "Patient.contact.relationship",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-codeable-concept"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact.name",
        "path": "Patient.contact.name",
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-human-name"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact.telecom",
        "path": "Patient.contact.telecom",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-contact-point"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact.address",
        "path": "Patient.contact.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-address"
            ]
          }
        ]
      },
      {
        "id": "Patient.communication",
        "path": "Patient.communication",
        "mustSupport": true
      },
      {
        "id": "Patient.communication.id",
        "path": "Patient.communication.id",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.communication.language",
        "path": "Patient.communication.language",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-codeable-concept"
            ]
          }
        ],
        "example": [
          {
            "label": "example-language",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "urn:ietf:bcp:47",
                  "code": "en",
                  "display": "English"
                }
              ],
              "text": "English"
            }
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.communication.preferred",
        "path": "Patient.communication.preferred",
        "mustSupport": true
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-healthcare-organization",
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-practitioner"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.link",
        "path": "Patient.link",
        "requirements": "There are multiple use cases:   \n\n* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and \n* Distribution of patient information across multiple servers.\r\n\r\nb.Well internal documentation: https://icanbwell.atlassian.net/wiki/spaces/ENTARCH/pages/3947855873/EMPI+-+MVP+FHIR+Person-Patient+Implementation+and+Example"
      },
      {
        "id": "Patient.link.other",
        "path": "Patient.link.other",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-patient"
            ]
          }
        ]
      }
    ]
  }
}