{
  "resourceType": "StructureDefinition",
  "id": "fmc-account-profile",
  "url": "http://fkcfhir.org/fhir/StructureDefinition/fmc-account-profile",
  "name": "FreseniusAccount",
  "title": "Fresenius Insurance Account Profile",
  "status": "active",
  "description": "Fresenius Insurance Account Profile",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Account",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Account",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Account.extension",
        "path": "Account.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Account.extension:addlHelathPlans",
        "path": "Account.extension",
        "sliceName": "addlHelathPlans",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fkcfhir.org/fhir/StructureDefinition/fmc-additional-healthplans-extn"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Account.identifier",
        "path": "Account.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Account.identifier:AccountNumber",
        "path": "Account.identifier",
        "sliceName": "AccountNumber",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Account.identifier:AccountNumber.type",
        "path": "Account.identifier.type",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0203"
        }
      },
      {
        "id": "Account.identifier:AccountNumber.system",
        "path": "Account.identifier.system",
        "min": 1,
        "patternUri": "urn:oid:2.16.840.1.113883.3.7418.4.2"
      },
      {
        "id": "Account.type",
        "path": "Account.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Account.subject",
        "path": "Account.subject",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fkcfhir.org/fhir/StructureDefinition/fmc-patient-profile"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Account.owner",
        "path": "Account.owner",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}