### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/PaymentNotice.json
### ----------------------------------------------------
### -- Chunk 4 of 4
" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.basedOn"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "PaymentNotice.response",
      "path" : "PaymentNotice.response",
      "short" : "Response reference",
      "definition" : "Reference of response to resource for which payment is being made.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "rim",
        "map" : "n/a"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "PaymentNotice.created",
      "path" : "PaymentNotice.created",
      "short" : "Creation date",
      "definition" : "The date when this resource was created.",
      "requirements" : "Need to record a timestamp for use by both the recipient and the issuer.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      },
      {
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "PaymentNotice.provider",
      "path" : "PaymentNotice.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" : "Event.performer"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.source"
      },
      {
        "identity" : "cdanetv4",
        "map" : "B01"
      },
      {
        "identity" : "v2",
        "map" : "B01"
      },
      {
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "PaymentNotice.payment",
      "path" : "PaymentNotice.payment",
      "short" : "Payment reference",
      "definition" : "A reference to the payment which is the subject of this notice.",
      "requirements" : "Need to identify the actual payment.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/PaymentReconciliation"]
      }],
      "isSummary" : true
    },
    {
      "id" : "PaymentNotice.paymentDate",
      "path" : "PaymentNotice.paymentDate",
      "short" : "Payment or clearing date",
      "definition" : "The date when the above payment action occurred.",
      "requirements" : "Need to convey the date when the action being notified occurred.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }]
    },
    {
      "id" : "PaymentNotice.payee",
      "path" : "PaymentNotice.payee",
      "short" : "Party being paid",
      "definition" : "The party who will receive or has received payment that is the subject of this notification.",
      "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"]
      }]
    },
    {
      "id" : "PaymentNotice.recipient",
      "path" : "PaymentNotice.recipient",
      "short" : "Party being notified",
      "definition" : "The party who is notified of the payment status.",
      "requirements" : "Need to identified the recipient of the notification.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "PaymentNotice.amount",
      "path" : "PaymentNotice.amount",
      "short" : "Monetary amount of the payment",
      "definition" : "The amount sent to the payee.",
      "requirements" : "Provided for validation purposes.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }],
      "isSummary" : true
    },
    {
      "id" : "PaymentNotice.paymentStatus",
      "path" : "PaymentNotice.paymentStatus",
      "short" : "Issued or cleared Status of the payment",
      "definition" : "A code indicating whether payment has been sent or cleared.",
      "comment" : "Typically paid: payment sent, cleared: payment received.",
      "requirements" : "The purpose of the notification.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PaymentStatus"
        }],
        "strength" : "example",
        "description" : "The payment conveyance status codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/payment-status"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    }]
  }
}


