Consent

object Consent extends CompanionFor[Consent]
Companion:
class
class CompanionFor[Consent]
trait OptionSugar
trait JsonDecoderHelpers
trait BaseFieldDecoders
trait Utils
class Object
trait Matchable
class Any
Consent.type

Type members

Classlikes

class Policy(val id: Option[String], val uri: Option[UriStr], val extension: LitSeq[Extension], val authority: Option[UriStr], val modifierExtension: LitSeq[Extension], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends BackboneElement
Companion:
object
object Policy extends CompanionFor[Policy]
Companion:
class
class Provision(val id: Option[String], `type`: Option[CONSENT_PROVISION_TYPE], val code: LitSeq[CodeableConcept], `class`: LitSeq[Coding], val period: Option[Period], val action: LitSeq[CodeableConcept], val purpose: LitSeq[Coding], val extension: LitSeq[Extension], val provision: LitSeq[Provision], val dataPeriod: Option[Period], val securityLabel: LitSeq[Coding], val modifierExtension: LitSeq[Extension], val data: LitSeq[Data], val actor: LitSeq[Actor], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends BackboneElement
Companion:
object
object Provision extends CompanionFor[Provision]
Companion:
class
class Verification(val id: Option[String], val verified: Boolean, val extension: LitSeq[Extension], val verifiedWith: Option[Reference], val verificationDate: Option[FHIRDateTime], val modifierExtension: LitSeq[Extension], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends BackboneElement
Companion:
object
object Verification extends CompanionFor[Verification]
Companion:
class

Inherited classlikes

implicit class RichCursor(cursor: ACursor)
Inherited from:
JsonDecoderHelpers
implicit class RichSeqT[T](val s1: Seq[T])
Inherited from:
OptionSugar
implicit class RichT[T](val t: T)
Inherited from:
OptionSugar

Types

override type ParentType = Consent
override type ResourceType = Consent

Value members

Concrete methods

def apply(id: Option[String], meta: Option[Meta], text: Option[Narrative], scope: CodeableConcept, status: CONSENT_STATE_CODES, patient: Option[Reference], language: Option[LANGUAGES], category: NonEmptyLitSeq[CodeableConcept], dateTime: Option[FHIRDateTime], contained: LitSeq[Resource], extension: LitSeq[Extension], performer: LitSeq[Reference], source: Option[SourceChoice], identifier: LitSeq[Identifier], policyRule: Option[CodeableConcept], organization: LitSeq[Reference], implicitRules: Option[UriStr], modifierExtension: LitSeq[Extension], policy: LitSeq[Policy], verification: LitSeq[Verification], provision: Option[Provision], primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]): Consent
def decodeThis(cursor: HCursor)(implicit params: DecoderParams): Try[Consent]
def extractCategory(t: Consent): NonEmptyLitSeq[CodeableConcept]
def extractContained(t: Consent): LitSeq[Resource]
def extractDateTime(t: Consent): Option[FHIRDateTime]
def extractExtension(t: Consent): LitSeq[Extension]
def extractId(t: Consent): Option[String]
def extractIdentifier(t: Consent): LitSeq[Identifier]
def extractImplicitRules(t: Consent): Option[UriStr]
def extractLanguage(t: Consent): Option[LANGUAGES]
def extractMeta(t: Consent): Option[Meta]
def extractModifierExtension(t: Consent): LitSeq[Extension]
def extractOrganization(t: Consent): LitSeq[Reference]
def extractPatient(t: Consent): Option[Reference]
def extractPerformer(t: Consent): LitSeq[Reference]
def extractPolicy(t: Consent): LitSeq[Policy]
def extractPolicyRule(t: Consent): Option[CodeableConcept]
def extractScope(t: Consent): CodeableConcept
def extractText(t: Consent): Option[Narrative]
override def fields(t: Consent): Seq[FHIRComponentField[_]]
Definition Classes
CompanionFor
override def fieldsFromParent(t: ResourceType): Try[Seq[FHIRComponentField[_]]]
Definition Classes
CompanionFor
def unapply(o: Consent): Option[(Option[String], Option[Meta], Option[Narrative], CodeableConcept, CONSENT_STATE_CODES, Option[Reference], Option[LANGUAGES], NonEmptyLitSeq[CodeableConcept], Option[FHIRDateTime], LitSeq[Resource], LitSeq[Extension], LitSeq[Reference], Option[SourceChoice], LitSeq[Identifier], Option[CodeableConcept], LitSeq[Reference], Option[UriStr], LitSeq[Extension], LitSeq[Policy], LitSeq[Verification], Option[Provision])]

Inherited methods

def cast(t: ResourceType): Try[T]
Inherited from:
CompanionFor
def checkUnknownFields(cursor: HCursor, keys: Set[String], keyPrefixes: Seq[Set[String]])(implicit decoderParams: DecoderParams): Try[Unit]
Inherited from:
CompanionFor
def companionClassName[T](tag: LTag[T]): String
Inherited from:
Utils
def companionOf[T <: FHIRObject : ClassTag](implicit evidence$1: ClassTag[T], tag: LTag[T]): CompanionFor[T]
Inherited from:
Utils
def decodeAttributes(cursor: HCursor)(implicit params: DecoderParams): TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]
Inherited from:
CompanionFor
def decodeMethodFor[T <: FHIRObject : ClassTag](implicit evidence$2: ClassTag[T], tag: LTag[T], params: DecoderParams): HCursor => Try[T]
Inherited from:
Utils
def decoder(implicit params: DecoderParams): Decoder[T]
Inherited from:
CompanionFor
def extract[O](fn: Consent.type => FHIRComponentFieldMeta[O])(t: Consent): O
Inherited from:
CompanionFor
def isSubTypeOf(other: CompanionFor[_]): Boolean
Inherited from:
CompanionFor
protected def otherMetas: Set[String]
Inherited from:
CompanionFor
def parameterisedDecode(x: HCursor, params: DecoderParams): Try[T]
Inherited from:
CompanionFor
protected def refMetas: Seq[Set[String]]
Inherited from:
CompanionFor
def tryDecode[T](fn: => T, c: HCursor): Either[DecodingFailure, T]
Inherited from:
BaseFieldDecoders

Concrete fields

override val baseType: CompanionFor[ResourceType]
val category: FHIRComponentFieldMeta[NonEmptyLitSeq[CodeableConcept]]
val contained: FHIRComponentFieldMeta[LitSeq[Resource]]
val dateTime: FHIRComponentFieldMeta[Option[FHIRDateTime]]
val extension: FHIRComponentFieldMeta[LitSeq[Extension]]
val fieldsMeta: Seq[FHIRComponentFieldMeta[_]]
val id: FHIRComponentFieldMeta[Option[String]]
val identifier: FHIRComponentFieldMeta[LitSeq[Identifier]]
val implicitRules: FHIRComponentFieldMeta[Option[UriStr]]
val language: FHIRComponentFieldMeta[Option[LANGUAGES]]
val meta: FHIRComponentFieldMeta[Option[Meta]]
val modifierExtension: FHIRComponentFieldMeta[LitSeq[Extension]]
val organization: FHIRComponentFieldMeta[LitSeq[Reference]]
override val parentType: CompanionFor[ParentType]
val patient: FHIRComponentFieldMeta[Option[Reference]]
val performer: FHIRComponentFieldMeta[LitSeq[Reference]]
val policy: FHIRComponentFieldMeta[LitSeq[Policy]]
val policyRule: FHIRComponentFieldMeta[Option[CodeableConcept]]
override val profileUrl: Option[String]
val provision: FHIRComponentFieldMeta[Option[Provision]]
val scope: FHIRComponentFieldMeta[CodeableConcept]
override val searchParams: Map[String, Consent => Seq[Any]]
val source: FHIRComponentFieldMeta[Option[SourceChoice]]
val status: FHIRComponentFieldMeta[CONSENT_STATE_CODES]
val text: FHIRComponentFieldMeta[Option[Narrative]]
override val thisName: String
val verification: FHIRComponentFieldMeta[LitSeq[Verification]]

Inherited fields

val classConstructor: Constructor[Consent]
Inherited from:
CompanionFor
val thisClassTag: ClassTag[Consent]
Inherited from:
CompanionFor
val thisTypeTag: LTag[Consent]
Inherited from:
CompanionFor
val yearsAndMonths: Regex
Inherited from:
BaseFieldDecoders
Inherited from:
BaseFieldDecoders
val yearsOnly: Regex
Inherited from:
BaseFieldDecoders

Implicits

Implicits

implicit def summonObjectAndCompanionConsent301027973(o: Consent): ObjectAndCompanion[Consent, Consent.type]

Inherited implicits

final implicit def RichCursor(cursor: ACursor): RichCursor
Inherited from:
JsonDecoderHelpers
final implicit def RichSeqT[T](s1: Seq[T]): RichSeqT[T]
Inherited from:
OptionSugar
final implicit def RichT[T](t: T): RichT[T]
Inherited from:
OptionSugar
implicit val base64BinaryDecoder: Decoder[Base64Binary]
Inherited from:
BaseFieldDecoders
implicit val base64BinaryEncoder: Encoder[Base64Binary]
Inherited from:
BaseFieldDecoders
implicit val canonicalDecoder: Decoder[Canonical]
Inherited from:
BaseFieldDecoders
implicit val canonicalEncoder: Encoder[Canonical]
Inherited from:
BaseFieldDecoders
implicit val codeDecoder: Decoder[Code]
Inherited from:
BaseFieldDecoders
implicit val codeEncoder: Encoder[Code]
Inherited from:
BaseFieldDecoders
implicit def decodeEither[A, B](implicit decoderA: Decoder[A], decoderB: Decoder[B]): Decoder[Either[A, B]]
Inherited from:
BaseFieldDecoders
implicit val decodeFHIRDate: Decoder[FHIRDate]
Inherited from:
BaseFieldDecoders
implicit val decodeFHIRDateTime: Decoder[FHIRDateTime]
Inherited from:
BaseFieldDecoders
implicit def decodeLitSeq[T](implicit decoder: Decoder[T]): Decoder[LitSeq[T]]
Inherited from:
BaseFieldDecoders
implicit def decodeNonEmptyLitSeq[T](implicit decoder: Decoder[LitSeq[T]]): Decoder[NonEmptyLitSeq[T]]
Inherited from:
BaseFieldDecoders
implicit val decodeZonedDateTime: Decoder[ZonedDateTime]
Inherited from:
BaseFieldDecoders
implicit def encodeEither[A, B](implicit encoderA: Encoder[A], encoderB: Encoder[B]): Encoder[Either[A, B]]
Inherited from:
BaseFieldDecoders
implicit def encodeLitSeq[T](implicit encoder: Encoder[T]): Encoder[LitSeq[T]]
Inherited from:
BaseFieldDecoders
implicit val encodeZonedDateTime: Encoder[ZonedDateTime]
Inherited from:
BaseFieldDecoders
implicit val encoderFHIRDate: Encoder[FHIRDate]
Inherited from:
BaseFieldDecoders
implicit val encoderFHIRDateTime: Encoder[FHIRDateTime]
Inherited from:
BaseFieldDecoders
implicit val idDecoder: Decoder[Id]
Inherited from:
BaseFieldDecoders
implicit val idEncoder: Encoder[Id]
Inherited from:
BaseFieldDecoders
implicit val markdownDecoder: Decoder[Markdown]
Inherited from:
BaseFieldDecoders
implicit val markdownEncoder: Encoder[Markdown]
Inherited from:
BaseFieldDecoders
implicit val oidDecoder: Decoder[OID]
Inherited from:
BaseFieldDecoders
implicit val oidEncoder: Encoder[OID]
Inherited from:
BaseFieldDecoders
implicit val positiveIntDecoder: Decoder[PositiveInt]
Inherited from:
BaseFieldDecoders
implicit val positiveIntEncoder: Encoder[PositiveInt]
Inherited from:
BaseFieldDecoders
implicit val unsignedIntDecoder: Decoder[UnsignedInt]
Inherited from:
BaseFieldDecoders
implicit val unsignedIntEncoder: Encoder[UnsignedInt]
Inherited from:
BaseFieldDecoders
implicit val uriDecoder: Decoder[UriStr]
Inherited from:
BaseFieldDecoders
implicit val uriEncoder: Encoder[UriStr]
Inherited from:
BaseFieldDecoders
implicit val urlDecoder: Decoder[UrlStr]
Inherited from:
BaseFieldDecoders
implicit val urlEncoder: Encoder[UrlStr]
Inherited from:
BaseFieldDecoders
implicit val xhtmlDecoder: Decoder[XHTML]
Inherited from:
BaseFieldDecoders
implicit val xhtmlEncoder: Encoder[XHTML]
Inherited from:
BaseFieldDecoders