Socket
Socket
Sign inDemoInstall

@medplum/fhirtypes

Package Overview
Dependencies
Maintainers
3
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medplum/fhirtypes - npm Package Compare versions

Comparing version 3.1.6 to 3.1.7

18

dist/ActivityDefinition.d.ts

@@ -470,2 +470,20 @@ /*

/**
* A code or group definition that describes the intended subject of the
* activity being defined.
*/
export type ActivityDefinitionSubject = CodeableConcept | Reference<Group>;
/**
* The period, timing or frequency upon which the described activity is
* to occur.
*/
export type ActivityDefinitionTiming = Age | Duration | Period | Range | string | Timing;
/**
* Identifies the food, drug or other product being consumed or supplied
* in the activity.
*/
export type ActivityDefinitionProduct = CodeableConcept | Reference<Medication | Substance>;
/**
* Dynamic values that will be evaluated to produce values for elements

@@ -472,0 +490,0 @@ * of the resulting resource. For example, if the dosage of a medication

@@ -159,2 +159,7 @@ /*

/**
* The target resource where channel messages will be delivered.
*/
export type AgentChannelTarget = Reference<Bot> | string;
/**
* The settings for the agent.

@@ -189,1 +194,6 @@ */

}
/**
* The setting value.
*/
export type AgentSettingValue = boolean | number | string;

@@ -240,2 +240,8 @@ /*

/**
* Estimated or actual date, date-time, or age when allergy or
* intolerance was identified.
*/
export type AllergyIntoleranceOnset = Age | Period | Range | string;
/**
* Details about each adverse reaction event linked to exposure to the

@@ -242,0 +248,0 @@ * identified substance.

@@ -55,1 +55,6 @@ /*

}
/**
* The individual responsible for making the annotation.
*/
export type AnnotationAuthor = Reference<Practitioner | Patient | RelatedPerson | Organization> | string;

@@ -479,2 +479,7 @@ /*

/**
* The value of the extra detail.
*/
export type AuditEventEntityDetailValue = string;
/**
* The system that is reporting the event.

@@ -481,0 +486,0 @@ */

@@ -232,2 +232,7 @@ /*

/**
* Time of product collection.
*/
export type BiologicallyDerivedProductCollectionCollected = Period | string;
/**
* Any manipulation of product post-collection that is intended to alter

@@ -291,2 +296,7 @@ * the product. For example a buffy-coat enrichment or CD8 reduction of

/**
* Time of manipulation.
*/
export type BiologicallyDerivedProductManipulationTime = Period | string;
/**
* Any processing of the product during collection that does not change

@@ -360,2 +370,7 @@ * the fundamental nature of the product. For example adding

/**
* Time of processing.
*/
export type BiologicallyDerivedProductProcessingTime = Period | string;
/**
* Product storage.

@@ -362,0 +377,0 @@ */

@@ -173,1 +173,6 @@ /*

}
/**
* A schedule for the bot to be executed.
*/
export type BotCron = string | Timing;

@@ -519,1 +519,13 @@ /*

}
/**
* The period, timing or frequency upon which the described activity is
* to occur.
*/
export type CarePlanActivityDetailScheduled = Period | string | Timing;
/**
* Identifies the food, drug or other product to be consumed or supplied
* in the activity.
*/
export type CarePlanActivityDetailProduct = CodeableConcept | Reference<Medication | Substance>;

@@ -287,2 +287,13 @@ /*

/**
* Date/time(s) or duration when the charged service was applied.
*/
export type ChargeItemOccurrence = Period | string | Timing;
/**
* Identifies the device, food, drug or other product being charged
* either by type code or reference to an instance.
*/
export type ChargeItemProduct = CodeableConcept | Reference<Device | Medication | Substance>;
/**
* Indicates who or what performed or participated in the charged

@@ -289,0 +300,0 @@ * service.

@@ -343,2 +343,7 @@ /*

/**
* The physical location of the accident event.
*/
export type ClaimAccidentLocation = Address | Reference<Location>;
/**
* The members of the team who provided the products and services.

@@ -489,2 +494,8 @@ */

/**
* The nature of illness or problem in a coded form or as a reference to
* an external defined Condition.
*/
export type ClaimDiagnosisDiagnosis = CodeableConcept | Reference<Condition>;
/**
* Financial instruments for reimbursement for the health care products

@@ -756,2 +767,13 @@ * and services specified on the claim.

/**
* The date or dates when the service or product was supplied, performed
* or completed.
*/
export type ClaimItemServiced = Period | string;
/**
* Where the product or service was provided.
*/
export type ClaimItemLocation = Address | CodeableConcept | Reference<Location>;
/**
* A claim detail line. Either a simple (a product or service) or a

@@ -1106,2 +1128,8 @@ * 'group' of sub-details which are simple items.

/**
* The code or reference to a Procedure resource which identifies the
* clinical intervention performed.
*/
export type ClaimProcedureProcedure = CodeableConcept | Reference<Procedure>;
/**
* Other claims which are related to this claim such as prior submissions

@@ -1274,1 +1302,13 @@ * or claims for related services or for the same event.

}
/**
* The date when or period to which this information refers.
*/
export type ClaimSupportingInfoTiming = Period | string;
/**
* Additional data or information such as resources, documents, images
* etc. including references to the data or the actual inclusion of the
* data.
*/
export type ClaimSupportingInfoValue = Attachment | boolean | Quantity | Reference<Resource> | string;

@@ -430,2 +430,13 @@ /*

/**
* The date or dates when the service or product was supplied, performed
* or completed.
*/
export type ClaimResponseAddItemServiced = Period | string;
/**
* Where the product or service was provided.
*/
export type ClaimResponseAddItemLocation = Address | CodeableConcept | Reference<Location>;
/**
* The second-tier service adjudications for payor added services.

@@ -432,0 +443,0 @@ */

