### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/EnrollmentResponse.json
### ----------------------------------------------------
### -- Chunk 3 of 3
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "RemittanceOutcome"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The outcome of the processing.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/remittance-outcome|4.0.0"
      }
    },
    {
      "id" : "EnrollmentResponse.disposition",
      "path" : "EnrollmentResponse.disposition",
      "short" : "Disposition Message",
      "definition" : "A description of the status of the adjudication.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "EnrollmentResponse.disposition",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.code"
      }]
    },
    {
      "id" : "EnrollmentResponse.created",
      "path" : "EnrollmentResponse.created",
      "short" : "Creation date",
      "definition" : "The date when the enclosed suite of services were performed or completed.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "EnrollmentResponse.created",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "dateTime"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.occurrence[x]"
      }]
    },
    {
      "id" : "EnrollmentResponse.organization",
      "path" : "EnrollmentResponse.organization",
      "short" : "Insurer",
      "definition" : "The Insurer who produced this adjudicated response.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "EnrollmentResponse.organization",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.performer.actor"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.actor"
      }]
    },
    {
      "id" : "EnrollmentResponse.requestProvider",
      "path" : "EnrollmentResponse.requestProvider",
      "short" : "Responsible practitioner",
      "definition" : "The practitioner who is responsible for the services rendered to the patient.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "EnrollmentResponse.requestProvider",
        "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"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "cdanetv4",
        "map" : "B01"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "EnrollmentResponse",
      "path" : "EnrollmentResponse",
      "short" : "EnrollmentResponse resource",
      "definition" : "This resource provides enrollment and plan details from the processing of an EnrollmentRequest resource.",
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event"
      }]
    },
    {
      "id" : "EnrollmentResponse.identifier",
      "path" : "EnrollmentResponse.identifier",
      "short" : "Business Identifier",
      "definition" : "The Response business identifier.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.identifier"
      }]
    },
    {
      "id" : "EnrollmentResponse.status",
      "path" : "EnrollmentResponse.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 response 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" : "EnrollmentResponseStatus"
        }],
        "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" : "Event.status"
      }]
    },
    {
      "id" : "EnrollmentResponse.request",
      "path" : "EnrollmentResponse.request",
      "short" : "Claim reference",
      "definition" : "Original request resource reference.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/EnrollmentRequest"]
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.basedOn"
      },
      {
        "identity" : "cdanetv4",
        "map" : "A02|G01"
      }]
    },
    {
      "id" : "EnrollmentResponse.outcome",
      "path" : "EnrollmentResponse.outcome",
      "short" : "queued | complete | error | partial",
      "definition" : "Processing status: error, complete.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "RemittanceOutcome"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The outcome of the processing.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/remittance-outcome|4.0.0"
      }
    },
    {
      "id" : "EnrollmentResponse.disposition",
      "path" : "EnrollmentResponse.disposition",
      "short" : "Disposition Message",
      "definition" : "A description of the status of the adjudication.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.code"
      }]
    },
    {
      "id" : "EnrollmentResponse.created",
      "path" : "EnrollmentResponse.created",
      "short" : "Creation date",
      "definition" : "The date when the enclosed suite of services were performed or completed.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.occurrence[x]"
      }]
    },
    {
      "id" : "EnrollmentResponse.organization",
      "path" : "EnrollmentResponse.organization",
      "short" : "Insurer",
      "definition" : "The Insurer who produced this adjudicated response.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.performer.actor"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.actor"
      }]
    },
    {
      "id" : "EnrollmentResponse.requestProvider",
      "path" : "EnrollmentResponse.requestProvider",
      "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" : "cdanetv4",
        "map" : "B01"
      }]
    }]
  }
}


