Substance

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

Type members

Classlikes

@POJOBoilerplate
class Ingredient(val id: Option[String], val quantity: Option[Ratio], val extension: LitSeq[Extension], val substance: SubstanceChoice, val modifierExtension: LitSeq[Extension], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends BackboneElement
Companion:
object
object Ingredient extends CompanionFor[Ingredient]
Companion:
class
@POJOBoilerplate
class Instance(val id: Option[String], val expiry: Option[FHIRDateTime], val quantity: Option[Quantity], val extension: LitSeq[Extension], val identifier: Option[Identifier], val modifierExtension: LitSeq[Extension], val primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]) extends BackboneElement
Companion:
object
object Instance extends CompanionFor[Instance]
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 = Substance
override type ResourceType = Substance

Value members

Concrete methods

def apply(id: Option[String], meta: Option[Meta], text: Option[Narrative], code: CodeableConcept, status: Option[SUBSTANCE_STATUS], language: Option[LANGUAGES], category: LitSeq[CodeableConcept], contained: LitSeq[Resource], extension: LitSeq[Extension], identifier: LitSeq[Identifier], description: Option[String], implicitRules: Option[UriStr], modifierExtension: LitSeq[Extension], instance: LitSeq[Instance], ingredient: LitSeq[Ingredient], primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]): Substance
def decodeThis(cursor: HCursor)(implicit params: DecoderParams): Try[Substance]
def extractCategory(t: Substance): LitSeq[CodeableConcept]
def extractCode(t: Substance): CodeableConcept
def extractContained(t: Substance): LitSeq[Resource]
def extractDescription(t: Substance): Option[String]
def extractExtension(t: Substance): LitSeq[Extension]
def extractId(t: Substance): Option[String]
def extractIdentifier(t: Substance): LitSeq[Identifier]
def extractImplicitRules(t: Substance): Option[UriStr]
def extractLanguage(t: Substance): Option[LANGUAGES]
def extractMeta(t: Substance): Option[Meta]
def extractModifierExtension(t: Substance): LitSeq[Extension]
override def fields(t: Substance): Seq[FHIRComponentField[_]]
Definition Classes
CompanionFor
override def fieldsFromParent(t: ResourceType): Try[Seq[FHIRComponentField[_]]]
Definition Classes
CompanionFor
def unapply(o: Substance): Option[(Option[String], Option[Meta], Option[Narrative], CodeableConcept, Option[SUBSTANCE_STATUS], Option[LANGUAGES], LitSeq[CodeableConcept], LitSeq[Resource], LitSeq[Extension], LitSeq[Identifier], Option[String], Option[UriStr], LitSeq[Extension], LitSeq[Instance], LitSeq[Ingredient])]

Inherited methods

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[Substance]
Inherited from:
CompanionFor
def extract[O](fn: Substance.type => FHIRComponentFieldMeta[O])(t: Substance): 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[Substance]
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[LitSeq[CodeableConcept]]
val code: FHIRComponentFieldMeta[CodeableConcept]
val contained: FHIRComponentFieldMeta[LitSeq[Resource]]
val description: FHIRComponentFieldMeta[Option[String]]
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 ingredient: FHIRComponentFieldMeta[LitSeq[Ingredient]]
val instance: FHIRComponentFieldMeta[LitSeq[Instance]]
val language: FHIRComponentFieldMeta[Option[LANGUAGES]]
val meta: FHIRComponentFieldMeta[Option[Meta]]
val modifierExtension: FHIRComponentFieldMeta[LitSeq[Extension]]
override val parentType: CompanionFor[ParentType]
override val profileUrl: Option[String]
override val searchParams: Map[String, Substance => Seq[Any]]
val status: FHIRComponentFieldMeta[Option[SUBSTANCE_STATUS]]
val text: FHIRComponentFieldMeta[Option[Narrative]]
override val thisName: String

Inherited fields

val classConstructor: Constructor[Substance]
Inherited from:
CompanionFor
val thisClassTag: ClassTag[Substance]
Inherited from:
CompanionFor
Inherited from:
CompanionFor
val yearsAndMonths: Regex
Inherited from:
BaseFieldDecoders
Inherited from:
BaseFieldDecoders
val yearsOnly: Regex
Inherited from:
BaseFieldDecoders

Implicits

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