@@ -241,2 +241,7 @@ /*

/**
* The point in time or period over which the subject was assessed.
*/
export type ClinicalImpressionEffective = Period | string;
/**
* Specific findings or diagnoses that were considered likely or relevant

@@ -243,0 +248,0 @@ * to ongoing treatment.

@@ -498,2 +498,7 @@ /*

/**
* The value of this property.
*/
export type CodeSystemConceptPropertyValue = boolean | Coding | number | string;
/**
* A filter that can be used in a value set compose statement when

@@ -500,0 +505,0 @@ * selecting concepts using a filter.

@@ -310,1 +310,7 @@ /*

}
/**
* A communicated content (or for multi-part communications, one portion
* of the communication).
*/
export type CommunicationPayloadContent = Attachment | Reference<Resource> | string;

@@ -249,2 +249,7 @@ /*

/**
* The time when this communication is to occur.
*/
export type CommunicationRequestOccurrence = Period | string;
/**
* Text, attachment(s), or resource(s) to be communicated to the

@@ -308,1 +313,7 @@ * recipient.

}
/**
* The communicated content (or for multi-part communications, one
* portion of the communication).
*/
export type CommunicationRequestPayloadContent = Attachment | Reference<Resource> | string;

@@ -385,2 +385,7 @@ /*

/**
* The target composition/document of this relationship.
*/
export type CompositionRelatesToTarget = Identifier | Reference<Composition>;
/**
* The root of the sections that make up the composition.

@@ -387,0 +392,0 @@ */

@@ -241,2 +241,16 @@ /*

/**
* Identifier for the source value set that contains the concepts that
* are being mapped and provides context for the mappings.
*/
export type ConceptMapSource = string;
/**
* The target value set provides context for the mappings. Note that the
* mapping is made between concepts, not between value sets, but the
* value set provides important context about how the concept mapping
* choices are made.
*/
export type ConceptMapTarget = string;
/**
* A group of mappings that all have the same source and target system.

@@ -243,0 +257,0 @@ */

@@ -269,2 +269,16 @@ /*

/**
* Estimated or actual date or date-time the condition began, in the
* opinion of the clinician.
*/
export type ConditionOnset = Age | Period | Range | string;
/**
* The date or estimated date that the condition resolved or went into
* remission. This is called &quot;abatement&quot; because of the many overloaded
* connotations associated with &quot;remission&quot; or &quot;resolution&quot; - Conditions
* are never really resolved, but they can abate.
*/
export type ConditionAbatement = Age | Period | Range | string;
/**
* Supporting evidence / manifestations that are the basis of the

@@ -271,0 +285,0 @@ * Condition's verification status, such as evidence that confirmed or

@@ -202,2 +202,10 @@ /*

/**
* The source on which this consent statement is based. The source might
* be a scanned original paper form, or a reference to a consent that
* links back to such a source, a reference to a document repository
* (e.g. XDS) that stores the original consent document.
*/
export type ConsentSource = Attachment | Reference<Consent | DocumentReference | Contract | QuestionnaireResponse>;
/**
* The references to the policies that are included in this consent

@@ -204,0 +212,0 @@ * scope. Policies may be organizational, but are often defined

@@ -365,2 +365,16 @@ /*

/**
* Narrows the range of legal concerns to focus on the achievement of
* specific contractual objectives.
*/
export type ContractTopic = CodeableConcept | Reference<Resource>;
/**
* Legally binding Contract: This is the signed and legally recognized
* representation of the Contract, which is considered the &quot;source of
* truth&quot; and which would be the basis for legal action related to
* enforcement of this Contract.
*/
export type ContractLegallyBinding = Attachment | Reference<Composition | DocumentReference | QuestionnaireResponse | Contract>;
/**
* Precusory content developed with a focus and intent of supporting the

@@ -511,2 +525,9 @@ * formation a Contract instance, which may be associated with and

/**
* Human readable rendering of this Contract in a format and
* representation intended to enhance comprehension and ensure
* understandability.
*/
export type ContractFriendlyContent = Attachment | Reference<Composition | DocumentReference | QuestionnaireResponse>;
/**
* List of Legal expressions or representations of this Contract.

@@ -563,2 +584,7 @@ */

/**
* Contract legal text in human renderable form.
*/
export type ContractLegalContent = Attachment | Reference<Composition | DocumentReference | QuestionnaireResponse>;
/**
* List of Computable Policy Rule Language Representations of this

@@ -618,2 +644,8 @@ * Contract.

/**
* Computable Contract conveyed using a policy rule language (e.g. XACML,
* DKAL, SecPal).
*/
export type ContractRuleContent = Attachment | Reference<DocumentReference>;
/**
* Parties with legal standing in the Contract, including the principal

@@ -793,2 +825,7 @@ * parties, the grantor(s) and grantee(s), which are any person or

/**
* The entity that the term applies to.
*/
export type ContractTermTopic = CodeableConcept | Reference<Resource>;
/**
* An actor taking a role in an activity for which it can be assigned

@@ -971,2 +1008,7 @@ * some degree of responsibility for the activity taking place.

/**
* When action happens.
*/
export type ContractTermActionOccurrence = Period | string | Timing;
/**
* Entity of the action.

@@ -1335,2 +1377,7 @@ */

/**
* Specific type of Contract Valued Item that may be priced.
*/
export type ContractTermAssetValuedItemEntity = CodeableConcept | Reference<Resource>;
/**
* The matter of concern in the context of this provision of the

@@ -1571,2 +1618,10 @@ * agrement.

/**
* Response to an offer clause or question text, which enables selection
* of values to be agreed to, e.g., the period of participation, the date
* of occupancy of a rental, warrently duration, or whether biospecimen
* may be used for further research.
*/
export type ContractTermOfferAnswerValue = Attachment | boolean | Coding | number | Quantity | Reference<Resource> | string;
/**
* Offer Recipient.

@@ -1573,0 +1628,0 @@ */

