Media

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

Type members

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 = Media
override type ResourceType = Media

Value members

Concrete methods

def apply(id: Option[String], meta: Option[Meta], text: Option[Narrative], `type`: Option[CodeableConcept], view: Option[CodeableConcept], note: LitSeq[Annotation], width: Option[PositiveInt], partOf: LitSeq[Reference], status: EVENT_STATUS, issued: Option[ZonedDateTime], device: Option[Reference], height: Option[PositiveInt], frames: Option[PositiveInt], basedOn: LitSeq[Reference], subject: Option[Reference], content: Attachment, language: Option[LANGUAGES], modality: Option[CodeableConcept], operator: Option[Reference], bodySite: Option[CodeableConcept], duration: Option[BigDecimal], contained: LitSeq[Resource], extension: LitSeq[Extension], encounter: Option[Reference], identifier: LitSeq[Identifier], created: Option[CreatedChoice], reasonCode: LitSeq[CodeableConcept], deviceName: Option[String], implicitRules: Option[UriStr], modifierExtension: LitSeq[Extension], primitiveAttributes: TreeMap[FHIRComponentFieldMeta[_], PrimitiveElementInfo]): Media
def decodeThis(cursor: HCursor)(implicit params: DecoderParams): Try[Media]
def extractBasedOn(t: Media): LitSeq[Reference]
def extractBodySite(t: Media): Option[CodeableConcept]
def extractContained(t: Media): LitSeq[Resource]
def extractContent(t: Media): Attachment
def extractDevice(t: Media): Option[Reference]
def extractDeviceName(t: Media): Option[String]
def extractDuration(t: Media): Option[BigDecimal]
def extractEncounter(t: Media): Option[Reference]
def extractExtension(t: Media): LitSeq[Extension]
def extractFrames(t: Media): Option[PositiveInt]
def extractHeight(t: Media): Option[PositiveInt]
def extractId(t: Media): Option[String]
def extractIdentifier(t: Media): LitSeq[Identifier]
def extractImplicitRules(t: Media): Option[UriStr]
def extractIssued(t: Media): Option[ZonedDateTime]
def extractLanguage(t: Media): Option[LANGUAGES]
def extractMeta(t: Media): Option[Meta]
def extractModality(t: Media): Option[CodeableConcept]
def extractModifierExtension(t: Media): LitSeq[Extension]
def extractNote(t: Media): LitSeq[Annotation]
def extractOperator(t: Media): Option[Reference]
def extractPartOf(t: Media): LitSeq[Reference]
def extractReasonCode(t: Media): LitSeq[CodeableConcept]
def extractSubject(t: Media): Option[Reference]
def extractText(t: Media): Option[Narrative]
def extractType(t: Media): Option[CodeableConcept]
def extractView(t: Media): Option[CodeableConcept]
def extractWidth(t: Media): Option[PositiveInt]
override def fields(t: Media): Seq[FHIRComponentField[_]]
Definition Classes
CompanionFor
override def fieldsFromParent(t: ResourceType): Try[Seq[FHIRComponentField[_]]]
Definition Classes
CompanionFor

Inherited methods

def cast(t: ResourceType): Try[Media]
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[Media]
Inherited from:
CompanionFor
def extract[O](fn: Media.type => FHIRComponentFieldMeta[O])(t: Media): 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[Media]
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

val `type`: FHIRComponentFieldMeta[Option[CodeableConcept]]
override val baseType: CompanionFor[ResourceType]
val basedOn: FHIRComponentFieldMeta[LitSeq[Reference]]
val bodySite: FHIRComponentFieldMeta[Option[CodeableConcept]]
val contained: FHIRComponentFieldMeta[LitSeq[Resource]]
val content: FHIRComponentFieldMeta[Attachment]
val created: FHIRComponentFieldMeta[Option[CreatedChoice]]
val device: FHIRComponentFieldMeta[Option[Reference]]
val deviceName: FHIRComponentFieldMeta[Option[String]]
val duration: FHIRComponentFieldMeta[Option[BigDecimal]]
val encounter: FHIRComponentFieldMeta[Option[Reference]]
val extension: FHIRComponentFieldMeta[LitSeq[Extension]]
val fieldsMeta: Seq[FHIRComponentFieldMeta[_]]
val frames: FHIRComponentFieldMeta[Option[PositiveInt]]
val height: FHIRComponentFieldMeta[Option[PositiveInt]]
val id: FHIRComponentFieldMeta[Option[String]]
val identifier: FHIRComponentFieldMeta[LitSeq[Identifier]]
val implicitRules: FHIRComponentFieldMeta[Option[UriStr]]
val issued: FHIRComponentFieldMeta[Option[ZonedDateTime]]
val language: FHIRComponentFieldMeta[Option[LANGUAGES]]
val meta: FHIRComponentFieldMeta[Option[Meta]]
val modality: FHIRComponentFieldMeta[Option[CodeableConcept]]
val modifierExtension: FHIRComponentFieldMeta[LitSeq[Extension]]
val note: FHIRComponentFieldMeta[LitSeq[Annotation]]
val operator: FHIRComponentFieldMeta[Option[Reference]]
override val parentType: CompanionFor[ParentType]
val partOf: FHIRComponentFieldMeta[LitSeq[Reference]]
override val profileUrl: Option[String]
val reasonCode: FHIRComponentFieldMeta[LitSeq[CodeableConcept]]
override val searchParams: Map[String, Media => Seq[Any]]
val status: FHIRComponentFieldMeta[EVENT_STATUS]
val subject: FHIRComponentFieldMeta[Option[Reference]]
val text: FHIRComponentFieldMeta[Option[Narrative]]
override val thisName: String
val view: FHIRComponentFieldMeta[Option[CodeableConcept]]
val width: FHIRComponentFieldMeta[Option[PositiveInt]]

Inherited fields

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

Implicits

Implicits

implicit def summonObjectAndCompanionMedia389128463(o: Media): ObjectAndCompanion[Media, Media.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