{
  "resourceType": "StructureDefinition",
  "url": "http://ontariohealth.ca/fhir/iar/StructureDefinition/profile-account",
  "name": "AccountIAR",
  "title": "Account IAR",
  "status": "active",
  "description": "A contained resource within the Encounter representing charges and payments associated with the patient’s encounter.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Account",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Account",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Account.id",
        "path": "Account.id",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Account.status",
        "path": "Account.status",
        "mustSupport": true
      },
      {
        "id": "Account.type",
        "path": "Account.type",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActCode"
        }
      },
      {
        "id": "Account.coverage",
        "path": "Account.coverage",
        "mustSupport": true
      },
      {
        "id": "Account.coverage.coverage",
        "path": "Account.coverage.coverage",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ontariohealth.ca/fhir/iar/StructureDefinition/profile-coverage"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}