@@ -331,2 +331,7 @@ /*

/**
* The amount due from the patient for the cost category.
*/
export type CoverageCostToBeneficiaryValue = Money | Quantity;
/**
* A suite of codes indicating exceptions or reductions to patient costs

@@ -333,0 +338,0 @@ * and their effective periods.

@@ -198,2 +198,8 @@ /*

/**
* The date or dates when the enclosed suite of services were performed
* or completed.
*/
export type CoverageEligibilityRequestServiced = Period | string;
/**
* Financial instruments for reimbursement for the health care products

@@ -412,2 +418,8 @@ * and services.

/**
* The nature of illness or problem in a coded form or as a reference to
* an external defined Condition.
*/
export type CoverageEligibilityRequestItemDiagnosisDiagnosis = CodeableConcept | Reference<Condition>;
/**
* Additional information codes regarding exceptions, special

@@ -414,0 +426,0 @@ * considerations, the condition, situation, prior or concurrent issues.

@@ -196,2 +196,8 @@ /*

/**
* The date or dates when the enclosed suite of services were performed
* or completed.
*/
export type CoverageEligibilityResponseServiced = Period | string;
/**
* Errors encountered during the processing of the request.

@@ -509,1 +515,11 @@ */

}
/**
* The quantity of the benefit which is permitted under the coverage.
*/
export type CoverageEligibilityResponseInsuranceItemBenefitAllowed = Money | number | string;
/**
* The quantity of the benefit which have been consumed to date.
*/
export type CoverageEligibilityResponseInsuranceItemBenefitUsed = Money | number | string;

@@ -105,2 +105,8 @@ /*

/**
* The intended subjects of the data requirement. If this element is not
* provided, a Patient subject is assumed.
*/
export type DataRequirementSubject = CodeableConcept | Reference<Group>;
/**
* Code filters specify additional constraints on the data, specifying

@@ -243,2 +249,12 @@ * the value set of interest for a particular element of the data. Each

/**
* The value of the filter. If period is specified, the filter will
* return only those data items that fall within the bounds determined by
* the Period, inclusive of the period boundaries. If dateTime is
* specified, the filter will return only those data items that are equal
* to the specified dateTime. If a Duration is specified, the filter will
* return only those data items that fall within Duration before now.
*/
export type DataRequirementDateFilterValue = Duration | Period | string;
/**
* Specifies the order of the results to be returned.

@@ -245,0 +261,0 @@ */

@@ -181,2 +181,7 @@ /*

/**
* The date or period when the detected issue was initially identified.
*/
export type DetectedIssueIdentified = Period | string;
/**
* Supporting evidence or manifestations that provide the basis for

@@ -183,0 +188,0 @@ * identifying the detected issue such as a GuidanceResponse or

@@ -245,2 +245,7 @@ /*

/**
* A name of the manufacturer.
*/
export type DeviceDefinitionManufacturer = Reference<Organization> | string;
/**
* Device capabilities.

@@ -247,0 +252,0 @@ */

@@ -283,2 +283,15 @@ /*

/**
* The details of the device to be used.
*/
export type DeviceRequestCode = CodeableConcept | Reference<Device>;
/**
* The timing schedule for the use of the device. The Schedule data type
* allows many different expressions, for example. &quot;Every 8 hours&quot;;
* &quot;Three times a day&quot;; &quot;1/2 an hour before breakfast for 10 days from
* 23-Dec 2011:&quot;; &quot;15 Oct 2013, 17 Oct 2013 and 1 Nov 2013&quot;.
*/
export type DeviceRequestOccurrence = Period | string | Timing;
/**
* Specific parameters for the ordered item. For example, the prism

@@ -349,1 +362,6 @@ * value for lenses.

}
/**
* The value of the device detail.
*/
export type DeviceRequestParameterValue = boolean | CodeableConcept | Quantity | Range;

@@ -199,1 +199,6 @@ /*

}
/**
* How often the device was used.
*/
export type DeviceUseStatementTiming = Period | string | Timing;

@@ -242,2 +242,10 @@ /*

/**
* The time or time-period the observed values are related to. When the
* subject of the report is a patient, this is usually either the time of
* the procedure or of specimen collection(s), but very often the source
* of the date/time is not known, only the date/time itself.
*/
export type DiagnosticReportEffective = Period | string;
/**
* A list of key images associated with this report. The images are

@@ -244,0 +252,0 @@ * generally created during the diagnostic process, and may be directly

@@ -134,2 +134,9 @@ /*

/**
* Indicates whether the Medication is only taken when needed within a
* specific dosing schedule (Boolean option), or it indicates the
* precondition for taking the Medication (CodeableConcept).
*/
export type DosageAsNeeded = boolean | CodeableConcept;
/**
* The amount of medication administered.

@@ -186,1 +193,11 @@ */

}
/**
* Amount of medication per dose.
*/
export type DosageDoseAndRateDose = Quantity | Range;
/**
* Amount of medication per unit of time.
*/
export type DosageDoseAndRateRate = Quantity | Range | Ratio;

@@ -298,1 +298,7 @@ /*

}
/**
* A code or group definition that describes the intended subject of the
* event definition.
*/
export type EventDefinitionSubject = CodeableConcept | Reference<Group>;

@@ -432,1 +432,14 @@ /*

}
/**
* Define members of the evidence element using Codes (such as condition,
* medication, or observation), Expressions ( using an expression
* language such as FHIRPath or CQL) or DataRequirements (such as
* Diabetes diagnosis onset in the last year).
*/
export type EvidenceVariableCharacteristicDefinition = CodeableConcept | DataRequirement | Expression | Reference<Group> | string | TriggerDefinition;
/**
* Indicates what effective period the study covers.
*/
export type EvidenceVariableCharacteristicParticipantEffective = Duration | Period | string | Timing;

