@medplum/fhirtypes
Version:
Medplum FHIR Type Definitions
399 lines (332 loc) • 9.52 kB
TypeScript
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors
// SPDX-License-Identifier: Apache-2.0
/*
* This is a generated file
* Do not edit manually.
*/
import type { Address } from './Address.d.ts';
import type { Age } from './Age.d.ts';
import type { Annotation } from './Annotation.d.ts';
import type { Attachment } from './Attachment.d.ts';
import type { CodeableConcept } from './CodeableConcept.d.ts';
import type { Coding } from './Coding.d.ts';
import type { ContactDetail } from './ContactDetail.d.ts';
import type { ContactPoint } from './ContactPoint.d.ts';
import type { Contributor } from './Contributor.d.ts';
import type { Count } from './Count.d.ts';
import type { DataRequirement } from './DataRequirement.d.ts';
import type { Distance } from './Distance.d.ts';
import type { Dosage } from './Dosage.d.ts';
import type { Duration } from './Duration.d.ts';
import type { Expression } from './Expression.d.ts';
import type { Extension } from './Extension.d.ts';
import type { HumanName } from './HumanName.d.ts';
import type { Identifier } from './Identifier.d.ts';
import type { Meta } from './Meta.d.ts';
import type { Money } from './Money.d.ts';
import type { ParameterDefinition } from './ParameterDefinition.d.ts';
import type { Period } from './Period.d.ts';
import type { Quantity } from './Quantity.d.ts';
import type { Range } from './Range.d.ts';
import type { Ratio } from './Ratio.d.ts';
import type { Reference } from './Reference.d.ts';
import type { RelatedArtifact } from './RelatedArtifact.d.ts';
import type { Resource } from './Resource.d.ts';
import type { SampledData } from './SampledData.d.ts';
import type { Signature } from './Signature.d.ts';
import type { Timing } from './Timing.d.ts';
import type { TriggerDefinition } from './TriggerDefinition.d.ts';
import type { UsageContext } from './UsageContext.d.ts';
/**
* This resource is a non-persisted resource used to pass information
* into and back from an [operation](operations.html). It has no other
* use, and there is no RESTful endpoint associated with it.
*/
export interface Parameters {
/**
* This is a Parameters resource
*/
readonly resourceType: 'Parameters';
/**
* The logical id of the resource, as used in the URL for the resource.
* Once assigned, this value never changes.
*/
id?: string;
/**
* The metadata about the resource. This is content that is maintained by
* the infrastructure. Changes to the content might not always be
* associated with version changes to the resource.
*/
meta?: Meta;
/**
* A reference to a set of rules that were followed when the resource was
* constructed, and which must be understood when processing the content.
* Often, this is a reference to an implementation guide that defines the
* special rules along with other profiles etc.
*/
implicitRules?: string;
/**
* The base language in which the resource is written.
*/
language?: string;
/**
* A parameter passed to or received from the operation.
*/
parameter?: ParametersParameter[];
}
/**
* A parameter passed to or received from the operation.
*/
export interface ParametersParameter {
/**
* Unique id for the element within a resource (for internal references).
* This may be any string value that does not contain spaces.
*/
id?: string;
/**
* May be used to represent additional information that is not part of
* the basic definition of the element. To make the use of extensions
* safe and manageable, there is a strict set of governance applied to
* the definition and use of extensions. Though any implementer can
* define an extension, there is a set of requirements that SHALL be met
* as part of the definition of the extension.
*/
extension?: Extension[];
/**
* May be used to represent additional information that is not part of
* the basic definition of the element and that modifies the
* understanding of the element in which it is contained and/or the
* understanding of the containing element's descendants. Usually
* modifier elements provide negation or qualification. To make the use
* of extensions safe and manageable, there is a strict set of governance
* applied to the definition and use of extensions. Though any
* implementer can define an extension, there is a set of requirements
* that SHALL be met as part of the definition of the extension.
* Applications processing a resource are required to check for modifier
* extensions.
*
* Modifier extensions SHALL NOT change the meaning of any elements on
* Resource or DomainResource (including cannot change the meaning of
* modifierExtension itself).
*/
modifierExtension?: Extension[];
/**
* The name of the parameter (reference to the operation definition).
*/
name: string;
/**
* If the parameter is a data type.
*/
valueBase64Binary?: string;
/**
* If the parameter is a data type.
*/
valueBoolean?: boolean;
/**
* If the parameter is a data type.
*/
valueCanonical?: string;
/**
* If the parameter is a data type.
*/
valueCode?: string;
/**
* If the parameter is a data type.
*/
valueDate?: string;
/**
* If the parameter is a data type.
*/
valueDateTime?: string;
/**
* If the parameter is a data type.
*/
valueDecimal?: number;
/**
* If the parameter is a data type.
*/
valueId?: string;
/**
* If the parameter is a data type.
*/
valueInstant?: string;
/**
* If the parameter is a data type.
*/
valueInteger?: number;
/**
* If the parameter is a data type.
*/
valueMarkdown?: string;
/**
* If the parameter is a data type.
*/
valueOid?: string;
/**
* If the parameter is a data type.
*/
valuePositiveInt?: number;
/**
* If the parameter is a data type.
*/
valueString?: string;
/**
* If the parameter is a data type.
*/
valueTime?: string;
/**
* If the parameter is a data type.
*/
valueUnsignedInt?: number;
/**
* If the parameter is a data type.
*/
valueUri?: string;
/**
* If the parameter is a data type.
*/
valueUrl?: string;
/**
* If the parameter is a data type.
*/
valueUuid?: string;
/**
* If the parameter is a data type.
*/
valueAddress?: Address;
/**
* If the parameter is a data type.
*/
valueAge?: Age;
/**
* If the parameter is a data type.
*/
valueAnnotation?: Annotation;
/**
* If the parameter is a data type.
*/
valueAttachment?: Attachment;
/**
* If the parameter is a data type.
*/
valueCodeableConcept?: CodeableConcept;
/**
* If the parameter is a data type.
*/
valueCoding?: Coding;
/**
* If the parameter is a data type.
*/
valueContactPoint?: ContactPoint;
/**
* If the parameter is a data type.
*/
valueCount?: Count;
/**
* If the parameter is a data type.
*/
valueDistance?: Distance;
/**
* If the parameter is a data type.
*/
valueDuration?: Duration;
/**
* If the parameter is a data type.
*/
valueHumanName?: HumanName;
/**
* If the parameter is a data type.
*/
valueIdentifier?: Identifier;
/**
* If the parameter is a data type.
*/
valueMoney?: Money;
/**
* If the parameter is a data type.
*/
valuePeriod?: Period;
/**
* If the parameter is a data type.
*/
valueQuantity?: Quantity;
/**
* If the parameter is a data type.
*/
valueRange?: Range;
/**
* If the parameter is a data type.
*/
valueRatio?: Ratio;
/**
* If the parameter is a data type.
*/
valueReference?: Reference;
/**
* If the parameter is a data type.
*/
valueSampledData?: SampledData;
/**
* If the parameter is a data type.
*/
valueSignature?: Signature;
/**
* If the parameter is a data type.
*/
valueTiming?: Timing;
/**
* If the parameter is a data type.
*/
valueContactDetail?: ContactDetail;
/**
* If the parameter is a data type.
*/
valueContributor?: Contributor;
/**
* If the parameter is a data type.
*/
valueDataRequirement?: DataRequirement;
/**
* If the parameter is a data type.
*/
valueExpression?: Expression;
/**
* If the parameter is a data type.
*/
valueParameterDefinition?: ParameterDefinition;
/**
* If the parameter is a data type.
*/
valueRelatedArtifact?: RelatedArtifact;
/**
* If the parameter is a data type.
*/
valueTriggerDefinition?: TriggerDefinition;
/**
* If the parameter is a data type.
*/
valueUsageContext?: UsageContext;
/**
* If the parameter is a data type.
*/
valueDosage?: Dosage;
/**
* If the parameter is a data type.
*/
valueMeta?: Meta;
/**
* If the parameter is a whole resource.
*/
resource?: Resource;
/**
* A named part of a multi-part parameter.
*/
part?: ParametersParameter[];
}
/**
* If the parameter is a data type.
*/
export type ParametersParameterValue = Address | Age | Annotation | Attachment | boolean | CodeableConcept | Coding |
ContactDetail | ContactPoint | Contributor | Count | DataRequirement | Distance | Dosage | Duration | Expression |
HumanName | Identifier | Meta | Money | number | ParameterDefinition | Period | Quantity | Range | Ratio | Reference |
RelatedArtifact | SampledData | Signature | string | Timing | TriggerDefinition | UsageContext;