### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/EnrollmentRequest.json
### ----------------------------------------------------
### -- Chunk 3 of 3
.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|4.0.0"
      },
      "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"
      }]
    }]
  }
}


