CompartmentDefinition

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

Type members

Classlikes

class Resource(val id: Option[String], val code: RESOURCE_TYPES, val param: LitSeq[String], val extension: LitSeq[Extension], val documentation: Option[String], val modifierExtension: LitSeq[Extension], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends BackboneElement
Companion:
object
object Resource extends CompanionFor[Resource]
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

Value members

Concrete methods

def apply(id: Option[String], url: UriStr, meta: Option[Meta], text: Option[Narrative], name: String, date: Option[FHIRDateTime], code: COMPARTMENT_TYPE, status: PUBLICATION_STATUS, search: Boolean, version: Option[String], contact: LitSeq[ContactDetail], purpose: Option[Markdown], language: Option[LANGUAGES], contained: LitSeq[Resource], extension: LitSeq[Extension], publisher: Option[String], useContext: LitSeq[UsageContext], description: Option[Markdown], experimental: Option[Boolean], implicitRules: Option[UriStr], modifierExtension: LitSeq[Extension], resource: LitSeq[Resource], primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]): CompartmentDefinition
def decodeThis(cursor: HCursor)(implicit params: DecoderParams): Try[CompartmentDefinition]
def extractContact(t: CompartmentDefinition): LitSeq[ContactDetail]
def extractContained(t: CompartmentDefinition): LitSeq[Resource]
def extractDate(t: CompartmentDefinition): Option[FHIRDateTime]
def extractDescription(t: CompartmentDefinition): Option[Markdown]
def extractExtension(t: CompartmentDefinition): LitSeq[Extension]
def extractId(t: CompartmentDefinition): Option[String]
def extractLanguage(t: CompartmentDefinition): Option[LANGUAGES]
def extractMeta(t: CompartmentDefinition): Option[Meta]
def extractPublisher(t: CompartmentDefinition): Option[String]
def extractPurpose(t: CompartmentDefinition): Option[Markdown]
def extractUseContext(t: CompartmentDefinition): LitSeq[UsageContext]
def extractVersion(t: CompartmentDefinition): Option[String]
override def fields(t: CompartmentDefinition): Seq[FHIRComponentField[_]]
Definition Classes
CompanionFor
override def fieldsFromParent(t: ResourceType): Try[Seq[FHIRComponentField[_]]]
Definition Classes
CompanionFor
def unapply(o: CompartmentDefinition): Option[(Option[String], UriStr, Option[Meta], Option[Narrative], String, Option[FHIRDateTime], COMPARTMENT_TYPE, PUBLICATION_STATUS, Boolean, Option[String], LitSeq[ContactDetail], Option[Markdown], Option[LANGUAGES], LitSeq[Resource], LitSeq[Extension], Option[String], LitSeq[UsageContext], Option[Markdown], Option[Boolean], Option[UriStr], LitSeq[Extension], LitSeq[Resource])]

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: CompartmentDefinition.type => FHIRComponentFieldMeta[O])(t: CompartmentDefinition): 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 code: FHIRComponentFieldMeta[COMPARTMENT_TYPE]
val contact: FHIRComponentFieldMeta[LitSeq[ContactDetail]]
val contained: FHIRComponentFieldMeta[LitSeq[Resource]]
val date: FHIRComponentFieldMeta[Option[FHIRDateTime]]
val description: FHIRComponentFieldMeta[Option[Markdown]]
val experimental: FHIRComponentFieldMeta[Option[Boolean]]
val extension: FHIRComponentFieldMeta[LitSeq[Extension]]
val fieldsMeta: Seq[FHIRComponentFieldMeta[_]]
val id: FHIRComponentFieldMeta[Option[String]]
val implicitRules: FHIRComponentFieldMeta[Option[UriStr]]
val language: FHIRComponentFieldMeta[Option[LANGUAGES]]
val meta: FHIRComponentFieldMeta[Option[Meta]]
val modifierExtension: FHIRComponentFieldMeta[LitSeq[Extension]]
val name: FHIRComponentFieldMeta[String]
override val parentType: CompanionFor[ParentType]
override val profileUrl: Option[String]
val publisher: FHIRComponentFieldMeta[Option[String]]
val purpose: FHIRComponentFieldMeta[Option[Markdown]]
val resource: FHIRComponentFieldMeta[LitSeq[Resource]]
val search: FHIRComponentFieldMeta[Boolean]
override val searchParams: Map[String, CompartmentDefinition => Seq[Any]]
val status: FHIRComponentFieldMeta[PUBLICATION_STATUS]
val text: FHIRComponentFieldMeta[Option[Narrative]]
override val thisName: String
val url: FHIRComponentFieldMeta[UriStr]
val useContext: FHIRComponentFieldMeta[LitSeq[UsageContext]]
val version: FHIRComponentFieldMeta[Option[String]]

Inherited fields

Inherited from:
CompanionFor
Inherited from:
CompanionFor
Inherited from:
CompanionFor
val yearsAndMonths: Regex
Inherited from:
BaseFieldDecoders
Inherited from:
BaseFieldDecoders
val yearsOnly: Regex
Inherited from:
BaseFieldDecoders

Implicits

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