@@ -365,1 +365,10 @@ /*

}
/**
* Value of extension - must be one of a constrained set of the data
* types (see [Extensibility](extensibility.html) for a list).
*/
export type ExtensionValue = 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;

@@ -264,2 +264,19 @@ /*

/**
* The actual or approximate date of birth of the relative.
*/
export type FamilyMemberHistoryBorn = Period | string;
/**
* The age of the relative at the time the family member history is
* recorded.
*/
export type FamilyMemberHistoryAge = Age | Range | string;
/**
* Deceased flag or the actual or approximate age of the relative at the
* time of death for the family member history record.
*/
export type FamilyMemberHistoryDeceased = Age | boolean | Range | string;
/**
* The significant Conditions (or condition) that the family member had.

@@ -361,1 +378,8 @@ * This is a repeating section to allow a system to represent more than

}
/**
* Either the age of onset, range of approximate age or descriptive
* string can be recorded. For conditions with multiple occurrences,
* this describes the first known occurrence.
*/
export type FamilyMemberHistoryConditionOnset = Age | Period | Range | string;

@@ -212,2 +212,7 @@ /*

/**
* The date or event after which the goal should begin being pursued.
*/
export type GoalStart = CodeableConcept | string;
/**
* Indicates what should be done by when.

@@ -347,1 +352,18 @@ */

}
/**
* The target value of the focus to be achieved to signify the
* fulfillment of the goal, e.g. 150 pounds, 7.0%. Either the high or low
* or both values of the range can be specified. When a low value is
* missing, it indicates that the goal is achieved at any focus value at
* or below the high value. Similarly, if the high value is missing, it
* indicates that the goal is achieved at any focus value at or above the
* low value.
*/
export type GoalTargetDetail = boolean | CodeableConcept | number | Quantity | Range | Ratio | string;
/**
* Indicates either the date or the duration after start by which the
* goal should be met.
*/
export type GoalTargetDue = Duration | string;

@@ -259,2 +259,8 @@ /*

/**
* The value of the trait that holds (or does not hold - see 'exclude')
* for members of the group.
*/
export type GroupCharacteristicValue = boolean | CodeableConcept | Quantity | Range | Reference;
/**
* Identifies the resource instances that are members of the group.

@@ -261,0 +267,0 @@ */

@@ -229,1 +229,7 @@ /*

}
/**
* An identifier, CodeableConcept or canonical reference to the guidance
* that was requested.
*/
export type GuidanceResponseModule = CodeableConcept | string;

@@ -271,2 +271,7 @@ /*

/**
* Date vaccine administered or was to be administered.
*/
export type ImmunizationOccurrence = string;
/**
* Educational material presented to the patient (or guardian) at the

@@ -467,2 +472,12 @@ * time of vaccine administration.

/**
* Nominal position in a series.
*/
export type ImmunizationProtocolAppliedDoseNumber = number | string;
/**
* The recommended number of doses to achieve immunity.
*/
export type ImmunizationProtocolAppliedSeriesDoses = number | string;
/**
* Categorical data indicating that an adverse event is associated in

@@ -469,0 +484,0 @@ * time to an immunization.

@@ -180,1 +180,11 @@ /*

}
/**
* Nominal position in a series.
*/
export type ImmunizationEvaluationDoseNumber = number | string;
/**
* The recommended number of doses to achieve immunity.
*/
export type ImmunizationEvaluationSeriesDoses = number | string;

@@ -248,2 +248,13 @@ /*

/**
* Nominal position of the recommended dose in a series (e.g. dose 2 is
* the next recommended dose).
*/
export type ImmunizationRecommendationRecommendationDoseNumber = number | string;
/**
* The recommended number of doses to achieve immunity.
*/
export type ImmunizationRecommendationRecommendationSeriesDoses = number | string;
/**
* Vaccine date recommendations. For example, earliest date to

@@ -250,0 +261,0 @@ * administer, latest date to administer, etc.

@@ -487,2 +487,7 @@ /*

/**
* The source address for the page.
*/
export type ImplementationGuideDefinitionPageName = Reference<Binary> | string;
/**
* Defines how IG is built by tools.

@@ -632,2 +637,9 @@ */

/**
* If true or a reference, indicates the resource is an example instance.
* If a reference is present, indicates that the example is an example
* of the specified profile.
*/
export type ImplementationGuideDefinitionResourceExample = boolean | string;
/**
* A template for building resources.

@@ -996,1 +1008,8 @@ */

}
/**
* If true or a reference, indicates the resource is an example instance.
* If a reference is present, indicates that the example is an example
* of the specified profile.
*/
export type ImplementationGuideManifestResourceExample = boolean | string;

@@ -278,2 +278,10 @@ /*

/**
* The ChargeItem contains information such as the billing code, date,
* amount etc. If no further details are required for the lineItem,
* inline billing codes can be added using the CodeableConcept data type
* instead of the Reference.
*/
export type InvoiceLineItemChargeItem = CodeableConcept | Reference<ChargeItem>;
/**
* The price for a ChargeItem may be calculated as a base price with

@@ -280,0 +288,0 @@ * surcharges/deductions that apply in certain conditions. A

@@ -325,1 +325,7 @@ /*

}
/**
* A code or group definition that describes the intended subject of the
* contents of the library.
*/
export type LibrarySubject = CodeableConcept | Reference<Group>;

@@ -387,2 +387,9 @@ /*

/**
* The intended subjects for the measure. If this element is not
* provided, a Patient subject is assumed, but the subject of the measure
* can be anything.
*/
export type MeasureSubject = CodeableConcept | Reference<Group>;
/**
* A group of population criteria for the measure.

@@ -389,0 +396,0 @@ */

@@ -244,1 +244,6 @@ /*

}
/**
* The date and time(s) at which the media was collected.
*/
export type MediaCreated = Period | string;

