/** * Epic on Fhir * All of the components of the Change Healthcare Interoperability Apis * * OpenAPI spec version: 1.0.0 * Contact: bmain@lumeris.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { CodeableConcept } from './codeableConcept'; import { ConsentR4Policy } from './consentR4Policy'; import { ConsentR4Provision } from './consentR4Provision'; import { Extension } from './extension'; import { Identifier } from './identifier'; import { Reference } from './reference'; /** * An instance of the R4 Consent resource. */ export interface ConsentR4 { category?: Array; extension?: Array; /** * Date and time that the consent document was created. */ dateTime?: string; identifier?: Array; patient?: Reference; /** * The policy of the consent document. */ policy?: Array; provision?: ConsentR4Provision; scope?: CodeableConcept; /** *

The state of the consent. This value follows the specification of the FHIR ConsentState value set. The following values have default out-of-the-box support in Epic. Additional statuses can be mapped by Epic organizations if desired.

  • draft
    • Corresponds to Epic value 11-Not Received
  • active
    • Corresponds to Epic values 10-Received and 20-Accepted
  • rejected
    • Corresponds to Epic value 1-Unknown
  • entered-in-error
    • Corresponds to Epic value 35-Error
  • inactive
    • Does not correspond to any Epic value by default
  • proposed
    • Does not correspond to any Epic value by default

The Consent resource returns data for those consent documents that have a document status that corresponds to one of the values above or an additional value that was mapped by the Epic organization. In the August 2021 version of Epic and earlier, Consent documents with no status specified in Epic cannot be retrieved by this web service. Starting in the November 2021 version of Epic, Consent documents with a status not mapped in Epic, or no status specified in Epic, return unknown.

*/ status?: string; }