Data Model Libraries
    Preparing search index...

    ResearchSubject Class

    A physical entity which is the primary unit of operational and/or administrative interest in a study.

    FHIR Specification

    • Short: Physical entity which is the primary unit of interest in the study
    • Definition: A physical entity which is the primary unit of operational and/or administrative interest in a study.
    • Comment: Need to make sure we encompass public health studies.
    • FHIR Version: 4.3.0

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    identifier?: Identifier[]

    ResearchSubject.identifier Element

    FHIR Specification

    • Short: Business Identifier for research subject in a study
    • Definition: Identifiers assigned to this research subject for a study.
    • FHIR Type: Identifier
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: true
    researchSubjectStatusEnum: ResearchSubjectStatusEnum

    FHIR CodeSystem: ResearchSubjectStatus

    status: null | EnumCodeType

    ResearchSubject.status Element

    FHIR Specification

    • Short: candidate | eligible | follow-up | ineligible | not-registered | off-study | on-study | on-study-intervention | on-study-observation | pending-on-study | potential-candidate | screening | withdrawn
    • Definition: The current state of the subject.
    • FHIR Type: code
    • Cardinality: 1..1
    • isModifier: true
    • isModifierReason: This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    • isSummary: true

    CodeSystem Enumeration: ResearchSubjectStatusEnum

    period?: Period

    ResearchSubject.period Element

    FHIR Specification

    • Short: Start and end of participation
    • Definition: The dates the subject began and ended their participation in the study.
    • FHIR Type: Period
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: true
    study: null | Reference

    ResearchSubject.study Element

    FHIR Specification

    individual: null | Reference

    ResearchSubject.individual Element

    FHIR Specification

    • Short: Who is part of study
    • Definition: The record of the person or animal who is involved in the study.
    • FHIR Type: Reference
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: true
    assignedArm?: StringType

    ResearchSubject.assignedArm Element

    FHIR Specification

    • Short: What path should be followed
    • Definition: The name of the arm in the study the subject is expected to follow as part of this study.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    actualArm?: StringType

    ResearchSubject.actualArm Element

    FHIR Specification

    • Short: What path was followed
    • Definition: The name of the arm in the study the subject actually followed as part of this study.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    consent?: Reference

    ResearchSubject.consent Element

    FHIR Specification

    • Short: Agreement to participate in study
    • Definition: A record of the patient's informed agreement to participate in the study.
    • FHIR Type: Reference
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    Methods

    • Parse the provided ResearchSubject JSON to instantiate the ResearchSubject data model.

      Parameters

      • sourceJson: Value

        JSON representing FHIR ResearchSubject

      • OptionaloptSourceField: string

        Optional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to ResearchSubject

      Returns undefined | ResearchSubject

      ResearchSubject data model or undefined for ResearchSubject

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided value to the text property.

      Parameters

      Returns this

      this

    • Returns boolean

      true if the text property exists and has a value; false otherwise

    • Assigns the provided Resource array value to the contained property.

      Parameters

      • value: undefined | IResource[]

        the contained array value

      Returns this

      this

    • Returns boolean

      true if the contained property exists and has a value; false otherwise

    • Assigns the provided array of Extension values to the extension property.

      Parameters

      • extension: undefined | IExtension[]

        array of Extensions

      Returns this

      this

    • Determines if the extension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Adds the provided Extension to the extension property array.

      Parameters

      • extension: undefined | IExtension

        the Extension value to add to the extension property array

      Returns this

      this

    • Removes the Extension having the provided url from the extension property array.

      Parameters

      • url: string

        the url that identifies a specific Extension to remove

      Returns void

      AssertionError for invalid url

    • Determines if the modifierExtension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the modifierExtension property exists and has any values.

      AssertionError for invalid url

    • Assigns the provided PrimitiveType value to the id property.

      Parameters

      • element: undefined | IdType

        the id value

      Returns this

      this

    • Returns undefined | string

      the id property value as a primitive value

    • Assigns the provided primitive value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns boolean

      true if the id property exists and has a value; false otherwise

    • Assigns the provided value to the meta property.

      Parameters

      • value: undefined | Meta

        the meta value

      Returns this

      this

    • Returns boolean

      true if the meta property exists and has a value; false otherwise

    • Assigns the provided primitive value to the implicitRules property.

      Parameters

      • value: undefined | string

        the implicitRules value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns undefined | string

      the language property value as a primitive value

    • Assigns the provided primitive value to the language property.

      Parameters

      • value: undefined | string

        the language value

      Returns this

      this

      PrimitiveTypeError for invalid primitive types

    • Returns boolean

      true if the language property exists and has a value; false otherwise

    • Returns boolean

      true if the instance is a FHIR complex or primitive datatype; false otherwise