@@ -268,1 +268,7 @@ /*

}
/**
* The actual ingredient - either a substance (simple ingredient) or
* another medication of a medication.
*/
export type MedicationIngredientItem = CodeableConcept | Reference<Substance | Medication>;

@@ -256,2 +256,18 @@ /*

/**
* Identifies the medication that was administered. This is either a link
* to a resource representing the details of the medication or a simple
* attribute carrying a code that identifies the medication from a known
* list of medications.
*/
export type MedicationAdministrationMedication = CodeableConcept | Reference<Medication>;
/**
* A specific date/time or interval of time during which the
* administration took place (or did not take place, when the 'notGiven'
* attribute is true). For many administrations, such as swallowing a
* tablet the use of dateTime is more appropriate.
*/
export type MedicationAdministrationEffective = Period | string;
/**
* Describes the medication dosage information details e.g. dose, rate,

@@ -354,2 +370,11 @@ * site, route, etc.

/**
* Identifies the speed with which the medication was or will be
* introduced into the patient. Typically, the rate for an infusion e.g.
* 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per
* unit of time, e.g. 500 ml per 2 hours. Other examples: 200 mcg/min
* or 200 mcg/1 minute; 1 liter/8 hours.
*/
export type MedicationAdministrationDosageRate = Quantity | Ratio;
/**
* Indicates who or what performed the medication administration and how

@@ -356,0 +381,0 @@ * they were involved.

@@ -279,2 +279,15 @@ /*

/**
* Indicates the reason why a dispense was not performed.
*/
export type MedicationDispenseStatusReason = CodeableConcept | Reference<DetectedIssue>;
/**
* Identifies the medication being administered. This is either a link to
* a resource representing the details of the medication or a simple
* attribute carrying a code that identifies the medication from a known
* list of medications.
*/
export type MedicationDispenseMedication = CodeableConcept | Reference<Medication>;
/**
* Indicates who or what performed the event.

@@ -281,0 +294,0 @@ */

@@ -305,2 +305,8 @@ /*

/**
* Indication for use that apply to the specific administration
* guidelines.
*/
export type MedicationKnowledgeAdministrationGuidelinesIndication = CodeableConcept | Reference<ObservationDefinition>;
/**
* Dosage for the medication for the specific guidelines.

@@ -417,2 +423,8 @@ */

/**
* Specific characteristic that is relevant to the administration
* guideline (e.g. height, weight, gender).
*/
export type MedicationKnowledgeAdministrationGuidelinesPatientCharacteristicsCharacteristic = CodeableConcept | Quantity;
/**
* The price of the medication.

@@ -543,2 +555,7 @@ */

/**
* Description of the characteristic.
*/
export type MedicationKnowledgeDrugCharacteristicValue = CodeableConcept | Quantity | string;
/**
* Identifies a particular constituent of interest in the product.

@@ -610,2 +627,8 @@ */

/**
* The actual ingredient - either a substance (simple ingredient) or
* another medication.
*/
export type MedicationKnowledgeIngredientItem = CodeableConcept | Reference<Substance>;
/**
* The time course of drug absorption, distribution, metabolism and

@@ -612,0 +635,0 @@ * excretion of a medication from the body.

@@ -350,2 +350,17 @@ /*

/**
* Indicates if this record was captured as a secondary 'reported' record
* rather than as an original primary source-of-truth record. It may
* also indicate the source of the report.
*/
export type MedicationRequestReported = boolean | Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Organization>;
/**
* Identifies the medication being requested. This is a link to a
* resource that represents the medication which may be the details of
* the medication or simply an attribute carrying a code that identifies
* the medication from a known list of medications.
*/
export type MedicationRequestMedication = CodeableConcept | Reference<Medication>;
/**
* Indicates the specific details for the dispense or medication supply

@@ -556,1 +571,7 @@ * part of a medication request (also known as a Medication Prescription

}
/**
* True if the prescriber allows a different drug to be dispensed from
* what was prescribed.
*/
export type MedicationRequestSubstitutionAllowed = boolean | CodeableConcept;

@@ -263,1 +263,16 @@ /*

}
/**
* Identifies the medication being administered. This is either a link to
* a resource representing the details of the medication or a simple
* attribute carrying a code that identifies the medication from a known
* list of medications.
*/
export type MedicationStatementMedication = CodeableConcept | Reference<Medication>;
/**
* The interval of time during which it is being asserted that the
* patient is/was/will be taking the medication (or was not taking, when
* the MedicationStatement.taken element is No).
*/
export type MedicationStatementEffective = Period | string;

@@ -531,1 +531,6 @@ /*

}
/**
* Condition for which the medicinal use applies.
*/
export type MedicinalProductSpecialDesignationIndication = CodeableConcept | Reference<MedicinalProductIndication>;

@@ -321,1 +321,6 @@ /*

}
/**
* Date of procedure.
*/
export type MedicinalProductAuthorizationProcedureDate = Period | string;

@@ -200,1 +200,9 @@ /*

}
/**
* Reference to a specific medication (active substance, medicinal
* product or class of products) as part of an indication or
* contraindication.
*/
export type MedicinalProductContraindicationOtherTherapyMedication = CodeableConcept | Reference<MedicinalProduct |
Medication | Substance | SubstanceSpecification>;

@@ -211,1 +211,8 @@ /*

}
/**
* Reference to a specific medication (active substance, medicinal
* product or class of products) as part of an indication or
* contraindication.
*/
export type MedicinalProductIndicationOtherTherapyMedication = CodeableConcept | Reference<MedicinalProduct | Medication | Substance | SubstanceSpecification>;

@@ -187,1 +187,6 @@ /*

}
/**
* The specific medication, food or laboratory test that interacts.
*/
export type MedicinalProductInteractionInteractantItem = CodeableConcept | Reference<MedicinalProduct | Medication | Substance | ObservationDefinition>;

