Data Model Libraries
    Preparing search index...

    RequirementsStatementComponent Class

    FHIR Specification

    • Short: Actual statement as markdown
    • Definition: The actual statement of requirement, in markdown format.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    Methods

    parse getKeyElement setKeyElement hasKeyElement getKey setKey hasKey getLabelElement setLabelElement hasLabelElement getLabel setLabel hasLabel getConformanceEnumType setConformanceEnumType addConformanceEnumType hasConformanceEnumType getConformanceElement setConformanceElement addConformanceElement hasConformanceElement getConformance setConformance addConformance hasConformance getConditionalityElement setConditionalityElement hasConditionalityElement getConditionality setConditionality hasConditionality getRequirementElement setRequirementElement hasRequirementElement getRequirement setRequirement hasRequirement getDerivedFromElement setDerivedFromElement hasDerivedFromElement getDerivedFrom setDerivedFrom hasDerivedFrom getParentElement setParentElement hasParentElement getParent setParent hasParent getSatisfiedByElement setSatisfiedByElement addSatisfiedByElement hasSatisfiedByElement getSatisfiedBy setSatisfiedBy addSatisfiedBy hasSatisfiedBy getReferenceElement setReferenceElement addReferenceElement hasReferenceElement getReference setReference addReference hasReference getSource setSource addSource hasSource fhirType isEmpty isRequiredFieldsEmpty copy toJSON getModifierExtension setModifierExtension hasModifierExtension getModifierExtensionByUrl addModifierExtension removeModifierExtension getId setId hasId getExtension setExtension hasExtension getExtensionByUrl addExtension removeExtension isResource isDataType isComplexDataType isPrimitive isBooleanPrimitive isStringPrimitive isNumberPrimitive isBigIntPrimitive isDateTimePrimitive copyValues initConformance initSatisfiedBy initReference initSource

    Constructors

    Properties

    key: null | IdType

    Requirements.statement.key Element

    FHIR Specification

    • Short: Key that identifies this statement
    • Definition: Key that identifies this statement (unique within this resource).
    • Comment: Refer directly to the statement by {url}#{key}
    • FHIR Type: id
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false
    label?: StringType

    Requirements.statement.label Element

    FHIR Specification

    • Short: Short Human label for this statement
    • Definition: A short human usable label for this statement.
    • Comment: The key is intended for computers, while this is intended for humans. In its absence, the key should be convenient for a human to say (e.g. not a UUID)
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    conformanceExpectationEnum: ConformanceExpectationEnum

    FHIR CodeSystem: ConformanceExpectation

    conformance?: EnumCodeType[]

    Requirements.statement.conformance Element

    FHIR Specification

    • Short: SHALL | SHOULD | MAY | SHOULD-NOT
    • Definition: A short human usable label for this statement.
    • Comment: The conformance code is extracted from the requirement to make indexing and display easier. The requirement needs to express the conformance verbs directly in the markdown content. It's not unusual to mix verbs in a single sentence (e.g. System SHALL do X and SHOULD do Y)
    • Requirements: This element is allowed to repeat because a single requirements statement might contain multiple conformance words and thus need to be indexed under multiple conformance categories.
    • FHIR Type: code
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    CodeSystem Enumeration: ConformanceExpectationEnum

    conditionality?: BooleanType

    Requirements.statement.conditionality Element

    FHIR Specification

    • Short: Set to true if requirements statement is conditional
    • Definition: This boolean flag is set to true of the text of the requirement is conditional on something e.g. it includes lanauage like 'if x then y'. This conditionality flag is introduced for purposes of filtering and colour highlighting etc.
    • Comment: There is no intent that the conditional statement by evaluatable
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    requirement: null | MarkdownType

    Requirements.statement.requirement Element

    FHIR Specification

    • Short: The actual requirement
    • Definition: The actual requirement for human consumption.
    • FHIR Type: markdown
    • Cardinality: 1..1
    • isModifier: false
    • isSummary: false
    derivedFrom?: StringType

    Requirements.statement.derivedFrom Element

    FHIR Specification

    • Short: Another statement this clarifies/restricts ([url#]key)
    • Definition: Another statement on one of the requirements that this requirement clarifies or restricts.
    • Comment: This can be just a key, if there is only one matching statement in the requirements statements referenced in Requirements.derivedFrom. If there is more than one, it should be in the format url#key
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    parent?: StringType

    Requirements.statement.parent Element

    FHIR Specification

    • Short: A larger requirement that this requirement helps to refine and enable
    • Definition: A larger requirement that this requirement helps to refine and enable.
    • Comment: Follows the same convention as statement.derivedFrom, where a reference is the canonical of the Requirements followed by '#' and the 'key' of the specific requirement.
    • Requirements: Allows requirements to be organized compositionally. E.g. Epic/Story/Task.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    satisfiedBy?: UrlType[]

    Requirements.statement.satisfiedBy Element

    FHIR Specification

    • Short: Design artifact that satisfies this requirement
    • Definition: A reference to another artifact that satisfies this requirement. This could be a Profile, extension, or an element in one of those, or a CapabilityStatement, OperationDefinition, SearchParameter, CodeSystem(/code), ValueSet, Libary etc.
    • Comment: This is for use when the requirement is met be a pre-existing artifact e.g. a rule that's met by the base FHIR spec, or a national implementation guide.
    • FHIR Type: url
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    reference?: UrlType[]

    Requirements.statement.reference Element

    FHIR Specification

    • Short: External artifact (rule/document etc. that) created this requirement
    • Definition: A reference to another artifact that created this requirement. This could be a Profile, etc., or external regulation, or business requirements expressed elsewhere.
    • FHIR Type: url
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false
    source?: Reference[]

    Requirements.statement.source Element

    FHIR Specification

    Methods

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

      Parameters

      • sourceJson: Value

        JSON representing FHIR RequirementsStatementComponent

      • OptionaloptSourceField: string

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

      Returns undefined | RequirementsStatementComponent

      RequirementsStatementComponent data model or undefined for RequirementsStatementComponent

      JsonError if the provided JSON is not a valid JSON object

    • Assigns the provided Reference array value to the source property.

      Parameters

      • value: undefined | Reference[]

        the source array value

      Returns this

      this

      @ReferenceTargets('Requirements.statement.source', ['CareTeam','Device','Group','HealthcareService','Organization','Patient','Practitioner','PractitionerRole','RelatedPerson',])

      InvalidTypeError for invalid data type or reference value

    • Add the provided Reference value to the source array property.

      Parameters

      • value: undefined | Reference

        the source value

      Returns this

      this

      @ReferenceTargets('Requirements.statement.source', ['CareTeam','Device','Group','HealthcareService','Organization','Patient','Practitioner','PractitionerRole','RelatedPerson',])

      InvalidTypeError for invalid data type or reference value

    • 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; 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 modifierExtension property exists and has any values.

      AssertionError for invalid url

    • Returns undefined | string

      the id property value

    • Assigns the provided value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid value

    • Returns boolean

      true if id exists and has a value; false otherwise

    • 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

    • Determines if the extension property exists.

      Parameters

      • url: string

        the url that identifies a specific Extension

      Returns undefined | IExtension

      an Extension having 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 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

    • Returns boolean

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