{
  "resourceType": "StructureDefinition",
  "id": "EnrollmentRequest",
  "meta": {
    "lastUpdated": "2021-01-01T21:58:31.578+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Financial.Support"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "patient"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fm"
    },
    {
      "url": "http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status",
      "valueCode": ".status = entered-in-error"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest",
  "version": "4.6.0",
  "name": "EnrollmentRequest",
  "status": "draft",
  "date": "2021-01-01T21:58:31+00:00",
  "publisher": "Health Level Seven International (Financial Management)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fm/index.cfm"
        }
      ]
    }
  ],
  "description": "This resource provides the insurance enrollment details to the insurer regarding a specified coverage.",
  "fhirVersion": "4.6.0",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "cdanetv4",
      "uri": "http://www.cda-adc.ca/en/services/cdanet/",
      "name": "Canadian Dental Association eclaims standard"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "EnrollmentRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "EnrollmentRequest",
        "path": "EnrollmentRequest",
        "short": "Enroll in coverage",
        "definition": "This resource provides the insurance enrollment details to the insurer regarding a specified coverage.",
        "min": 0,
        "max": "*",
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request"
          },
          {
            "identity": "w5",
            "map": "financial.support"
          }
        ]
      },
      {
        "id": "EnrollmentRequest.identifier",
        "path": "EnrollmentRequest.identifier",
        "short": "Business Identifier",
        "definition": "The Response business identifier.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.identifier"
          }
        ]
      },
      {
        "id": "EnrollmentRequest.status",
        "path": "EnrollmentRequest.status",
        "short": "active | cancelled | draft | entered-in-error",
        "definition": "The status of the resource instance.",
        "comment": "This element is labeled as a modifier because the status contains codes that mark the request as not currently valid.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "EnrollmentRequestStatus"
            }
          ],
          "strength": "required",
          "description": "A code specifying the state of the resource instance.",
          "valueSet": "http://hl7.org/fhir/ValueSet/fm-status"
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.status"
          }
        ]
      },
      {
        "id": "EnrollmentRequest.created",
        "path": "EnrollmentRequest.created",
        "short": "Creation date",
        "definition": "The date when this resource was created.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.authoredOn"
          }
        ]
      },
      {
        "id": "EnrollmentRequest.insurer",
        "path": "EnrollmentRequest.insurer",
        "short": "Target",
        "definition": "The Insurer who is target  of the request.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.performer"
          }
        ]
      },
      {
        "id": "EnrollmentRequest.provider",
        "path": "EnrollmentRequest.provider",
        "short": "Responsible practitioner",
        "definition": "The practitioner who is responsible for the services rendered to the patient.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.requester"
          },
          {
            "identity": "w5",
            "map": "FiveWs.actor"
          },
          {
            "identity": "cdanetv4",
            "map": "B01"
          }
        ]
      },
      {
        "id": "EnrollmentRequest.candidate",
        "path": "EnrollmentRequest.candidate",
        "short": "The subject to be enrolled",
        "definition": "Patient Resource.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.subject"
          },
          {
            "identity": "w5",
            "map": "FiveWs.actor"
          },
          {
            "identity": "cdanetv4",
            "map": "C06,C07,C08, C05, C04"
          }
        ]
      },
      {
        "id": "EnrollmentRequest.coverage",
        "path": "EnrollmentRequest.coverage",
        "short": "Insurance information",
        "definition": "Reference to the program or plan identification, underwriter or payor.",
        "requirements": "Need to identify the issuer to target for processing and for coordination of benefit processing.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Coverage"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.insurance"
          }
        ]
      }
    ]
  }
}