@@ -266,2 +266,7 @@ /*

/**
* Event code or link to the EventDefinition.
*/
export type MessageDefinitionEvent = Coding | string;
/**
* Indicates what types of messages may be sent as an application-level

@@ -268,0 +273,0 @@ * response to this message.

@@ -186,2 +186,11 @@ /*

/**
* Code that identifies the event this message represents and connects it
* with its definition. Events defined as part of the FHIR specification
* have the system value
* &quot;http://terminology.hl7.org/CodeSystem/message-events&quot;. Alternatively
* uri to the EventDefinition.
*/
export type MessageHeaderEvent = Coding | string;
/**
* The destination application which the message is intended for.

@@ -188,0 +197,0 @@ */

@@ -395,2 +395,8 @@ /*

/**
* The rate of administration of formula via a feeding pump, e.g. 60 mL
* per hour, according to the specified schedule.
*/
export type NutritionOrderEnteralFormulaAdministrationRate = Quantity | Ratio;
/**
* Diet given orally in contrast to enteral (tube) feeding.

@@ -397,0 +403,0 @@ */

@@ -379,2 +379,17 @@ /*

/**
* The time or time-period the observed value is asserted as being true.
* For biological subjects - e.g. human patients - this is usually called
* the &quot;physiologically relevant time&quot;. This is usually either the time
* of the procedure or of specimen collection, but very often the source
* of the date/time is not known, only the date/time itself.
*/
export type ObservationEffective = Period | string | Timing;
/**
* The information determined as a result of making the observation, if
* the information has a simple value.
*/
export type ObservationValue = boolean | CodeableConcept | number | Period | Quantity | Range | Ratio | SampledData | string;
/**
* Some observations have multiple component observations. These

@@ -515,2 +530,8 @@ * component observations are expressed as separate code value pairs that

/**
* The information determined as a result of making the observation, if
* the information has a simple value.
*/
export type ObservationComponentValue = boolean | CodeableConcept | number | Period | Quantity | Range | Ratio | SampledData | string;
/**
* Guidance on how to interpret the value by comparison to a normal or

@@ -517,0 +538,0 @@ * recommended range. Multiple reference ranges are interpreted as an

@@ -389,1 +389,9 @@ /*

}
/**
* 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;

@@ -211,2 +211,13 @@ /*

/**
* Indicates if the individual is deceased or not.
*/
export type PatientDeceased = boolean | string;
/**
* Indicates whether the patient is part of a multiple (boolean) or
* indicates the actual birth order (integer).
*/
export type PatientMultipleBirth = boolean | number;
/**
* A language which may be used to communicate with the patient about his

@@ -213,0 +224,0 @@ * or her health.

@@ -332,2 +332,8 @@ /*

/**
* A code or group definition that describes the intended subject of the
* plan definition.
*/
export type PlanDefinitionSubject = CodeableConcept | Reference<Group>;
/**
* An action or group of actions to be taken as part of the plan.

@@ -571,2 +577,20 @@ */

/**
* A code or group definition that describes the intended subject of the
* action and its children, if any.
*/
export type PlanDefinitionActionSubject = CodeableConcept | Reference<Group>;
/**
* An optional value describing when the action should be performed.
*/
export type PlanDefinitionActionTiming = Age | Duration | Period | Range | string | Timing;
/**
* A reference to an ActivityDefinition that describes the action to be
* taken in detail, or a PlanDefinition that describes a series of
* actions to be taken.
*/
export type PlanDefinitionActionDefinition = string;
/**
* An expression that describes applicability criteria or start/stop

@@ -805,2 +829,8 @@ * conditions for the action.

/**
* A duration or range of durations to apply to the relationship. For
* example, 30-60 minutes before.
*/
export type PlanDefinitionActionRelatedActionOffset = Duration | Range;
/**
* Goals that describe what the activities within the plan are intended

@@ -973,1 +1003,11 @@ * to achieve. For example, weight loss, restoring an activity of daily

}
/**
* The target value of the measure to be achieved to signify fulfillment
* of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both
* values of the range can be specified. When a low value is missing, it
* indicates that the goal is achieved at any value at or below the high
* value. Similarly, if the high value is missing, it indicates that the
* goal is achieved at any value at or above the low value.
*/
export type PlanDefinitionGoalTargetDetail = CodeableConcept | Quantity | Range;

@@ -76,1 +76,6 @@ /*

}
/**
* The age of the specific population.
*/
export type PopulationAge = CodeableConcept | Range;

@@ -325,2 +325,10 @@ /*

/**
* Estimated or actual date, date-time, period, or age when the procedure
* was performed. Allows a period to support complex procedures that
* span more than one date, and also allows for the length of the
* procedure to be captured.
*/
export type ProcedurePerformed = Age | Period | Range | string;
/**
* A device that is implanted, removed or otherwise manipulated

@@ -327,0 +335,0 @@ * (calibration, battery replacement, fitting a prosthesis, attaching a

@@ -223,2 +223,7 @@ /*

/**
* The secret value.
*/
export type ProjectSettingValue = boolean | number | string;
/**
* Web application or web site that is associated with the project.

@@ -225,0 +230,0 @@ */

@@ -213,1 +213,7 @@ /*

}
/**
* Value of the parameter - must be one of a constrained set of the data
* types (see [Extensibility](extensibility.html) for a list).
*/
export type ProjectMembershipAccessParameterValue = Reference | string;

