{
  "resourceType": "StructureDefinition",
  "url": "https://bghmc.org/fhir/StructureDefinition/PhilhealthMember",
  "name": "PhilhealthMember",
  "status": "draft",
  "date": "2023-11-06T04:54:59.1556306+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Person",
  "baseDefinition": "https://bghmc.org/fhir/StructureDefinition/PhilhealthPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Person.extension",
        "path": "Person.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Person.extension:konsultaProvider",
        "path": "Person.extension",
        "sliceName": "konsultaProvider",
        "short": "Konsulta Provider",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://bghmc.org/fhir/StructureDefinition/KonsultaProviderExtension"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Person.extension:konsultaProvider.url",
        "path": "Person.extension.url",
        "fixedUri": "https://bghmc.org/fhir/StructureDefinition/KonsultaProviderExtension"
      },
      {
        "id": "Person.extension:konsultaProvider.value[x]",
        "path": "Person.extension.value[x]",
        "min": 1
      },
      {
        "id": "Person.extension:memberCategory",
        "path": "Person.extension",
        "sliceName": "memberCategory",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://bghmc.org/fhir/StructureDefinition/PhilhealthMemberCategoryExtension"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "binding": {
          "strength": "required",
          "valueSet": "https://bghmc.org/fhir/CodeSystem/PhilhealthMemberCategory"
        }
      },
      {
        "id": "Person.extension:memberCategory.value[x]",
        "path": "Person.extension.value[x]",
        "min": 1
      },
      {
        "id": "Person.extension:philhealthDependent",
        "path": "Person.extension",
        "sliceName": "philhealthDependent",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://example.org/fhir/StructureDefinition/PhilhealthDependentExtension"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Person.extension:philhealthDependent.value[x]",
        "path": "Person.extension.value[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://bghmc.org/fhir/StructureDefinition/PhilhealthDependent"
            ]
          }
        ]
      }
    ]
  }
}