@@ -179,2 +179,7 @@ /*

/**
* The period during which the activity occurred.
*/
export type ProvenanceOccurred = Period | string;
/**
* An actor taking a role in an activity for which it can be assigned

@@ -181,0 +186,0 @@ * some degree of responsibility for the activity taking place.

@@ -492,2 +492,7 @@ /*

/**
* A potential answer that's allowed as the answer to this question.
*/
export type QuestionnaireItemAnswerOptionValue = Coding | number | Reference<Resource> | string;
/**
* A constraint indicating that this item should only be enabled

@@ -607,2 +612,8 @@ * (displayed/allow answers to be captured) when the specified condition

/**
* A value that the referenced question is tested using the specified
* operator in order for the item to be enabled.
*/
export type QuestionnaireItemEnableWhenAnswer = boolean | Coding | number | Quantity | Reference<Resource> | string;
/**
* One or more values that should be pre-populated in the answer when

@@ -708,1 +719,6 @@ * initially rendering the questionnaire for user input.

}
/**
* The actual value to for an initial answer.
*/
export type QuestionnaireItemInitialValue = Attachment | boolean | Coding | number | Quantity | Reference<Resource> | string;

@@ -366,1 +366,7 @@ /*

}
/**
* The answer (or one of the answers) provided by the respondent to the
* question.
*/
export type QuestionnaireResponseItemAnswerValue = Attachment | boolean | Coding | number | Quantity | Reference<Resource> | string;

@@ -395,2 +395,7 @@ /*

/**
* An optional value describing when the action should be performed.
*/
export type RequestGroupActionTiming = Age | Duration | Period | Range | string | Timing;
/**
* An expression that describes applicability criteria, or start/stop

@@ -512,1 +517,7 @@ * conditions for the action.

}
/**
* A duration or range of durations to apply to the relationship. For
* example, 30-60 minutes before.
*/
export type RequestGroupActionRelatedActionOffset = Duration | Range;

@@ -342,1 +342,8 @@ /*

}
/**
* The intended subjects for the ResearchDefinition. If this element is
* not provided, a Patient subject is assumed, but the subject of the
* ResearchDefinition can be anything.
*/
export type ResearchDefinitionSubject = CodeableConcept | Reference<Group>;

@@ -345,2 +345,9 @@ /*

/**
* The intended subjects for the ResearchElementDefinition. If this
* element is not provided, a Patient subject is assumed, but the subject
* of the ResearchElementDefinition can be anything.
*/
export type ResearchElementDefinitionSubject = CodeableConcept | Reference<Group>;
/**
* A characteristic that defines the members of the research element.

@@ -507,1 +514,19 @@ * Multiple characteristics are applied with &quot;and&quot; semantics.

}
/**
* Define members of the research element using Codes (such as condition,
* medication, or observation), Expressions ( using an expression
* language such as FHIRPath or CQL) or DataRequirements (such as
* Diabetes diagnosis onset in the last year).
*/
export type ResearchElementDefinitionCharacteristicDefinition = CodeableConcept | DataRequirement | Expression | string;
/**
* Indicates what effective period the study covers.
*/
export type ResearchElementDefinitionCharacteristicStudyEffective = Duration | Period | string | Timing;
/**
* Indicates what effective period the study covers.
*/
export type ResearchElementDefinitionCharacteristicParticipantEffective = Duration | Period | string | Timing;

@@ -206,2 +206,7 @@ /*

/**
* The date (and possibly time) the risk assessment was performed.
*/
export type RiskAssessmentOccurrence = Period | string;
/**
* Describes the expected outcome for the subject.

@@ -293,1 +298,12 @@ */

}
/**
* Indicates how likely the outcome is (in the specified timeframe).
*/
export type RiskAssessmentPredictionProbability = number | Range;
/**
* Indicates the period of time or age range of the subject to which the
* specified probability applies.
*/
export type RiskAssessmentPredictionWhen = Period | Range;

@@ -363,1 +363,19 @@ /*

}
/**
* An amount of service being requested which can be a quantity ( for
* example $1,500 home modification), a ratio ( for example, 20 half day
* visits per month), or a range (2.0 to 1.8 Gy per fraction).
*/
export type ServiceRequestQuantity = Quantity | Range | Ratio;
/**
* The date/time at which the requested service should occur.
*/
export type ServiceRequestOccurrence = Period | string | Timing;
/**
* If a CodeableConcept is present, it indicates the pre-condition for
* performing the service. For example &quot;pain&quot;, &quot;on flare-up&quot;, etc.
*/
export type ServiceRequestAsNeeded = boolean | CodeableConcept;

@@ -277,2 +277,14 @@ /*

/**
* Time when specimen was collected from subject - the physiologically
* relevant time.
*/
export type SpecimenCollectionCollected = Period | string;
/**
* Abstinence or reduction from some or all food, drink, or both, for a
* period of time prior to sample collection.
*/
export type SpecimenCollectionFastingStatus = CodeableConcept | Duration;
/**
* The container holding the specimen. The recursive nature of

@@ -361,2 +373,8 @@ * containers; i.e. blood in tube in tray in rack is not addressed here.

/**
* Introduced substance to preserve, maintain or enhance the specimen.
* Examples: Formalin, Citrate, EDTA.
*/
export type SpecimenContainerAdditive = CodeableConcept | Reference<Substance>;
/**
* Details concerning processing and processing steps for the specimen.

@@ -430,1 +448,8 @@ */

}
/**
* A record of the time or period when the specimen processing occurred.
* For example the time of sample fixation or the period of time the
* sample was in formalin.
*/
export type SpecimenProcessingTime = Period | string;

@@ -306,2 +306,7 @@ /*

/**
* The minimum volume to be conditioned in the container.
*/
export type SpecimenDefinitionTypeTestedContainerMinimumVolume = Quantity | string;
/**
* Substance introduced in the kind of container to preserve, maintain or

@@ -361,2 +366,8 @@ * enhance the specimen. Examples: Formalin, Citrate, EDTA.

/**
* Substance introduced in the kind of container to preserve, maintain or
* enhance the specimen. Examples: Formalin, Citrate, EDTA.
*/
export type SpecimenDefinitionTypeTestedContainerAdditiveAdditive = CodeableConcept | Reference<Substance>;
/**
* Set of instructions for preservation/transport of the specimen at a

@@ -363,0 +374,0 @@ * defined temperature interval, prior the testing process.

@@ -857,2 +857,10 @@ /*

/**
* A value to use if there is no existing value in the source object.
*/
export type StructureMapGroupRuleSourceDefaultValue = 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;
/**
* Content to create because of this mapping rule.

@@ -1006,2 +1014,7 @@ */

/**
* Parameter value - variable or literal.
*/
export type StructureMapGroupRuleTargetParameterValue = boolean | number | string;
/**
* A structure definition used by this map. The structure definition may

@@ -1008,0 +1021,0 @@ * describe instances that are converted, or the instances that are

@@ -193,2 +193,7 @@ /*

/**
* Another substance that is a component of this substance.
*/
export type SubstanceIngredientSubstance = CodeableConcept | Reference<Substance>;
/**
* Substance may be used to describe a kind of substance, or a specific

@@ -195,0 +200,0 @@ * package/container of the substance: an instance.

@@ -105,2 +105,10 @@ /*

/**
* Used to capture quantitative values for a variety of elements. If only
* limits are given, the arithmetic mean would be the average. If only a
* single definite value for a given element is given, it would be
* captured in this field.
*/
export type SubstanceAmountAmount = Quantity | Range | string;
/**
* Reference range of possible or expected values.

@@ -107,0 +115,0 @@ */

@@ -387,1 +387,6 @@ /*

}
/**
* Todo.
*/
export type SubstanceReferenceInformationTargetAmount = Quantity | Range | string;

@@ -355,2 +355,7 @@ /*

/**
* Quantitative value for this moiety.
*/
export type SubstanceSpecificationMoietyAmount = Quantity | string;
/**
* Names applicable to this substance.

@@ -589,2 +594,13 @@ */

/**
* A substance upon which a defining property depends (e.g. for
* solubility: in water, in alcohol).
*/
export type SubstanceSpecificationPropertyDefiningSubstance = CodeableConcept | Reference<SubstanceSpecification | Substance>;
/**
* Quantitative value for this property.
*/
export type SubstanceSpecificationPropertyAmount = Quantity | string;
/**
* A link between this substance and another, with details of the

@@ -700,2 +716,15 @@ * relationship.

/**
* A pointer to another substance, as a resource or just a
* representational code.
*/
export type SubstanceSpecificationRelationshipSubstance = CodeableConcept | Reference<SubstanceSpecification>;
/**
* A numeric factor for the relationship, for instance to express that
* the salt of a substance has some percentage of the active substance in
* relation to some other.
*/
export type SubstanceSpecificationRelationshipAmount = Quantity | Range | Ratio | string;
/**
* Structural information.

@@ -702,0 +731,0 @@ */

@@ -182,2 +182,7 @@ /*

/**
* The date or time(s) the activity occurred.
*/
export type SupplyDeliveryOccurrence = Period | string | Timing;
/**
* The item that is being delivered or has been supplied.

@@ -242,1 +247,8 @@ */

}
/**
* Identifies the medication, substance or device being dispensed. This
* is either a link to a resource representing the details of the item or
* a code that identifies the item from a known list.
*/
export type SupplyDeliverySuppliedItemItem = CodeableConcept | Reference<Medication | Substance | Device>;

@@ -215,2 +215,14 @@ /*

/**
* The item that is requested to be supplied. This is either a link to a
* resource representing the details of the item or a code that
* identifies the item from a known list.
*/
export type SupplyRequestItem = CodeableConcept | Reference<Medication | Substance | Device>;
/**
* When the request should be fulfilled.
*/
export type SupplyRequestOccurrence = Period | string | Timing;
/**
* Specific parameters for the ordered item. For example, the size of

@@ -281,1 +293,6 @@ * the indicated item.

}
/**
* The value of the device detail.
*/
export type SupplyRequestParameterValue = boolean | CodeableConcept | Quantity | Range;

@@ -618,2 +618,10 @@ /*

/**
* The value of the input parameter as a basic type.
*/
export type TaskInputValue = 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;
/**
* Outputs produced by the Task.

@@ -915,2 +923,10 @@ */

/**
* The value of the Output parameter as a basic type.
*/
export type TaskOutputValue = 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;
/**
* If the Task.focus is a request resource and the task is seeking

@@ -917,0 +933,0 @@ * fulfillment (i.e. is asking for the request to be actioned), this

@@ -213,1 +213,8 @@ /*

}
/**
* Either a duration for the length of the timing schedule, a range of
* possible length, or outer bounds for start and/or end limits of the
* timing schedule.
*/
export type TimingRepeatBounds = Duration | Period | Range;

@@ -81,1 +81,6 @@ /*

}
/**
* The timing of the event (if this is a periodic trigger).
*/
export type TriggerDefinitionTiming = Reference<Schedule> | string | Timing;

@@ -75,1 +75,8 @@ /*

}
/**
* A value that defines the context specified in this context of use. The
* interpretation of the value is defined by the code.
*/
export type UsageContextValue = CodeableConcept | Quantity | Range | Reference<PlanDefinition | ResearchStudy |
InsurancePlan | HealthcareService | Group | Location | Organization>;

@@ -187,2 +187,8 @@ /*

/**
* Value of option - must be one of a constrained set of the data types
* (see [Extensibility](extensibility.html) for a list).
*/
export type UserConfigurationOptionValue = boolean | number | string;
/**
* Shortcut links to URLs.

@@ -189,0 +195,0 @@ */

@@ -831,1 +831,6 @@ /*

}
/**
* The value of the parameter.
*/
export type ValueSetExpansionParameterValue = boolean | number | string;

2

package.json
{
"name": "@medplum/fhirtypes",
"version": "3.1.6",
"version": "3.1.7",
"description": "Medplum FHIR Type Definitions",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc