//
// Contents of: hl7.fhir.r2.core version: 1.0.2
// Primitive Naming Style: None
// Complex Type / Resource Naming Style: PascalCase
// Interaction Naming Style: None
// Extension Support: NonPrimitive
// Language option: "namespace" = "true"
export as namespace fhir2;
/**
* Base StructureDefinition for DeviceUseStatement Resource
*/
export interface DeviceUseStatement extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'DeviceUseStatement';
/**
* Target body site
* Indicates the site on the subject's body where the device was used ( i.e. the target site).
*/
bodySiteCodeableConcept?: CodeableConcept | undefined;
/**
* Target body site
* Indicates the site on the subject's body where the device was used ( i.e. the target site).
*/
bodySiteReference?: Reference | undefined;
/** The time period over which the device was used. */
whenUsed?: Period | undefined;
/** The details of the device used. */
device: Reference;
/** An external identifier for this statement such as an IRI. */
identifier?: Identifier[] | undefined;
/** Reason or justification for the use of the device. */
indication?: CodeableConcept[] | undefined;
/** Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement. */
notes?: string[] | undefined;
_notes?: Element[] | undefined;
/** The time at which the statement was made/recorded. */
recordedOn?: string | undefined;
_recordedOn?: Element | undefined;
/** The patient who used the device. */
subject: Reference;
/** How often the device was used. */
timingTiming?: Timing | undefined;
/** How often the device was used. */
timingPeriod?: Period | undefined;
/** How often the device was used. */
timingDateTime?: string | undefined;
_timingDateTime?: Element | undefined;
}
/**
* Base StructureDefinition for Attachment Type
*/
export interface Attachment extends Element {
/**
* Mime type of the content, with charset etc.
* Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.
*/
contentType?: string | undefined;
_contentType?: Element | undefined;
/**
* Human language of the content (BCP-47)
* The human language of the content. The value can be any valid value according to BCP 47.
*/
language?: string | undefined;
_language?: Element | undefined;
/**
* Data inline, base64ed
* The actual data of the attachment - a sequence of bytes. In XML, represented using base64.
*/
data?: string | undefined;
_data?: Element | undefined;
/**
* Uri where the data can be found
* An alternative location where the data can be accessed.
*/
url?: string | undefined;
_url?: Element | undefined;
/**
* Number of bytes of content (if url provided)
* The number of bytes of data that make up this attachment.
*/
size?: number | undefined;
_size?: Element | undefined;
/**
* Hash of the data (sha-1, base64ed)
* The calculated hash of the data using SHA-1. Represented using base64.
*/
hash?: string | undefined;
_hash?: Element | undefined;
/**
* Label to display in place of the data
* A label or set of text to display in place of the data.
*/
title?: string | undefined;
_title?: Element | undefined;
/**
* Date attachment was first created
* The date that the attachment was first created.
*/
creation?: string | undefined;
_creation?: Element | undefined;
}
/**
* Base StructureDefinition for Appointment Resource
*/
export interface Appointment extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Appointment';
/**
* External Ids for this item
* This records identifiers associated with this appointment concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
*/
identifier?: Identifier[] | undefined;
/**
* proposed | pending | booked | arrived | fulfilled | cancelled | noshow
* The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status.
*/
status: string;
_status?: Element | undefined;
/**
* The type of appointment that is being booked
* The type of appointment that is being booked (This may also be associated with participants for location, and/or a HealthcareService).
*/
type?: CodeableConcept | undefined;
/**
* Reason this appointment is scheduled
* The reason that this appointment is being scheduled. This is more clinical than administrative.
*/
reason?: CodeableConcept | undefined;
/**
* Used to make informed decisions if needing to re-prioritize
* The priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority).
*/
priority?: number | undefined;
_priority?: Element | undefined;
/**
* Shown on a subject line in a meeting request, or appointment list
* The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* When appointment is to take place
* Date/Time that the appointment is to take place.
*/
start?: string | undefined;
_start?: Element | undefined;
/**
* When appointment is to conclude
* Date/Time that the appointment is to conclude.
*/
end?: string | undefined;
_end?: Element | undefined;
/**
* Can be less than start/end (e.g. estimate)
* Number of minutes that the appointment is to take. This can be less than the duration between the start and end times (where actual time of appointment is only an estimate or is a planned appointment request).
*/
minutesDuration?: number | undefined;
_minutesDuration?: Element | undefined;
/**
* If provided, then no schedule and start/end values MUST match slot
* The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot.
*/
slot?: Reference[] | undefined;
/**
* Additional comments
* Additional comments about the appointment.
*/
comment?: string | undefined;
_comment?: Element | undefined;
/**
* Participants involved in appointment
* List of participants involved in the appointment.
*/
participant: AppointmentParticipant[];
}
/**
* Participants involved in appointment
* List of participants involved in the appointment.
*/
export interface AppointmentParticipant extends BackboneElement {
/** Role of participant in the appointment */
type?: CodeableConcept[] | undefined;
/**
* Person, Location/HealthcareService or Device
* A Person, Location/HealthcareService or Device that is participating in the appointment.
*/
actor?: Reference | Reference | Reference | Reference | Reference | Reference | undefined;
/**
* required | optional | information-only
* Is this participant required to be present at the meeting. This covers a use-case where 2 doctors need to meet to discuss the results for a specific patient, and the patient is not required to be present.
*/
required?: string | undefined;
_required?: Element | undefined;
/**
* accepted | declined | tentative | needs-action
* Participation status of the Patient.
*/
status: string;
_status?: Element | undefined;
}
/**
* Base StructureDefinition for Condition Resource
*/
export interface Condition extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Condition';
/**
* External Ids for this condition
* This records identifiers associated with this condition that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
*/
identifier?: Identifier[] | undefined;
/**
* Who has the condition?
* Indicates the patient who the condition record is associated with.
*/
patient: Reference;
/**
* Encounter when condition first asserted
* Encounter during which the condition was first asserted.
*/
encounter?: Reference | undefined;
/**
* Person who asserts this condition
* Individual who is making the condition statement.
*/
asserter?: Reference | Reference | undefined;
/**
* When first entered
* A date, when the Condition statement was documented.
*/
dateRecorded?: string | undefined;
_dateRecorded?: Element | undefined;
/** Identification of the condition, problem or diagnosis */
code: CodeableConcept;
/**
* complaint | symptom | finding | diagnosis
* A category assigned to the condition.
*/
category?: CodeableConcept | undefined;
/**
* active | relapse | remission | resolved
* The clinical status of the condition.
*/
clinicalStatus?: string | undefined;
_clinicalStatus?: Element | undefined;
/**
* provisional | differential | confirmed | refuted | entered-in-error | unknown
* The verification status to support the clinical status of the condition.
*/
verificationStatus: string;
_verificationStatus?: Element | undefined;
/**
* Subjective severity of condition
* A subjective assessment of the severity of the condition as evaluated by the clinician.
*/
severity?: CodeableConcept | undefined;
/**
* Estimated or actual date, date-time, or age
* Estimated or actual date or date-time the condition began, in the opinion of the clinician.
*/
onsetDateTime?: string | undefined;
_onsetDateTime?: Element | undefined;
/**
* Estimated or actual date, date-time, or age
* Estimated or actual date or date-time the condition began, in the opinion of the clinician.
*/
onsetQuantity?: Quantity | undefined;
/**
* Estimated or actual date, date-time, or age
* Estimated or actual date or date-time the condition began, in the opinion of the clinician.
*/
onsetPeriod?: Period | undefined;
/**
* Estimated or actual date, date-time, or age
* Estimated or actual date or date-time the condition began, in the opinion of the clinician.
*/
onsetRange?: Range | undefined;
/**
* Estimated or actual date, date-time, or age
* Estimated or actual date or date-time the condition began, in the opinion of the clinician.
*/
onsetString?: string | undefined;
_onsetString?: Element | undefined;
/**
* If/when in resolution/remission
* The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.
*/
abatementDateTime?: string | undefined;
_abatementDateTime?: Element | undefined;
/**
* If/when in resolution/remission
* The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.
*/
abatementQuantity?: Quantity | undefined;
/**
* If/when in resolution/remission
* The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.
*/
abatementBoolean?: boolean | undefined;
_abatementBoolean?: Element | undefined;
/**
* If/when in resolution/remission
* The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.
*/
abatementPeriod?: Period | undefined;
/**
* If/when in resolution/remission
* The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.
*/
abatementRange?: Range | undefined;
/**
* If/when in resolution/remission
* The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.
*/
abatementString?: string | undefined;
_abatementString?: Element | undefined;
/**
* Stage/grade, usually assessed formally
* Clinical stage or grade of a condition. May include formal severity assessments.
*/
stage?: ConditionStage | undefined;
/**
* Supporting evidence
* Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.
*/
evidence?: ConditionEvidence[] | undefined;
/**
* Anatomical location, if relevant
* The anatomical location where this condition manifests itself.
*/
bodySite?: CodeableConcept[] | undefined;
/**
* Additional information about the Condition
* Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.
*/
notes?: string | undefined;
_notes?: Element | undefined;
}
/**
* Stage/grade, usually assessed formally
* Clinical stage or grade of a condition. May include formal severity assessments.
*/
export interface ConditionStage extends BackboneElement {
/**
* Simple summary (disease specific)
* A simple summary of the stage such as "Stage 3". The determination of the stage is disease-specific.
*/
summary?: CodeableConcept | undefined;
/**
* Formal record of assessment
* Reference to a formal record of the evidence on which the staging assessment is based.
*/
assessment?: Reference | Reference | Reference[] | undefined;
}
/**
* Supporting evidence
* Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.
*/
export interface ConditionEvidence extends BackboneElement {
/**
* Manifestation/symptom
* A manifestation or symptom that led to the recording of this condition.
*/
code?: CodeableConcept | undefined;
/**
* Supporting information found elsewhere
* Links to other relevant information, including pathology reports.
*/
detail?: Reference[] | undefined;
}
/**
* Base StructureDefinition for List Resource
*/
export interface List extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'List';
/**
* Business identifier
* Identifier for the List assigned for business purposes outside the context of FHIR.
*/
identifier?: Identifier[] | undefined;
/**
* Descriptive name for the list
* A label for the list assigned by the author.
*/
title?: string | undefined;
_title?: Element | undefined;
/**
* What the purpose of this list is
* This code defines the purpose of the list - why it was created.
*/
code?: CodeableConcept | undefined;
/**
* If all resources have the same subject
* The common subject (or patient) of the resources that are in the list, if there is one.
*/
subject?: Reference | Reference | Reference | Reference | undefined;
/**
* Who and/or what defined the list contents (aka Author)
* The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list.
*/
source?: Reference | Reference | Reference | undefined;
/**
* Context in which list created
* The encounter that is the context in which this list was created.
*/
encounter?: Reference | undefined;
/**
* current | retired | entered-in-error
* Indicates the current state of this list.
*/
status: string;
_status?: Element | undefined;
/**
* When the list was prepared
* The date that the list was prepared.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* What order the list has
* What order applies to the items in the list.
*/
orderedBy?: CodeableConcept | undefined;
/**
* working | snapshot | changes
* How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.
*/
mode: string;
_mode?: Element | undefined;
/**
* Comments about the list
* Comments that apply to the overall list.
*/
note?: string | undefined;
_note?: Element | undefined;
/**
* Entries in the list
* Entries in this list.
*/
entry?: ListEntry[] | undefined;
/**
* Why list is empty
* If the list is empty, why the list is empty.
*/
emptyReason?: CodeableConcept | undefined;
}
/**
* Entries in the list
* Entries in this list.
*/
export interface ListEntry extends BackboneElement {
/**
* Status/Workflow information about this item
* The flag allows the system constructing the list to indicate the role and significance of the item in the list.
*/
flag?: CodeableConcept | undefined;
/**
* If this item is actually marked as deleted
* True if this item is marked as deleted in the list.
*/
deleted?: boolean | undefined;
_deleted?: Element | undefined;
/**
* When item added to list
* When this item was added to the list.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Actual entry
* A reference to the actual resource from which data was derived.
*/
item: Reference;
}
/**
* A count of a discrete element (no unit)
*/
export interface Count extends Quantity {
}
/**
* Base StructureDefinition for EligibilityResponse Resource
*/
export interface EligibilityResponse extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'EligibilityResponse';
/**
* Business Identifier
* The Response business identifier.
*/
identifier?: Identifier[] | undefined;
/**
* Claim reference
* Original request resource reference.
*/
request?: Reference | undefined;
/**
* complete | error
* Transaction status: error, complete.
*/
outcome?: string | undefined;
_outcome?: Element | undefined;
/**
* Disposition Message
* A description of the status of the adjudication.
*/
disposition?: string | undefined;
_disposition?: Element | undefined;
/**
* Resource version
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*/
ruleset?: Coding | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when the enclosed suite of services were performed or completed.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Insurer
* The Insurer who produced this adjudicated response.
*/
organization?: Reference | undefined;
/**
* Responsible practitioner
* The practitioner who is responsible for the services rendered to the patient.
*/
requestProvider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the services rendered to the patient.
*/
requestOrganization?: Reference | undefined;
}
/**
* Base StructureDefinition for Media Resource
*/
export interface Media extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Media';
/**
* photo | video | audio
* Whether the media is a photo (still image), an audio recording, or a video recording.
*/
type: string;
_type?: Element | undefined;
/**
* The type of acquisition equipment/process
* Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality.
*/
subtype?: CodeableConcept | undefined;
/**
* Identifier(s) for the image
* Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers.
*/
identifier?: Identifier[] | undefined;
/** Who/What this Media is a record of */
subject?: Reference | Reference | Reference | Reference | Reference | undefined;
/**
* The person who generated the image
* The person who administered the collection of the image.
*/
operator?: Reference | undefined;
/**
* Imaging view, e.g. Lateral or Antero-posterior
* The name of the imaging view e.g. Lateral or Antero-posterior (AP).
*/
view?: CodeableConcept | undefined;
/**
* Name of the device/manufacturer
* The name of the device / manufacturer of the device that was used to make the recording.
*/
deviceName?: string | undefined;
_deviceName?: Element | undefined;
/** Height of the image in pixels (photo/video) */
height?: number | undefined;
_height?: Element | undefined;
/** Width of the image in pixels (photo/video) */
width?: number | undefined;
_width?: Element | undefined;
/**
* Number of frames if > 1 (photo)
* The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required.
*/
frames?: number | undefined;
_frames?: Element | undefined;
/**
* Length in seconds (audio / video)
* The duration of the recording in seconds - for audio and video.
*/
duration?: number | undefined;
_duration?: Element | undefined;
/**
* Actual Media - reference or data
* The actual content of the media - inline or by direct reference to the media source file.
*/
content: Attachment;
}
/**
* Base StructureDefinition for SupplyDelivery Resource
*/
export interface SupplyDelivery extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'SupplyDelivery';
/**
* External identifier
* Identifier assigned by the dispensing facility when the item(s) is dispensed.
*/
identifier?: Identifier | undefined;
/**
* in-progress | completed | abandoned
* A code specifying the state of the dispense event.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* Patient for whom the item is supplied
* A link to a resource representing the person whom the delivered item is for.
*/
patient?: Reference | undefined;
/**
* Category of dispense event
* Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
*/
type?: CodeableConcept | undefined;
/**
* Amount dispensed
* The amount of supply that has been dispensed. Includes unit of measure.
*/
quantity?: Quantity | undefined;
/**
* Medication, Substance, or Device supplied
* Identifies the medication, substance or device being dispensed. This is either a link to a resource representing the details of the item or a simple attribute carrying a code that identifies the item from a known list.
*/
suppliedItem?: Reference | Reference | Reference | undefined;
/**
* Dispenser
* The individual responsible for dispensing the medication, supplier or device.
*/
supplier?: Reference | undefined;
/**
* Dispensing time
* The time the dispense event occurred.
*/
whenPrepared?: Period | undefined;
/**
* Handover time
* The time the dispensed item was sent or handed to the patient (or agent).
*/
time?: string | undefined;
_time?: Element | undefined;
/**
* Where the Supply was sent
* Identification of the facility/location where the Supply was shipped to, as part of the dispense event.
*/
destination?: Reference | undefined;
/**
* Who collected the Supply
* Identifies the person who picked up the Supply.
*/
receiver?: Reference[] | undefined;
}
/**
* Base StructureDefinition for Conformance Resource
*/
export interface Conformance extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Conformance';
/**
* Logical uri to reference this statement
* An absolute URL that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this conformance statement is (or will be) published.
*/
url?: string | undefined;
_url?: Element | undefined;
/**
* Logical id for this version of the statement
* The identifier that is used to identify this version of the conformance statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Informal name for this conformance statement
* A free text natural language name identifying the conformance statement.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* draft | active | retired
* The status of this conformance statement.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* If for testing purposes, not real usage
* A flag to indicate that this conformance statement is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
experimental?: boolean | undefined;
_experimental?: Element | undefined;
/**
* Name of the publisher (Organization or individual)
* The name of the individual or organization that published the conformance.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
contact?: ConformanceContact[] | undefined;
/**
* Publication Date(/time)
* The date (and optionally time) when the conformance statement was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the conformance statement changes.
*/
date: string;
_date?: Element | undefined;
/**
* Human description of the conformance statement
* A free text natural language description of the conformance statement and its use. Typically, this is used when the conformance statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Why is this needed?
* Explains why this conformance statement is needed and why it's been constrained as it has.
*/
requirements?: string | undefined;
_requirements?: Element | undefined;
/**
* Use and/or publishing restrictions
* A copyright statement relating to the conformance statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the system described by the conformance statement.
*/
copyright?: string | undefined;
_copyright?: Element | undefined;
/**
* instance | capability | requirements
* The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind not instance of software) or a class of implementation (e.g. a desired purchase).
*/
kind: string;
_kind?: Element | undefined;
/**
* Software that is covered by this conformance statement
* Software that is covered by this conformance statement. It is used when the conformance statement describes the capabilities of a particular software version, independent of an installation.
*/
software?: ConformanceSoftware | undefined;
/**
* If this describes a specific instance
* Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program.
*/
implementation?: ConformanceImplementation | undefined;
/**
* FHIR Version the system uses
* The version of the FHIR specification on which this conformance statement is based.
*/
fhirVersion: string;
_fhirVersion?: Element | undefined;
/**
* no | extensions | elements | both
* A code that indicates whether the application accepts unknown elements or extensions when reading resources.
*/
acceptUnknown: string;
_acceptUnknown?: Element | undefined;
/**
* formats supported (xml | json | mime type)
* A list of the formats supported by this implementation using their content types.
*/
format: string[];
_format?: Element[] | undefined;
/**
* Profiles for use cases supported
* A list of profiles that represent different use cases supported by the system. For a server, "supported by the system" means the system hosts/produces a set of resources that are conformant to a particular profile, and allows clients that use its services to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles]{profiling.html#profile-uses}.
*/
profile?: Reference[] | undefined;
/**
* If the endpoint is a RESTful one
* A definition of the restful capabilities of the solution, if any.
*/
rest?: ConformanceRest[] | undefined;
/**
* If messaging is supported
* A description of the messaging capabilities of the solution.
*/
messaging?: ConformanceMessaging[] | undefined;
/**
* Document definition
* A document definition.
*/
document?: ConformanceDocument[] | undefined;
}
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
export interface ConformanceContact extends BackboneElement {
/**
* Name of a individual to contact
* The name of an individual to contact regarding the conformance.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Contact details for individual or publisher
* Contact details for individual (if a name was provided) or the publisher.
*/
telecom?: ContactPoint[] | undefined;
}
/**
* Software that is covered by this conformance statement
* Software that is covered by this conformance statement. It is used when the conformance statement describes the capabilities of a particular software version, independent of an installation.
*/
export interface ConformanceSoftware extends BackboneElement {
/**
* A name the software is known by
* Name software is known by.
*/
name: string;
_name?: Element | undefined;
/**
* Version covered by this statement
* The version identifier for the software covered by this statement.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Date this version released
* Date this version of the software released.
*/
releaseDate?: string | undefined;
_releaseDate?: Element | undefined;
}
/**
* If this describes a specific instance
* Identifies a specific implementation instance that is described by the conformance statement - i.e. a particular installation, rather than the capabilities of a software program.
*/
export interface ConformanceImplementation extends BackboneElement {
/**
* Describes this specific instance
* Information about the specific installation that this conformance statement relates to.
*/
description: string;
_description?: Element | undefined;
/**
* Base URL for the installation
* An absolute base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces.
*/
url?: string | undefined;
_url?: Element | undefined;
}
/**
* Certificates associated with security profiles
*/
export interface ConformanceRestSecurityCertificate extends BackboneElement {
/** Mime type for certificate */
type?: string | undefined;
_type?: Element | undefined;
/** Actual certificate */
blob?: string | undefined;
_blob?: Element | undefined;
}
/**
* Information about security of implementation
* Information about security implementation from an interface perspective - what a client needs to know.
*/
export interface ConformanceRestSecurity extends BackboneElement {
/**
* Adds CORS Headers (http://enable-cors.org/)
* Server adds CORS headers when responding to requests - this enables javascript applications to use the server.
*/
cors?: boolean | undefined;
_cors?: Element | undefined;
/**
* OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates
* Types of security services are supported/required by the system.
*/
service?: CodeableConcept[] | undefined;
/** General description of how security works */
description?: string | undefined;
_description?: Element | undefined;
/** Certificates associated with security profiles */
certificate?: ConformanceRestSecurityCertificate[] | undefined;
}
/**
* What operations are supported?
* Identifies a restful operation supported by the solution.
*/
export interface ConformanceRestResourceInteraction extends BackboneElement {
/**
* read | vread | update | delete | history-instance | validate | history-type | create | search-type
* Coded identifier of the operation, supported by the system resource.
*/
code: string;
_code?: Element | undefined;
/**
* Anything special about operation behavior
* Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'.
*/
documentation?: string | undefined;
_documentation?: Element | undefined;
}
/**
* Search params supported by implementation
* Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation.
*/
export interface ConformanceRestResourceSearchParam extends BackboneElement {
/**
* Name of search parameter
* The name of the search parameter used in the interface.
*/
name: string;
_name?: Element | undefined;
/**
* Source of definition for parameter
* An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [[[SearchParameter.url]]]).
*/
definition?: string | undefined;
_definition?: Element | undefined;
/**
* number | date | string | token | reference | composite | quantity | uri
* The type of value a search parameter refers to, and how the content is interpreted.
*/
type: string;
_type?: Element | undefined;
/**
* Server-specific usage
* This allows documentation of any distinct behaviors about how the search parameter is used. For example, text matching algorithms.
*/
documentation?: string | undefined;
_documentation?: Element | undefined;
/**
* Types of resource (if a resource reference)
* Types of resource (if a resource is referenced).
*/
target?: string[] | undefined;
_target?: Element[] | undefined;
/**
* missing | exact | contains | not | text | in | not-in | below | above | type
* A modifier supported for the search parameter.
*/
modifier?: string[] | undefined;
_modifier?: Element[] | undefined;
/**
* Chained names supported
* Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference, and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from Conformance.rest.resource.searchParam.name on the target resource type.
*/
chain?: string[] | undefined;
_chain?: Element[] | undefined;
}
/**
* Resource served on the REST interface
* A specification of the restful capabilities of the solution for a specific resource type.
*/
export interface ConformanceRestResource extends BackboneElement {
/**
* A resource type that is supported
* A type of resource exposed via the restful interface.
*/
type: string;
_type?: Element | undefined;
/**
* Base System profile for all uses of resource
* A specification of the profile that describes the solution's overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles]{profiling.html#profile-uses}.
*/
profile?: Reference | undefined;
/**
* What operations are supported?
* Identifies a restful operation supported by the solution.
*/
interaction: ConformanceRestResourceInteraction[];
/**
* no-version | versioned | versioned-update
* This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API.
*/
versioning?: string | undefined;
_versioning?: Element | undefined;
/**
* Whether vRead can return past versions
* A flag for whether the server is able to return past versions as part of the vRead operation.
*/
readHistory?: boolean | undefined;
_readHistory?: Element | undefined;
/**
* If update can commit to a new identity
* A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server.
*/
updateCreate?: boolean | undefined;
_updateCreate?: Element | undefined;
/**
* If allows/uses conditional create
* A flag that indicates that the server supports conditional create.
*/
conditionalCreate?: boolean | undefined;
_conditionalCreate?: Element | undefined;
/**
* If allows/uses conditional update
* A flag that indicates that the server supports conditional update.
*/
conditionalUpdate?: boolean | undefined;
_conditionalUpdate?: Element | undefined;
/**
* not-supported | single | multiple - how conditional delete is supported
* A code that indicates how the server supports conditional delete.
*/
conditionalDelete?: string | undefined;
_conditionalDelete?: Element | undefined;
/**
* _include values supported by the server
* A list of _include values supported by the server.
*/
searchInclude?: string[] | undefined;
_searchInclude?: Element[] | undefined;
/**
* _revinclude values supported by the server
* A list of _revinclude (reverse include) values supported by the server.
*/
searchRevInclude?: string[] | undefined;
_searchRevInclude?: Element[] | undefined;
/**
* Search params supported by implementation
* Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation.
*/
searchParam?: ConformanceRestResourceSearchParam[] | undefined;
}
/**
* What operations are supported?
* A specification of restful operations supported by the system.
*/
export interface ConformanceRestInteraction extends BackboneElement {
/**
* transaction | search-system | history-system
* A coded identifier of the operation, supported by the system.
*/
code: string;
_code?: Element | undefined;
/**
* Anything special about operation behavior
* Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented.
*/
documentation?: string | undefined;
_documentation?: Element | undefined;
}
/**
* Definition of an operation or a custom query
* Definition of an operation or a named query and with its parameters and their meaning and type.
*/
export interface ConformanceRestOperation extends BackboneElement {
/**
* Name by which the operation/query is invoked
* The name of a query, which is used in the _query parameter when the query is called.
*/
name: string;
_name?: Element | undefined;
/**
* The defined operation/query
* Where the formal definition can be found.
*/
definition: Reference;
}
/**
* If the endpoint is a RESTful one
* A definition of the restful capabilities of the solution, if any.
*/
export interface ConformanceRest extends BackboneElement {
/**
* client | server
* Identifies whether this portion of the statement is describing ability to initiate or receive restful operations.
*/
mode: string;
_mode?: Element | undefined;
/**
* General description of implementation
* Information about the system's restful capabilities that apply across all applications, such as security.
*/
documentation?: string | undefined;
_documentation?: Element | undefined;
/**
* Information about security of implementation
* Information about security implementation from an interface perspective - what a client needs to know.
*/
security?: ConformanceRestSecurity | undefined;
/**
* Resource served on the REST interface
* A specification of the restful capabilities of the solution for a specific resource type.
*/
resource: ConformanceRestResource[];
/**
* What operations are supported?
* A specification of restful operations supported by the system.
*/
interaction?: ConformanceRestInteraction[] | undefined;
/**
* not-supported | batch | transaction | both
* A code that indicates how transactions are supported.
*/
transactionMode?: string | undefined;
_transactionMode?: Element | undefined;
/**
* Definition of an operation or a custom query
* Definition of an operation or a named query and with its parameters and their meaning and type.
*/
operation?: ConformanceRestOperation[] | undefined;
/**
* Compartments served/used by system
* An absolute URI which is a reference to the definition of a compartment hosted by the system.
*/
compartment?: string[] | undefined;
_compartment?: Element[] | undefined;
}
/**
* A messaging service end-point
* An endpoint (network accessible address) to which messages and/or replies are to be sent.
*/
export interface ConformanceMessagingEndpoint extends BackboneElement {
/**
* http | ftp | mllp +
* A list of the messaging transport protocol(s) identifiers, supported by this endpoint.
*/
protocol: Coding;
/**
* Address of end-point
* The network address of the end-point. For solutions that do not use network addresses for routing, it can be just an identifier.
*/
address: string;
_address?: Element | undefined;
}
/**
* Declare support for this event
* A description of the solution's support for an event at this end-point.
*/
export interface ConformanceMessagingEvent extends BackboneElement {
/**
* Event type
* A coded identifier of a supported messaging event.
*/
code: Coding;
/**
* Consequence | Currency | Notification
* The impact of the content of the message.
*/
category?: string | undefined;
_category?: Element | undefined;
/**
* sender | receiver
* The mode of this event declaration - whether application is sender or receiver.
*/
mode: string;
_mode?: Element | undefined;
/**
* Resource that's focus of message
* A resource associated with the event. This is the resource that defines the event.
*/
focus: string;
_focus?: Element | undefined;
/**
* Profile that describes the request
* Information about the request for this event.
*/
request: Reference;
/**
* Profile that describes the response
* Information about the response for this event.
*/
response: Reference;
/**
* Endpoint-specific event documentation
* Guidance on how this event is handled, such as internal system trigger points, business rules, etc.
*/
documentation?: string | undefined;
_documentation?: Element | undefined;
}
/**
* If messaging is supported
* A description of the messaging capabilities of the solution.
*/
export interface ConformanceMessaging extends BackboneElement {
/**
* A messaging service end-point
* An endpoint (network accessible address) to which messages and/or replies are to be sent.
*/
endpoint?: ConformanceMessagingEndpoint[] | undefined;
/**
* Reliable Message Cache Length (min)
* Length if the receiver's reliable messaging cache in minutes (if a receiver) or how long the cache length on the receiver should be (if a sender).
*/
reliableCache?: number | undefined;
_reliableCache?: Element | undefined;
/**
* Messaging interface behavior details
* Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the conformance statement. For example, process for becoming an authorized messaging exchange partner.
*/
documentation?: string | undefined;
_documentation?: Element | undefined;
/**
* Declare support for this event
* A description of the solution's support for an event at this end-point.
*/
event: ConformanceMessagingEvent[];
}
/**
* Document definition
* A document definition.
*/
export interface ConformanceDocument extends BackboneElement {
/**
* producer | consumer
* Mode of this document declaration - whether application is producer or consumer.
*/
mode: string;
_mode?: Element | undefined;
/**
* Description of document support
* A description of how the application supports or uses the specified document profile. For example, when are documents created, what action is taken with consumed documents, etc.
*/
documentation?: string | undefined;
_documentation?: Element | undefined;
/**
* Constraint on a resource used in the document
* A constraint on a resource used in the document.
*/
profile: Reference;
}
/**
* Base StructureDefinition for BodySite Resource
*/
export interface BodySite extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'BodySite';
/**
* Patient
* The person to which the body site belongs.
*/
patient: Reference;
/**
* Bodysite identifier
* Identifier for this instance of the anatomical location.
*/
identifier?: Identifier[] | undefined;
/**
* Named anatomical location
* Named anatomical location - ideally coded where possible.
*/
code?: CodeableConcept | undefined;
/**
* Modification to location code
* Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
*/
modifier?: CodeableConcept[] | undefined;
/**
* The Description of anatomical location
* Description of anatomical location.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Attached images
* Image or images used to identify a location.
*/
image?: Attachment[] | undefined;
}
/**
* Base StructureDefinition for Composition Resource
*/
export interface Composition extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Composition';
/**
* Logical identifier of composition (version-independent)
* Logical identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time.
*/
identifier?: Identifier | undefined;
/**
* Composition editing time
* The composition editing time, when the composition was last logically changed by the author.
*/
date: string;
_date?: Element | undefined;
/**
* Kind of composition (LOINC if possible)
* Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition.
*/
type: CodeableConcept;
/**
* Categorization of Composition
* A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.
*/
class?: CodeableConcept | undefined;
/**
* Human Readable name/title
* Official human-readable label for the composition.
*/
title: string;
_title?: Element | undefined;
/**
* preliminary | final | amended | entered-in-error
* The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.
*/
status: string;
_status?: Element | undefined;
/**
* As defined by affinity domain
* The code specifying the level of confidentiality of the Composition.
*/
confidentiality?: string | undefined;
_confidentiality?: Element | undefined;
/**
* Who and/or what the composition is about
* Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).
*/
subject: Reference;
/**
* Who and/or what authored the composition
* Identifies who is responsible for the information in the composition, not necessarily who typed it in.
*/
author: Reference | Reference | Reference | Reference[];
/**
* Attests to accuracy of composition
* A participant who has attested to the accuracy of the composition/document.
*/
attester?: CompositionAttester[] | undefined;
/**
* Organization which maintains the composition
* Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.
*/
custodian?: Reference | undefined;
/**
* The clinical service(s) being documented
* The clinical service, such as a colonoscopy or an appendectomy, being documented.
*/
event?: CompositionEvent[] | undefined;
/**
* Context of the Composition
* Describes the clinical encounter or type of care this documentation is associated with.
*/
encounter?: Reference | undefined;
/**
* Composition is broken into sections
* The root of the sections that make up the composition.
*/
section?: CompositionSection[] | undefined;
}
/**
* Attests to accuracy of composition
* A participant who has attested to the accuracy of the composition/document.
*/
export interface CompositionAttester extends BackboneElement {
/**
* personal | professional | legal | official
* The type of attestation the authenticator offers.
*/
mode: string[];
_mode?: Element[] | undefined;
/**
* When composition attested
* When composition was attested by the party.
*/
time?: string | undefined;
_time?: Element | undefined;
/**
* Who attested the composition
* Who attested the composition in the specified way.
*/
party?: Reference | Reference | Reference | undefined;
}
/**
* The clinical service(s) being documented
* The clinical service, such as a colonoscopy or an appendectomy, being documented.
*/
export interface CompositionEvent extends BackboneElement {
/**
* Code(s) that apply to the event being documented
* This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act.
*/
code?: CodeableConcept[] | undefined;
/**
* The period covered by the documentation
* The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.
*/
period?: Period | undefined;
/**
* The event(s) being documented
* The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy.
*/
detail?: Reference[] | undefined;
}
/**
* Composition is broken into sections
* The root of the sections that make up the composition.
*/
export interface CompositionSection extends BackboneElement {
/**
* Label for section (e.g. for ToC)
* The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.
*/
title?: string | undefined;
_title?: Element | undefined;
/**
* Classification of section (recommended)
* A code identifying the kind of content contained within the section. This must be consistent with the section title.
*/
code?: CodeableConcept | undefined;
/**
* Text summary of the section, for human interpretation
* A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative.
*/
text?: Narrative | undefined;
/**
* working | snapshot | changes
* How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.
*/
mode?: string | undefined;
_mode?: Element | undefined;
/**
* Order of section entries
* Specifies the order applied to the items in the section entries.
*/
orderedBy?: CodeableConcept | undefined;
/**
* A reference to data that supports this section
* A reference to the actual resource from which the narrative in the section is derived.
*/
entry?: Reference[] | undefined;
/**
* Why the section is empty
* If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.
*/
emptyReason?: CodeableConcept | undefined;
/**
* Nested Section
* A nested sub-section within this section.
*/
section?: CompositionSection[] | undefined;
}
/**
* Base StructureDefinition for Encounter Resource
*/
export interface Encounter extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Encounter';
/** Identifier(s) by which this encounter is known */
identifier?: Identifier[] | undefined;
/** planned | arrived | in-progress | onleave | finished | cancelled */
status: string;
_status?: Element | undefined;
/**
* List of past encounter statuses
* The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.
*/
statusHistory?: EncounterStatusHistory[] | undefined;
/** inpatient | outpatient | ambulatory | emergency + */
class?: string | undefined;
_class?: Element | undefined;
/**
* Specific type of encounter
* Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).
*/
type?: CodeableConcept[] | undefined;
/** Indicates the urgency of the encounter */
priority?: CodeableConcept | undefined;
/** The patient present at the encounter */
patient?: Reference | undefined;
/**
* Episode(s) of care that this encounter should be recorded against
* Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).
*/
episodeOfCare?: Reference[] | undefined;
/**
* The ReferralRequest that initiated this encounter
* The referral request this encounter satisfies (incoming referral).
*/
incomingReferral?: Reference[] | undefined;
/**
* List of participants involved in the encounter
* The list of people responsible for providing the service.
*/
participant?: EncounterParticipant[] | undefined;
/** The appointment that scheduled this encounter */
appointment?: Reference | undefined;
/** The start and end time of the encounter */
period?: Period | undefined;
/**
* Quantity of time the encounter lasted (less time absent)
* Quantity of time the encounter lasted. This excludes the time during leaves of absence.
*/
length?: Quantity | undefined;
/**
* Reason the encounter takes place (code)
* Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.
*/
reason?: CodeableConcept[] | undefined;
/**
* Reason the encounter takes place (resource)
* Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.
*/
indication?: Reference | Reference[] | undefined;
/** Details about the admission to a healthcare service */
hospitalization?: EncounterHospitalization | undefined;
/**
* List of locations where the patient has been
* List of locations where the patient has been during this encounter.
*/
location?: EncounterLocation[] | undefined;
/**
* The custodian organization of this Encounter record
* An organization that is in charge of maintaining the information of this Encounter (e.g. who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization.
*/
serviceProvider?: Reference | undefined;
/**
* Another Encounter this encounter is part of
* Another Encounter of which this encounter is a part of (administratively or in time).
*/
partOf?: Reference | undefined;
}
/**
* List of past encounter statuses
* The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.
*/
export interface EncounterStatusHistory extends BackboneElement {
/** planned | arrived | in-progress | onleave | finished | cancelled */
status: string;
_status?: Element | undefined;
/** The time that the episode was in the specified status */
period: Period;
}
/**
* List of participants involved in the encounter
* The list of people responsible for providing the service.
*/
export interface EncounterParticipant extends BackboneElement {
/** Role of participant in encounter */
type?: CodeableConcept[] | undefined;
/**
* Period of time during the encounter participant was present
* The period of time that the specified participant was present during the encounter. These can overlap or be sub-sets of the overall encounters period.
*/
period?: Period | undefined;
/** Persons involved in the encounter other than the patient */
individual?: Reference | Reference | undefined;
}
/**
* Details about the admission to a healthcare service
*/
export interface EncounterHospitalization extends BackboneElement {
/** Pre-admission identifier */
preAdmissionIdentifier?: Identifier | undefined;
/** The location from which the patient came before admission */
origin?: Reference | undefined;
/** From where patient was admitted (physician referral, transfer) */
admitSource?: CodeableConcept | undefined;
/**
* The admitting diagnosis as reported by admitting practitioner
* The admitting diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter.
*/
admittingDiagnosis?: Reference[] | undefined;
/**
* The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
* Whether this hospitalization is a readmission and why if known.
*/
reAdmission?: CodeableConcept | undefined;
/** Diet preferences reported by the patient */
dietPreference?: CodeableConcept[] | undefined;
/** Special courtesies (VIP, board member) */
specialCourtesy?: CodeableConcept[] | undefined;
/** Wheelchair, translator, stretcher, etc. */
specialArrangement?: CodeableConcept[] | undefined;
/** Location to which the patient is discharged */
destination?: Reference | undefined;
/** Category or kind of location after discharge */
dischargeDisposition?: CodeableConcept | undefined;
/** The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete */
dischargeDiagnosis?: Reference[] | undefined;
}
/**
* List of locations where the patient has been
* List of locations where the patient has been during this encounter.
*/
export interface EncounterLocation extends BackboneElement {
/**
* Location the encounter takes place
* The location where the encounter takes place.
*/
location: Reference;
/**
* planned | active | reserved | completed
* The status of the participants' presence at the specified location during the period specified. If the participant is is no longer at the location, then the period will have an end date/time.
*/
status?: string | undefined;
_status?: Element | undefined;
/** Time period during which the patient was present at the location */
period?: Period | undefined;
}
/**
* Base StructureDefinition for MedicationAdministration Resource
*/
export interface MedicationAdministration extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'MedicationAdministration';
/**
* External identifier
* External identifier - FHIR will generate its own internal identifiers (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated.
*/
identifier?: Identifier[] | undefined;
/**
* in-progress | on-hold | completed | entered-in-error | stopped
* Will generally be set to show that the administration has been completed. For some long running administrations such as infusions it is possible for an administration to be started but not completed or it may be paused while some other process is under way.
*/
status: string;
_status?: Element | undefined;
/**
* Who received medication
* The person or animal receiving the medication.
*/
patient: Reference;
/**
* Who administered substance
* The individual who was responsible for giving the medication to the patient.
*/
practitioner?: Reference | Reference | Reference | undefined;
/**
* Encounter administered as part of
* The visit, admission or other contact between patient and health care provider the medication administration was performed as part of.
*/
encounter?: Reference | undefined;
/**
* Order administration performed against
* The original request, instruction or authority to perform the administration.
*/
prescription?: Reference | undefined;
/**
* True if medication not administered
* Set this to true if the record is saying that the medication was NOT administered.
*/
wasNotGiven?: boolean | undefined;
_wasNotGiven?: Element | undefined;
/**
* Reason administration not performed
* A code indicating why the administration was not performed.
*/
reasonNotGiven?: CodeableConcept[] | undefined;
/**
* Reason administration performed
* A code indicating why the medication was given.
*/
reasonGiven?: CodeableConcept[] | undefined;
/**
* Start and end time of administration
* 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.
*/
effectiveTimeDateTime?: string | undefined;
_effectiveTimeDateTime?: Element | undefined;
/**
* Start and end time of administration
* 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.
*/
effectiveTimePeriod?: Period | undefined;
/**
* What was administered
* 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.
*/
medicationCodeableConcept?: CodeableConcept | undefined;
/**
* What was administered
* 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.
*/
medicationReference?: Reference | undefined;
/**
* Device used to administer
* The device used in administering the medication to the patient. For example, a particular infusion pump.
*/
device?: Reference[] | undefined;
/**
* Information about the administration
* Extra information about the medication administration that is not conveyed by the other attributes.
*/
note?: string | undefined;
_note?: Element | undefined;
/**
* Details of how medication was taken
* Describes the medication dosage information details e.g. dose, rate, site, route, etc.
*/
dosage?: MedicationAdministrationDosage | undefined;
}
/**
* Details of how medication was taken
* Describes the medication dosage information details e.g. dose, rate, site, route, etc.
*/
export interface MedicationAdministrationDosage extends BackboneElement {
/**
* Dosage Instructions
* Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* Body site administered to
* A coded specification of the anatomic site where the medication first entered the body. For example, "left arm".
*/
siteCodeableConcept?: CodeableConcept | undefined;
/**
* Body site administered to
* A coded specification of the anatomic site where the medication first entered the body. For example, "left arm".
*/
siteReference?: Reference | undefined;
/**
* Path of substance into body
* A code specifying the route or physiological path of administration of a therapeutic agent into or onto the patient. For example, topical, intravenous, etc.
*/
route?: CodeableConcept | undefined;
/**
* How drug was administered
* A coded value indicating the method by which the medication is intended to be or was introduced into or on the body. This attribute will most often NOT be populated. It is most commonly used for injections. For example, Slow Push, Deep IV.
*/
method?: CodeableConcept | undefined;
/**
* Amount administered in one dose
* The amount of the medication given at one administration event. Use this value when the administration is essentially an instantaneous event such as a swallowing a tablet or giving an injection.
*/
quantity?: Quantity | undefined;
/**
* Dose quantity per unit of time
* 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. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.
*/
rateRatio?: Ratio | undefined;
/**
* Dose quantity per unit of time
* 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. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.
*/
rateRange?: Range | undefined;
}
/**
* Base StructureDefinition for DocumentManifest Resource
*/
export interface DocumentManifest extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'DocumentManifest';
/**
* Unique Identifier for the set of documents
* A single identifier that uniquely identifies this manifest. Principally used to refer to the manifest in non-FHIR contexts.
*/
masterIdentifier?: Identifier | undefined;
/**
* Other identifiers for the manifest
* Other identifiers associated with the document manifest, including version independent identifiers.
*/
identifier?: Identifier[] | undefined;
/**
* The subject of the set of documents
* Who or what the set of documents is about. The documents can be about a person, (patient or healthcare practitioner), a device (i.e. machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure). If the documents cross more than one subject, then more than one subject is allowed here (unusual use case).
*/
subject?: Reference | Reference | Reference | Reference | undefined;
/**
* Intended to get notified about this set of documents
* A patient, practitioner, or organization for which this set of documents is intended.
*/
recipient?: Reference | Reference | Reference | Reference[] | undefined;
/**
* Kind of document set
* Specifies the kind of this set of documents (e.g. Patient Summary, Discharge Summary, Prescription, etc.). The type of a set of documents may be the same as one of the documents in it - especially if there is only one - but it may be wider.
*/
type?: CodeableConcept | undefined;
/**
* Who and/or what authored the manifest
* Identifies who is responsible for creating the manifest, and adding documents to it.
*/
author?: Reference | Reference | Reference | Reference | Reference[] | undefined;
/**
* When this document manifest created
* When the document manifest was created for submission to the server (not necessarily the same thing as the actual resource last modified time, since it may be modified, replicated, etc.).
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* The source system/application/software
* Identifies the source system, application, or software that produced the document manifest.
*/
source?: string | undefined;
_source?: Element | undefined;
/**
* current | superseded | entered-in-error
* The status of this document manifest.
*/
status: string;
_status?: Element | undefined;
/**
* Human-readable description (title)
* Human-readable description of the source document. This is sometimes known as the "title".
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* The items included
* The list of Documents included in the manifest.
*/
content: DocumentManifestContent[];
/**
* Related things
* Related identifiers or resources associated with the DocumentManifest.
*/
related?: DocumentManifestRelated[] | undefined;
}
/**
* The items included
* The list of Documents included in the manifest.
*/
export interface DocumentManifestContent extends BackboneElement {
/**
* Contents of this set of documents
* The list of references to document content, or Attachment that consist of the parts of this document manifest. Usually, these would be document references, but direct references to Media or Attachments are also allowed.
*/
pAttachment?: Attachment | undefined;
/**
* Contents of this set of documents
* The list of references to document content, or Attachment that consist of the parts of this document manifest. Usually, these would be document references, but direct references to Media or Attachments are also allowed.
*/
pReference?: Reference | undefined;
}
/**
* Related things
* Related identifiers or resources associated with the DocumentManifest.
*/
export interface DocumentManifestRelated extends BackboneElement {
/**
* Identifiers of things that are related
* Related identifier to this DocumentManifest. For example, Order numbers, accession numbers, XDW workflow numbers.
*/
identifier?: Identifier | undefined;
/**
* Related Resource
* Related Resource to this DocumentManifest. For example, Order, DiagnosticOrder, Procedure, EligibilityRequest, etc.
*/
ref?: Reference | undefined;
}
/**
* Base StructureDefinition for Claim Resource
*/
export interface Claim extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Claim';
/**
* institutional | oral | pharmacy | professional | vision
* The category of claim this is.
*/
type: string;
_type?: Element | undefined;
/**
* Claim number
* The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number.
*/
identifier?: Identifier[] | undefined;
/**
* Current specification followed
* The version of the specification on which this instance relies.
*/
ruleset?: Coding | undefined;
/**
* Original specification followed
* The version of the specification from which the original instance was created.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when the enclosed suite of services were performed or completed.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Insurer
* Insurer Identifier, typical BIN number (6 digit).
*/
target?: Reference | undefined;
/**
* Responsible provider
* The provider which is responsible for the bill, claim pre-determination, pre-authorization.
*/
provider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the bill, claim pre-determination, pre-authorization.
*/
organization?: Reference | undefined;
/**
* complete | proposed | exploratory | other
* Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination).
*/
use?: string | undefined;
_use?: Element | undefined;
/**
* Desired processing priority
* Immediate (stat), best effort (normal), deferred (deferred).
*/
priority?: Coding | undefined;
/**
* Funds requested to be reserved
* In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested.
*/
fundsReserve?: Coding | undefined;
/**
* Author
* Person who created the invoice/claim/pre-determination or pre-authorization.
*/
enterer?: Reference | undefined;
/**
* Servicing Facility
* Facility where the services were provided.
*/
facility?: Reference | undefined;
/**
* Prescription
* Prescription to support the dispensing of Pharmacy or Vision products.
*/
prescription?: Reference | Reference | undefined;
/**
* Original Prescription
* Original prescription to support the dispensing of pharmacy services, medications or products.
*/
originalPrescription?: Reference | undefined;
/**
* Payee
* The party to be reimbursed for the services.
*/
payee?: ClaimPayee | undefined;
/**
* Treatment Referral
* The referral resource which lists the date, practitioner, reason and other supporting information.
*/
referral?: Reference | undefined;
/**
* Diagnosis
* Ordered list of patient diagnosis for which care is sought.
*/
diagnosis?: ClaimDiagnosis[] | undefined;
/**
* List of presenting Conditions
* List of patient conditions for which care is sought.
*/
condition?: Coding[] | undefined;
/**
* The subject of the Products and Services
* Patient Resource.
*/
patient: Reference;
/**
* Insurance or medical plan
* Financial instrument by which payment information for health care.
*/
coverage?: ClaimCoverage[] | undefined;
/**
* Eligibility exceptions
* Factors which may influence the applicability of coverage.
*/
exception?: Coding[] | undefined;
/**
* Name of School
* Name of school for over-aged dependents.
*/
school?: string | undefined;
_school?: Element | undefined;
/**
* Accident Date
* Date of an accident which these services are addressing.
*/
accident?: string | undefined;
_accident?: Element | undefined;
/**
* Accident Type
* Type of accident: work, auto, etc.
*/
accidentType?: Coding | undefined;
/**
* Intervention and exception code (Pharma)
* A list of intervention and exception codes which may influence the adjudication of the claim.
*/
interventionException?: Coding[] | undefined;
/**
* Goods and Services
* First tier of goods and services.
*/
item?: ClaimItem[] | undefined;
/**
* Additional materials, documents, etc.
* Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission.
*/
additionalMaterials?: Coding[] | undefined;
/**
* Only if type = oral
* A list of teeth which would be expected but are not found due to having been previously extracted or for other reasons.
*/
missingTeeth?: ClaimMissingTeeth[] | undefined;
}
/**
* Payee
* The party to be reimbursed for the services.
*/
export interface ClaimPayee extends BackboneElement {
/**
* Party to be paid any benefits payable
* Party to be reimbursed: Subscriber, provider, other.
*/
type?: Coding | undefined;
/**
* Provider who is the payee
* The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned).
*/
provider?: Reference | undefined;
/**
* Organization who is the payee
* The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned).
*/
organization?: Reference | undefined;
/**
* Other person who is the payee
* The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned).
*/
person?: Reference | undefined;
}
/**
* Diagnosis
* Ordered list of patient diagnosis for which care is sought.
*/
export interface ClaimDiagnosis extends BackboneElement {
/**
* Sequence of diagnosis
* Sequence of diagnosis which serves to order and provide a link.
*/
sequence: number;
_sequence?: Element | undefined;
/**
* Patient's list of diagnosis
* The diagnosis.
*/
diagnosis: Coding;
}
/**
* Insurance or medical plan
* Financial instrument by which payment information for health care.
*/
export interface ClaimCoverage extends BackboneElement {
/**
* Service instance identifier
* A service line item.
*/
sequence: number;
_sequence?: Element | undefined;
/**
* The focal Coverage
* The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated.
*/
focal: boolean;
_focal?: Element | undefined;
/**
* Insurance information
* Reference to the program or plan identification, underwriter or payor.
*/
coverage: Reference;
/**
* Business agreement
* The contract number of a business agreement which describes the terms and conditions.
*/
businessArrangement?: string | undefined;
_businessArrangement?: Element | undefined;
/**
* Patient relationship to subscriber
* The relationship of the patient to the subscriber.
*/
relationship: Coding;
/**
* Pre-Authorization/Determination Reference
* A list of references from the Insurer to which these services pertain.
*/
preAuthRef?: string[] | undefined;
_preAuthRef?: Element[] | undefined;
/**
* Adjudication results
* The Coverages adjudication details.
*/
claimResponse?: Reference | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
}
/**
* Additional items
* Third tier of goods and services.
*/
export interface ClaimItemDetailSubDetail extends BackboneElement {
/**
* Service instance
* A service line number.
*/
sequence: number;
_sequence?: Element | undefined;
/**
* Type of product or service
* The type of product or service.
*/
type: Coding;
/**
* Additional item codes
* The fee for an additional service or product or charge.
*/
service: Coding;
/**
* Count of Products or Services
* The number of repetitions of a service or product.
*/
quantity?: Quantity | undefined;
/**
* Fee, charge or cost per point
* The fee for an additional service or product or charge.
*/
unitPrice?: Quantity | undefined;
/**
* Price scaling factor
* A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
*/
factor?: number | undefined;
_factor?: Element | undefined;
/**
* Difficulty scaling factor
* An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point.
*/
points?: number | undefined;
_points?: Element | undefined;
/**
* Net additional item cost
* The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.
*/
net?: Quantity | undefined;
/**
* Unique Device Identifier
* List of Unique Device Identifiers associated with this line item.
*/
udi?: Coding | undefined;
}
/**
* Additional items
* Second tier of goods and services.
*/
export interface ClaimItemDetail extends BackboneElement {
/**
* Service instance
* A service line number.
*/
sequence: number;
_sequence?: Element | undefined;
/**
* Group or type of product or service
* The type of product or service.
*/
type: Coding;
/**
* Additional item codes
* If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied.
*/
service: Coding;
/**
* Count of Products or Services
* The number of repetitions of a service or product.
*/
quantity?: Quantity | undefined;
/**
* Fee, charge or cost per point
* If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group.
*/
unitPrice?: Quantity | undefined;
/**
* Price scaling factor
* A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
*/
factor?: number | undefined;
_factor?: Element | undefined;
/**
* Difficulty scaling factor
* An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point.
*/
points?: number | undefined;
_points?: Element | undefined;
/**
* Total additional item cost
* The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.
*/
net?: Quantity | undefined;
/**
* Unique Device Identifier
* List of Unique Device Identifiers associated with this line item.
*/
udi?: Coding | undefined;
/**
* Additional items
* Third tier of goods and services.
*/
subDetail?: ClaimItemDetailSubDetail[] | undefined;
}
/**
* Prosthetic details
* The materials and placement date of prior fixed prosthesis.
*/
export interface ClaimItemProsthesis extends BackboneElement {
/**
* Is this the initial service
* Indicates whether this is the initial placement of a fixed prosthesis.
*/
initial?: boolean | undefined;
_initial?: Element | undefined;
/**
* Initial service Date
* Date of the initial placement.
*/
priorDate?: string | undefined;
_priorDate?: Element | undefined;
/**
* Prosthetic Material
* Material of the prior denture or bridge prosthesis. (Oral).
*/
priorMaterial?: Coding | undefined;
}
/**
* Goods and Services
* First tier of goods and services.
*/
export interface ClaimItem extends BackboneElement {
/**
* Service instance
* A service line number.
*/
sequence: number;
_sequence?: Element | undefined;
/**
* Group or type of product or service
* The type of product or service.
*/
type: Coding;
/**
* Responsible practitioner
* The practitioner who is responsible for the services rendered to the patient.
*/
provider?: Reference | undefined;
/**
* Diagnosis Link
* Diagnosis applicable for this service or product line.
*/
diagnosisLinkId?: number[] | undefined;
_diagnosisLinkId?: Element[] | undefined;
/**
* Item Code
* If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied.
*/
service: Coding;
/**
* Date of Service
* The date when the enclosed suite of services were performed or completed.
*/
serviceDate?: string | undefined;
_serviceDate?: Element | undefined;
/**
* Count of Products or Services
* The number of repetitions of a service or product.
*/
quantity?: Quantity | undefined;
/**
* Fee, charge or cost per point
* If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group.
*/
unitPrice?: Quantity | undefined;
/**
* Price scaling factor
* A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
*/
factor?: number | undefined;
_factor?: Element | undefined;
/**
* Difficulty scaling factor
* An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point.
*/
points?: number | undefined;
_points?: Element | undefined;
/**
* Total item cost
* The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.
*/
net?: Quantity | undefined;
/**
* Unique Device Identifier
* List of Unique Device Identifiers associated with this line item.
*/
udi?: Coding | undefined;
/**
* Service Location
* Physical service site on the patient (limb, tooth, etc.).
*/
bodySite?: Coding | undefined;
/**
* Service Sub-location
* A region or surface of the site, e.g. limb region or tooth surface(s).
*/
subSite?: Coding[] | undefined;
/**
* Service/Product billing modifiers
* Item typification or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.
*/
modifier?: Coding[] | undefined;
/**
* Additional items
* Second tier of goods and services.
*/
detail?: ClaimItemDetail[] | undefined;
/**
* Prosthetic details
* The materials and placement date of prior fixed prosthesis.
*/
prosthesis?: ClaimItemProsthesis | undefined;
}
/**
* Only if type = oral
* A list of teeth which would be expected but are not found due to having been previously extracted or for other reasons.
*/
export interface ClaimMissingTeeth extends BackboneElement {
/**
* Tooth Code
* The code identifying which tooth is missing.
*/
tooth: Coding;
/**
* Reason for missing
* Missing reason may be: E-extraction, O-other.
*/
reason?: Coding | undefined;
/**
* Date of Extraction
* The date of the extraction either known from records or patient reported estimate.
*/
extractionDate?: string | undefined;
_extractionDate?: Element | undefined;
}
/**
* Base StructureDefinition for DeviceMetric Resource
*/
export interface DeviceMetric extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'DeviceMetric';
/**
* Type of metric
* Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc.
*/
type: CodeableConcept;
/**
* Unique identifier of this DeviceMetric
* Describes the unique identification of this metric that has been assigned by the device or gateway software. For example: handle ID. It should be noted that in order to make the identifier unique, the system element of the identifier should be set to the unique identifier of the device.
*/
identifier: Identifier;
/**
* Unit of metric
* Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc.
*/
unit?: CodeableConcept | undefined;
/**
* Describes the link to the source Device
* Describes the link to the Device that this DeviceMetric belongs to and that contains administrative device information such as manufacture, serial number, etc.
*/
source?: Reference | undefined;
/**
* Describes the link to the parent DeviceComponent
* Describes the link to the DeviceComponent that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a DeviceComponent that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location.
*/
parent?: Reference | undefined;
/**
* on | off | standby
* Indicates current operational state of the device. For example: On, Off, Standby, etc.
*/
operationalStatus?: string | undefined;
_operationalStatus?: Element | undefined;
/**
* black | red | green | yellow | blue | magenta | cyan | white
* Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.
*/
color?: string | undefined;
_color?: Element | undefined;
/**
* measurement | setting | calculation | unspecified
* Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.
*/
category: string;
_category?: Element | undefined;
/**
* Describes the measurement repetition time
* Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured.
*/
measurementPeriod?: Timing | undefined;
/** Describes the calibrations that have been performed or that are required to be performed */
calibration?: DeviceMetricCalibration[] | undefined;
}
/**
* Describes the calibrations that have been performed or that are required to be performed
*/
export interface DeviceMetricCalibration extends BackboneElement {
/**
* unspecified | offset | gain | two-point
* Describes the type of the calibration method.
*/
type?: string | undefined;
_type?: Element | undefined;
/**
* not-calibrated | calibration-required | calibrated | unspecified
* Describes the state of the calibration.
*/
state?: string | undefined;
_state?: Element | undefined;
/** Describes the time last calibration has been performed */
time?: string | undefined;
_time?: Element | undefined;
}
/**
* Base StructureDefinition for ElementDefinition Type
*/
export interface ElementDefinition extends Element {
/**
* The path of the element (see the Detailed Descriptions)
* The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension.
*/
path: string;
_path?: Element | undefined;
/**
* How this element is represented in instances
* Codes that define how this element is represented in instances, when the deviation varies from the normal case.
*/
representation?: string[] | undefined;
_representation?: Element[] | undefined;
/**
* Name for this particular element definition (reference target)
* The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Name for element to display with or prompt for element
* The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.
*/
label?: string | undefined;
_label?: Element | undefined;
/**
* Defining code
* A code that provides the meaning for the element according to a particular terminology.
*/
code?: Coding[] | undefined;
/**
* This element is sliced - slices follow
* Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).
*/
slicing?: ElementDefinitionSlicing | undefined;
/**
* Concise definition for xml presentation
* A concise description of what this element means (e.g. for use in autogenerated summaries).
*/
short?: string | undefined;
_short?: Element | undefined;
/**
* Full formal definition as narrative text
* Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource.
*/
definition?: string | undefined;
_definition?: Element | undefined;
/**
* Comments about the use of this element
* Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc.
*/
comments?: string | undefined;
_comments?: Element | undefined;
/**
* Why is this needed?
* This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.
*/
requirements?: string | undefined;
_requirements?: Element | undefined;
/**
* Other names
* Identifies additional names by which this element might also be known.
*/
alias?: string[] | undefined;
_alias?: Element[] | undefined;
/**
* Minimum Cardinality
* The minimum number of times this element SHALL appear in the instance.
*/
min?: number | undefined;
_min?: Element | undefined;
/**
* Maximum Cardinality (a number or *)
* The maximum number of times this element is permitted to appear in the instance.
*/
max?: string | undefined;
_max?: Element | undefined;
/**
* Base definition information for tools
* Information about the base definition of the element, provided to make it unncessary for tools to trace the deviation of the element through the derived and related profiles. This information is only provided where the element definition represents a constraint on another element definition, and must be present if there is a base element definition.
*/
base?: ElementDefinitionBase | undefined;
/**
* Data type and Profile for this element
* The data type or resource that the value of this element is permitted to be.
*/
type?: ElementDefinitionType[] | undefined;
/**
* To another element constraint (by element.name)
* Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element.
*/
nameReference?: string | undefined;
_nameReference?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueBoolean?: boolean | undefined;
_defaultValueBoolean?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueInteger?: number | undefined;
_defaultValueInteger?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueDecimal?: number | undefined;
_defaultValueDecimal?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueBase64Binary?: string | undefined;
_defaultValueBase64Binary?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueInstant?: string | undefined;
_defaultValueInstant?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueString?: string | undefined;
_defaultValueString?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueUri?: string | undefined;
_defaultValueUri?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueDate?: string | undefined;
_defaultValueDate?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueDateTime?: string | undefined;
_defaultValueDateTime?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueTime?: string | undefined;
_defaultValueTime?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueCode?: string | undefined;
_defaultValueCode?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueOid?: string | undefined;
_defaultValueOid?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueId?: string | undefined;
_defaultValueId?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueUnsignedInt?: number | undefined;
_defaultValueUnsignedInt?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValuePositiveInt?: number | undefined;
_defaultValuePositiveInt?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueMarkdown?: string | undefined;
_defaultValueMarkdown?: Element | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueAnnotation?: Annotation | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueAttachment?: Attachment | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueIdentifier?: Identifier | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueCodeableConcept?: CodeableConcept | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueCoding?: Coding | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueQuantity?: Quantity | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueRange?: Range | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValuePeriod?: Period | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueRatio?: Ratio | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueSampledData?: SampledData | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueSignature?: Signature | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueHumanName?: HumanName | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueAddress?: Address | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueContactPoint?: ContactPoint | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueTiming?: Timing | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueReference?: Reference | undefined;
/**
* Specified value it missing from instance
* The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').
*/
defaultValueMeta?: Meta | undefined;
/**
* Implicit meaning when this element is missing
* The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing'.
*/
meaningWhenMissing?: string | undefined;
_meaningWhenMissing?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedBoolean?: boolean | undefined;
_fixedBoolean?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedInteger?: number | undefined;
_fixedInteger?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedDecimal?: number | undefined;
_fixedDecimal?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedBase64Binary?: string | undefined;
_fixedBase64Binary?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedInstant?: string | undefined;
_fixedInstant?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedString?: string | undefined;
_fixedString?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedUri?: string | undefined;
_fixedUri?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedDate?: string | undefined;
_fixedDate?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedDateTime?: string | undefined;
_fixedDateTime?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedTime?: string | undefined;
_fixedTime?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedCode?: string | undefined;
_fixedCode?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedOid?: string | undefined;
_fixedOid?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedId?: string | undefined;
_fixedId?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedUnsignedInt?: number | undefined;
_fixedUnsignedInt?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedPositiveInt?: number | undefined;
_fixedPositiveInt?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedMarkdown?: string | undefined;
_fixedMarkdown?: Element | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedAnnotation?: Annotation | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedAttachment?: Attachment | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedIdentifier?: Identifier | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedCodeableConcept?: CodeableConcept | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedCoding?: Coding | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedQuantity?: Quantity | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedRange?: Range | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedPeriod?: Period | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedRatio?: Ratio | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedSampledData?: SampledData | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedSignature?: Signature | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedHumanName?: HumanName | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedAddress?: Address | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedContactPoint?: ContactPoint | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedTiming?: Timing | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedReference?: Reference | undefined;
/**
* Value must be exactly this
* Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.
*/
fixedMeta?: Meta | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternBoolean?: boolean | undefined;
_patternBoolean?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternInteger?: number | undefined;
_patternInteger?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternDecimal?: number | undefined;
_patternDecimal?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternBase64Binary?: string | undefined;
_patternBase64Binary?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternInstant?: string | undefined;
_patternInstant?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternString?: string | undefined;
_patternString?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternUri?: string | undefined;
_patternUri?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternDate?: string | undefined;
_patternDate?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternDateTime?: string | undefined;
_patternDateTime?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternTime?: string | undefined;
_patternTime?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternCode?: string | undefined;
_patternCode?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternOid?: string | undefined;
_patternOid?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternId?: string | undefined;
_patternId?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternUnsignedInt?: number | undefined;
_patternUnsignedInt?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternPositiveInt?: number | undefined;
_patternPositiveInt?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternMarkdown?: string | undefined;
_patternMarkdown?: Element | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternAnnotation?: Annotation | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternAttachment?: Attachment | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternIdentifier?: Identifier | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternCodeableConcept?: CodeableConcept | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternCoding?: Coding | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternQuantity?: Quantity | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternRange?: Range | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternPeriod?: Period | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternRatio?: Ratio | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternSampledData?: SampledData | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternSignature?: Signature | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternHumanName?: HumanName | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternAddress?: Address | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternContactPoint?: ContactPoint | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternTiming?: Timing | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternReference?: Reference | undefined;
/**
* Value must have at least these property values
* Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.).
*/
patternMeta?: Meta | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleBoolean?: boolean | undefined;
_exampleBoolean?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleInteger?: number | undefined;
_exampleInteger?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleDecimal?: number | undefined;
_exampleDecimal?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleBase64Binary?: string | undefined;
_exampleBase64Binary?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleInstant?: string | undefined;
_exampleInstant?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleString?: string | undefined;
_exampleString?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleUri?: string | undefined;
_exampleUri?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleDate?: string | undefined;
_exampleDate?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleDateTime?: string | undefined;
_exampleDateTime?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleTime?: string | undefined;
_exampleTime?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleCode?: string | undefined;
_exampleCode?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleOid?: string | undefined;
_exampleOid?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleId?: string | undefined;
_exampleId?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleUnsignedInt?: number | undefined;
_exampleUnsignedInt?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
examplePositiveInt?: number | undefined;
_examplePositiveInt?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleMarkdown?: string | undefined;
_exampleMarkdown?: Element | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleAnnotation?: Annotation | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleAttachment?: Attachment | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleIdentifier?: Identifier | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleCodeableConcept?: CodeableConcept | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleCoding?: Coding | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleQuantity?: Quantity | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleRange?: Range | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
examplePeriod?: Period | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleRatio?: Ratio | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleSampledData?: SampledData | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleSignature?: Signature | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleHumanName?: HumanName | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleAddress?: Address | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleContactPoint?: ContactPoint | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleTiming?: Timing | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleReference?: Reference | undefined;
/**
* Example value: [as defined for type]
* A sample value for this element demonstrating the type of information that would typically be captured.
*/
exampleMeta?: Meta | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueBoolean?: boolean | undefined;
_minValueBoolean?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueInteger?: number | undefined;
_minValueInteger?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueDecimal?: number | undefined;
_minValueDecimal?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueBase64Binary?: string | undefined;
_minValueBase64Binary?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueInstant?: string | undefined;
_minValueInstant?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueString?: string | undefined;
_minValueString?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueUri?: string | undefined;
_minValueUri?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueDate?: string | undefined;
_minValueDate?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueDateTime?: string | undefined;
_minValueDateTime?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueTime?: string | undefined;
_minValueTime?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueCode?: string | undefined;
_minValueCode?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueOid?: string | undefined;
_minValueOid?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueId?: string | undefined;
_minValueId?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueUnsignedInt?: number | undefined;
_minValueUnsignedInt?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValuePositiveInt?: number | undefined;
_minValuePositiveInt?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueMarkdown?: string | undefined;
_minValueMarkdown?: Element | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueAnnotation?: Annotation | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueAttachment?: Attachment | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueIdentifier?: Identifier | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueCodeableConcept?: CodeableConcept | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueCoding?: Coding | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueQuantity?: Quantity | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueRange?: Range | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValuePeriod?: Period | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueRatio?: Ratio | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueSampledData?: SampledData | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueSignature?: Signature | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueHumanName?: HumanName | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueAddress?: Address | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueContactPoint?: ContactPoint | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueTiming?: Timing | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueReference?: Reference | undefined;
/**
* Minimum Allowed Value (for some types)
* The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
minValueMeta?: Meta | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueBoolean?: boolean | undefined;
_maxValueBoolean?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueInteger?: number | undefined;
_maxValueInteger?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueDecimal?: number | undefined;
_maxValueDecimal?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueBase64Binary?: string | undefined;
_maxValueBase64Binary?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueInstant?: string | undefined;
_maxValueInstant?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueString?: string | undefined;
_maxValueString?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueUri?: string | undefined;
_maxValueUri?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueDate?: string | undefined;
_maxValueDate?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueDateTime?: string | undefined;
_maxValueDateTime?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueTime?: string | undefined;
_maxValueTime?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueCode?: string | undefined;
_maxValueCode?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueOid?: string | undefined;
_maxValueOid?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueId?: string | undefined;
_maxValueId?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueUnsignedInt?: number | undefined;
_maxValueUnsignedInt?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValuePositiveInt?: number | undefined;
_maxValuePositiveInt?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueMarkdown?: string | undefined;
_maxValueMarkdown?: Element | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueAnnotation?: Annotation | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueAttachment?: Attachment | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueIdentifier?: Identifier | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueCodeableConcept?: CodeableConcept | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueCoding?: Coding | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueQuantity?: Quantity | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueRange?: Range | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValuePeriod?: Period | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueRatio?: Ratio | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueSampledData?: SampledData | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueSignature?: Signature | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueHumanName?: HumanName | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueAddress?: Address | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueContactPoint?: ContactPoint | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueTiming?: Timing | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueReference?: Reference | undefined;
/**
* Maximum Allowed Value (for some types)
* The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.
*/
maxValueMeta?: Meta | undefined;
/**
* Max length for strings
* Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.
*/
maxLength?: number | undefined;
_maxLength?: Element | undefined;
/**
* Reference to invariant about presence
* A reference to an invariant that may make additional statements about the cardinality or value in the instance.
*/
condition?: string[] | undefined;
_condition?: Element[] | undefined;
/**
* Condition that must evaluate to true
* Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.
*/
constraint?: ElementDefinitionConstraint[] | undefined;
/**
* If the element must supported
* If true, implementations that produce or consume resources SHALL provide "support" for the element in some meaningful way. If false, the element may be ignored and not supported.
*/
mustSupport?: boolean | undefined;
_mustSupport?: Element | undefined;
/**
* If this modifies the meaning of other elements
* If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.
*/
isModifier?: boolean | undefined;
_isModifier?: Element | undefined;
/**
* Include when _summary = true?
* Whether the element should be included if a client requests a search with the parameter _summary=true.
*/
isSummary?: boolean | undefined;
_isSummary?: Element | undefined;
/**
* ValueSet details if this is coded
* Binds to a value set if this element is coded (code, Coding, CodeableConcept).
*/
binding?: ElementDefinitionBinding | undefined;
/**
* Map element to another set of definitions
* Identifies a concept from an external specification that roughly corresponds to this element.
*/
mapping?: ElementDefinitionMapping[] | undefined;
}
/**
* This element is sliced - slices follow
* Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).
*/
export interface ElementDefinitionSlicing extends BackboneElement {
/**
* Element values that used to distinguish the slices
* Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices.
*/
discriminator?: string[] | undefined;
_discriminator?: Element[] | undefined;
/**
* Text description of how slicing works (or not)
* A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* If elements must be in same order as slices
* If the matching elements have to occur in the same order as defined in the profile.
*/
ordered?: boolean | undefined;
_ordered?: Element | undefined;
/**
* closed | open | openAtEnd
* Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end.
*/
rules: string;
_rules?: Element | undefined;
}
/**
* Base definition information for tools
* Information about the base definition of the element, provided to make it unncessary for tools to trace the deviation of the element through the derived and related profiles. This information is only provided where the element definition represents a constraint on another element definition, and must be present if there is a base element definition.
*/
export interface ElementDefinitionBase extends BackboneElement {
/**
* Path that identifies the base element
* The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base.
*/
path: string;
_path?: Element | undefined;
/**
* Min cardinality of the base element
* Minimum cardinality of the base element identified by the path.
*/
min: number;
_min?: Element | undefined;
/**
* Max cardinality of the base element
* Maximum cardinality of the base element identified by the path.
*/
max: string;
_max?: Element | undefined;
}
/**
* Data type and Profile for this element
* The data type or resource that the value of this element is permitted to be.
*/
export interface ElementDefinitionType extends BackboneElement {
/**
* Name of Data type or Resource
* Name of Data type or Resource that is a(or the) type used for this element.
*/
code: string;
_code?: Element | undefined;
/**
* Profile (StructureDefinition) to apply (or IG)
* Identifies a profile structure or implementation Guide that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide.
*/
profile?: string[] | undefined;
_profile?: Element[] | undefined;
/**
* contained | referenced | bundled - how aggregated
* If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.
*/
aggregation?: string[] | undefined;
_aggregation?: Element[] | undefined;
}
/**
* Condition that must evaluate to true
* Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.
*/
export interface ElementDefinitionConstraint extends BackboneElement {
/**
* Target of 'condition' reference above
* Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.
*/
key: string;
_key?: Element | undefined;
/**
* Why this constraint necessary or appropriate
* Description of why this constraint is necessary or appropriate.
*/
requirements?: string | undefined;
_requirements?: Element | undefined;
/**
* error | warning
* Identifies the impact constraint violation has on the conformance of the instance.
*/
severity: string;
_severity?: Element | undefined;
/**
* Human description of constraint
* Text that can be used to describe the constraint in messages identifying that the constraint has been violated.
*/
human: string;
_human?: Element | undefined;
/**
* XPath expression of constraint
* An XPath expression of constraint that can be executed to see if this constraint is met.
*/
xpath: string;
_xpath?: Element | undefined;
}
/**
* ValueSet details if this is coded
* Binds to a value set if this element is coded (code, Coding, CodeableConcept).
*/
export interface ElementDefinitionBinding extends BackboneElement {
/**
* required | extensible | preferred | example
* Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.
*/
strength: string;
_strength?: Element | undefined;
/**
* Human explanation of the value set
* Describes the intended use of this particular set of codes.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Source of value set
* Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.
*/
valueSetUri?: string | undefined;
_valueSetUri?: Element | undefined;
/**
* Source of value set
* Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.
*/
valueSetReference?: Reference | undefined;
}
/**
* Map element to another set of definitions
* Identifies a concept from an external specification that roughly corresponds to this element.
*/
export interface ElementDefinitionMapping extends BackboneElement {
/**
* Reference to mapping declaration
* An internal reference to the definition of a mapping.
*/
identity: string;
_identity?: Element | undefined;
/**
* Computable language of mapping
* Identifies the computable language in which mapping.map is expressed.
*/
language?: string | undefined;
_language?: Element | undefined;
/**
* Details of the mapping
* Expresses what part of the target specification corresponds to this element.
*/
map: string;
_map?: Element | undefined;
}
/**
* Base StructureDefinition for AuditEvent Resource
*/
export interface AuditEvent extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'AuditEvent';
/**
* What was done
* Identifies the name, action type, time, and disposition of the audited event.
*/
event: AuditEventEvent;
/** A person, a hardware device or software process */
participant: AuditEventParticipant[];
/** Application systems and processes */
source: AuditEventSource;
/** Specific instances of data or objects that have been accessed */
object?: AuditEventObject[] | undefined;
}
/**
* What was done
* Identifies the name, action type, time, and disposition of the audited event.
*/
export interface AuditEventEvent extends BackboneElement {
/**
* Type/identifier of event
* Identifier for a family of the event. For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function.
*/
type: Coding;
/**
* More specific type/id for the event
* Identifier for the category of event.
*/
subtype?: Coding[] | undefined;
/**
* Type of action performed during the event
* Indicator for type of action performed during the event that generated the audit.
*/
action?: string | undefined;
_action?: Element | undefined;
/**
* Time when the event occurred on source
* The time when the event occurred on the source.
*/
dateTime: string;
_dateTime?: Element | undefined;
/**
* Whether the event succeeded or failed
* Indicates whether the event succeeded or failed.
*/
outcome?: string | undefined;
_outcome?: Element | undefined;
/**
* Description of the event outcome
* A free text description of the outcome of the event.
*/
outcomeDesc?: string | undefined;
_outcomeDesc?: Element | undefined;
/**
* The purposeOfUse of the event
* The purposeOfUse (reason) that was used during the event being recorded.
*/
purposeOfEvent?: Coding[] | undefined;
}
/**
* Logical network location for application activity
* Logical network location for application activity, if the activity has a network location.
*/
export interface AuditEventParticipantNetwork extends BackboneElement {
/**
* Identifier for the network access point of the user device
* An identifier for the network access point of the user device for the audit event.
*/
address?: string | undefined;
_address?: Element | undefined;
/**
* The type of network access point
* An identifier for the type of network access point that originated the audit event.
*/
type?: string | undefined;
_type?: Element | undefined;
}
/**
* A person, a hardware device or software process
*/
export interface AuditEventParticipant extends BackboneElement {
/**
* User roles (e.g. local RBAC codes)
* Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context.
*/
role?: CodeableConcept[] | undefined;
/**
* Direct reference to resource
* Direct reference to a resource that identifies the participant.
*/
reference?: Reference | Reference | Reference | Reference | Reference | undefined;
/**
* Unique identifier for the user
* Unique identifier for the user actively participating in the event.
*/
userId?: Identifier | undefined;
/**
* Alternative User id e.g. authentication
* Alternative Participant Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available.
*/
altId?: string | undefined;
_altId?: Element | undefined;
/** Human-meaningful name for the user */
name?: string | undefined;
_name?: Element | undefined;
/**
* Whether user is initiator
* Indicator that the user is or is not the requestor, or initiator, for the event being audited.
*/
requestor: boolean;
_requestor?: Element | undefined;
/**
* Where
* Where the event occurred.
*/
location?: Reference | undefined;
/**
* Policy that authorized event
* The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used.
*/
policy?: string[] | undefined;
_policy?: Element[] | undefined;
/**
* Type of media
* Type of media involved. Used when the event is about exporting/importing onto media.
*/
media?: Coding | undefined;
/**
* Logical network location for application activity
* Logical network location for application activity, if the activity has a network location.
*/
network?: AuditEventParticipantNetwork | undefined;
/**
* Reason given for this user
* The reason (purpose of use), specific to this participant, that was used during the event being recorded.
*/
purposeOfUse?: Coding[] | undefined;
}
/**
* Application systems and processes
*/
export interface AuditEventSource extends BackboneElement {
/**
* Logical source location within the enterprise
* Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group.
*/
site?: string | undefined;
_site?: Element | undefined;
/**
* The identity of source detecting the event
* Identifier of the source where the event was detected.
*/
identifier: Identifier;
/**
* The type of source where event originated
* Code specifying the type of source where event originated.
*/
type?: Coding[] | undefined;
}
/**
* Additional Information about the Object
*/
export interface AuditEventObjectDetail extends BackboneElement {
/** Name of the property */
type: string;
_type?: Element | undefined;
/** Property value */
value: string;
_value?: Element | undefined;
}
/**
* Specific instances of data or objects that have been accessed
*/
export interface AuditEventObject extends BackboneElement {
/**
* Specific instance of object (e.g. versioned)
* Identifies a specific instance of the participant object. The reference should always be version specific.
*/
identifier?: Identifier | undefined;
/**
* Specific instance of resource (e.g. versioned)
* Identifies a specific instance of the participant object. The reference should always be version specific.
*/
reference?: Reference | undefined;
/**
* Type of object involved
* The type of the object that was involved in this audit event.
*/
type?: Coding | undefined;
/**
* What role the Object played
* Code representing the functional application role of Participant Object being audited.
*/
role?: Coding | undefined;
/**
* Life-cycle stage for the object
* Identifier for the data life-cycle stage for the participant object.
*/
lifecycle?: Coding | undefined;
/**
* Security labels applied to the object
* Denotes security labels for the identified object.
*/
securityLabel?: Coding[] | undefined;
/**
* Instance-specific descriptor for Object
* An instance-specific descriptor of the Participant Object ID audited, such as a person's name.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Descriptive text
* Text that describes the object in more detail.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Actual query for object
* The actual query for a query-type participant object.
*/
query?: string | undefined;
_query?: Element | undefined;
/** Additional Information about the Object */
detail?: AuditEventObjectDetail[] | undefined;
}
/**
* Base StructureDefinition for CarePlan Resource
*/
export interface CarePlan extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'CarePlan';
/**
* External Ids for this plan
* This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
*/
identifier?: Identifier[] | undefined;
/**
* Who care plan is for
* Identifies the patient or group whose intended care is described by the plan.
*/
subject?: Reference | Reference | undefined;
/**
* proposed | draft | active | completed | cancelled
* Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
*/
status: string;
_status?: Element | undefined;
/**
* Created in context of
* Identifies the context in which this particular CarePlan is defined.
*/
context?: Reference | Reference | undefined;
/**
* Time period plan covers
* Indicates when the plan did (or is intended to) come into effect and end.
*/
period?: Period | undefined;
/**
* Who is responsible for contents of the plan
* Identifies the individual(s) or ogranization who is responsible for the content of the care plan.
*/
author?: Reference | Reference | Reference | Reference[] | undefined;
/**
* When last updated
* Identifies the most recent date on which the plan has been revised.
*/
modified?: string | undefined;
_modified?: Element | undefined;
/**
* Type of plan
* Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", "wellness plan", etc.
*/
category?: CodeableConcept[] | undefined;
/**
* Summary of nature of plan
* A description of the scope and nature of the plan.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Health issues this plan addresses
* Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.
*/
addresses?: Reference[] | undefined;
/**
* Information considered as part of plan
* Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include co-morbidities, recent procedures, limitations, recent assessments, etc.
*/
support?: Reference[] | undefined;
/**
* Plans related to this one
* Identifies CarePlans with some sort of formal relationship to the current plan.
*/
relatedPlan?: CarePlanRelatedPlan[] | undefined;
/**
* Who's involved in plan?
* Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.
*/
participant?: CarePlanParticipant[] | undefined;
/**
* Desired outcome of plan
* Describes the intended objective(s) of carrying out the care plan.
*/
goal?: Reference[] | undefined;
/**
* Action to occur as part of plan
* Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.
*/
activity?: CarePlanActivity[] | undefined;
/**
* Comments about the plan
* General notes about the care plan not covered elsewhere.
*/
note?: Annotation | undefined;
}
/**
* Plans related to this one
* Identifies CarePlans with some sort of formal relationship to the current plan.
*/
export interface CarePlanRelatedPlan extends BackboneElement {
/**
* includes | replaces | fulfills
* Identifies the type of relationship this plan has to the target plan.
*/
code?: string | undefined;
_code?: Element | undefined;
/**
* Plan relationship exists with
* A reference to the plan to which a relationship is asserted.
*/
plan: Reference;
}
/**
* Who's involved in plan?
* Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.
*/
export interface CarePlanParticipant extends BackboneElement {
/**
* Type of involvement
* Indicates specific responsibility of an individual within the care plan; e.g. "Primary physician", "Team coordinator", "Caregiver", etc.
*/
role?: CodeableConcept | undefined;
/**
* Who is involved
* The specific person or organization who is participating/expected to participate in the care plan.
*/
member?: Reference | Reference | Reference | Reference | undefined;
}
/**
* In-line definition of activity
* A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.
*/
export interface CarePlanActivityDetail extends BackboneElement {
/**
* diet | drug | encounter | observation | procedure | supply | other
* High-level categorization of the type of activity in a care plan.
*/
category?: CodeableConcept | undefined;
/**
* Detail type of activity
* Detailed description of the type of planned activity; e.g. What lab test, what procedure, what kind of encounter.
*/
code?: CodeableConcept | undefined;
/**
* Why activity should be done
* Provides the rationale that drove the inclusion of this particular activity as part of the plan.
*/
reasonCode?: CodeableConcept[] | undefined;
/**
* Condition triggering need for activity
* Provides the health condition(s) that drove the inclusion of this particular activity as part of the plan.
*/
reasonReference?: Reference[] | undefined;
/**
* Goals this activity relates to
* Internal reference that identifies the goals that this activity is intended to contribute towards meeting.
*/
goal?: Reference[] | undefined;
/**
* not-started | scheduled | in-progress | on-hold | completed | cancelled
* Identifies what progress is being made for the specific activity.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* Reason for current status
* Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.
*/
statusReason?: CodeableConcept | undefined;
/**
* Do NOT do
* If true, indicates that the described activity is one that must NOT be engaged in when following the plan.
*/
prohibited: boolean;
_prohibited?: Element | undefined;
/**
* When activity is to occur
* The period, timing or frequency upon which the described activity is to occur.
*/
scheduledTiming?: Timing | undefined;
/**
* When activity is to occur
* The period, timing or frequency upon which the described activity is to occur.
*/
scheduledPeriod?: Period | undefined;
/**
* When activity is to occur
* The period, timing or frequency upon which the described activity is to occur.
*/
scheduledString?: string | undefined;
_scheduledString?: Element | undefined;
/**
* Where it should happen
* Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.
*/
location?: Reference | undefined;
/**
* Who will be responsible?
* Identifies who's expected to be involved in the activity.
*/
performer?: Reference | Reference | Reference | Reference[] | undefined;
/**
* What is to be administered/supplied
* Identifies the food, drug or other product to be consumed or supplied in the activity.
*/
productCodeableConcept?: CodeableConcept | undefined;
/**
* What is to be administered/supplied
* Identifies the food, drug or other product to be consumed or supplied in the activity.
*/
productReference?: Reference | undefined;
/**
* How to consume/day?
* Identifies the quantity expected to be consumed in a given day.
*/
dailyAmount?: Quantity | undefined;
/**
* How much to administer/supply/consume
* Identifies the quantity expected to be supplied, administered or consumed by the subject.
*/
quantity?: Quantity | undefined;
/**
* Extra info describing activity to perform
* This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.
*/
description?: string | undefined;
_description?: Element | undefined;
}
/**
* Action to occur as part of plan
* Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.
*/
export interface CarePlanActivity extends BackboneElement {
/**
* Appointments, orders, etc.
* Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc.
*/
actionResulting?: Reference[] | undefined;
/**
* Comments about the activity status/progress
* Notes about the adherence/status/progress of the activity.
*/
progress?: Annotation[] | undefined;
/**
* Activity details defined in specific resource
* The details of the proposed activity represented in a specific resource.
*/
reference?: Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | undefined;
/**
* In-line definition of activity
* A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.
*/
detail?: CarePlanActivityDetail | undefined;
}
/**
* Base StructureDefinition for QuestionnaireResponse Resource
*/
export interface QuestionnaireResponse extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'QuestionnaireResponse';
/**
* Unique id for this set of answers
* A business identifier assigned to a particular completed (or partially completed) questionnaire.
*/
identifier?: Identifier | undefined;
/**
* Form being answered
* Indicates the Questionnaire resource that defines the form for which answers are being provided.
*/
questionnaire?: Reference | undefined;
/**
* in-progress | completed | amended
* The lifecycle status of the questionnaire response as a whole.
*/
status: string;
_status?: Element | undefined;
/**
* The subject of the questions
* The subject of the questionnaire response. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information.
*/
subject?: Reference | undefined;
/**
* Person who received and recorded the answers
* Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.
*/
author?: Reference | Reference | Reference | Reference | undefined;
/**
* Date this version was authored
* The date and/or time that this version of the questionnaire response was authored.
*/
authored?: string | undefined;
_authored?: Element | undefined;
/**
* The person who answered the questions
* The person who answered the questions about the subject.
*/
source?: Reference | Reference | Reference | undefined;
/**
* Primary encounter during which the answers were collected
* Encounter during which this set of questionnaire response were collected. When there were multiple encounters, this is the one considered most relevant to the context of the answers.
*/
encounter?: Reference | undefined;
/**
* Grouped questions
* A group of questions to a possibly similarly grouped set of questions in the questionnaire response.
*/
group?: QuestionnaireResponseGroup | undefined;
}
/**
* The response(s) to the question
* The respondent's answer(s) to the question.
*/
export interface QuestionnaireResponseGroupQuestionAnswer extends BackboneElement {
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueBoolean?: boolean | undefined;
_valueBoolean?: Element | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueDecimal?: number | undefined;
_valueDecimal?: Element | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueInteger?: number | undefined;
_valueInteger?: Element | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueDate?: string | undefined;
_valueDate?: Element | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueDateTime?: string | undefined;
_valueDateTime?: Element | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueInstant?: string | undefined;
_valueInstant?: Element | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueTime?: string | undefined;
_valueTime?: Element | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueString?: string | undefined;
_valueString?: Element | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueUri?: string | undefined;
_valueUri?: Element | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueAttachment?: Attachment | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueCoding?: Coding | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueQuantity?: Quantity | undefined;
/**
* Single-valued answer to the question
* The answer (or one of the answers) provided by the respondent to the question.
*/
valueReference?: Reference | undefined;
}
/**
* Questions in this group
* Set of questions within this group. The order of questions within the group is relevant.
*/
export interface QuestionnaireResponseGroupQuestion extends BackboneElement {
/**
* Corresponding question within Questionnaire
* Identifies the question from the Questionnaire that corresponds to this question in the QuestionnaireResponse resource.
*/
linkId?: string | undefined;
_linkId?: Element | undefined;
/**
* Text of the question as it is shown to the user
* The actual question as shown to the user to prompt them for an answer.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* The response(s) to the question
* The respondent's answer(s) to the question.
*/
answer?: QuestionnaireResponseGroupQuestionAnswer[] | undefined;
}
/**
* Grouped questions
* A group of questions to a possibly similarly grouped set of questions in the questionnaire response.
*/
export interface QuestionnaireResponseGroup extends BackboneElement {
/**
* Corresponding group within Questionnaire
* Identifies the group from the Questionnaire that corresponds to this group in the QuestionnaireResponse resource.
*/
linkId?: string | undefined;
_linkId?: Element | undefined;
/**
* Name for this group
* Text that is displayed above the contents of the group.
*/
title?: string | undefined;
_title?: Element | undefined;
/**
* Additional text for the group
* Additional text for the group, used for display purposes.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* The subject this group's answers are about
* More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.
*/
subject?: Reference | undefined;
/**
* Nested questionnaire response group
* A sub-group within a group. The ordering of groups within this group is relevant.
*/
group?: QuestionnaireResponseGroup[] | undefined;
/**
* Questions in this group
* Set of questions within this group. The order of questions within the group is relevant.
*/
question?: QuestionnaireResponseGroupQuestion[] | undefined;
}
/**
* Base StructureDefinition for Location Resource
*/
export interface Location extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Location';
/** Unique code or number identifying the location to its users */
identifier?: Identifier[] | undefined;
/** active | suspended | inactive */
status?: string | undefined;
_status?: Element | undefined;
/**
* Name of the location as used by humans
* Name of the location as used by humans. Does not need to be unique.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Description of the location
* Description of the Location, which helps in finding or referencing the place.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* instance | kind
* Indicates whether a resource instance represents a specific location or a class of locations.
*/
mode?: string | undefined;
_mode?: Element | undefined;
/**
* Type of function performed
* Indicates the type of function performed at the location.
*/
type?: CodeableConcept | undefined;
/**
* Contact details of the location
* The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.
*/
telecom?: ContactPoint[] | undefined;
/** Physical location */
address?: Address | undefined;
/**
* Physical form of the location
* Physical form of the location, e.g. building, room, vehicle, road.
*/
physicalType?: CodeableConcept | undefined;
/**
* The absolute geographic location
* The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).
*/
position?: LocationPosition | undefined;
/**
* Organization responsible for provisioning and upkeep
* The organization responsible for the provisioning and upkeep of the location.
*/
managingOrganization?: Reference | undefined;
/**
* Another Location this one is physically part of
* Another Location which this Location is physically part of.
*/
partOf?: Reference | undefined;
}
/**
* The absolute geographic location
* The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).
*/
export interface LocationPosition extends BackboneElement {
/**
* Longitude with WGS84 datum
* Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).
*/
longitude: number;
_longitude?: Element | undefined;
/**
* Latitude with WGS84 datum
* Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).
*/
latitude: number;
_latitude?: Element | undefined;
/**
* Altitude with WGS84 datum
* Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below).
*/
altitude?: number | undefined;
_altitude?: Element | undefined;
}
/**
* Base StructureDefinition for EpisodeOfCare Resource
*/
export interface EpisodeOfCare extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'EpisodeOfCare';
/**
* Identifier(s) for the EpisodeOfCare
* Identifier(s) by which this EpisodeOfCare is known.
*/
identifier?: Identifier[] | undefined;
/** planned | waitlist | active | onhold | finished | cancelled */
status: string;
_status?: Element | undefined;
/**
* Past list of status codes
* The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource).
*/
statusHistory?: EpisodeOfCareStatusHistory[] | undefined;
/**
* Type/class - e.g. specialist referral, disease management
* A classification of the type of encounter; e.g. specialist referral, disease management, type of funded care.
*/
type?: CodeableConcept[] | undefined;
/**
* Conditions/problems/diagnoses this episode of care is for
* A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for.
*/
condition?: Reference[] | undefined;
/**
* Patient for this episode of care
* The patient that this EpisodeOfCare applies to.
*/
patient: Reference;
/**
* Organization that assumes care
* The organization that has assumed the specific responsibilities for the specified duration.
*/
managingOrganization?: Reference | undefined;
/**
* Interval during responsibility is assumed
* The interval during which the managing organization assumes the defined responsibility.
*/
period?: Period | undefined;
/**
* Originating Referral Request(s)
* Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.
*/
referralRequest?: Reference[] | undefined;
/**
* Care manager/care co-ordinator for the patient
* The practitioner that is the care manager/care co-ordinator for this patient.
*/
careManager?: Reference | undefined;
/**
* Other practitioners facilitating this episode of care
* The list of practitioners that may be facilitating this episode of care for specific purposes.
*/
careTeam?: EpisodeOfCareCareTeam[] | undefined;
}
/**
* Past list of status codes
* The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource).
*/
export interface EpisodeOfCareStatusHistory extends BackboneElement {
/** planned | waitlist | active | onhold | finished | cancelled */
status: string;
_status?: Element | undefined;
/**
* Period for the status
* The period during this EpisodeOfCare that the specific status applied.
*/
period: Period;
}
/**
* Other practitioners facilitating this episode of care
* The list of practitioners that may be facilitating this episode of care for specific purposes.
*/
export interface EpisodeOfCareCareTeam extends BackboneElement {
/**
* Role taken by this team member
* The role this team member is taking within this episode of care.
*/
role?: CodeableConcept[] | undefined;
/**
* Period of time for this role
* The period of time this practitioner is performing some role within the episode of care.
*/
period?: Period | undefined;
/** The practitioner (or Organization) within the team */
member?: Reference | Reference | undefined;
}
/**
* Base StructureDefinition for BackboneElement Type
*/
export interface BackboneElement extends Element {
/**
* Extensions that cannot be ignored
* 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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.
*/
modifierExtension?: Extension[] | undefined;
}
/**
* Base StructureDefinition for OrderResponse Resource
*/
export interface OrderResponse extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'OrderResponse';
/**
* Identifiers assigned to this order by the orderer or by the receiver
* Identifiers assigned to this order. The identifiers are usually assigned by the system responding to the order, but they may be provided or added to by other systems.
*/
identifier?: Identifier[] | undefined;
/**
* The order that this is a response to
* A reference to the order that this is in response to.
*/
request: Reference;
/**
* When the response was made
* The date and time at which this order response was made (created/posted).
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Who made the response
* The person, organization, or device credited with making the response.
*/
who?: Reference | Reference | Reference | undefined;
/**
* pending | review | rejected | error | accepted | cancelled | replaced | aborted | completed
* What this response says about the status of the original order.
*/
orderStatus: string;
_orderStatus?: Element | undefined;
/**
* Additional description of the response
* Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Details of the outcome of performing the order
* Links to resources that provide details of the outcome of performing the order; e.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order.
*/
fulfillment?: Reference[] | undefined;
}
/**
* Base StructureDefinition for ContactPoint Type
*/
export interface ContactPoint extends Element {
/**
* phone | fax | email | pager | other
* Telecommunications form for contact point - what communications system is required to make use of the contact.
*/
system?: string | undefined;
_system?: Element | undefined;
/**
* The actual contact point details
* The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
*/
value?: string | undefined;
_value?: Element | undefined;
/**
* home | work | temp | old | mobile - purpose of this contact point
* Identifies the purpose for the contact point.
*/
use?: string | undefined;
_use?: Element | undefined;
/**
* Specify preferred order of use (1 = highest)
* Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.
*/
rank?: number | undefined;
_rank?: Element | undefined;
/** Time period when the contact point was/is in use */
period?: Period | undefined;
}
/**
* Base StructureDefinition for ProcessResponse Resource
*/
export interface ProcessResponse extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ProcessResponse';
/**
* Business Identifier
* The Response business identifier.
*/
identifier?: Identifier[] | undefined;
/**
* Request reference
* Original request resource reference.
*/
request?: Reference | undefined;
/**
* Processing outcome
* Transaction status: error, complete, held.
*/
outcome?: Coding | undefined;
/**
* Disposition Message
* A description of the status of the adjudication or processing.
*/
disposition?: string | undefined;
_disposition?: Element | undefined;
/**
* Resource version
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*/
ruleset?: Coding | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when the enclosed suite of services were performed or completed.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Authoring Organization
* The organization who produced this adjudicated response.
*/
organization?: Reference | undefined;
/**
* Responsible Practitioner
* The practitioner who is responsible for the services rendered to the patient.
*/
requestProvider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the services rendered to the patient.
*/
requestOrganization?: Reference | undefined;
/**
* Printed Form Identifier
* The form to be used for printing the content.
*/
form?: Coding | undefined;
/**
* Notes
* Suite of processing note or additional requirements is the processing has been held.
*/
notes?: ProcessResponseNotes[] | undefined;
/**
* Error code
* Processing errors.
*/
error?: Coding[] | undefined;
}
/**
* Notes
* Suite of processing note or additional requirements is the processing has been held.
*/
export interface ProcessResponseNotes extends BackboneElement {
/**
* display | print | printoper
* The note purpose: Print/Display.
*/
type?: Coding | undefined;
/**
* Notes text
* The note text.
*/
text?: string | undefined;
_text?: Element | undefined;
}
/**
* Base StructureDefinition for Annotation Type
*/
export interface Annotation extends Element {
/**
* Individual responsible for the annotation
* The individual responsible for making the annotation.
*/
authorReference?: Reference | undefined;
/**
* Individual responsible for the annotation
* The individual responsible for making the annotation.
*/
authorString?: string | undefined;
_authorString?: Element | undefined;
/**
* When the annotation was made
* Indicates when this particular annotation was made.
*/
time?: string | undefined;
_time?: Element | undefined;
/**
* The annotation - text content
* The text of the annotation.
*/
text: string;
_text?: Element | undefined;
}
/**
* Base StructureDefinition for Substance Resource
*/
export interface Substance extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Substance';
/**
* Unique identifier
* Unique identifier for the substance.
*/
identifier?: Identifier[] | undefined;
/**
* What class/type of substance this is
* A code that classifies the general type of substance. This is used for searching, sorting and display purposes.
*/
category?: CodeableConcept[] | undefined;
/**
* What substance this is
* A code (or set of codes) that identify this substance.
*/
code: CodeableConcept;
/**
* Textual description of the substance, comments
* A description of the substance - its appearance, handling requirements, and other usage notes.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* If this describes a specific package/container of the substance
* Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.
*/
instance?: SubstanceInstance[] | undefined;
/**
* Composition information about the substance
* A substance can be composed of other substances.
*/
ingredient?: SubstanceIngredient[] | undefined;
}
/**
* If this describes a specific package/container of the substance
* Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.
*/
export interface SubstanceInstance extends BackboneElement {
/**
* Identifier of the package/container
* Identifier associated with the package/container (usually a label affixed directly).
*/
identifier?: Identifier | undefined;
/**
* When no longer valid to use
* When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.
*/
expiry?: string | undefined;
_expiry?: Element | undefined;
/**
* Amount of substance in the package
* The amount of the substance.
*/
quantity?: Quantity | undefined;
}
/**
* Composition information about the substance
* A substance can be composed of other substances.
*/
export interface SubstanceIngredient extends BackboneElement {
/**
* Optional amount (concentration)
* The amount of the ingredient in the substance - a concentration ratio.
*/
quantity?: Ratio | undefined;
/**
* A component of the substance
* Another substance that is a component of this substance.
*/
substance: Reference;
}
/**
* Base StructureDefinition for Meta Type
*/
export interface Meta extends Element {
/**
* Version specific identifier
* The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.
*/
versionId?: string | undefined;
_versionId?: Element | undefined;
/**
* When the resource version last changed
* When the resource last changed - e.g. when the version changed.
*/
lastUpdated?: string | undefined;
_lastUpdated?: Element | undefined;
/**
* Profiles this resource claims to conform to
* A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].
*/
profile?: string[] | undefined;
_profile?: Element[] | undefined;
/**
* Security Labels applied to this resource
* Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
*/
security?: Coding[] | undefined;
/**
* Tags applied to this resource
* Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.
*/
tag?: Coding[] | undefined;
}
/**
* Base StructureDefinition for Group Resource
*/
export interface Group extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Group';
/**
* Unique id
* A unique business identifier for this group.
*/
identifier?: Identifier[] | undefined;
/**
* person | animal | practitioner | device | medication | substance
* Identifies the broad classification of the kind of resources the group includes.
*/
type: string;
_type?: Element | undefined;
/**
* Descriptive or actual
* If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals.
*/
actual: boolean;
_actual?: Element | undefined;
/**
* Kind of Group members
* Provides a specific type of resource the group includes; e.g. "cow", "syringe", etc.
*/
code?: CodeableConcept | undefined;
/**
* Label for Group
* A label assigned to the group for human identification and communication.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Number of members
* A count of the number of resource instances that are part of the group.
*/
quantity?: number | undefined;
_quantity?: Element | undefined;
/**
* Trait of group members
* Identifies the traits shared by members of the group.
*/
characteristic?: GroupCharacteristic[] | undefined;
/**
* Who or what is in group
* Identifies the resource instances that are members of the group.
*/
member?: GroupMember[] | undefined;
}
/**
* Trait of group members
* Identifies the traits shared by members of the group.
*/
export interface GroupCharacteristic extends BackboneElement {
/**
* Kind of characteristic
* A code that identifies the kind of trait being asserted.
*/
code: CodeableConcept;
/**
* Value held by characteristic
* The value of the trait that holds (or does not hold - see 'exclude') for members of the group.
*/
valueCodeableConcept?: CodeableConcept | undefined;
/**
* Value held by characteristic
* The value of the trait that holds (or does not hold - see 'exclude') for members of the group.
*/
valueBoolean?: boolean | undefined;
_valueBoolean?: Element | undefined;
/**
* Value held by characteristic
* The value of the trait that holds (or does not hold - see 'exclude') for members of the group.
*/
valueQuantity?: Quantity | undefined;
/**
* Value held by characteristic
* The value of the trait that holds (or does not hold - see 'exclude') for members of the group.
*/
valueRange?: Range | undefined;
/**
* Group includes or excludes
* If true, indicates the characteristic is one that is NOT held by members of the group.
*/
exclude: boolean;
_exclude?: Element | undefined;
/**
* Period over which characteristic is tested
* The period over which the characteristic is tested; e.g. the patient had an operation during the month of June.
*/
period?: Period | undefined;
}
/**
* Who or what is in group
* Identifies the resource instances that are members of the group.
*/
export interface GroupMember extends BackboneElement {
/**
* Reference to the group member
* A reference to the entity that is a member of the group. Must be consistent with Group.type.
*/
entity: Reference | Reference | Reference | Reference | Reference;
/**
* Period member belonged to the group
* The period that the member was in the group, if known.
*/
period?: Period | undefined;
/**
* If member is no longer in group
* A flag to indicate that the member is no longer in the group, but previously may have been a member.
*/
inactive?: boolean | undefined;
_inactive?: Element | undefined;
}
/**
* Base StructureDefinition for ImagingStudy Resource
*/
export interface ImagingStudy extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ImagingStudy';
/**
* When the study was started
* Date and Time the study started.
*/
started?: string | undefined;
_started?: Element | undefined;
/**
* Who the images are of
* The patient imaged in the study.
*/
patient: Reference;
/** Formal identifier for the study */
uid: string;
_uid?: Element | undefined;
/**
* Related workflow identifier ("Accession Number")
* Accession Number is an identifier related to some aspect of imaging workflow and data management. Usage may vary across different institutions. See for instance [IHE Radiology Technical Framework Volume 1 Appendix A](http://www.ihe.net/uploadedFiles/Documents/Radiology/IHE_RAD_TF_Rev13.0_Vol1_FT_2014-07-30.pdf).
*/
accession?: Identifier | undefined;
/** Other identifiers for the study */
identifier?: Identifier[] | undefined;
/**
* Order(s) that caused this study to be performed
* A list of the diagnostic orders that resulted in this imaging study being performed.
*/
order?: Reference[] | undefined;
/**
* All series modality if actual acquisition modalities
* A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).
*/
modalityList?: Coding[] | undefined;
/**
* Referring physician (0008,0090)
* The requesting/referring physician.
*/
referrer?: Reference | undefined;
/**
* ONLINE | OFFLINE | NEARLINE | UNAVAILABLE (0008,0056)
* Availability of study (online, offline or nearline).
*/
availability?: string | undefined;
_availability?: Element | undefined;
/**
* Retrieve URI
* WADO-RS resource where Study is available.
*/
url?: string | undefined;
_url?: Element | undefined;
/**
* Number of Study Related Series
* Number of Series in Study.
*/
numberOfSeries: number;
_numberOfSeries?: Element | undefined;
/**
* Number of Study Related Instances
* Number of SOP Instances in Study.
*/
numberOfInstances: number;
_numberOfInstances?: Element | undefined;
/** Type of procedure performed */
procedure?: Reference[] | undefined;
/**
* Who interpreted images
* Who read the study and interpreted the images or other content.
*/
interpreter?: Reference | undefined;
/**
* Institution-generated description
* Institution-generated description or classification of the Study performed.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Each study has one or more series of instances
* Each study has one or more series of images or other content.
*/
series?: ImagingStudySeries[] | undefined;
}
/**
* A single SOP instance from the series
* A single SOP Instance within the series, e.g. an image, or presentation state.
*/
export interface ImagingStudySeriesInstance extends BackboneElement {
/**
* The number of this instance in the series
* The number of instance in the series.
*/
number?: number | undefined;
_number?: Element | undefined;
/**
* Formal identifier for this instance
* Formal identifier for this image or other content.
*/
uid: string;
_uid?: Element | undefined;
/**
* DICOM class type
* DICOM instance type.
*/
sopClass: string;
_sopClass?: Element | undefined;
/**
* Type of instance (image etc.)
* A human-friendly SOP Class name.
*/
type?: string | undefined;
_type?: Element | undefined;
/**
* Description of instance
* The description of the instance.
*/
title?: string | undefined;
_title?: Element | undefined;
/**
* Content of the instance
* Content of the instance or a rendering thereof (e.g. a JPEG of an image, or an XML of a structured report). May be represented for example by inline encoding; by a URL reference to a WADO-RS service that makes the instance available; or to a FHIR Resource (e.g. Media, Document, etc.). Multiple content attachments may be used for alternate representations of the instance.
*/
content?: Attachment[] | undefined;
}
/**
* Each study has one or more series of instances
* Each study has one or more series of images or other content.
*/
export interface ImagingStudySeries extends BackboneElement {
/**
* Numeric identifier of this series
* The Numeric identifier of this series in the study.
*/
number?: number | undefined;
_number?: Element | undefined;
/**
* The modality of the instances in the series
* The modality of this series sequence.
*/
modality: Coding;
/** Formal identifier for this series */
uid: string;
_uid?: Element | undefined;
/** A description of the series */
description?: string | undefined;
_description?: Element | undefined;
/**
* Number of Series Related Instances
* Number of SOP Instances in Series.
*/
numberOfInstances: number;
_numberOfInstances?: Element | undefined;
/**
* ONLINE | OFFLINE | NEARLINE | UNAVAILABLE
* Availability of series (online, offline or nearline).
*/
availability?: string | undefined;
_availability?: Element | undefined;
/**
* Location of the referenced instance(s)
* URI/URL specifying the location of the referenced series using WADO-RS.
*/
url?: string | undefined;
_url?: Element | undefined;
/**
* Body part examined
* Body part examined. See DICOM Part 16 Annex L for the mapping from DICOM to Snomed CT.
*/
bodySite?: Coding | undefined;
/**
* Body part laterality
* Laterality if body site is paired anatomic structure and laterality is not pre-coordinated in body site code.
*/
laterality?: Coding | undefined;
/**
* When the series started
* The date and time the series was started.
*/
started?: string | undefined;
_started?: Element | undefined;
/**
* A single SOP instance from the series
* A single SOP Instance within the series, e.g. an image, or presentation state.
*/
instance?: ImagingStudySeriesInstance[] | undefined;
}
/**
* Base StructureDefinition for Organization Resource
*/
export interface Organization extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Organization';
/**
* Identifies this organization across multiple systems
* Identifier for the organization that is used to identify the organization across multiple disparate systems.
*/
identifier?: Identifier[] | undefined;
/** Whether the organization's record is still in active use */
active?: boolean | undefined;
_active?: Element | undefined;
/**
* Kind of organization
* The kind of organization that this is.
*/
type?: CodeableConcept | undefined;
/**
* Name used for the organization
* A name associated with the organization.
*/
name?: string | undefined;
_name?: Element | undefined;
/** A contact detail for the organization */
telecom?: ContactPoint[] | undefined;
/** An address for the organization */
address?: Address[] | undefined;
/** The organization of which this organization forms a part */
partOf?: Reference | undefined;
/** Contact for the organization for a certain purpose */
contact?: OrganizationContact[] | undefined;
}
/**
* Contact for the organization for a certain purpose
*/
export interface OrganizationContact extends BackboneElement {
/**
* The type of contact
* Indicates a purpose for which the contact can be reached.
*/
purpose?: CodeableConcept | undefined;
/** A name associated with the contact */
name?: HumanName | undefined;
/**
* Contact details (telephone, email, etc.) for a contact
* A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.
*/
telecom?: ContactPoint[] | undefined;
/** Visiting or postal addresses for the contact */
address?: Address | undefined;
}
/**
* Base StructureDefinition for ProcessRequest Resource
*/
export interface ProcessRequest extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ProcessRequest';
/**
* cancel | poll | reprocess | status
* The type of processing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest.
*/
action: string;
_action?: Element | undefined;
/**
* Business Identifier
* The ProcessRequest business identifier.
*/
identifier?: Identifier[] | undefined;
/**
* Resource version
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*/
ruleset?: Coding | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when this resource was created.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Target of the request
* The organization which is the target of the request.
*/
target?: Reference | undefined;
/**
* Responsible practitioner
* The practitioner who is responsible for the action specified in thise request.
*/
provider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the action speccified in thise request.
*/
organization?: Reference | undefined;
/**
* Request reference
* Reference of resource which is the target or subject of this action.
*/
request?: Reference | undefined;
/**
* Response reference
* Reference of a prior response to resource which is the target or subject of this action.
*/
response?: Reference | undefined;
/**
* Nullify
* If true remove all history excluding audit.
*/
nullify?: boolean | undefined;
_nullify?: Element | undefined;
/**
* Reference number/string
* A reference to supply which authenticates the process.
*/
reference?: string | undefined;
_reference?: Element | undefined;
/**
* Items to re-adjudicate
* List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated.
*/
item?: ProcessRequestItem[] | undefined;
/**
* Resource type(s) to include
* Names of resource types to include.
*/
include?: string[] | undefined;
_include?: Element[] | undefined;
/**
* Resource type(s) to exclude
* Names of resource types to exclude.
*/
exclude?: string[] | undefined;
_exclude?: Element[] | undefined;
/**
* Period
* A period of time during which the fulfilling resources would have been created.
*/
period?: Period | undefined;
}
/**
* Items to re-adjudicate
* List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated.
*/
export interface ProcessRequestItem extends BackboneElement {
/**
* Service instance
* A service line number.
*/
sequenceLinkId: number;
_sequenceLinkId?: Element | undefined;
}
/**
* Base StructureDefinition for Questionnaire Resource
*/
export interface Questionnaire extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Questionnaire';
/**
* External identifiers for this questionnaire
* This records identifiers associated with this question set that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
*/
identifier?: Identifier[] | undefined;
/**
* Logical identifier for this version of Questionnaire
* The version number assigned by the publisher for business reasons. It may remain the same when the resource is updated.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* draft | published | retired
* The lifecycle status of the questionnaire as a whole.
*/
status: string;
_status?: Element | undefined;
/**
* Date this version was authored
* The date that this questionnaire was last changed.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Organization/individual who designed the questionnaire
* Organization or person responsible for developing and maintaining the questionnaire.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact information of the publisher
* Contact details to assist a user in finding and communicating with the publisher.
*/
telecom?: ContactPoint[] | undefined;
/**
* Resource that can be subject of QuestionnaireResponse
* Identifies the types of subjects that can be the subject of the questionnaire.
*/
subjectType?: string[] | undefined;
_subjectType?: Element[] | undefined;
/**
* Grouped questions
* A collection of related questions (or further groupings of questions).
*/
group: QuestionnaireGroup;
}
/**
* Questions in this group
* Set of questions within this group. The order of questions within the group is relevant.
*/
export interface QuestionnaireGroupQuestion extends BackboneElement {
/**
* To link questionnaire with questionnaire response
* An identifier that is unique within the questionnaire allowing linkage to the equivalent group in a [[[QuestionnaireResponse]]] resource.
*/
linkId?: string | undefined;
_linkId?: Element | undefined;
/**
* Concept that represents this question on a questionnaire
* Identifies a how this question is known in a particular terminology such as LOINC.
*/
concept?: Coding[] | undefined;
/**
* Text of the question as it is shown to the user
* The actual question as shown to the user to prompt them for an answer.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* boolean | decimal | integer | date | dateTime +
* The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple) choice is expected.
*/
type?: string | undefined;
_type?: Element | undefined;
/**
* Whether the question must be answered in data results
* If true, indicates that the question must be answered and have required groups within it also present. If false, the question and any contained groups may be skipped when answering the questionnaire.
*/
required?: boolean | undefined;
_required?: Element | undefined;
/**
* Whether the question can have multiple answers
* If true, the question may have more than one answer.
*/
repeats?: boolean | undefined;
_repeats?: Element | undefined;
/**
* Valueset containing permitted answers
* Reference to a value set containing a list of codes representing permitted answers for the question.
*/
options?: Reference | undefined;
/**
* Permitted answer
* For a "choice" question, identifies one of the permitted answers for the question.
*/
option?: Coding[] | undefined;
}
/**
* Grouped questions
* A collection of related questions (or further groupings of questions).
*/
export interface QuestionnaireGroup extends BackboneElement {
/**
* To link questionnaire with questionnaire response
* An identifier that is unique within the Questionnaire allowing linkage to the equivalent group in a QuestionnaireResponse resource.
*/
linkId?: string | undefined;
_linkId?: Element | undefined;
/**
* Name to be displayed for group
* The human-readable name for this section of the questionnaire.
*/
title?: string | undefined;
_title?: Element | undefined;
/**
* Concept that represents this section in a questionnaire
* Identifies a how this group of questions is known in a particular terminology such as LOINC.
*/
concept?: Coding[] | undefined;
/**
* Additional text for the group
* Additional text for the group, used for display purposes.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* Whether the group must be included in data results
* If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire.
*/
required?: boolean | undefined;
_required?: Element | undefined;
/**
* Whether the group may repeat
* Whether the group may occur multiple times in the instance, containing multiple sets of answers.
*/
repeats?: boolean | undefined;
_repeats?: Element | undefined;
/**
* Nested questionnaire group
* A sub-group within a group. The ordering of groups within this group is relevant.
*/
group?: QuestionnaireGroup[] | undefined;
/**
* Questions in this group
* Set of questions within this group. The order of questions within the group is relevant.
*/
question?: QuestionnaireGroupQuestion[] | undefined;
}
/**
* Base StructureDefinition for TestScript Resource
*/
export interface TestScript extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'TestScript';
/**
* Absolute URL used to reference this TestScript
* An absolute URL that is used to identify this Test Script. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Test Script is (or will be) published.
*/
url: string;
_url?: Element | undefined;
/**
* Logical id for this version of the TestScript
* The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Informal name for this TestScript
* A free text natural language name identifying the TestScript.
*/
name: string;
_name?: Element | undefined;
/**
* draft | active | retired
* The status of the TestScript.
*/
status: string;
_status?: Element | undefined;
/**
* External identifier
* Identifier for the TestScript assigned for external purposes outside the context of FHIR.
*/
identifier?: Identifier | undefined;
/**
* If for testing purposes, not real usage
* This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
experimental?: boolean | undefined;
_experimental?: Element | undefined;
/**
* Name of the publisher (Organization or individual)
* The name of the individual or organization that published the Test Script.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
contact?: TestScriptContact[] | undefined;
/**
* Date for this version of the TestScript
* The date this version of the test tcript was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the test cases change.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Natural language description of the TestScript
* A free text natural language description of the TestScript and its use.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Content intends to support these contexts
* The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of Test Scripts.
*/
useContext?: CodeableConcept[] | undefined;
/**
* Scope and Usage this Test Script is for
* Explains why this Test Script is needed and why it's been constrained as it has.
*/
requirements?: string | undefined;
_requirements?: Element | undefined;
/**
* Use and/or publishing restrictions
* A copyright statement relating to the Test Script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.
*/
copyright?: string | undefined;
_copyright?: Element | undefined;
/**
* Required capability that is assumed to function correctly on the FHIR server being tested
* The required capability must exist and are assumed to function correctly on the FHIR server being tested.
*/
metadata?: TestScriptMetadata | undefined;
/**
* Whether or not the tests apply to more than one FHIR server
* If the tests apply to more than one FHIR server (e.g. cross-server interoperability tests) then multiserver=true. Defaults to false if value is unspecified.
*/
multiserver?: boolean | undefined;
_multiserver?: Element | undefined;
/**
* Fixture in the test script - by reference (uri)
* Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.
*/
fixture?: TestScriptFixture[] | undefined;
/**
* Reference of the validation profile
* Reference to the profile to be used for validation.
*/
profile?: Reference[] | undefined;
/**
* Placeholder for evaluated elements
* Variable is set based either on element value in response body or on header field value in the response headers.
*/
variable?: TestScriptVariable[] | undefined;
/** A series of required setup operations before tests are executed */
setup?: TestScriptSetup | undefined;
/** A test in this script */
test?: TestScriptTest[] | undefined;
/**
* A series of required clean up steps
* A series of operations required to clean up after the all the tests are executed (successfully or otherwise).
*/
teardown?: TestScriptTeardown | undefined;
}
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
export interface TestScriptContact extends BackboneElement {
/**
* Name of a individual to contact
* The name of an individual to contact regarding the Test Script.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Contact details for individual or publisher
* Contact details for individual (if a name was provided) or the publisher.
*/
telecom?: ContactPoint[] | undefined;
}
/**
* Links to the FHIR specification
* A link to the FHIR specification that this test is covering.
*/
export interface TestScriptMetadataLink extends BackboneElement {
/**
* URL to the specification
* URL to a particular requirement or feature within the FHIR specification.
*/
url: string;
_url?: Element | undefined;
/**
* Short description
* Short description of the link.
*/
description?: string | undefined;
_description?: Element | undefined;
}
/**
* Capabilities that are assumed to function correctly on the FHIR server being tested
* Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
*/
export interface TestScriptMetadataCapability extends BackboneElement {
/**
* Are the capabilities required?
* Whether or not the test execution will require the given capabilities of the server in order for this test script to execute.
*/
required?: boolean | undefined;
_required?: Element | undefined;
/**
* Are the capabilities validated?
* Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute.
*/
validated?: boolean | undefined;
_validated?: Element | undefined;
/**
* The expected capabilities of the server
* Description of the capabilities that this test script is requiring the server to support.
*/
description?: string | undefined;
_description?: Element | undefined;
/** Which server these requirements apply to */
destination?: number | undefined;
_destination?: Element | undefined;
/**
* Links to the FHIR specification
* Links to the FHIR specification that describes this interaction and the resources involved in more detail.
*/
link?: string[] | undefined;
_link?: Element[] | undefined;
/**
* Required Conformance
* Minimum conformance required of server for test script to execute successfully. If server does not meet at a minimum the reference conformance definition, then all tests in this script are skipped.
*/
conformance: Reference;
}
/**
* Required capability that is assumed to function correctly on the FHIR server being tested
* The required capability must exist and are assumed to function correctly on the FHIR server being tested.
*/
export interface TestScriptMetadata extends BackboneElement {
/**
* Links to the FHIR specification
* A link to the FHIR specification that this test is covering.
*/
link?: TestScriptMetadataLink[] | undefined;
/**
* Capabilities that are assumed to function correctly on the FHIR server being tested
* Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
*/
capability: TestScriptMetadataCapability[];
}
/**
* Fixture in the test script - by reference (uri)
* Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.
*/
export interface TestScriptFixture extends BackboneElement {
/**
* Whether or not to implicitly create the fixture during setup
* Whether or not to implicitly create the fixture during setup. If true, the fixture is automatically created on each server being tested during setup, therefore no create operation is required for this fixture in the TestScript.setup section.
*/
autocreate?: boolean | undefined;
_autocreate?: Element | undefined;
/**
* Whether or not to implicitly delete the fixture during teardown
* Whether or not to implicitly delete the fixture during teardown If true, the fixture is automatically deleted on each server being tested during teardown, therefore no delete operation is required for this fixture in the TestScript.teardown section.
*/
autodelete?: boolean | undefined;
_autodelete?: Element | undefined;
/**
* Reference of the resource
* Reference to the resource (containing the contents of the resource needed for operations).
*/
resource?: Reference | undefined;
}
/**
* Placeholder for evaluated elements
* Variable is set based either on element value in response body or on header field value in the response headers.
*/
export interface TestScriptVariable extends BackboneElement {
/** Descriptive name for this variable */
name: string;
_name?: Element | undefined;
/**
* HTTP header field name for source
* Will be used to grab the HTTP header field value from the headers that sourceId is pointing to.
*/
headerField?: string | undefined;
_headerField?: Element | undefined;
/**
* XPath or JSONPath against the fixture body
* XPath or JSONPath against the fixture body. When variables are defined, either headerField must be specified or path, but not both.
*/
path?: string | undefined;
_path?: Element | undefined;
/**
* Fixture Id of source expression or headerField within this variable
* Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable.
*/
sourceId?: string | undefined;
_sourceId?: Element | undefined;
}
/**
* Each operation can have one ore more header elements
* Header elements would be used to set HTTP headers.
*/
export interface TestScriptSetupActionOperationRequestHeader extends BackboneElement {
/**
* HTTP header field name
* The HTTP header field e.g. "Accept".
*/
field: string;
_field?: Element | undefined;
/**
* HTTP headerfield value
* The value of the header e.g. "application/xml".
*/
value: string;
_value?: Element | undefined;
}
/**
* The setup operation to perform
* The operation to perform.
*/
export interface TestScriptSetupActionOperation extends BackboneElement {
/**
* The setup operation type that will be executed
* Server interaction or operation type.
*/
type?: Coding | undefined;
/**
* Resource type
* The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
*/
resource?: string | undefined;
_resource?: Element | undefined;
/**
* Tracking/logging operation label
* The label would be used for tracking/logging purposes by test engines.
*/
label?: string | undefined;
_label?: Element | undefined;
/**
* Tracking/reporting operation description
* The description would be used by test engines for tracking and reporting purposes.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* xml | json
* The content-type or mime-type to use for RESTful operation in the 'Accept' header.
*/
accept?: string | undefined;
_accept?: Element | undefined;
/**
* xml | json
* The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
*/
contentType?: string | undefined;
_contentType?: Element | undefined;
/** Which server to perform the operation on */
destination?: number | undefined;
_destination?: Element | undefined;
/**
* Whether or not to send the request url in encoded format
* Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.
*/
encodeRequestUrl?: boolean | undefined;
_encodeRequestUrl?: Element | undefined;
/**
* Explicitly defined path parameters
* Path plus parameters after [type]. Used to set parts of the request URL explicitly.
*/
params?: string | undefined;
_params?: Element | undefined;
/**
* Each operation can have one ore more header elements
* Header elements would be used to set HTTP headers.
*/
requestHeader?: TestScriptSetupActionOperationRequestHeader[] | undefined;
/**
* Fixture Id of mapped response
* The fixture id (maybe new) to map to the response.
*/
responseId?: string | undefined;
_responseId?: Element | undefined;
/**
* Fixture Id of body for PUT and POST requests
* The id of the fixture used as the body of a PUT or POST request.
*/
sourceId?: string | undefined;
_sourceId?: Element | undefined;
/** Id of fixture used for extracting the [id], [type], and [vid] for GET requests */
targetId?: string | undefined;
_targetId?: Element | undefined;
/**
* Request URL
* Complete request URL.
*/
url?: string | undefined;
_url?: Element | undefined;
}
/**
* The assertion to perform
* Evaluates the results of previous operations to determine if the server under test behaves appropriately.
*/
export interface TestScriptSetupActionAssert extends BackboneElement {
/**
* Tracking/logging assertion label
* The label would be used for tracking/logging purposes by test engines.
*/
label?: string | undefined;
_label?: Element | undefined;
/**
* Tracking/reporting assertion description
* The description would be used by test engines for tracking and reporting purposes.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* response | request
* The direction to use for the assertion.
*/
direction?: string | undefined;
_direction?: Element | undefined;
/** Id of fixture used to compare the "sourceId/path" evaluations to */
compareToSourceId?: string | undefined;
_compareToSourceId?: Element | undefined;
/** XPath or JSONPath expression against fixture used to compare the "sourceId/path" evaluations to */
compareToSourcePath?: string | undefined;
_compareToSourcePath?: Element | undefined;
/**
* xml | json
* The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
*/
contentType?: string | undefined;
_contentType?: Element | undefined;
/**
* HTTP header field name
* The HTTP header field name e.g. 'Location'.
*/
headerField?: string | undefined;
_headerField?: Element | undefined;
/**
* Fixture Id of minimum content resource
* The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
*/
minimumId?: string | undefined;
_minimumId?: Element | undefined;
/**
* Perform validation on navigation links?
* Whether or not the test execution performs validation on the bundle navigation links.
*/
navigationLinks?: boolean | undefined;
_navigationLinks?: Element | undefined;
/**
* equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains
* The operator type.
*/
operator?: string | undefined;
_operator?: Element | undefined;
/**
* XPath or JSONPath expression
* The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
*/
path?: string | undefined;
_path?: Element | undefined;
/**
* Resource type
* The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
*/
resource?: string | undefined;
_resource?: Element | undefined;
/** okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable */
response?: string | undefined;
_response?: Element | undefined;
/**
* HTTP response code to test
* The value of the HTTP response code to be tested.
*/
responseCode?: string | undefined;
_responseCode?: Element | undefined;
/**
* Fixture Id of source expression or headerField
* Fixture to evaluate the XPath/JSONPath expression or the headerField against.
*/
sourceId?: string | undefined;
_sourceId?: Element | undefined;
/**
* Profile Id of validation profile reference
* The ID of the Profile to validate against.
*/
validateProfileId?: string | undefined;
_validateProfileId?: Element | undefined;
/** The value to compare to */
value?: string | undefined;
_value?: Element | undefined;
/**
* Will this assert produce a warning only on error?
* Whether or not the test execution will produce a warning only on error for this assert.
*/
warningOnly?: boolean | undefined;
_warningOnly?: Element | undefined;
}
/**
* A setup operation or assert to perform
* Action would contain either an operation or an assertion.
*/
export interface TestScriptSetupAction extends BackboneElement {
/**
* The setup operation to perform
* The operation to perform.
*/
operation?: TestScriptSetupActionOperation | undefined;
/**
* The assertion to perform
* Evaluates the results of previous operations to determine if the server under test behaves appropriately.
*/
assert?: TestScriptSetupActionAssert | undefined;
}
/**
* A series of required setup operations before tests are executed
*/
export interface TestScriptSetup extends BackboneElement {
/**
* A setup operation or assert to perform
* Action would contain either an operation or an assertion.
*/
action: TestScriptSetupAction[];
}
/**
* A test in this script
*/
export interface TestScriptTest extends BackboneElement {
/**
* Tracking/logging name of this test
* The name of this test used for tracking/logging purposes by test engines.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Tracking/reporting short description of the test
* A short description of the test used by test engines for tracking and reporting purposes.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* A test operation or assert to perform
* Action would contain either an operation or an assertion.
*/
action: BackboneElement[];
}
/**
* A series of required clean up steps
* A series of operations required to clean up after the all the tests are executed (successfully or otherwise).
*/
export interface TestScriptTeardown extends BackboneElement {
/**
* One or more teardown operations to perform
* The teardown action will only contain an operation.
*/
action: BackboneElement[];
}
/**
* Base StructureDefinition for Ratio Type
*/
export interface Ratio extends Element {
/**
* Numerator value
* The value of the numerator.
*/
numerator?: Quantity | undefined;
/**
* Denominator value
* The value of the denominator.
*/
denominator?: Quantity | undefined;
}
/**
* Base StructureDefinition for SupplyRequest Resource
*/
export interface SupplyRequest extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'SupplyRequest';
/**
* Patient for whom the item is supplied
* A link to a resource representing the person whom the ordered item is for.
*/
patient?: Reference | undefined;
/**
* Who initiated this order
* The Practitioner , Organization or Patient who initiated this order for the supply.
*/
source?: Reference | Reference | Reference | undefined;
/** When the request was made */
date?: string | undefined;
_date?: Element | undefined;
/**
* Unique identifier
* Unique identifier for this supply request.
*/
identifier?: Identifier | undefined;
/**
* requested | completed | failed | cancelled
* Status of the supply request.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* The kind of supply (central, non-stock, etc.)
* Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.
*/
kind?: CodeableConcept | undefined;
/**
* Medication, Substance, or Device requested to be supplied
* The item that is requested to be supplied.
*/
orderedItem?: Reference | Reference | Reference | undefined;
/** Who is intended to fulfill the request */
supplier?: Reference[] | undefined;
/** Why the supply item was requested */
reasonCodeableConcept?: CodeableConcept | undefined;
/** Why the supply item was requested */
reasonReference?: Reference | undefined;
/** When the request should be fulfilled */
when?: SupplyRequestWhen | undefined;
}
/**
* When the request should be fulfilled
*/
export interface SupplyRequestWhen extends BackboneElement {
/**
* Fulfilment code
* Code indicating when the request should be fulfilled.
*/
code?: CodeableConcept | undefined;
/** Formal fulfillment schedule */
schedule?: Timing | undefined;
}
/**
* Base StructureDefinition for Coding Type
*/
export interface Coding extends Element {
/**
* Identity of the terminology system
* The identification of the code system that defines the meaning of the symbol in the code.
*/
system?: string | undefined;
_system?: Element | undefined;
/**
* Version of the system - if relevant
* The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Symbol in syntax defined by the system
* A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
*/
code?: string | undefined;
_code?: Element | undefined;
/**
* Representation defined by the system
* A representation of the meaning of the code in the system, following the rules of the system.
*/
display?: string | undefined;
_display?: Element | undefined;
/**
* If this coding was chosen directly by the user
* Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).
*/
userSelected?: boolean | undefined;
_userSelected?: Element | undefined;
}
/**
* Base StructureDefinition for Order Resource
*/
export interface Order extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Order';
/** Identifiers assigned to this order by the orderer or by the receiver */
identifier?: Identifier[] | undefined;
/** When the order was made */
date?: string | undefined;
_date?: Element | undefined;
/** Patient this order is about */
subject?: Reference | Reference | Reference | Reference | undefined;
/** Who initiated the order */
source?: Reference | Reference | undefined;
/** Who is intended to fulfill the order */
target?: Reference | Reference | Reference | undefined;
/** Text - why the order was made */
reasonCodeableConcept?: CodeableConcept | undefined;
/** Text - why the order was made */
reasonReference?: Reference | undefined;
/** When order should be fulfilled */
when?: OrderWhen | undefined;
/** What action is being ordered */
detail: Reference[];
}
/**
* When order should be fulfilled
*/
export interface OrderWhen extends BackboneElement {
/** Code specifies when request should be done. The code may simply be a priority code */
code?: CodeableConcept | undefined;
/** A formal schedule */
schedule?: Timing | undefined;
}
/**
* Base StructureDefinition for Provenance Resource
*/
export interface Provenance extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Provenance';
/**
* Target Reference(s) (usually version specific)
* The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity.
*/
target: Reference[];
/**
* When the activity occurred
* The period during which the activity occurred.
*/
period?: Period | undefined;
/**
* When the activity was recorded / updated
* The instant of time at which the activity was recorded.
*/
recorded: string;
_recorded?: Element | undefined;
/**
* Reason the activity is occurring
* The reason that the activity was taking place.
*/
reason?: CodeableConcept[] | undefined;
/**
* Activity that occurred
* An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.
*/
activity?: CodeableConcept | undefined;
/** Where the activity occurred, if relevant */
location?: Reference | undefined;
/**
* Policy or plan the activity was defined by
* Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.
*/
policy?: string[] | undefined;
_policy?: Element[] | undefined;
/**
* Agents involved in creating resource
* An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, an organization, software, or other entities that may be ascribed responsibility.
*/
agent?: ProvenanceAgent[] | undefined;
/** An entity used in this activity */
entity?: ProvenanceEntity[] | undefined;
/**
* Signature on target
* A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.
*/
signature?: Signature[] | undefined;
}
/**
* Track delegation between agents
* A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest.
*/
export interface ProvenanceAgentRelatedAgent extends BackboneElement {
/**
* Type of relationship between agents
* The type of relationship between agents.
*/
type: CodeableConcept;
/**
* Reference to other agent in this resource by identifier
* An internal reference to another agent listed in this provenance by its identifier.
*/
target: string;
_target?: Element | undefined;
}
/**
* Agents involved in creating resource
* An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, an organization, software, or other entities that may be ascribed responsibility.
*/
export interface ProvenanceAgent extends BackboneElement {
/**
* What the agents involvement was
* The function of the agent with respect to the activity.
*/
role: Coding;
/**
* Individual, device or organization playing role
* The individual, device or organization that participated in the event.
*/
actor?: Reference | Reference | Reference | Reference | Reference | undefined;
/**
* Authorization-system identifier for the agent
* The identity of the agent as known by the authorization system.
*/
userId?: Identifier | undefined;
/**
* Track delegation between agents
* A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest.
*/
relatedAgent?: ProvenanceAgentRelatedAgent[] | undefined;
}
/**
* An entity used in this activity
*/
export interface ProvenanceEntity extends BackboneElement {
/**
* derivation | revision | quotation | source
* How the entity was used during the activity.
*/
role: string;
_role?: Element | undefined;
/**
* The type of resource in this entity
* The type of the entity. If the entity is a resource, then this is a resource type.
*/
type: Coding;
/**
* Identity of entity
* Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.
*/
reference: string;
_reference?: Element | undefined;
/**
* Human description of entity
* Human-readable description of the entity.
*/
display?: string | undefined;
_display?: Element | undefined;
}
/**
* Base StructureDefinition for Binary Resource
*/
export interface Binary extends Resource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Binary';
/**
* MimeType of the binary content
* MimeType of the binary content represented as a standard MimeType (BCP 13).
*/
contentType: string;
_contentType?: Element | undefined;
/**
* The actual content
* The actual content, base64 encoded.
*/
content: string;
_content?: Element | undefined;
}
/**
* Base StructureDefinition for RiskAssessment Resource
*/
export interface RiskAssessment extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'RiskAssessment';
/**
* Who/what does assessment apply to?
* The patient or group the risk assessment applies to.
*/
subject?: Reference | Reference | undefined;
/**
* When was assessment made?
* The date (and possibly time) the risk assessment was performed.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Condition assessed
* For assessments or prognosis specific to a particular condition, indicates the condition being assessed.
*/
condition?: Reference | undefined;
/**
* Where was assessment performed?
* The encounter where the assessment was performed.
*/
encounter?: Reference | undefined;
/**
* Who did assessment?
* The provider or software application that performed the assessment.
*/
performer?: Reference | Reference | undefined;
/**
* Unique identifier for the assessment
* Business identifier assigned to the risk assessment.
*/
identifier?: Identifier | undefined;
/**
* Evaluation mechanism
* The algorithm, process or mechanism used to evaluate the risk.
*/
method?: CodeableConcept | undefined;
/**
* Information used in assessment
* Indicates the source data considered as part of the assessment (FamilyHistory, Observations, Procedures, Conditions, etc.).
*/
basis?: Reference[] | undefined;
/**
* Outcome predicted
* Describes the expected outcome for the subject.
*/
prediction?: RiskAssessmentPrediction[] | undefined;
/**
* How to reduce risk
* A description of the steps that might be taken to reduce the identified risk(s).
*/
mitigation?: string | undefined;
_mitigation?: Element | undefined;
}
/**
* Outcome predicted
* Describes the expected outcome for the subject.
*/
export interface RiskAssessmentPrediction extends BackboneElement {
/**
* Possible outcome for the subject
* One of the potential outcomes for the patient (e.g. remission, death, a particular condition).
*/
outcome: CodeableConcept;
/**
* Likelihood of specified outcome
* How likely is the outcome (in the specified timeframe).
*/
probabilityDecimal?: number | undefined;
_probabilityDecimal?: Element | undefined;
/**
* Likelihood of specified outcome
* How likely is the outcome (in the specified timeframe).
*/
probabilityRange?: Range | undefined;
/**
* Likelihood of specified outcome
* How likely is the outcome (in the specified timeframe).
*/
probabilityCodeableConcept?: CodeableConcept | undefined;
/**
* Relative likelihood
* Indicates the risk for this particular subject (with their specific characteristics) divided by the risk of the population in general. (Numbers greater than 1 = higher risk than the population, numbers less than 1 = lower risk.).
*/
relativeRisk?: number | undefined;
_relativeRisk?: Element | undefined;
/**
* Timeframe or age range
* Indicates the period of time or age range of the subject to which the specified probability applies.
*/
whenPeriod?: Period | undefined;
/**
* Timeframe or age range
* Indicates the period of time or age range of the subject to which the specified probability applies.
*/
whenRange?: Range | undefined;
/**
* Explanation of prediction
* Additional information explaining the basis for the prediction.
*/
rationale?: string | undefined;
_rationale?: Element | undefined;
}
/**
* Base StructureDefinition for Parameters Resource
*/
export interface Parameters extends Resource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Parameters';
/**
* Operation Parameter
* A parameter passed to or received from the operation.
*/
parameter?: ParametersParameter[] | undefined;
}
/**
* Operation Parameter
* A parameter passed to or received from the operation.
*/
export interface ParametersParameter extends BackboneElement {
/**
* Name from the definition
* The name of the parameter (reference to the operation definition).
*/
name: string;
_name?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueBoolean?: boolean | undefined;
_valueBoolean?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueInteger?: number | undefined;
_valueInteger?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueDecimal?: number | undefined;
_valueDecimal?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueBase64Binary?: string | undefined;
_valueBase64Binary?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueInstant?: string | undefined;
_valueInstant?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueString?: string | undefined;
_valueString?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueUri?: string | undefined;
_valueUri?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueDate?: string | undefined;
_valueDate?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueDateTime?: string | undefined;
_valueDateTime?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueTime?: string | undefined;
_valueTime?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueCode?: string | undefined;
_valueCode?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueOid?: string | undefined;
_valueOid?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueId?: string | undefined;
_valueId?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueUnsignedInt?: number | undefined;
_valueUnsignedInt?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valuePositiveInt?: number | undefined;
_valuePositiveInt?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueMarkdown?: string | undefined;
_valueMarkdown?: Element | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueAnnotation?: Annotation | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueAttachment?: Attachment | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueIdentifier?: Identifier | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueCodeableConcept?: CodeableConcept | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueCoding?: Coding | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueQuantity?: Quantity | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueRange?: Range | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valuePeriod?: Period | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueRatio?: Ratio | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueSampledData?: SampledData | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueSignature?: Signature | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueHumanName?: HumanName | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueAddress?: Address | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueContactPoint?: ContactPoint | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueTiming?: Timing | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueReference?: Reference | undefined;
/**
* If parameter is a data type
* If the parameter is a data type.
*/
valueMeta?: Meta | undefined;
/**
* If parameter is a whole resource
* If the parameter is a whole resource.
*/
resource?: Resource | undefined;
}
/**
* Base StructureDefinition for HealthcareService Resource
*/
export interface HealthcareService extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'HealthcareService';
/** External identifiers for this item */
identifier?: Identifier[] | undefined;
/**
* Organization that provides this service
* The organization that provides this healthcare service.
*/
providedBy?: Reference | undefined;
/**
* Broad category of service being performed or delivered
* Identifies the broad category of service being performed or delivered.
*/
serviceCategory?: CodeableConcept | undefined;
/**
* Specific service delivered or performed
* A specific type of service that may be delivered or performed.
*/
serviceType?: HealthcareServiceServiceType[] | undefined;
/**
* Location where service may be provided
* The location where this healthcare service may be provided.
*/
location: Reference;
/**
* Description of service as presented to a consumer while searching
* Further description of the service as it would be presented to a consumer while searching.
*/
serviceName?: string | undefined;
_serviceName?: Element | undefined;
/**
* Additional description and/or any specific issues not covered elsewhere
* Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName.
*/
comment?: string | undefined;
_comment?: Element | undefined;
/** Extra details about the service that can't be placed in the other fields */
extraDetails?: string | undefined;
_extraDetails?: Element | undefined;
/**
* Facilitates quick identification of the service
* If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list.
*/
photo?: Attachment | undefined;
/**
* Contacts related to the healthcare service
* List of contacts related to this specific healthcare service.
*/
telecom?: ContactPoint[] | undefined;
/**
* Location(s) service is inteded for/available to
* The location(s) that this service is available to (not where the service is provided).
*/
coverageArea?: Reference[] | undefined;
/**
* Conditions under which service is available/offered
* The code(s) that detail the conditions under which the healthcare service is available/offered.
*/
serviceProvisionCode?: CodeableConcept[] | undefined;
/**
* Specific eligibility requirements required to use the service
* Does this service have specific eligibility requirements that need to be met in order to use the service?
*/
eligibility?: CodeableConcept | undefined;
/** Describes the eligibility conditions for the service */
eligibilityNote?: string | undefined;
_eligibilityNote?: Element | undefined;
/**
* Program Names that categorize the service
* Program Names that can be used to categorize the service.
*/
programName?: string[] | undefined;
_programName?: Element[] | undefined;
/** Collection of characteristics (attributes) */
characteristic?: CodeableConcept[] | undefined;
/**
* Ways that the service accepts referrals
* Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required.
*/
referralMethod?: CodeableConcept[] | undefined;
/**
* PKI Public keys to support secure communications
* The public part of the 'keys' allocated to an Organization by an accredited body to support secure exchange of data over the internet. To be provided by the Organization, where available.
*/
publicKey?: string | undefined;
_publicKey?: Element | undefined;
/**
* If an appointment is required for access to this service
* Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service.
*/
appointmentRequired?: boolean | undefined;
_appointmentRequired?: Element | undefined;
/**
* Times the Service Site is available
* A collection of times that the Service Site is available.
*/
availableTime?: HealthcareServiceAvailableTime[] | undefined;
/**
* Not available during this time due to provided reason
* The HealthcareService is not available during this period of time due to the provided reason.
*/
notAvailable?: HealthcareServiceNotAvailable[] | undefined;
/**
* Description of availability exceptions
* A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.
*/
availabilityExceptions?: string | undefined;
_availabilityExceptions?: Element | undefined;
}
/**
* Specific service delivered or performed
* A specific type of service that may be delivered or performed.
*/
export interface HealthcareServiceServiceType extends BackboneElement {
/**
* Type of service delivered or performed
* The specific type of service being delivered or performed.
*/
type: CodeableConcept;
/**
* Specialties handled by the Service Site
* Collection of specialties handled by the service site. This is more of a medical term.
*/
specialty?: CodeableConcept[] | undefined;
}
/**
* Times the Service Site is available
* A collection of times that the Service Site is available.
*/
export interface HealthcareServiceAvailableTime extends BackboneElement {
/**
* mon | tue | wed | thu | fri | sat | sun
* Indicates which days of the week are available between the start and end Times.
*/
daysOfWeek?: string[] | undefined;
_daysOfWeek?: Element[] | undefined;
/**
* Always available? e.g. 24 hour service
* Is this always available? (hence times are irrelevant) e.g. 24 hour service.
*/
allDay?: boolean | undefined;
_allDay?: Element | undefined;
/**
* Opening time of day (ignored if allDay = true)
* The opening time of day. Note: If the AllDay flag is set, then this time is ignored.
*/
availableStartTime?: string | undefined;
_availableStartTime?: Element | undefined;
/**
* Closing time of day (ignored if allDay = true)
* The closing time of day. Note: If the AllDay flag is set, then this time is ignored.
*/
availableEndTime?: string | undefined;
_availableEndTime?: Element | undefined;
}
/**
* Not available during this time due to provided reason
* The HealthcareService is not available during this period of time due to the provided reason.
*/
export interface HealthcareServiceNotAvailable extends BackboneElement {
/**
* Reason presented to the user explaining why time not available
* The reason that can be presented to the user as to why this time is not available.
*/
description: string;
_description?: Element | undefined;
/**
* Service not availablefrom this date
* Service is not available (seasonally or for a public holiday) from this date.
*/
during?: Period | undefined;
}
/**
* Base StructureDefinition for RelatedPerson Resource
*/
export interface RelatedPerson extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'RelatedPerson';
/**
* A human identifier for this person
* Identifier for a person within a particular scope.
*/
identifier?: Identifier[] | undefined;
/** The patient this person is related to */
patient: Reference;
/**
* The nature of the relationship
* The nature of the relationship between a patient and the related person.
*/
relationship?: CodeableConcept | undefined;
/** A name associated with the person */
name?: HumanName | undefined;
/**
* A contact detail for the person
* A contact detail for the person, e.g. a telephone number or an email address.
*/
telecom?: ContactPoint[] | undefined;
/**
* male | female | other | unknown
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
*/
gender?: string | undefined;
_gender?: Element | undefined;
/** The date on which the related person was born */
birthDate?: string | undefined;
_birthDate?: Element | undefined;
/** Address where the related person can be contacted or visited */
address?: Address[] | undefined;
/** Image of the person */
photo?: Attachment[] | undefined;
/**
* Period of time that this relationship is considered valid
* The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown.
*/
period?: Period | undefined;
}
/**
* Base StructureDefinition for DeviceComponent Resource
*/
export interface DeviceComponent extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'DeviceComponent';
/**
* What kind of component it is
* Describes the specific component type as defined in the object-oriented or metric nomenclature partition.
*/
type: CodeableConcept;
/**
* Instance id assigned by the software stack
* Describes the local assigned unique identification by the software. For example: handle ID.
*/
identifier: Identifier;
/**
* Recent system change timestamp
* Describes the timestamp for the most recent system change which includes device configuration or setting change.
*/
lastSystemChange: string;
_lastSystemChange?: Element | undefined;
/**
* A source device of this component
* Describes the link to the source Device that contains administrative device information such as manufacture, serial number, etc.
*/
source?: Reference | undefined;
/**
* Parent resource link
* Describes the link to the parent resource. For example: Channel is linked to its VMD parent.
*/
parent?: Reference | undefined;
/**
* Component operational status
* Indicates current operational status of the device. For example: On, Off, Standby, etc.
*/
operationalStatus?: CodeableConcept[] | undefined;
/**
* Current supported parameter group
* Describes the parameter group supported by the current device component that is based on some nomenclature, e.g. cardiovascular.
*/
parameterGroup?: CodeableConcept | undefined;
/**
* other | chemical | electrical | impedance | nuclear | optical | thermal | biological | mechanical | acoustical | manual+
* Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc.
*/
measurementPrinciple?: string | undefined;
_measurementPrinciple?: Element | undefined;
/**
* Production specification of the component
* Describes the production specification such as component revision, serial number, etc.
*/
productionSpecification?: DeviceComponentProductionSpecification[] | undefined;
/**
* Language code for the human-readable text strings produced by the device
* Describes the language code for the human-readable text string produced by the device. This language code will follow the IETF language tag. Example: en-US.
*/
languageCode?: CodeableConcept | undefined;
}
/**
* Production specification of the component
* Describes the production specification such as component revision, serial number, etc.
*/
export interface DeviceComponentProductionSpecification extends BackboneElement {
/**
* Specification type
* Describes the specification type, such as, serial number, part number, hardware revision, software revision, etc.
*/
specType?: CodeableConcept | undefined;
/**
* Internal component unique identification
* Describes the internal component unique identification. This is a provision for manufacture specific standard components using a private OID. 11073-10101 has a partition for private OID semantic that the manufacture can make use of.
*/
componentId?: Identifier | undefined;
/**
* A printable string defining the component
* Describes the printable string defining the component.
*/
productionSpec?: string | undefined;
_productionSpec?: Element | undefined;
}
/**
* Base StructureDefinition for Basic Resource
*/
export interface Basic extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Basic';
/**
* Business identifier
* Identifier assigned to the resource for business purposes, outside the context of FHIR.
*/
identifier?: Identifier[] | undefined;
/**
* Kind of Resource
* Identifies the 'type' of resource - equivalent to the resource name for other resources.
*/
code: CodeableConcept;
/**
* Identifies the focus of this resource
* Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.
*/
subject?: Reference | undefined;
/**
* Who created
* Indicates who was responsible for creating the resource instance.
*/
author?: Reference | Reference | Reference | undefined;
/**
* When created
* Identifies when the resource was first created.
*/
created?: string | undefined;
_created?: Element | undefined;
}
/**
* Base StructureDefinition for NamingSystem Resource
*/
export interface NamingSystem extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'NamingSystem';
/**
* Human-readable label
* The descriptive name of this particular identifier type or code system.
*/
name: string;
_name?: Element | undefined;
/**
* draft | active | retired
* Indicates whether the naming system is "ready for use" or not.
*/
status: string;
_status?: Element | undefined;
/**
* codesystem | identifier | root
* Indicates the purpose for the naming system - what kinds of things does it make unique?
*/
kind: string;
_kind?: Element | undefined;
/**
* Name of the publisher (Organization or individual)
* The name of the individual or organization that published the naming system.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
contact?: NamingSystemContact[] | undefined;
/**
* Who maintains system namespace?
* The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision.
*/
responsible?: string | undefined;
_responsible?: Element | undefined;
/**
* Publication Date(/time)
* The date (and optionally time) when the system was registered or published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the registration changes.
*/
date: string;
_date?: Element | undefined;
/**
* e.g. driver, provider, patient, bank etc.
* Categorizes a naming system for easier search by grouping related naming systems.
*/
type?: CodeableConcept | undefined;
/**
* What does naming system identify?
* Details about what the namespace identifies including scope, granularity, version labeling, etc.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Content intends to support these contexts
* The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of naming systems.
*/
useContext?: CodeableConcept[] | undefined;
/**
* How/where is it used
* Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc.
*/
usage?: string | undefined;
_usage?: Element | undefined;
/**
* Unique identifiers used for system
* Indicates how the system may be identified when referenced in electronic exchange.
*/
uniqueId: NamingSystemUniqueId[];
/**
* Use this instead
* For naming systems that are retired, indicates the naming system that should be used in their place (if any).
*/
replacedBy?: Reference | undefined;
}
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
export interface NamingSystemContact extends BackboneElement {
/**
* Name of a individual to contact
* The name of an individual to contact regarding the naming system.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Contact details for individual or publisher
* Contact details for individual (if a name was provided) or the publisher.
*/
telecom?: ContactPoint[] | undefined;
}
/**
* Unique identifiers used for system
* Indicates how the system may be identified when referenced in electronic exchange.
*/
export interface NamingSystemUniqueId extends BackboneElement {
/**
* oid | uuid | uri | other
* Identifies the unique identifier scheme used for this particular identifier.
*/
type: string;
_type?: Element | undefined;
/**
* The unique identifier
* The string that should be sent over the wire to identify the code system or identifier system.
*/
value: string;
_value?: Element | undefined;
/**
* Is this the id that should be used for this type
* Indicates whether this identifier is the "preferred" identifier of this type.
*/
preferred?: boolean | undefined;
_preferred?: Element | undefined;
/**
* When is identifier valid?
* Identifies the period of time over which this identifier is considered appropriate to refer to the naming system. Outside of this window, the identifier might be non-deterministic.
*/
period?: Period | undefined;
}
/**
* Base StructureDefinition for VisionPrescription Resource
*/
export interface VisionPrescription extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'VisionPrescription';
/**
* Business identifier
* Business identifier which may be used by other parties to reference or identify the prescription.
*/
identifier?: Identifier[] | undefined;
/**
* When prescription was authorized
* The date (and perhaps time) when the prescription was written.
*/
dateWritten?: string | undefined;
_dateWritten?: Element | undefined;
/**
* Who prescription is for
* A link to a resource representing the person to whom the vision products will be supplied.
*/
patient?: Reference | undefined;
/**
* Who authorizes the vision product
* The healthcare professional responsible for authorizing the prescription.
*/
prescriber?: Reference | undefined;
/**
* Created during encounter / admission / stay
* A link to a resource that identifies the particular occurrence of contact between patient and health care provider.
*/
encounter?: Reference | undefined;
/**
* Reason or indication for writing the prescription
* Can be the reason or the indication for writing the prescription.
*/
reasonCodeableConcept?: CodeableConcept | undefined;
/**
* Reason or indication for writing the prescription
* Can be the reason or the indication for writing the prescription.
*/
reasonReference?: Reference | undefined;
/**
* Vision supply authorization
* Deals with details of the dispense part of the supply specification.
*/
dispense?: VisionPrescriptionDispense[] | undefined;
}
/**
* Vision supply authorization
* Deals with details of the dispense part of the supply specification.
*/
export interface VisionPrescriptionDispense extends BackboneElement {
/**
* Product to be supplied
* Identifies the type of vision correction product which is required for the patient.
*/
product: Coding;
/**
* right | left
* The eye for which the lens applies.
*/
eye?: string | undefined;
_eye?: Element | undefined;
/**
* Lens sphere
* Lens power measured in diopters (0.25 units).
*/
sphere?: number | undefined;
_sphere?: Element | undefined;
/**
* Lens cylinder
* Power adjustment for astigmatism measured in diopters (0.25 units).
*/
cylinder?: number | undefined;
_cylinder?: Element | undefined;
/**
* Lens axis
* Adjustment for astigmatism measured in integer degrees.
*/
axis?: number | undefined;
_axis?: Element | undefined;
/**
* Lens prism
* Amount of prism to compensate for eye alignment in fractional units.
*/
prism?: number | undefined;
_prism?: Element | undefined;
/**
* up | down | in | out
* The relative base, or reference lens edge, for the prism.
*/
base?: string | undefined;
_base?: Element | undefined;
/**
* Lens add
* Power adjustment for multifocal lenses measured in diopters (0.25 units).
*/
add?: number | undefined;
_add?: Element | undefined;
/**
* Contact lens power
* Contact lens power measured in diopters (0.25 units).
*/
power?: number | undefined;
_power?: Element | undefined;
/**
* Contact lens back curvature
* Back curvature measured in millimeters.
*/
backCurve?: number | undefined;
_backCurve?: Element | undefined;
/**
* Contact lens diameter
* Contact lens diameter measured in millimeters.
*/
diameter?: number | undefined;
_diameter?: Element | undefined;
/**
* Lens wear duration
* The recommended maximum wear period for the lens.
*/
duration?: Quantity | undefined;
/**
* Lens add
* Special color or pattern.
*/
color?: string | undefined;
_color?: Element | undefined;
/**
* Lens add
* Brand recommendations or restrictions.
*/
brand?: string | undefined;
_brand?: Element | undefined;
/**
* Notes for coatings
* Notes for special requirements such as coatings and lens materials.
*/
notes?: string | undefined;
_notes?: Element | undefined;
}
/**
* Base StructureDefinition for EnrollmentRequest Resource
*/
export interface EnrollmentRequest extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'EnrollmentRequest';
/**
* Business Identifier
* The Response business identifier.
*/
identifier?: Identifier[] | undefined;
/**
* Resource version
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*/
ruleset?: Coding | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when this resource was created.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Insurer
* The Insurer who is target of the request.
*/
target?: Reference | undefined;
/**
* Responsible practitioner
* The practitioner who is responsible for the services rendered to the patient.
*/
provider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the services rendered to the patient.
*/
organization?: Reference | undefined;
/**
* The subject of the Products and Services
* Patient Resource.
*/
subject: Reference;
/**
* Insurance information
* Reference to the program or plan identification, underwriter or payor.
*/
coverage: Reference;
/**
* Patient relationship to subscriber
* The relationship of the patient to the subscriber.
*/
relationship: Coding;
}
/**
* Base StructureDefinition for Flag Resource
*/
export interface Flag extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Flag';
/**
* Business identifier
* Identifier assigned to the flag for external use (outside the FHIR environment).
*/
identifier?: Identifier[] | undefined;
/**
* Clinical, administrative, etc.
* Allows an flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.
*/
category?: CodeableConcept | undefined;
/**
* active | inactive | entered-in-error
* Supports basic workflow.
*/
status: string;
_status?: Element | undefined;
/**
* Time period when flag is active
* The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.
*/
period?: Period | undefined;
/**
* Who/What is flag about?
* The patient, location, group , organization , or practitioner this is about record this flag is associated with.
*/
subject: Reference | Reference | Reference | Reference | Reference;
/**
* Alert relevant during encounter
* This alert is only relevant during the encounter.
*/
encounter?: Reference | undefined;
/**
* Flag creator
* The person, organization or device that created the flag.
*/
author?: Reference | Reference | Reference | Reference | undefined;
/**
* Partially deaf, Requires easy open caps, No permanent address, etc.
* The coded value or textual component of the flag to display to the user.
*/
code: CodeableConcept;
}
/**
* Base StructureDefinition for ExplanationOfBenefit Resource
*/
export interface ExplanationOfBenefit extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ExplanationOfBenefit';
/**
* Business Identifier
* The Response business identifier.
*/
identifier?: Identifier[] | undefined;
/**
* Claim reference
* Original request resource reference.
*/
request?: Reference | undefined;
/**
* complete | error
* Transaction status: error, complete.
*/
outcome?: string | undefined;
_outcome?: Element | undefined;
/**
* Disposition Message
* A description of the status of the adjudication.
*/
disposition?: string | undefined;
_disposition?: Element | undefined;
/**
* Resource version
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*/
ruleset?: Coding | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when the enclosed suite of services were performed or completed.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Insurer
* The Insurer who produced this adjudicated response.
*/
organization?: Reference | undefined;
/**
* Responsible practitioner
* The practitioner who is responsible for the services rendered to the patient.
*/
requestProvider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the services rendered to the patient.
*/
requestOrganization?: Reference | undefined;
}
/**
* Base StructureDefinition for Patient Resource
*/
export interface Patient extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Patient';
/** An identifier for this patient */
identifier?: Identifier[] | undefined;
/**
* Whether this patient's record is in active use
* Whether this patient record is in active use.
*/
active?: boolean | undefined;
_active?: Element | undefined;
/**
* A name associated with the patient
* A name associated with the individual.
*/
name?: HumanName[] | undefined;
/**
* A contact detail for the individual
* A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.
*/
telecom?: ContactPoint[] | undefined;
/**
* male | female | other | unknown
* Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.
*/
gender?: string | undefined;
_gender?: Element | undefined;
/** The date of birth for the individual */
birthDate?: string | undefined;
_birthDate?: Element | undefined;
/** Indicates if the individual is deceased or not */
deceasedBoolean?: boolean | undefined;
_deceasedBoolean?: Element | undefined;
/** Indicates if the individual is deceased or not */
deceasedDateTime?: string | undefined;
_deceasedDateTime?: Element | undefined;
/** Addresses for the individual */
address?: Address[] | undefined;
/**
* Marital (civil) status of a patient
* This field contains a patient's most recent marital (civil) status.
*/
maritalStatus?: CodeableConcept | undefined;
/**
* Whether patient is part of a multiple birth
* Indicates whether the patient is part of a multiple or indicates the actual birth order.
*/
multipleBirthBoolean?: boolean | undefined;
_multipleBirthBoolean?: Element | undefined;
/**
* Whether patient is part of a multiple birth
* Indicates whether the patient is part of a multiple or indicates the actual birth order.
*/
multipleBirthInteger?: number | undefined;
_multipleBirthInteger?: Element | undefined;
/** Image of the patient */
photo?: Attachment[] | undefined;
/** A contact party (e.g. guardian, partner, friend) for the patient */
contact?: PatientContact[] | undefined;
/**
* This patient is known to be an animal (non-human)
* This patient is known to be an animal.
*/
animal?: PatientAnimal | undefined;
/**
* A list of Languages which may be used to communicate with the patient about his or her health
* Languages which may be used to communicate with the patient about his or her health.
*/
communication?: PatientCommunication[] | undefined;
/**
* Patient's nominated primary care provider
* Patient's nominated care provider.
*/
careProvider?: Reference | Reference[] | undefined;
/** Organization that is the custodian of the patient record */
managingOrganization?: Reference | undefined;
/**
* Link to another patient resource that concerns the same actual person
* Link to another patient resource that concerns the same actual patient.
*/
link?: PatientLink[] | undefined;
}
/**
* A contact party (e.g. guardian, partner, friend) for the patient
*/
export interface PatientContact extends BackboneElement {
/**
* The kind of relationship
* The nature of the relationship between the patient and the contact person.
*/
relationship?: CodeableConcept[] | undefined;
/** A name associated with the contact person */
name?: HumanName | undefined;
/**
* A contact detail for the person
* A contact detail for the person, e.g. a telephone number or an email address.
*/
telecom?: ContactPoint[] | undefined;
/** Address for the contact person */
address?: Address | undefined;
/**
* male | female | other | unknown
* Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.
*/
gender?: string | undefined;
_gender?: Element | undefined;
/**
* Organization that is associated with the contact
* Organization on behalf of which the contact is acting or for which the contact is working.
*/
organization?: Reference | undefined;
/** The period during which this contact person or organization is valid to be contacted relating to this patient */
period?: Period | undefined;
}
/**
* This patient is known to be an animal (non-human)
* This patient is known to be an animal.
*/
export interface PatientAnimal extends BackboneElement {
/**
* E.g. Dog, Cow
* Identifies the high level taxonomic categorization of the kind of animal.
*/
species: CodeableConcept;
/**
* E.g. Poodle, Angus
* Identifies the detailed categorization of the kind of animal.
*/
breed?: CodeableConcept | undefined;
/**
* E.g. Neutered, Intact
* Indicates the current state of the animal's reproductive organs.
*/
genderStatus?: CodeableConcept | undefined;
}
/**
* A list of Languages which may be used to communicate with the patient about his or her health
* Languages which may be used to communicate with the patient about his or her health.
*/
export interface PatientCommunication extends BackboneElement {
/**
* The language which can be used to communicate with the patient about his or her health
* The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. "en" for English, or "en-US" for American English versus "en-EN" for England English.
*/
language: CodeableConcept;
/**
* Language preference indicator
* Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).
*/
preferred?: boolean | undefined;
_preferred?: Element | undefined;
}
/**
* Link to another patient resource that concerns the same actual person
* Link to another patient resource that concerns the same actual patient.
*/
export interface PatientLink extends BackboneElement {
/** The other patient resource that the link refers to */
other: Reference;
/**
* replace | refer | seealso - type of link
* The type of link between this patient resource and another patient resource.
*/
type: string;
_type?: Element | undefined;
}
/**
* Base StructureDefinition for Specimen Resource
*/
export interface Specimen extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Specimen';
/**
* External Identifier
* Id for specimen.
*/
identifier?: Identifier[] | undefined;
/**
* available | unavailable | unsatisfactory | entered-in-error
* The availability of the specimen.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* Kind of material that forms the specimen
* The kind of material that forms the specimen.
*/
type?: CodeableConcept | undefined;
/**
* Specimen from which this specimen originated
* Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen.
*/
parent?: Reference[] | undefined;
/** Where the specimen came from. This may be from the patient(s) or from the environment or a device */
subject: Reference | Reference | Reference | Reference;
/**
* Identifier assigned by the lab
* The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures.
*/
accessionIdentifier?: Identifier | undefined;
/**
* The time when specimen was received for processing
* Time when specimen was received for processing or testing.
*/
receivedTime?: string | undefined;
_receivedTime?: Element | undefined;
/**
* Collection details
* Details concerning the specimen collection.
*/
collection?: SpecimenCollection | undefined;
/**
* Treatment and processing step details
* Details concerning treatment and processing steps for the specimen.
*/
treatment?: SpecimenTreatment[] | undefined;
/**
* Direct container of specimen (tube/slide, etc.)
* The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.
*/
container?: SpecimenContainer[] | undefined;
}
/**
* Collection details
* Details concerning the specimen collection.
*/
export interface SpecimenCollection extends BackboneElement {
/**
* Who collected the specimen
* Person who collected the specimen.
*/
collector?: Reference | undefined;
/**
* Collector comments
* To communicate any details or issues encountered during the specimen collection procedure.
*/
comment?: string[] | undefined;
_comment?: Element[] | undefined;
/**
* Collection time
* Time when specimen was collected from subject - the physiologically relevant time.
*/
collectedDateTime?: string | undefined;
_collectedDateTime?: Element | undefined;
/**
* Collection time
* Time when specimen was collected from subject - the physiologically relevant time.
*/
collectedPeriod?: Period | undefined;
/**
* The quantity of specimen collected
* The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample.
*/
quantity?: Quantity | undefined;
/**
* Technique used to perform collection
* A coded value specifying the technique that is used to perform the procedure.
*/
method?: CodeableConcept | undefined;
/**
* Anatomical collection site
* Anatomical location from which the specimen was collected (if subject is a patient). This is the target site. This element is not used for environmental specimens.
*/
bodySite?: CodeableConcept | undefined;
}
/**
* Treatment and processing step details
* Details concerning treatment and processing steps for the specimen.
*/
export interface SpecimenTreatment extends BackboneElement {
/** Textual description of procedure */
description?: string | undefined;
_description?: Element | undefined;
/**
* Indicates the treatment or processing step applied to the specimen
* A coded value specifying the procedure used to process the specimen.
*/
procedure?: CodeableConcept | undefined;
/** Material used in the processing step */
additive?: Reference[] | undefined;
}
/**
* Direct container of specimen (tube/slide, etc.)
* The container holding the specimen. The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.
*/
export interface SpecimenContainer extends BackboneElement {
/**
* Id for the container
* Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances.
*/
identifier?: Identifier[] | undefined;
/** Textual description of the container */
description?: string | undefined;
_description?: Element | undefined;
/**
* Kind of container directly associated with specimen
* The type of container associated with the specimen (e.g. slide, aliquot, etc.).
*/
type?: CodeableConcept | undefined;
/**
* Container volume or size
* The capacity (volume or other measure) the container may contain.
*/
capacity?: Quantity | undefined;
/**
* Quantity of specimen within container
* The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type.
*/
specimenQuantity?: Quantity | undefined;
/**
* Additive associated with container
* Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.
*/
additiveCodeableConcept?: CodeableConcept | undefined;
/**
* Additive associated with container
* Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.
*/
additiveReference?: Reference | undefined;
}
/**
* Base StructureDefinition for FamilyMemberHistory Resource
*/
export interface FamilyMemberHistory extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'FamilyMemberHistory';
/**
* External Id(s) for this record
* This records identifiers associated with this family member history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
*/
identifier?: Identifier[] | undefined;
/**
* Patient history is about
* The person who this history concerns.
*/
patient: Reference;
/**
* When history was captured/updated
* The date (and possibly time) when the family member history was taken.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* partial | completed | entered-in-error | health-unknown
* A code specifying a state of a Family Member History record.
*/
status: string;
_status?: Element | undefined;
/**
* The family member described
* This will either be a name or a description; e.g. "Aunt Susan", "my cousin with the red hair".
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Relationship to the subject
* The type of relationship this person has to the patient (father, mother, brother etc.).
*/
relationship: CodeableConcept;
/**
* male | female | other | unknown
* Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes.
*/
gender?: string | undefined;
_gender?: Element | undefined;
/**
* (approximate) date of birth
* The actual or approximate date of birth of the relative.
*/
bornPeriod?: Period | undefined;
/**
* (approximate) date of birth
* The actual or approximate date of birth of the relative.
*/
bornDate?: string | undefined;
_bornDate?: Element | undefined;
/**
* (approximate) date of birth
* The actual or approximate date of birth of the relative.
*/
bornString?: string | undefined;
_bornString?: Element | undefined;
/**
* (approximate) age
* The actual or approximate age of the relative at the time the family member history is recorded.
*/
ageQuantity?: Quantity | undefined;
/**
* (approximate) age
* The actual or approximate age of the relative at the time the family member history is recorded.
*/
ageRange?: Range | undefined;
/**
* (approximate) age
* The actual or approximate age of the relative at the time the family member history is recorded.
*/
ageString?: string | undefined;
_ageString?: Element | undefined;
/**
* Dead? How old/when?
* Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.
*/
deceasedBoolean?: boolean | undefined;
_deceasedBoolean?: Element | undefined;
/**
* Dead? How old/when?
* Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.
*/
deceasedQuantity?: Quantity | undefined;
/**
* Dead? How old/when?
* Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.
*/
deceasedRange?: Range | undefined;
/**
* Dead? How old/when?
* Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.
*/
deceasedDate?: string | undefined;
_deceasedDate?: Element | undefined;
/**
* Dead? How old/when?
* Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.
*/
deceasedString?: string | undefined;
_deceasedString?: Element | undefined;
/**
* General note about related person
* This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.
*/
note?: Annotation | undefined;
/**
* Condition that the related person had
* The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.
*/
condition?: FamilyMemberHistoryCondition[] | undefined;
}
/**
* Condition that the related person had
* The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.
*/
export interface FamilyMemberHistoryCondition extends BackboneElement {
/**
* Condition suffered by relation
* The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system.
*/
code: CodeableConcept;
/**
* deceased | permanent disability | etc.
* Indicates what happened as a result of this condition. If the condition resulted in death, deceased date is captured on the relation.
*/
outcome?: CodeableConcept | undefined;
/**
* When condition first manifested
* 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.
*/
onsetQuantity?: Quantity | undefined;
/**
* When condition first manifested
* 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.
*/
onsetRange?: Range | undefined;
/**
* When condition first manifested
* 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.
*/
onsetPeriod?: Period | undefined;
/**
* When condition first manifested
* 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.
*/
onsetString?: string | undefined;
_onsetString?: Element | undefined;
/**
* Extra information about condition
* An area where general notes can be placed about this specific condition.
*/
note?: Annotation | undefined;
}
/**
* Base StructureDefinition for OperationDefinition Resource
*/
export interface OperationDefinition extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'OperationDefinition';
/**
* Logical URL to reference this operation definition
* An absolute URL that is used to identify this operation definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this operation definition is (or will be) published.
*/
url?: string | undefined;
_url?: Element | undefined;
/**
* Logical id for this version of the operation definition
* The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Informal name for this operation
* A free text natural language name identifying the operation.
*/
name: string;
_name?: Element | undefined;
/**
* draft | active | retired
* The status of the profile.
*/
status: string;
_status?: Element | undefined;
/**
* operation | query
* Whether this is an operation or a named query.
*/
kind: string;
_kind?: Element | undefined;
/**
* If for testing purposes, not real usage
* This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
experimental?: boolean | undefined;
_experimental?: Element | undefined;
/**
* Name of the publisher (Organization or individual)
* The name of the individual or organization that published the operation definition.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
contact?: OperationDefinitionContact[] | undefined;
/**
* Date for this version of the operation definition
* The date this version of the operation definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the Operation Definition changes.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Natural language description of the operation
* A free text natural language description of the profile and its use.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Why is this needed?
* Explains why this operation definition is needed and why it's been constrained as it has.
*/
requirements?: string | undefined;
_requirements?: Element | undefined;
/**
* Whether content is unchanged by operation
* Operations that are idempotent (see [HTTP specification definition of idempotent](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)) may be invoked by performing an HTTP GET operation instead of a POST.
*/
idempotent?: boolean | undefined;
_idempotent?: Element | undefined;
/**
* Name used to invoke the operation
* The name used to invoke the operation.
*/
code: string;
_code?: Element | undefined;
/**
* Additional information about use
* Additional information about how to use this operation or named query.
*/
notes?: string | undefined;
_notes?: Element | undefined;
/**
* Marks this as a profile of the base
* Indicates that this operation definition is a constraining profile on the base.
*/
base?: Reference | undefined;
/**
* Invoke at the system level?
* Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context).
*/
system: boolean;
_system?: Element | undefined;
/**
* Invoke at resource level for these type
* Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context).
*/
type?: string[] | undefined;
_type?: Element[] | undefined;
/**
* Invoke on an instance?
* Indicates whether this operation can be invoked on a particular instance of one of the given types.
*/
instance: boolean;
_instance?: Element | undefined;
/**
* Parameters for the operation/query
* The parameters for the operation/query.
*/
parameter?: OperationDefinitionParameter[] | undefined;
}
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
export interface OperationDefinitionContact extends BackboneElement {
/**
* Name of a individual to contact
* The name of an individual to contact regarding the operation definition.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Contact details for individual or publisher
* Contact details for individual (if a name was provided) or the publisher.
*/
telecom?: ContactPoint[] | undefined;
}
/**
* ValueSet details if this is coded
* Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).
*/
export interface OperationDefinitionParameterBinding extends BackboneElement {
/**
* required | extensible | preferred | example
* Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.
*/
strength: string;
_strength?: Element | undefined;
/**
* Source of value set
* Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.
*/
valueSetUri?: string | undefined;
_valueSetUri?: Element | undefined;
/**
* Source of value set
* Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.
*/
valueSetReference?: Reference | undefined;
}
/**
* Parameters for the operation/query
* The parameters for the operation/query.
*/
export interface OperationDefinitionParameter extends BackboneElement {
/**
* Name in Parameters.parameter.name or in URL
* The name of used to identify the parameter.
*/
name: string;
_name?: Element | undefined;
/**
* in | out
* Whether this is an input or an output parameter.
*/
use: string;
_use?: Element | undefined;
/**
* Minimum Cardinality
* The minimum number of times this parameter SHALL appear in the request or response.
*/
min: number;
_min?: Element | undefined;
/**
* Maximum Cardinality (a number or *)
* The maximum number of times this element is permitted to appear in the request or response.
*/
max: string;
_max?: Element | undefined;
/**
* Description of meaning/use
* Describes the meaning or use of this parameter.
*/
documentation?: string | undefined;
_documentation?: Element | undefined;
/**
* What type this parameter has
* The type for this parameter.
*/
type?: string | undefined;
_type?: Element | undefined;
/**
* Profile on the type
* A profile the specifies the rules that this parameter must conform to.
*/
profile?: Reference | undefined;
/**
* ValueSet details if this is coded
* Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).
*/
binding?: OperationDefinitionParameterBinding | undefined;
}
/**
* Base StructureDefinition for Medication Resource
*/
export interface Medication extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Medication';
/**
* Codes that identify this medication
* A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.
*/
code?: CodeableConcept | undefined;
/**
* True if a brand
* Set to true if the item is attributable to a specific manufacturer.
*/
isBrand?: boolean | undefined;
_isBrand?: Element | undefined;
/**
* Manufacturer of the item
* Describes the details of the manufacturer.
*/
manufacturer?: Reference | undefined;
/**
* Administrable medication details
* Information that only applies to products (not packages).
*/
product?: MedicationProduct | undefined;
/**
* Details about packaged medications
* Information that only applies to packages (not products).
*/
package?: MedicationPackage | undefined;
}
/**
* Active or inactive ingredient
* Identifies a particular constituent of interest in the product.
*/
export interface MedicationProductIngredient extends BackboneElement {
/**
* The product contained
* The actual ingredient - either a substance (simple ingredient) or another medication.
*/
item: Reference | Reference;
/**
* Quantity of ingredient present
* Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet.
*/
amount?: Ratio | undefined;
}
/**
* Information about a group of medication produced or packaged from one production run.
*/
export interface MedicationProductBatch extends BackboneElement {
/** The assigned lot number of a batch of the specified product. */
lotNumber?: string | undefined;
_lotNumber?: Element | undefined;
/** When this specific batch of product will expire. */
expirationDate?: string | undefined;
_expirationDate?: Element | undefined;
}
/**
* Administrable medication details
* Information that only applies to products (not packages).
*/
export interface MedicationProduct extends BackboneElement {
/**
* powder | tablets | carton +
* Describes the form of the item. Powder; tablets; carton.
*/
form?: CodeableConcept | undefined;
/**
* Active or inactive ingredient
* Identifies a particular constituent of interest in the product.
*/
ingredient?: MedicationProductIngredient[] | undefined;
/** Information about a group of medication produced or packaged from one production run. */
batch?: MedicationProductBatch[] | undefined;
}
/**
* What is in the package
* A set of components that go to make up the described item.
*/
export interface MedicationPackageContent extends BackboneElement {
/**
* A product in the package
* Identifies one of the items in the package.
*/
item: Reference;
/**
* Quantity present in the package
* The amount of the product that is in the package.
*/
amount?: Quantity | undefined;
}
/**
* Details about packaged medications
* Information that only applies to packages (not products).
*/
export interface MedicationPackage extends BackboneElement {
/**
* E.g. box, vial, blister-pack
* The kind of container that this package comes as.
*/
container?: CodeableConcept | undefined;
/**
* What is in the package
* A set of components that go to make up the described item.
*/
content?: MedicationPackageContent[] | undefined;
}
/**
* A fixed quantity (no comparator)
*/
export interface SimpleQuantity extends Quantity {
}
/**
* Base StructureDefinition for DiagnosticReport Resource
*/
export interface DiagnosticReport extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'DiagnosticReport';
/**
* Id for external references to this report
* The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.
*/
identifier?: Identifier[] | undefined;
/**
* registered | partial | final | corrected | appended | cancelled | entered-in-error
* The status of the diagnostic report as a whole.
*/
status: string;
_status?: Element | undefined;
/**
* Service category
* A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.
*/
category?: CodeableConcept | undefined;
/**
* Name/Code for this diagnostic report
* A code or name that describes this diagnostic report.
*/
code: CodeableConcept;
/**
* The subject of the report, usually, but not always, the patient
* The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources.
*/
subject: Reference | Reference | Reference | Reference;
/**
* Health care event when test ordered
* The link to the health care event (encounter) when the order was made.
*/
encounter?: Reference | undefined;
/**
* Clinically Relevant time/time-period for report
* 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.
*/
effectiveDateTime?: string | undefined;
_effectiveDateTime?: Element | undefined;
/**
* Clinically Relevant time/time-period for report
* 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.
*/
effectivePeriod?: Period | undefined;
/**
* DateTime this version was released
* The date and time that this version of the report was released from the source diagnostic service.
*/
issued: string;
_issued?: Element | undefined;
/**
* Responsible Diagnostic Service
* The diagnostic service that is responsible for issuing the report.
*/
performer: Reference | Reference;
/**
* What was requested
* Details concerning a test or procedure requested.
*/
request?: Reference | Reference | Reference[] | undefined;
/**
* Specimens this report is based on
* Details about the specimens on which this diagnostic report is based.
*/
specimen?: Reference[] | undefined;
/**
* Observations - simple, or complex nested groups
* Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. "atomic" results), or they can be grouping observations that include references to other members of the group (e.g. "panels").
*/
result?: Reference[] | undefined;
/**
* Reference to full details of imaging associated with the diagnostic report
* One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.
*/
imagingStudy?: Reference | Reference[] | undefined;
/**
* Key images associated with this report
* A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).
*/
image?: DiagnosticReportImage[] | undefined;
/**
* Clinical Interpretation of test results
* Concise and clinically contextualized narrative interpretation of the diagnostic report.
*/
conclusion?: string | undefined;
_conclusion?: Element | undefined;
/** Codes for the conclusion */
codedDiagnosis?: CodeableConcept[] | undefined;
/**
* Entire report as issued
* Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.
*/
presentedForm?: Attachment[] | undefined;
}
/**
* Key images associated with this report
* A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).
*/
export interface DiagnosticReportImage extends BackboneElement {
/**
* Comment about the image (e.g. explanation)
* A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.
*/
comment?: string | undefined;
_comment?: Element | undefined;
/** Reference to the image source */
link: Reference;
}
/**
* Base StructureDefinition for AppointmentResponse Resource
*/
export interface AppointmentResponse extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'AppointmentResponse';
/**
* External Ids for this item
* This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate.
*/
identifier?: Identifier[] | undefined;
/**
* Appointment this response relates to
* Appointment that this response is replying to.
*/
appointment: Reference;
/**
* Time from appointment, or requested new start time
* Date/Time that the appointment is to take place, or requested new start time.
*/
start?: string | undefined;
_start?: Element | undefined;
/**
* Time from appointment, or requested new end time
* This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time.
*/
end?: string | undefined;
_end?: Element | undefined;
/** Role of participant in the appointment */
participantType?: CodeableConcept[] | undefined;
/**
* Person, Location/HealthcareService or Device
* A Person, Location/HealthcareService or Device that is participating in the appointment.
*/
actor?: Reference | Reference | Reference | Reference | Reference | Reference | undefined;
/**
* accepted | declined | tentative | in-process | completed | needs-action
* Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty.
*/
participantStatus: string;
_participantStatus?: Element | undefined;
/**
* Additional comments
* Additional comments about the appointment.
*/
comment?: string | undefined;
_comment?: Element | undefined;
}
/**
* Base StructureDefinition for MessageHeader Resource
*/
export interface MessageHeader extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'MessageHeader';
/**
* Time that the message was sent
* The time that the message was sent.
*/
timestamp: string;
_timestamp?: Element | undefined;
/**
* Code for the event this message represents
* 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 "http://hl7.org/fhir/message-events".
*/
event: Coding;
/**
* If this is a reply to prior message
* Information about the message that this message is a response to. Only present if this message is a response.
*/
response?: MessageHeaderResponse | undefined;
/**
* Message Source Application
* The source application from which this message originated.
*/
source: MessageHeaderSource;
/**
* Message Destination Application(s)
* The destination application which the message is intended for.
*/
destination?: MessageHeaderDestination[] | undefined;
/**
* The source of the data entry
* The person or device that performed the data entry leading to this message. Where there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions.
*/
enterer?: Reference | undefined;
/**
* The source of the decision
* The logical author of the message - the person or device that decided the described event should happen. Where there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions.
*/
author?: Reference | undefined;
/**
* Intended "real-world" recipient for the data
* Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient.
*/
receiver?: Reference | Reference | undefined;
/**
* Final responsibility for event
* The person or organization that accepts overall responsibility for the contents of the message. The implication is that the message event happened under the policies of the responsible party.
*/
responsible?: Reference | Reference | undefined;
/**
* Cause of event
* Coded indication of the cause for the event - indicates a reason for the occurrence of the event that is a focus of this message.
*/
reason?: CodeableConcept | undefined;
/**
* The actual content of the message
* The actual data of the message - a reference to the root/focus class of the event.
*/
data?: Reference[] | undefined;
}
/**
* If this is a reply to prior message
* Information about the message that this message is a response to. Only present if this message is a response.
*/
export interface MessageHeaderResponse extends BackboneElement {
/**
* Id of original message
* The id of the message that this message is a response to.
*/
identifier: string;
_identifier?: Element | undefined;
/**
* ok | transient-error | fatal-error
* Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not.
*/
code: string;
_code?: Element | undefined;
/**
* Specific list of hints/warnings/errors
* Full details of any issues found in the message.
*/
details?: Reference | undefined;
}
/**
* Message Source Application
* The source application from which this message originated.
*/
export interface MessageHeaderSource extends BackboneElement {
/**
* Name of system
* Human-readable name for the source system.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Name of software running the system
* May include configuration or other information useful in debugging.
*/
software?: string | undefined;
_software?: Element | undefined;
/**
* Version of software running
* Can convey versions of multiple systems in situations where a message passes through multiple hands.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Human contact for problems
* An e-mail, phone, website or other contact point to use to resolve issues with message communications.
*/
contact?: ContactPoint | undefined;
/**
* Actual message source address or id
* Identifies the routing target to send acknowledgements to.
*/
endpoint: string;
_endpoint?: Element | undefined;
}
/**
* Message Destination Application(s)
* The destination application which the message is intended for.
*/
export interface MessageHeaderDestination extends BackboneElement {
/**
* Name of system
* Human-readable name for the target system.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Particular delivery destination within the destination
* Identifies the target end system in situations where the initial message transmission is to an intermediary system.
*/
target?: Reference | undefined;
/**
* Actual destination address or id
* Indicates where the message should be routed to.
*/
endpoint: string;
_endpoint?: Element | undefined;
}
/**
* Base StructureDefinition for MedicationOrder Resource
*/
export interface MedicationOrder extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'MedicationOrder';
/**
* External identifier
* External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.
*/
identifier?: Identifier[] | undefined;
/**
* When prescription was authorized
* The date (and perhaps time) when the prescription was written.
*/
dateWritten?: string | undefined;
_dateWritten?: Element | undefined;
/**
* active | on-hold | completed | entered-in-error | stopped | draft
* A code specifying the state of the order. Generally this will be active or completed state.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* When prescription was stopped
* The date (and perhaps time) when the prescription was stopped.
*/
dateEnded?: string | undefined;
_dateEnded?: Element | undefined;
/**
* Why prescription was stopped
* The reason why the prescription was stopped, if it was.
*/
reasonEnded?: CodeableConcept | undefined;
/**
* Who prescription is for
* A link to a resource representing the person to whom the medication will be given.
*/
patient?: Reference | undefined;
/**
* Who ordered the medication(s)
* The healthcare professional responsible for authorizing the prescription.
*/
prescriber?: Reference | undefined;
/**
* Created during encounter/admission/stay
* A link to a resource that identifies the particular occurrence of contact between patient and health care provider.
*/
encounter?: Reference | undefined;
/**
* Reason or indication for writing the prescription
* Can be the reason or the indication for writing the prescription.
*/
reasonCodeableConcept?: CodeableConcept | undefined;
/**
* Reason or indication for writing the prescription
* Can be the reason or the indication for writing the prescription.
*/
reasonReference?: Reference | undefined;
/**
* Information about the prescription
* Extra information about the prescription that could not be conveyed by the other attributes.
*/
note?: string | undefined;
_note?: Element | undefined;
/**
* Medication to be taken
* Identifies the medication being administered. 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.
*/
medicationCodeableConcept?: CodeableConcept | undefined;
/**
* Medication to be taken
* Identifies the medication being administered. 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.
*/
medicationReference?: Reference | undefined;
/**
* How medication should be taken
* Indicates how the medication is to be used by the patient.
*/
dosageInstruction?: MedicationOrderDosageInstruction[] | undefined;
/**
* Medication supply authorization
* Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription). Note that this information is NOT always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.
*/
dispenseRequest?: MedicationOrderDispenseRequest | undefined;
/**
* Any restrictions on medication substitution
* Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done.
*/
substitution?: MedicationOrderSubstitution | undefined;
/**
* An order/prescription that this supersedes
* A link to a resource representing an earlier order or prescription that this order supersedes.
*/
priorPrescription?: Reference | undefined;
}
/**
* How medication should be taken
* Indicates how the medication is to be used by the patient.
*/
export interface MedicationOrderDosageInstruction extends BackboneElement {
/**
* Dosage instructions expressed as text
* Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* Supplemental instructions - e.g. "with meals"
* Additional instructions such as "Swallow with plenty of water" which may or may not be coded.
*/
additionalInstructions?: CodeableConcept | undefined;
/**
* When medication should be administered
* The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions. For example: "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
*/
timing?: Timing | undefined;
/**
* Take "as needed" (for x)
* 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).
*/
asNeededBoolean?: boolean | undefined;
_asNeededBoolean?: Element | undefined;
/**
* Take "as needed" (for x)
* 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).
*/
asNeededCodeableConcept?: CodeableConcept | undefined;
/**
* Body site to administer to
* A coded specification of the anatomic site where the medication first enters the body.
*/
siteCodeableConcept?: CodeableConcept | undefined;
/**
* Body site to administer to
* A coded specification of the anatomic site where the medication first enters the body.
*/
siteReference?: Reference | undefined;
/**
* How drug should enter body
* A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.
*/
route?: CodeableConcept | undefined;
/**
* Technique for administering medication
* A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.
*/
method?: CodeableConcept | undefined;
/**
* Amount of medication per dose
* The amount of therapeutic or other substance given at one administration event.
*/
doseRange?: Range | undefined;
/**
* Amount of medication per dose
* The amount of therapeutic or other substance given at one administration event.
*/
doseQuantity?: Quantity | undefined;
/**
* Amount of medication per unit of time
* 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. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.
*/
rateRatio?: Ratio | undefined;
/**
* Amount of medication per unit of time
* 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. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.
*/
rateRange?: Range | undefined;
/**
* Upper limit on medication per unit of time
* The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.
*/
maxDosePerPeriod?: Ratio | undefined;
}
/**
* Medication supply authorization
* Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription). Note that this information is NOT always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.
*/
export interface MedicationOrderDispenseRequest extends BackboneElement {
/**
* Product to be supplied
* Identifies the medication being administered. 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.
*/
medicationCodeableConcept?: CodeableConcept | undefined;
/**
* Product to be supplied
* Identifies the medication being administered. 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.
*/
medicationReference?: Reference | undefined;
/**
* Time period supply is authorized for
* This indicates the validity period of a prescription (stale dating the Prescription).
*/
validityPeriod?: Period | undefined;
/**
* Number of refills authorized
* An integer indicating the number of additional times (aka refills or repeats) the patient can receive the prescribed medication. Usage Notes: This integer does NOT include the original order dispense. This means that if an order indicates dispense 30 tablets plus "3 repeats", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.
*/
numberOfRepeatsAllowed?: number | undefined;
_numberOfRepeatsAllowed?: Element | undefined;
/**
* Amount of medication to supply per dispense
* The amount that is to be dispensed for one fill.
*/
quantity?: Quantity | undefined;
/**
* Number of days supply per dispense
* Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.
*/
expectedSupplyDuration?: Quantity | undefined;
}
/**
* Any restrictions on medication substitution
* Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done.
*/
export interface MedicationOrderSubstitution extends BackboneElement {
/**
* generic | formulary +
* A code signifying whether a different drug should be dispensed from what was prescribed.
*/
type: CodeableConcept;
/**
* Why should (not) substitution be made
* Indicates the reason for the substitution, or why substitution must or must not be performed.
*/
reason?: CodeableConcept | undefined;
}
/**
* Base StructureDefinition for DataElement Resource
*/
export interface DataElement extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'DataElement';
/**
* Globally unique logical id for data element
* An absolute URL that is used to identify this data element when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this data element is (or will be) published.
*/
url?: string | undefined;
_url?: Element | undefined;
/**
* Logical id to reference this data element
* Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance.
*/
identifier?: Identifier[] | undefined;
/**
* Logical id for this version of the data element
* The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Descriptive label for this element definition
* The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* draft | active | retired
* The status of the data element.
*/
status: string;
_status?: Element | undefined;
/**
* If for testing purposes, not real usage
* A flag to indicate that this search data element definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
experimental?: boolean | undefined;
_experimental?: Element | undefined;
/**
* Name of the publisher (Organization or individual)
* The name of the individual or organization that published the data element.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
contact?: DataElementContact[] | undefined;
/**
* Date for this version of the data element
* The date this version of the data element was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the data element changes.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Content intends to support these contexts
* The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions.
*/
useContext?: CodeableConcept[] | undefined;
/**
* Use and/or publishing restrictions
* A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element.
*/
copyright?: string | undefined;
_copyright?: Element | undefined;
/**
* comparable | fully-specified | equivalent | convertable | scaleable | flexible
* Identifies how precise the data element is in its definition.
*/
stringency?: string | undefined;
_stringency?: Element | undefined;
/**
* External specification mapped to
* Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with.
*/
mapping?: DataElementMapping[] | undefined;
/**
* Definition of element
* Defines the structure, type, allowed values and other constraining characteristics of the data element.
*/
element: ElementDefinition[];
}
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
export interface DataElementContact extends BackboneElement {
/**
* Name of a individual to contact
* The name of an individual to contact regarding the data element.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Contact details for individual or publisher
* Contact details for individual (if a name was provided) or the publisher.
*/
telecom?: ContactPoint[] | undefined;
}
/**
* External specification mapped to
* Identifies a specification (other than a terminology) that the elements which make up the DataElement have some correspondence with.
*/
export interface DataElementMapping extends BackboneElement {
/**
* Internal id when this mapping is used
* An internal id that is used to identify this mapping set when specific mappings are made on a per-element basis.
*/
identity: string;
_identity?: Element | undefined;
/**
* Identifies what this mapping refers to
* An absolute URI that identifies the specification that this mapping is expressed to.
*/
uri?: string | undefined;
_uri?: Element | undefined;
/**
* Names what this mapping refers to
* A name for the specification that is being mapped to.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Versions, Issues, Scope limitations etc.
* Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage.
*/
comments?: string | undefined;
_comments?: Element | undefined;
}
/**
* Base StructureDefinition for Goal Resource
*/
export interface Goal extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Goal';
/**
* External Ids for this goal
* This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
*/
identifier?: Identifier[] | undefined;
/**
* Who this goal is intended for
* Identifies the patient, group or organization for whom the goal is being established.
*/
subject?: Reference | Reference | Reference | undefined;
/**
* When goal pursuit begins
* The date or event after which the goal should begin being pursued.
*/
startDate?: string | undefined;
_startDate?: Element | undefined;
/**
* When goal pursuit begins
* The date or event after which the goal should begin being pursued.
*/
startCodeableConcept?: CodeableConcept | undefined;
/**
* Reach goal on or before
* Indicates either the date or the duration after start by which the goal should be met.
*/
targetDate?: string | undefined;
_targetDate?: Element | undefined;
/**
* Reach goal on or before
* Indicates either the date or the duration after start by which the goal should be met.
*/
targetQuantity?: Quantity | undefined;
/**
* E.g. Treatment, dietary, behavioral, etc.
* Indicates a category the goal falls within.
*/
category?: CodeableConcept[] | undefined;
/**
* What's the desired outcome?
* Human-readable description of a specific desired objective of care.
*/
description: string;
_description?: Element | undefined;
/**
* proposed | planned | accepted | rejected | in-progress | achieved | sustaining | on-hold | cancelled
* Indicates whether the goal has been reached and is still considered relevant.
*/
status: string;
_status?: Element | undefined;
/**
* When goal status took effect
* Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc.
*/
statusDate?: string | undefined;
_statusDate?: Element | undefined;
/**
* Reason for current status
* Captures the reason for the current status.
*/
statusReason?: CodeableConcept | undefined;
/**
* Who's responsible for creating Goal?
* Indicates whose goal this is - patient goal, practitioner goal, etc.
*/
author?: Reference | Reference | Reference | undefined;
/**
* high | medium |low
* Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.
*/
priority?: CodeableConcept | undefined;
/**
* Issues addressed by this goal
* The identified conditions and other health record elements that are intended to be addressed by the goal.
*/
addresses?: Reference | Reference | Reference | Reference | Reference | Reference[] | undefined;
/**
* Comments about the goal
* Any comments related to the goal.
*/
note?: Annotation[] | undefined;
/**
* What was end result of goal?
* Identifies the change (or lack of change) at the point where the goal was deepmed to be cancelled or achieved.
*/
outcome?: GoalOutcome[] | undefined;
}
/**
* What was end result of goal?
* Identifies the change (or lack of change) at the point where the goal was deepmed to be cancelled or achieved.
*/
export interface GoalOutcome extends BackboneElement {
/**
* Code or observation that resulted from goal
* Details of what's changed (or not changed).
*/
resultCodeableConcept?: CodeableConcept | undefined;
/**
* Code or observation that resulted from goal
* Details of what's changed (or not changed).
*/
resultReference?: Reference | undefined;
}
/**
* Base StructureDefinition for Timing Type
*/
export interface Timing extends Element {
/**
* When the event occurs
* Identifies specific times when the event occurs.
*/
event?: string[] | undefined;
_event?: Element[] | undefined;
/**
* When the event is to occur
* A set of rules that describe when the event should occur.
*/
repeat?: TimingRepeat | undefined;
/**
* QD | QOD | Q4H | Q6H | BID | TID | QID | AM | PM +
* A code for the timing pattern. Some codes such as BID are ubiquitous, but many institutions define their own additional codes.
*/
code?: CodeableConcept | undefined;
}
/**
* When the event is to occur
* A set of rules that describe when the event should occur.
*/
export interface TimingRepeat extends BackboneElement {
/**
* Length/Range of lengths, or (Start and/or end) limits
* 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.
*/
boundsQuantity?: Quantity | undefined;
/**
* Length/Range of lengths, or (Start and/or end) limits
* 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.
*/
boundsRange?: Range | undefined;
/**
* Length/Range of lengths, or (Start and/or end) limits
* 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.
*/
boundsPeriod?: Period | undefined;
/**
* Number of times to repeat
* A total count of the desired number of repetitions.
*/
count?: number | undefined;
_count?: Element | undefined;
/**
* How long when it happens
* How long this thing happens for when it happens.
*/
duration?: number | undefined;
_duration?: Element | undefined;
/**
* How long when it happens (Max)
* The upper limit of how long this thing happens for when it happens.
*/
durationMax?: number | undefined;
_durationMax?: Element | undefined;
/**
* s | min | h | d | wk | mo | a - unit of time (UCUM)
* The units of time for the duration, in UCUM units.
*/
durationUnits?: string | undefined;
_durationUnits?: Element | undefined;
/**
* Event occurs frequency times per period
* The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).
*/
frequency?: number | undefined;
_frequency?: Element | undefined;
/**
* Event occurs up to frequencyMax times per period
* If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range.
*/
frequencyMax?: number | undefined;
_frequencyMax?: Element | undefined;
/**
* Event occurs frequency times per period
* Indicates the duration of time over which repetitions are to occur; e.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period.
*/
period?: number | undefined;
_period?: Element | undefined;
/**
* Upper limit of period (3-4 hours)
* If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days.
*/
periodMax?: number | undefined;
_periodMax?: Element | undefined;
/**
* s | min | h | d | wk | mo | a - unit of time (UCUM)
* The units of time for the period in UCUM units.
*/
periodUnits?: string | undefined;
_periodUnits?: Element | undefined;
/**
* Regular life events the event is tied to
* A real world event that the occurrence of the event should be tied to.
*/
when?: string | undefined;
_when?: Element | undefined;
}
/**
* Base StructureDefinition for Immunization Resource
*/
export interface Immunization extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Immunization';
/**
* Business identifier
* A unique identifier assigned to this immunization record.
*/
identifier?: Identifier[] | undefined;
/**
* in-progress | on-hold | completed | entered-in-error | stopped
* Indicates the current status of the vaccination event.
*/
status: string;
_status?: Element | undefined;
/**
* Vaccination administration date
* Date vaccine administered or was to be administered.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Vaccine product administered
* Vaccine that was administered or was to be administered.
*/
vaccineCode: CodeableConcept;
/**
* Who was immunized
* The patient who either received or did not receive the immunization.
*/
patient: Reference;
/**
* Flag for whether immunization was given
* Indicates if the vaccination was or was not given.
*/
wasNotGiven: boolean;
_wasNotGiven?: Element | undefined;
/**
* Indicates a self-reported record
* True if this administration was reported rather than directly administered.
*/
reported: boolean;
_reported?: Element | undefined;
/**
* Who administered vaccine
* Clinician who administered the vaccine.
*/
performer?: Reference | undefined;
/**
* Who ordered vaccination
* Clinician who ordered the vaccination.
*/
requester?: Reference | undefined;
/**
* Encounter administered as part of
* The visit or admission or other contact between patient and health care provider the immunization was performed as part of.
*/
encounter?: Reference | undefined;
/**
* Vaccine manufacturer
* Name of vaccine manufacturer.
*/
manufacturer?: Reference | undefined;
/**
* Where vaccination occurred
* The service delivery location where the vaccine administration occurred.
*/
location?: Reference | undefined;
/**
* Vaccine lot number
* Lot number of the vaccine product.
*/
lotNumber?: string | undefined;
_lotNumber?: Element | undefined;
/**
* Vaccine expiration date
* Date vaccine batch expires.
*/
expirationDate?: string | undefined;
_expirationDate?: Element | undefined;
/**
* Body site vaccine was administered
* Body site where vaccine was administered.
*/
site?: CodeableConcept | undefined;
/**
* How vaccine entered body
* The path by which the vaccine product is taken into the body.
*/
route?: CodeableConcept | undefined;
/**
* Amount of vaccine administered
* The quantity of vaccine product that was administered.
*/
doseQuantity?: Quantity | undefined;
/**
* Vaccination notes
* Extra information about the immunization that is not conveyed by the other attributes.
*/
note?: Annotation[] | undefined;
/**
* Administration/non-administration reasons
* Reasons why a vaccine was or was not administered.
*/
explanation?: ImmunizationExplanation | undefined;
/**
* Details of a reaction that follows immunization
* Categorical data indicating that an adverse event is associated in time to an immunization.
*/
reaction?: ImmunizationReaction[] | undefined;
/**
* What protocol was followed
* Contains information about the protocol(s) under which the vaccine was administered.
*/
vaccinationProtocol?: ImmunizationVaccinationProtocol[] | undefined;
}
/**
* Administration/non-administration reasons
* Reasons why a vaccine was or was not administered.
*/
export interface ImmunizationExplanation extends BackboneElement {
/**
* Why immunization occurred
* Reasons why a vaccine was administered.
*/
reason?: CodeableConcept[] | undefined;
/**
* Why immunization did not occur
* Reason why a vaccine was not administered.
*/
reasonNotGiven?: CodeableConcept[] | undefined;
}
/**
* Details of a reaction that follows immunization
* Categorical data indicating that an adverse event is associated in time to an immunization.
*/
export interface ImmunizationReaction extends BackboneElement {
/**
* When reaction started
* Date of reaction to the immunization.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Additional information on reaction
* Details of the reaction.
*/
detail?: Reference | undefined;
/**
* Indicates self-reported reaction
* Self-reported indicator.
*/
reported?: boolean | undefined;
_reported?: Element | undefined;
}
/**
* What protocol was followed
* Contains information about the protocol(s) under which the vaccine was administered.
*/
export interface ImmunizationVaccinationProtocol extends BackboneElement {
/**
* Dose number within series
* Nominal position in a series.
*/
doseSequence: number;
_doseSequence?: Element | undefined;
/**
* Details of vaccine protocol
* Contains the description about the protocol under which the vaccine was administered.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Who is responsible for protocol
* Indicates the authority who published the protocol. E.g. ACIP.
*/
authority?: Reference | undefined;
/**
* Name of vaccine series
* One possible path to achieve presumed immunity against a disease - within the context of an authority.
*/
series?: string | undefined;
_series?: Element | undefined;
/**
* Recommended number of doses for immunity
* The recommended number of doses to achieve immunity.
*/
seriesDoses?: number | undefined;
_seriesDoses?: Element | undefined;
/**
* Disease immunized against
* The targeted disease.
*/
targetDisease: CodeableConcept[];
/**
* Indicates if dose counts towards immunity
* Indicates if the immunization event should "count" against the protocol.
*/
doseStatus: CodeableConcept;
/**
* Why dose does (not) count
* Provides an explanation as to why an immunization event should or should not count against the protocol.
*/
doseStatusReason?: CodeableConcept | undefined;
}
/**
* Base StructureDefinition for ValueSet Resource
*/
export interface ValueSet extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ValueSet';
/**
* Globally unique logical identifier for value set
* An absolute URL that is used to identify this value set when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this value set is (or will be) published.
*/
url?: string | undefined;
_url?: Element | undefined;
/**
* Additional identifier for the value set (e.g. HL7 v2 / CDA)
* Formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance.
*/
identifier?: Identifier | undefined;
/**
* Logical identifier for this version of the value set
* Used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Informal name for this value set
* A free text natural language name describing the value set.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* draft | active | retired
* The status of the value set.
*/
status: string;
_status?: Element | undefined;
/**
* If for testing purposes, not real usage
* This valueset was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
experimental?: boolean | undefined;
_experimental?: Element | undefined;
/**
* Name of the publisher (organization or individual)
* The name of the individual or organization that published the value set.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
contact?: ValueSetContact[] | undefined;
/**
* Date for given status
* The date that the value set status was last changed. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes (e.g. the 'content logical definition').
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Fixed date for all referenced code systems and value sets
* If a locked date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value set instances as of the locked date.
*/
lockedDate?: string | undefined;
_lockedDate?: Element | undefined;
/**
* Human language description of the value set
* A free text natural language description of the use of the value set - reason for definition, "the semantic space" to be included in the value set, conditions of use, etc. The description may include a list of expected usages for the value set and can also describe the approach taken to build the value set.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Content intends to support these contexts
* The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of value set definitions.
*/
useContext?: CodeableConcept[] | undefined;
/**
* Indicates whether or not any change to the content logical definition may occur
* If this is set to 'true', then no new versions of the content logical definition can be created. Note: Other metadata might still change.
*/
immutable?: boolean | undefined;
_immutable?: Element | undefined;
/**
* Why needed
* Explains why this value set is needed and why it has been constrained as it has.
*/
requirements?: string | undefined;
_requirements?: Element | undefined;
/**
* Use and/or publishing restrictions
* A copyright statement relating to the value set and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the value set.
*/
copyright?: string | undefined;
_copyright?: Element | undefined;
/**
* Whether this is intended to be used with an extensible binding
* Whether this is intended to be used with an extensible binding or not.
*/
extensible?: boolean | undefined;
_extensible?: Element | undefined;
/**
* An inline code system, which is part of this value set
* A definition of a code system, inlined into the value set (as a packaging convenience). Note that the inline code system may be used from other value sets by referring to its (codeSystem.system) directly.
*/
codeSystem?: ValueSetCodeSystem | undefined;
/**
* When value set includes codes from elsewhere
* A set of criteria that provide the content logical definition of the value set by including or excluding codes from outside this value set.
*/
compose?: ValueSetCompose | undefined;
/**
* Used when the value set is "expanded"
* A value set can also be "expanded", where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed.
*/
expansion?: ValueSetExpansion | undefined;
}
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
export interface ValueSetContact extends BackboneElement {
/**
* Name of an individual to contact
* The name of an individual to contact regarding the value set.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Contact details for individual or publisher
* Contact details for individual (if a name was provided) or the publisher.
*/
telecom?: ContactPoint[] | undefined;
}
/**
* Additional representations for the concept
* Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.
*/
export interface ValueSetCodeSystemConceptDesignation extends BackboneElement {
/**
* Human language of the designation
* The language this designation is defined for.
*/
language?: string | undefined;
_language?: Element | undefined;
/**
* Details how this designation would be used
* A code that details how this designation would be used.
*/
use?: Coding | undefined;
/** The text value for this designation */
value: string;
_value?: Element | undefined;
}
/**
* Concepts in the code system
* Concepts that are in the code system. The concept definitions are inherently hierarchical, but the definitions must be consulted to determine what the meaning of the hierarchical relationships are.
*/
export interface ValueSetCodeSystemConcept extends BackboneElement {
/**
* Code that identifies concept
* A code - a text symbol - that uniquely identifies the concept within the code system.
*/
code: string;
_code?: Element | undefined;
/** If this code is not for use as a real concept */
abstract?: boolean | undefined;
_abstract?: Element | undefined;
/**
* Text to display to the user
* A human readable string that is the recommended default way to present this concept to a user.
*/
display?: string | undefined;
_display?: Element | undefined;
/**
* Formal definition
* The formal definition of the concept. The value set resource does not make formal definitions required, because of the prevalence of legacy systems. However, they are highly recommended, as without them there is no formal meaning associated with the concept.
*/
definition?: string | undefined;
_definition?: Element | undefined;
/**
* Additional representations for the concept
* Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.
*/
designation?: ValueSetCodeSystemConceptDesignation[] | undefined;
/**
* Child Concepts (is-a/contains/categorizes)
* Defines children of a concept to produce a hierarchy of concepts. The nature of the relationships is variable (is-a/contains/categorizes) and can only be determined by examining the definitions of the concepts.
*/
concept?: ValueSetCodeSystemConcept[] | undefined;
}
/**
* An inline code system, which is part of this value set
* A definition of a code system, inlined into the value set (as a packaging convenience). Note that the inline code system may be used from other value sets by referring to its (codeSystem.system) directly.
*/
export interface ValueSetCodeSystem extends BackboneElement {
/**
* URI to identify the code system (e.g. in Coding.system)
* An absolute URI that is used to reference this code system, including in [Coding]{datatypes.html#Coding}.system.
*/
system: string;
_system?: Element | undefined;
/**
* Version (for use in Coding.version)
* The version of this code system that defines the codes. Note that the version is optional because a well maintained code system does not suffer from versioning, and therefore the version does not need to be maintained. However many code systems are not well maintained, and the version needs to be defined and tracked.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* If code comparison is case sensitive
* If code comparison is case sensitive when codes within this system are compared to each other.
*/
caseSensitive?: boolean | undefined;
_caseSensitive?: Element | undefined;
/**
* Concepts in the code system
* Concepts that are in the code system. The concept definitions are inherently hierarchical, but the definitions must be consulted to determine what the meaning of the hierarchical relationships are.
*/
concept: ValueSetCodeSystemConcept[];
}
/**
* A concept defined in the system
* Specifies a concept to be included or excluded.
*/
export interface ValueSetComposeIncludeConcept extends BackboneElement {
/**
* Code or expression from system
* Specifies a code for the concept to be included or excluded.
*/
code: string;
_code?: Element | undefined;
/**
* Test to display for this code for this value set
* The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system.
*/
display?: string | undefined;
_display?: Element | undefined;
}
/**
* Select codes/concepts by their properties (including relationships)
* Select concepts by specify a matching criteria based on the properties (including relationships) defined by the system. If multiple filters are specified, they SHALL all be true.
*/
export interface ValueSetComposeIncludeFilter extends BackboneElement {
/**
* A property defined by the code system
* A code that identifies a property defined in the code system.
*/
property: string;
_property?: Element | undefined;
/**
* = | is-a | is-not-a | regex | in | not-in
* The kind of operation to perform as a part of the filter criteria.
*/
op: string;
_op?: Element | undefined;
/**
* Code from the system, or regex criteria
* The match value may be either a code defined by the system, or a string value, which is a regex match on the literal string of the property value.
*/
value: string;
_value?: Element | undefined;
}
/**
* Include one or more codes from a code system
*/
export interface ValueSetComposeInclude extends BackboneElement {
/**
* The system the codes come from
* An absolute URI which is the code system from which the selected codes come from.
*/
system: string;
_system?: Element | undefined;
/**
* Specific version of the code system referred to
* The version of the code system that the codes are selected from.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* A concept defined in the system
* Specifies a concept to be included or excluded.
*/
concept?: ValueSetComposeIncludeConcept[] | undefined;
/**
* Select codes/concepts by their properties (including relationships)
* Select concepts by specify a matching criteria based on the properties (including relationships) defined by the system. If multiple filters are specified, they SHALL all be true.
*/
filter?: ValueSetComposeIncludeFilter[] | undefined;
}
/**
* When value set includes codes from elsewhere
* A set of criteria that provide the content logical definition of the value set by including or excluding codes from outside this value set.
*/
export interface ValueSetCompose extends BackboneElement {
/**
* Import the contents of another value set
* Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri.
*/
import?: string[] | undefined;
_import?: Element[] | undefined;
/** Include one or more codes from a code system */
include?: ValueSetComposeInclude[] | undefined;
}
/**
* Parameter that controlled the expansion process
* A parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion.
*/
export interface ValueSetExpansionParameter extends BackboneElement {
/**
* Name as assigned by the server
* The name of the parameter.
*/
name: string;
_name?: Element | undefined;
/**
* Value of the named parameter
* The value of the parameter.
*/
valueString?: string | undefined;
_valueString?: Element | undefined;
/**
* Value of the named parameter
* The value of the parameter.
*/
valueBoolean?: boolean | undefined;
_valueBoolean?: Element | undefined;
/**
* Value of the named parameter
* The value of the parameter.
*/
valueInteger?: number | undefined;
_valueInteger?: Element | undefined;
/**
* Value of the named parameter
* The value of the parameter.
*/
valueDecimal?: number | undefined;
_valueDecimal?: Element | undefined;
/**
* Value of the named parameter
* The value of the parameter.
*/
valueUri?: string | undefined;
_valueUri?: Element | undefined;
/**
* Value of the named parameter
* The value of the parameter.
*/
valueCode?: string | undefined;
_valueCode?: Element | undefined;
}
/**
* Codes in the value set
* The codes that are contained in the value set expansion.
*/
export interface ValueSetExpansionContains extends BackboneElement {
/**
* System value for the code
* An absolute URI which is the code system in which the code for this item in the expansion is defined.
*/
system?: string | undefined;
_system?: Element | undefined;
/**
* If user cannot select this entry
* If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.
*/
abstract?: boolean | undefined;
_abstract?: Element | undefined;
/**
* Version in which this code/display is defined
* The version of this code system that defined this code and/or display. This should only be used with code systems that do not enforce concept permanence.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Code - if blank, this is not a selectable code
* The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set.
*/
code?: string | undefined;
_code?: Element | undefined;
/**
* User display for the concept
* The recommended display for this item in the expansion.
*/
display?: string | undefined;
_display?: Element | undefined;
/**
* Codes contained under this entry
* Other codes and entries contained under this entry in the hierarchy.
*/
contains?: ValueSetExpansionContains[] | undefined;
}
/**
* Used when the value set is "expanded"
* A value set can also be "expanded", where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed.
*/
export interface ValueSetExpansion extends BackboneElement {
/**
* Uniquely identifies this expansion
* An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so.
*/
identifier: string;
_identifier?: Element | undefined;
/**
* Time ValueSet expansion happened
* The time at which the expansion was produced by the expanding system.
*/
timestamp: string;
_timestamp?: Element | undefined;
/**
* Total number of codes in the expansion
* The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter.
*/
total?: number | undefined;
_total?: Element | undefined;
/**
* Offset at which this resource starts
* If paging is being used, the offset at which this resource starts. I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present.
*/
offset?: number | undefined;
_offset?: Element | undefined;
/**
* Parameter that controlled the expansion process
* A parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion.
*/
parameter?: ValueSetExpansionParameter[] | undefined;
/**
* Codes in the value set
* The codes that are contained in the value set expansion.
*/
contains?: ValueSetExpansionContains[] | undefined;
}
/**
* Base StructureDefinition for ClaimResponse Resource
*/
export interface ClaimResponse extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ClaimResponse';
/**
* Response number
* The Response business identifier.
*/
identifier?: Identifier[] | undefined;
/**
* Id of resource triggering adjudication
* Original request resource referrence.
*/
request?: Reference | undefined;
/**
* Resource version
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*/
ruleset?: Coding | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when the enclosed suite of services were performed or completed.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Insurer
* The Insurer who produced this adjudicated response.
*/
organization?: Reference | undefined;
/**
* Responsible practitioner
* The practitioner who is responsible for the services rendered to the patient.
*/
requestProvider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the services rendered to the patient.
*/
requestOrganization?: Reference | undefined;
/**
* complete | error
* Transaction status: error, complete.
*/
outcome?: string | undefined;
_outcome?: Element | undefined;
/**
* Disposition Message
* A description of the status of the adjudication.
*/
disposition?: string | undefined;
_disposition?: Element | undefined;
/**
* Party to be paid any benefits payable
* Party to be reimbursed: Subscriber, provider, other.
*/
payeeType?: Coding | undefined;
/**
* Line items
* The first tier service adjudications for submitted services.
*/
item?: ClaimResponseItem[] | undefined;
/**
* Insurer added line items
* The first tier service adjudications for payor added services.
*/
addItem?: ClaimResponseAddItem[] | undefined;
/**
* Processing errors
* Mutually exclusive with Services Provided (Item).
*/
error?: ClaimResponseError[] | undefined;
/**
* Total Cost of service from the Claim
* The total cost of the services reported.
*/
totalCost?: Quantity | undefined;
/**
* Unallocated deductible
* The amount of deductible applied which was not allocated to any particular service line.
*/
unallocDeductable?: Quantity | undefined;
/**
* Total benefit payable for the Claim
* Total amount of benefit payable (Equal to sum of the Benefit amounts from all detail lines and additions less the Unallocated Deductible).
*/
totalBenefit?: Quantity | undefined;
/**
* Payment adjustment for non-Claim issues
* Adjustment to the payment of this transaction which is not related to adjudication of this transaction.
*/
paymentAdjustment?: Quantity | undefined;
/**
* Reason for Payment adjustment
* Reason for the payment adjustment.
*/
paymentAdjustmentReason?: Coding | undefined;
/**
* Expected data of Payment
* Estimated payment data.
*/
paymentDate?: string | undefined;
_paymentDate?: Element | undefined;
/**
* Payment amount
* Payable less any payment adjustment.
*/
paymentAmount?: Quantity | undefined;
/** Payment identifier */
paymentRef?: Identifier | undefined;
/**
* Funds reserved status
* Status of funds reservation (For provider, for Patient, None).
*/
reserved?: Coding | undefined;
/**
* Printed Form Identifier
* The form to be used for printing the content.
*/
form?: Coding | undefined;
/**
* Processing notes
* Note text.
*/
note?: ClaimResponseNote[] | undefined;
/**
* Insurance or medical plan
* Financial instrument by which payment information for health care.
*/
coverage?: ClaimResponseCoverage[] | undefined;
}
/**
* Adjudication details
* The adjudications results.
*/
export interface ClaimResponseItemAdjudication extends BackboneElement {
/**
* Adjudication category such as co-pay, eligible, benefit, etc.
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*/
code: Coding;
/**
* Monetary amount
* Monetary amount associated with the code.
*/
amount?: Quantity | undefined;
/**
* Non-monetary value
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*/
value?: number | undefined;
_value?: Element | undefined;
}
/**
* Detail adjudication
* The adjudications results.
*/
export interface ClaimResponseItemDetailAdjudication extends BackboneElement {
/**
* Adjudication category such as co-pay, eligible, benefit, etc.
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*/
code: Coding;
/**
* Monetary amount
* Monetary amount associated with the code.
*/
amount?: Quantity | undefined;
/**
* Non-monetary value
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*/
value?: number | undefined;
_value?: Element | undefined;
}
/**
* Subdetail adjudication
* The adjudications results.
*/
export interface ClaimResponseItemDetailSubDetailAdjudication extends BackboneElement {
/**
* Adjudication category such as co-pay, eligible, benefit, etc.
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*/
code: Coding;
/**
* Monetary amount
* Monetary amount associated with the code.
*/
amount?: Quantity | undefined;
/**
* Non-monetary value
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*/
value?: number | undefined;
_value?: Element | undefined;
}
/**
* Subdetail line items
* The third tier service adjudications for submitted services.
*/
export interface ClaimResponseItemDetailSubDetail extends BackboneElement {
/**
* Service instance
* A service line number.
*/
sequenceLinkId: number;
_sequenceLinkId?: Element | undefined;
/**
* Subdetail adjudication
* The adjudications results.
*/
adjudication?: ClaimResponseItemDetailSubDetailAdjudication[] | undefined;
}
/**
* Detail line items
* The second tier service adjudications for submitted services.
*/
export interface ClaimResponseItemDetail extends BackboneElement {
/**
* Service instance
* A service line number.
*/
sequenceLinkId: number;
_sequenceLinkId?: Element | undefined;
/**
* Detail adjudication
* The adjudications results.
*/
adjudication?: ClaimResponseItemDetailAdjudication[] | undefined;
/**
* Subdetail line items
* The third tier service adjudications for submitted services.
*/
subDetail?: ClaimResponseItemDetailSubDetail[] | undefined;
}
/**
* Line items
* The first tier service adjudications for submitted services.
*/
export interface ClaimResponseItem extends BackboneElement {
/**
* Service instance
* A service line number.
*/
sequenceLinkId: number;
_sequenceLinkId?: Element | undefined;
/**
* List of note numbers which apply
* A list of note references to the notes provided below.
*/
noteNumber?: number[] | undefined;
_noteNumber?: Element[] | undefined;
/**
* Adjudication details
* The adjudications results.
*/
adjudication?: ClaimResponseItemAdjudication[] | undefined;
/**
* Detail line items
* The second tier service adjudications for submitted services.
*/
detail?: ClaimResponseItemDetail[] | undefined;
}
/**
* Added items adjudication
* The adjudications results.
*/
export interface ClaimResponseAddItemAdjudication extends BackboneElement {
/**
* Adjudication category such as co-pay, eligible, benefit, etc.
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*/
code: Coding;
/**
* Monetary amount
* Monetary amount associated with the code.
*/
amount?: Quantity | undefined;
/**
* Non-monetary value
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*/
value?: number | undefined;
_value?: Element | undefined;
}
/**
* Added items detail adjudication
* The adjudications results.
*/
export interface ClaimResponseAddItemDetailAdjudication extends BackboneElement {
/**
* Adjudication category such as co-pay, eligible, benefit, etc.
* Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.
*/
code: Coding;
/**
* Monetary amount
* Monetary amount associated with the code.
*/
amount?: Quantity | undefined;
/**
* Non-monetary value
* A non-monetary value for example a percentage. Mutually exclusive to the amount element above.
*/
value?: number | undefined;
_value?: Element | undefined;
}
/**
* Added items details
* The second tier service adjudications for payor added services.
*/
export interface ClaimResponseAddItemDetail extends BackboneElement {
/**
* Service or Product
* A code to indicate the Professional Service or Product supplied.
*/
service: Coding;
/**
* Professional fee or Product charge
* The fee charged for the professional service or product..
*/
fee?: Quantity | undefined;
/**
* Added items detail adjudication
* The adjudications results.
*/
adjudication?: ClaimResponseAddItemDetailAdjudication[] | undefined;
}
/**
* Insurer added line items
* The first tier service adjudications for payor added services.
*/
export interface ClaimResponseAddItem extends BackboneElement {
/**
* Service instances
* List of input service items which this service line is intended to replace.
*/
sequenceLinkId?: number[] | undefined;
_sequenceLinkId?: Element[] | undefined;
/**
* Group, Service or Product
* A code to indicate the Professional Service or Product supplied.
*/
service: Coding;
/**
* Professional fee or Product charge
* The fee charged for the professional service or product..
*/
fee?: Quantity | undefined;
/**
* List of note numbers which apply
* A list of note references to the notes provided below.
*/
noteNumberLinkId?: number[] | undefined;
_noteNumberLinkId?: Element[] | undefined;
/**
* Added items adjudication
* The adjudications results.
*/
adjudication?: ClaimResponseAddItemAdjudication[] | undefined;
/**
* Added items details
* The second tier service adjudications for payor added services.
*/
detail?: ClaimResponseAddItemDetail[] | undefined;
}
/**
* Processing errors
* Mutually exclusive with Services Provided (Item).
*/
export interface ClaimResponseError extends BackboneElement {
/**
* Item sequence number
* The sequence number of the line item submitted which contains the error. This value is omitted when the error is elsewhere.
*/
sequenceLinkId?: number | undefined;
_sequenceLinkId?: Element | undefined;
/**
* Detail sequence number
* The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition.
*/
detailSequenceLinkId?: number | undefined;
_detailSequenceLinkId?: Element | undefined;
/**
* Subdetail sequence number
* The sequence number of the addition within the line item submitted which contains the error. This value is omitted when the error is not related to an Addition.
*/
subdetailSequenceLinkId?: number | undefined;
_subdetailSequenceLinkId?: Element | undefined;
/**
* Error code detailing processing issues
* An error code,froma specified code system, which details why the claim could not be adjudicated.
*/
code: Coding;
}
/**
* Processing notes
* Note text.
*/
export interface ClaimResponseNote extends BackboneElement {
/**
* Note Number for this note
* An integer associated with each note which may be referred to from each service line item.
*/
number?: number | undefined;
_number?: Element | undefined;
/**
* display | print | printoper
* The note purpose: Print/Display.
*/
type?: Coding | undefined;
/**
* Note explanatory text
* The note text.
*/
text?: string | undefined;
_text?: Element | undefined;
}
/**
* Insurance or medical plan
* Financial instrument by which payment information for health care.
*/
export interface ClaimResponseCoverage extends BackboneElement {
/**
* Service instance identifier
* A service line item.
*/
sequence: number;
_sequence?: Element | undefined;
/**
* Is the focal Coverage
* The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated.
*/
focal: boolean;
_focal?: Element | undefined;
/**
* Insurance information
* Reference to the program or plan identification, underwriter or payor.
*/
coverage: Reference;
/**
* Business agreement
* The contract number of a business agreement which describes the terms and conditions.
*/
businessArrangement?: string | undefined;
_businessArrangement?: Element | undefined;
/**
* Patient relationship to subscriber
* The relationship of the patient to the subscriber.
*/
relationship: Coding;
/**
* Pre-Authorization/Determination Reference
* A list of references from the Insurer to which these services pertain.
*/
preAuthRef?: string[] | undefined;
_preAuthRef?: Element[] | undefined;
/**
* Adjudication results
* The Coverages adjudication details.
*/
claimResponse?: Reference | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
}
/**
* Base StructureDefinition for Contract Resource
*/
export interface Contract extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Contract';
/**
* Contract identifier
* Unique identifier for this Contract.
*/
identifier?: Identifier | undefined;
/**
* When this Contract was issued
* When this Contract was issued.
*/
issued?: string | undefined;
_issued?: Element | undefined;
/**
* Effective time
* Relevant time or time-period when this Contract is applicable.
*/
applies?: Period | undefined;
/**
* Subject of this Contract
* Who and/or what this Contract is about: typically a Patient, Organization, or valued items such as goods and services.
*/
subject?: Reference[] | undefined;
/**
* Authority under which this Contract has standing
* A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies.
*/
authority?: Reference[] | undefined;
/**
* Domain in which this Contract applies
* Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources.
*/
domain?: Reference[] | undefined;
/**
* Contract Tyoe
* Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc.
*/
type?: CodeableConcept | undefined;
/**
* Contract Subtype
* More specific type or specialization of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent.
*/
subType?: CodeableConcept[] | undefined;
/**
* Contract Action
* Action stipulated by this Contract.
*/
action?: CodeableConcept[] | undefined;
/**
* Contract Action Reason
* Reason for action stipulated by this Contract.
*/
actionReason?: CodeableConcept[] | undefined;
/**
* Contract Actor
* List of Contract actors.
*/
actor?: ContractActor[] | undefined;
/**
* Contract Valued Item
* Contract Valued Item List.
*/
valuedItem?: ContractValuedItem[] | undefined;
/**
* Contract Signer
* Party signing this Contract.
*/
signer?: ContractSigner[] | undefined;
/**
* Contract Term List
* One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
*/
term?: ContractTerm[] | undefined;
/**
* Binding Contract
* Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract.
*/
bindingAttachment?: Attachment | undefined;
/**
* Binding Contract
* Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract.
*/
bindingReference?: Reference | undefined;
/**
* Contract Friendly Language
* The "patient friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement.
*/
friendly?: ContractFriendly[] | undefined;
/**
* Contract Legal Language
* List of Legal expressions or representations of this Contract.
*/
legal?: ContractLegal[] | undefined;
/**
* Computable Contract Language
* List of Computable Policy Rule Language Representations of this Contract.
*/
rule?: ContractRule[] | undefined;
}
/**
* Contract Actor
* List of Contract actors.
*/
export interface ContractActor extends BackboneElement {
/**
* Contract Actor Type
* Who or what actors are assigned roles in this Contract.
*/
entity: Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference;
/**
* Contract Actor Role
* Role type of actors assigned roles in this Contract.
*/
role?: CodeableConcept[] | undefined;
}
/**
* Contract Valued Item
* Contract Valued Item List.
*/
export interface ContractValuedItem extends BackboneElement {
/**
* Contract Valued Item Type
* Specific type of Contract Valued Item that may be priced.
*/
entityCodeableConcept?: CodeableConcept | undefined;
/**
* Contract Valued Item Type
* Specific type of Contract Valued Item that may be priced.
*/
entityReference?: Reference | undefined;
/**
* Contract Valued Item Identifier
* Identifies a Contract Valued Item instance.
*/
identifier?: Identifier | undefined;
/**
* Contract Valued Item Effective Tiem
* Indicates the time during which this Contract ValuedItem information is effective.
*/
effectiveTime?: string | undefined;
_effectiveTime?: Element | undefined;
/**
* Count of Contract Valued Items
* Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.
*/
quantity?: Quantity | undefined;
/**
* Contract Valued Item fee, charge, or cost
* A Contract Valued Item unit valuation measure.
*/
unitPrice?: Quantity | undefined;
/**
* Contract Valued Item Price Scaling Factor
* A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
*/
factor?: number | undefined;
_factor?: Element | undefined;
/**
* Contract Valued Item Difficulty Scaling Factor
* An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.
*/
points?: number | undefined;
_points?: Element | undefined;
/**
* Total Contract Valued Item Value
* Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.
*/
net?: Quantity | undefined;
}
/**
* Contract Signer
* Party signing this Contract.
*/
export interface ContractSigner extends BackboneElement {
/**
* Contract Signer Type
* Role of this Contract signer, e.g. notary, grantee.
*/
type: Coding;
/**
* Contract Signatory Party
* Party which is a signator to this Contract.
*/
party: Reference | Reference | Reference | Reference;
/**
* Contract Documentation Signature
* Legally binding Contract DSIG signature contents in Base64.
*/
signature: string;
_signature?: Element | undefined;
}
/**
* Contract Term Actor List
* List of actors participating in this Contract Provision.
*/
export interface ContractTermActor extends BackboneElement {
/**
* Contract Term Actor
* The actor assigned a role in this Contract Provision.
*/
entity: Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference;
/**
* Contract Term Actor Role
* Role played by the actor assigned this role in this Contract Provision.
*/
role?: CodeableConcept[] | undefined;
}
/**
* Contract Term Valued Item
* Contract Provision Valued Item List.
*/
export interface ContractTermValuedItem extends BackboneElement {
/**
* Contract Term Valued Item Type
* Specific type of Contract Provision Valued Item that may be priced.
*/
entityCodeableConcept?: CodeableConcept | undefined;
/**
* Contract Term Valued Item Type
* Specific type of Contract Provision Valued Item that may be priced.
*/
entityReference?: Reference | undefined;
/**
* Contract Term Valued Item Identifier
* Identifies a Contract Provision Valued Item instance.
*/
identifier?: Identifier | undefined;
/**
* Contract Term Valued Item Effective Tiem
* Indicates the time during which this Contract Term ValuedItem information is effective.
*/
effectiveTime?: string | undefined;
_effectiveTime?: Element | undefined;
/**
* Contract Term Valued Item Count
* Specifies the units by which the Contract Provision Valued Item is measured or counted, and quantifies the countable or measurable Contract Term Valued Item instances.
*/
quantity?: Quantity | undefined;
/**
* Contract Term Valued Item fee, charge, or cost
* A Contract Provision Valued Item unit valuation measure.
*/
unitPrice?: Quantity | undefined;
/**
* Contract Term Valued Item Price Scaling Factor
* A real number that represents a multiplier used in determining the overall value of the Contract Provision Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
*/
factor?: number | undefined;
_factor?: Element | undefined;
/**
* Contract Term Valued Item Difficulty Scaling Factor
* An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point.
*/
points?: number | undefined;
_points?: Element | undefined;
/**
* Total Contract Term Valued Item Value
* Expresses the product of the Contract Provision Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.
*/
net?: Quantity | undefined;
}
/**
* Contract Term List
* One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.
*/
export interface ContractTerm extends BackboneElement {
/**
* Contract Term identifier
* Unique identifier for this particular Contract Provision.
*/
identifier?: Identifier | undefined;
/**
* Contract Term Issue Date Time
* When this Contract Provision was issued.
*/
issued?: string | undefined;
_issued?: Element | undefined;
/**
* Contract Term Effective Time
* Relevant time or time-period when this Contract Provision is applicable.
*/
applies?: Period | undefined;
/**
* Contract Term Type
* Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.
*/
type?: CodeableConcept | undefined;
/**
* Contract Term Subtype
* Subtype of this Contract Provision, e.g. life time maximum payment for a contract term for specific valued item, e.g. disability payment.
*/
subType?: CodeableConcept | undefined;
/**
* Subject of this Contract Term
* Who or what this Contract Provision is about.
*/
subject?: Reference | undefined;
/**
* Contract Term Action
* Action stipulated by this Contract Provision.
*/
action?: CodeableConcept[] | undefined;
/**
* Contract Term Action Reason
* Reason or purpose for the action stipulated by this Contract Provision.
*/
actionReason?: CodeableConcept[] | undefined;
/**
* Contract Term Actor List
* List of actors participating in this Contract Provision.
*/
actor?: ContractTermActor[] | undefined;
/**
* Human readable Contract term text
* Human readable form of this Contract Provision.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* Contract Term Valued Item
* Contract Provision Valued Item List.
*/
valuedItem?: ContractTermValuedItem[] | undefined;
}
/**
* Contract Friendly Language
* The "patient friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement.
*/
export interface ContractFriendly extends BackboneElement {
/**
* Easily comprehended representation of this Contract
* Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability.
*/
contentAttachment?: Attachment | undefined;
/**
* Easily comprehended representation of this Contract
* Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability.
*/
contentReference?: Reference | undefined;
}
/**
* Contract Legal Language
* List of Legal expressions or representations of this Contract.
*/
export interface ContractLegal extends BackboneElement {
/**
* Contract Legal Text
* Contract legal text in human renderable form.
*/
contentAttachment?: Attachment | undefined;
/**
* Contract Legal Text
* Contract legal text in human renderable form.
*/
contentReference?: Reference | undefined;
}
/**
* Computable Contract Language
* List of Computable Policy Rule Language Representations of this Contract.
*/
export interface ContractRule extends BackboneElement {
/**
* Computable Contract Rules
* Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal).
*/
contentAttachment?: Attachment | undefined;
/**
* Computable Contract Rules
* Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal).
*/
contentReference?: Reference | undefined;
}
/**
* Base StructureDefinition for Element Type
*/
export interface Element {
/**
* xml:id (or equivalent in JSON)
* unique id for the element within a resource (for internal references).
*/
id?: string | undefined;
_id?: Element | undefined;
/**
* Additional Content defined by implementations
* May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
*/
extension?: Extension[] | undefined;
}
/**
* Base StructureDefinition for Period Type
*/
export interface Period extends Element {
/**
* Starting time with inclusive boundary
* The start of the period. The boundary is inclusive.
*/
start?: string | undefined;
_start?: Element | undefined;
/**
* End time with inclusive boundary, if not ongoing
* The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.
*/
end?: string | undefined;
_end?: Element | undefined;
}
/**
* Base StructureDefinition for Extension Type
*/
export interface Extension extends Element {
/**
* identifies the meaning of the extension
* Source of the definition for the extension code - a logical name or a URL.
*/
url: string;
_url?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueBoolean?: boolean | undefined;
_valueBoolean?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueInteger?: number | undefined;
_valueInteger?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueDecimal?: number | undefined;
_valueDecimal?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueBase64Binary?: string | undefined;
_valueBase64Binary?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueInstant?: string | undefined;
_valueInstant?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueString?: string | undefined;
_valueString?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueUri?: string | undefined;
_valueUri?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueDate?: string | undefined;
_valueDate?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueDateTime?: string | undefined;
_valueDateTime?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueTime?: string | undefined;
_valueTime?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueCode?: string | undefined;
_valueCode?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueOid?: string | undefined;
_valueOid?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueId?: string | undefined;
_valueId?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueUnsignedInt?: number | undefined;
_valueUnsignedInt?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valuePositiveInt?: number | undefined;
_valuePositiveInt?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueMarkdown?: string | undefined;
_valueMarkdown?: Element | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueAnnotation?: Annotation | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueAttachment?: Attachment | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueIdentifier?: Identifier | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueCodeableConcept?: CodeableConcept | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueCoding?: Coding | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueQuantity?: Quantity | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueRange?: Range | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valuePeriod?: Period | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueRatio?: Ratio | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueSampledData?: SampledData | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueSignature?: Signature | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueHumanName?: HumanName | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueAddress?: Address | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueContactPoint?: ContactPoint | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueTiming?: Timing | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueReference?: Reference | undefined;
/**
* Value of extension
* Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
*/
valueMeta?: Meta | undefined;
}
/**
* Base StructureDefinition for DeviceUseRequest Resource
*/
export interface DeviceUseRequest extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'DeviceUseRequest';
/**
* Target body site
* Indicates the site on the subject's body where the device should be used ( i.e. the target site).
*/
bodySiteCodeableConcept?: CodeableConcept | undefined;
/**
* Target body site
* Indicates the site on the subject's body where the device should be used ( i.e. the target site).
*/
bodySiteReference?: Reference | undefined;
/**
* proposed | planned | requested | received | accepted | in-progress | completed | suspended | rejected | aborted
* The status of the request.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* Device requested
* The details of the device to be used.
*/
device: Reference;
/**
* Encounter motivating request
* An encounter that provides additional context in which this request is made.
*/
encounter?: Reference | undefined;
/**
* Request identifier
* Identifiers assigned to this order by the orderer or by the receiver.
*/
identifier?: Identifier[] | undefined;
/**
* Reason for request
* Reason or justification for the use of this device.
*/
indication?: CodeableConcept[] | undefined;
/**
* Notes or comments
* Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.
*/
notes?: string[] | undefined;
_notes?: Element[] | undefined;
/**
* PRN
* The proposed act must be performed if the indicated conditions occur, e.g.., shortness of breath, SpO2 less than x%.
*/
prnReason?: CodeableConcept[] | undefined;
/**
* When ordered
* The time when the request was made.
*/
orderedOn?: string | undefined;
_orderedOn?: Element | undefined;
/**
* When recorded
* The time at which the request was made/recorded.
*/
recordedOn?: string | undefined;
_recordedOn?: Element | undefined;
/**
* Focus of request
* The patient who will use the device.
*/
subject: Reference;
/**
* Schedule for use
* The timing schedule for the use of the device The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
*/
timingTiming?: Timing | undefined;
/**
* Schedule for use
* The timing schedule for the use of the device The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
*/
timingPeriod?: Period | undefined;
/**
* Schedule for use
* The timing schedule for the use of the device The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
*/
timingDateTime?: string | undefined;
_timingDateTime?: Element | undefined;
/**
* routine | urgent | stat | asap
* Characterizes how quickly the use of device must be initiated. Includes concepts such as stat, urgent, routine.
*/
priority?: string | undefined;
_priority?: Element | undefined;
}
/**
* Base StructureDefinition for ConceptMap Resource
*/
export interface ConceptMap extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ConceptMap';
/**
* Globally unique logical id for concept map
* An absolute URL that is used to identify this concept map when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this concept map is (or will be) published.
*/
url?: string | undefined;
_url?: Element | undefined;
/**
* Additional identifier for the concept map
* Formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance.
*/
identifier?: Identifier | undefined;
/**
* Logical id for this version of the concept map
* The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Informal name for this concept map
* A free text natural language name describing the concept map.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* draft | active | retired
* The status of the concept map.
*/
status: string;
_status?: Element | undefined;
/**
* If for testing purposes, not real usage
* This ConceptMap was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
experimental?: boolean | undefined;
_experimental?: Element | undefined;
/**
* Name of the publisher (organization or individual)
* The name of the individual or organization that published the concept map.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
contact?: ConceptMapContact[] | undefined;
/**
* Date for given status
* The date this version of the concept map was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Human language description of the concept map
* A free text natural language description of the use of the concept map - reason for definition, conditions of use, etc.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Content intends to support these contexts
* The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of concept map instances.
*/
useContext?: CodeableConcept[] | undefined;
/**
* Why needed
* Explains why this concept map is needed and why it has been constrained as it has.
*/
requirements?: string | undefined;
_requirements?: Element | undefined;
/**
* Use and/or publishing restrictions
* A copyright statement relating to the concept map and/or its contents.
*/
copyright?: string | undefined;
_copyright?: Element | undefined;
/**
* Identifies the source of the concepts which are being mapped
* The source value set that specifies the concepts that are being mapped.
*/
sourceUri?: string | undefined;
_sourceUri?: Element | undefined;
/**
* Identifies the source of the concepts which are being mapped
* The source value set that specifies the concepts that are being mapped.
*/
sourceReference?: Reference | undefined;
/**
* Provides context to the mappings
* The target value set provides context to 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.
*/
targetUri?: string | undefined;
_targetUri?: Element | undefined;
/**
* Provides context to the mappings
* The target value set provides context to 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.
*/
targetReference?: Reference | undefined;
/**
* Mappings for a concept from the source set
* Mappings for an individual concept in the source to one or more concepts in the target.
*/
element?: ConceptMapElement[] | undefined;
}
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
export interface ConceptMapContact extends BackboneElement {
/**
* Name of a individual to contact
* The name of an individual to contact regarding the concept map.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Contact details for individual or publisher
* Contact details for individual (if a name was provided) or the publisher.
*/
telecom?: ContactPoint[] | undefined;
}
/**
* Other elements required for this mapping (from context)
* A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value.
*/
export interface ConceptMapElementTargetDependsOn extends BackboneElement {
/**
* Reference to element/field/ValueSet mapping depends on
* A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. HL7 v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition.
*/
element: string;
_element?: Element | undefined;
/**
* Code System (if necessary)
* An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems).
*/
codeSystem: string;
_codeSystem?: Element | undefined;
/**
* Value of the referenced element
* Identity (code or path) or the element/item/ValueSet that the map depends on / refers to.
*/
code: string;
_code?: Element | undefined;
}
/**
* Concept in target system for element
* A concept from the target value set that this concept maps to.
*/
export interface ConceptMapElementTarget extends BackboneElement {
/**
* System of the target (if necessary)
* An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems).
*/
codeSystem?: string | undefined;
_codeSystem?: Element | undefined;
/**
* Code that identifies the target element
* Identity (code or path) or the element/item that the map refers to.
*/
code?: string | undefined;
_code?: Element | undefined;
/**
* equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint
* The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source).
*/
equivalence: string;
_equivalence?: Element | undefined;
/**
* Description of status/issues in mapping
* A description of status/issues in mapping that conveys additional information not represented in the structured data.
*/
comments?: string | undefined;
_comments?: Element | undefined;
/**
* Other elements required for this mapping (from context)
* A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value.
*/
dependsOn?: ConceptMapElementTargetDependsOn[] | undefined;
}
/**
* Mappings for a concept from the source set
* Mappings for an individual concept in the source to one or more concepts in the target.
*/
export interface ConceptMapElement extends BackboneElement {
/**
* Code System (if value set crosses code systems)
* An absolute URI that identifies the Code System (if the source is a value set that crosses more than one code system).
*/
codeSystem?: string | undefined;
_codeSystem?: Element | undefined;
/**
* Identifies element being mapped
* Identity (code or path) or the element/item being mapped.
*/
code?: string | undefined;
_code?: Element | undefined;
/**
* Concept in target system for element
* A concept from the target value set that this concept maps to.
*/
target?: ConceptMapElementTarget[] | undefined;
}
/**
* Base StructureDefinition for Signature Type
*/
export interface Signature extends Element {
/**
* Indication of the reason the entity signed the object(s)
* An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.
*/
type: Coding[];
/**
* When the signature was created
* When the digital signature was signed.
*/
when: string;
_when?: Element | undefined;
/**
* Who signed the signature
* A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key).
*/
whoUri?: string | undefined;
_whoUri?: Element | undefined;
/**
* Who signed the signature
* A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key).
*/
whoReference?: Reference | undefined;
/**
* The technical format of the signature
* A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jwt for JWT, and image/* for a graphical image of a signature.
*/
contentType: string;
_contentType?: Element | undefined;
/**
* The actual signature content (XML DigSig. JWT, picture, etc.)
* The base64 encoding of the Signature content.
*/
blob: string;
_blob?: Element | undefined;
}
/**
* A length of time
*/
export interface Duration extends Quantity {
}
/**
* Base StructureDefinition for StructureDefinition Resource
*/
export interface StructureDefinition extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'StructureDefinition';
/**
* Absolute URL used to reference this StructureDefinition
* An absolute URL that is used to identify this structure definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this structure definition is (or will be) published.
*/
url: string;
_url?: Element | undefined;
/**
* Other identifiers for the StructureDefinition
* Formal identifier that is used to identify this StructureDefinition when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI).
*/
identifier?: Identifier[] | undefined;
/**
* Logical id for this version of the StructureDefinition
* The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the StructureDefinition author manually.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Informal name for this StructureDefinition
* A free text natural language name identifying the StructureDefinition.
*/
name: string;
_name?: Element | undefined;
/**
* Use this name when displaying the value
* Defined so that applications can use this name when displaying the value of the extension to the user.
*/
display?: string | undefined;
_display?: Element | undefined;
/**
* draft | active | retired
* The status of the StructureDefinition.
*/
status: string;
_status?: Element | undefined;
/**
* If for testing purposes, not real usage
* This StructureDefinition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
experimental?: boolean | undefined;
_experimental?: Element | undefined;
/**
* Name of the publisher (Organization or individual)
* The name of the individual or organization that published the structure definition.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
contact?: StructureDefinitionContact[] | undefined;
/**
* Date for this version of the StructureDefinition
* The date this version of the structure definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the structure definition changes.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Natural language description of the StructureDefinition
* A free text natural language description of the StructureDefinition and its use.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Content intends to support these contexts
* The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of structure definitions.
*/
useContext?: CodeableConcept[] | undefined;
/**
* Scope and Usage this structure definition is for
* Explains why this structure definition is needed and why it's been constrained as it has.
*/
requirements?: string | undefined;
_requirements?: Element | undefined;
/**
* Use and/or publishing restrictions
* A copyright statement relating to the structure definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.
*/
copyright?: string | undefined;
_copyright?: Element | undefined;
/**
* Assist with indexing and finding
* A set of terms from external terminologies that may be used to assist with indexing and searching of templates.
*/
code?: Coding[] | undefined;
/**
* FHIR Version this StructureDefinition targets
* The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 1.0.2 for this version.
*/
fhirVersion?: string | undefined;
_fhirVersion?: Element | undefined;
/**
* External specification that the content is mapped to
* An external specification that the content is mapped to.
*/
mapping?: StructureDefinitionMapping[] | undefined;
/**
* datatype | resource | logical
* Defines the kind of structure that this definition is describing.
*/
kind: string;
_kind?: Element | undefined;
/**
* Any datatype or resource, including abstract ones
* The type of type that is being constrained - a data type, an extension, a resource, including abstract ones. If this field is present, it indicates that the structure definition is a constraint. If it is not present, then the structure definition is the definition of a base structure.
*/
constrainedType?: string | undefined;
_constrainedType?: Element | undefined;
/**
* Whether the structure is abstract
* Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type.
*/
abstract: boolean;
_abstract?: Element | undefined;
/**
* resource | datatype | mapping | extension
* If this is an extension, Identifies the context within FHIR resources where the extension can be used.
*/
contextType?: string | undefined;
_contextType?: Element | undefined;
/**
* Where the extension can be used in instances
* Identifies the types of resource or data type elements to which the extension can be applied.
*/
context?: string[] | undefined;
_context?: Element[] | undefined;
/**
* Structure that this set of constraints applies to
* An absolute URI that is the base structure from which this set of constraints is derived.
*/
base?: string | undefined;
_base?: Element | undefined;
/**
* Snapshot view of the structure
* A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base StructureDefinition.
*/
snapshot?: StructureDefinitionSnapshot | undefined;
/**
* Differential view of the structure
* A differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies.
*/
differential?: StructureDefinitionDifferential | undefined;
}
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
export interface StructureDefinitionContact extends BackboneElement {
/**
* Name of a individual to contact
* The name of an individual to contact regarding the structure definition.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Contact details for individual or publisher
* Contact details for individual (if a name was provided) or the publisher.
*/
telecom?: ContactPoint[] | undefined;
}
/**
* External specification that the content is mapped to
* An external specification that the content is mapped to.
*/
export interface StructureDefinitionMapping extends BackboneElement {
/**
* Internal id when this mapping is used
* An Internal id that is used to identify this mapping set when specific mappings are made.
*/
identity: string;
_identity?: Element | undefined;
/**
* Identifies what this mapping refers to
* An absolute URI that identifies the specification that this mapping is expressed to.
*/
uri?: string | undefined;
_uri?: Element | undefined;
/**
* Names what this mapping refers to
* A name for the specification that is being mapped to.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Versions, Issues, Scope limitations etc.
* Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage.
*/
comments?: string | undefined;
_comments?: Element | undefined;
}
/**
* Snapshot view of the structure
* A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base StructureDefinition.
*/
export interface StructureDefinitionSnapshot extends BackboneElement {
/**
* Definition of elements in the resource (if no StructureDefinition)
* Captures constraints on each element within the resource.
*/
element: ElementDefinition[];
}
/**
* Differential view of the structure
* A differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies.
*/
export interface StructureDefinitionDifferential extends BackboneElement {
/**
* Definition of elements in the resource (if no StructureDefinition)
* Captures constraints on each element within the resource.
*/
element: ElementDefinition[];
}
/**
* Base StructureDefinition for CommunicationRequest Resource
*/
export interface CommunicationRequest extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'CommunicationRequest';
/**
* Unique identifier
* A unique ID of this request for reference purposes. It must be provided if user wants it returned as part of any output, otherwise it will be autogenerated, if needed, by CDS system. Does not need to be the actual ID of the source system.
*/
identifier?: Identifier[] | undefined;
/**
* Message category
* The type of message to be sent such as alert, notification, reminder, instruction, etc.
*/
category?: CodeableConcept | undefined;
/**
* Message sender
* The entity (e.g. person, organization, clinical information system, or device) which is to be the source of the communication.
*/
sender?: Reference | Reference | Reference | Reference | Reference | undefined;
/**
* Message recipient
* The entity (e.g. person, organization, clinical information system, or device) which is the intended target of the communication.
*/
recipient?: Reference | Reference | Reference | Reference | Reference[] | undefined;
/**
* Message payload
* Text, attachment(s), or resource(s) to be communicated to the recipient.
*/
payload?: CommunicationRequestPayload[] | undefined;
/**
* A channel of communication
* A channel that was used for this communication (e.g. email, fax).
*/
medium?: CodeableConcept[] | undefined;
/**
* An individual who requested a communication
* The responsible person who authorizes this order, e.g. physician. This may be different than the author of the order statement, e.g. clerk, who may have entered the statement into the order entry application.
*/
requester?: Reference | Reference | Reference | undefined;
/**
* proposed | planned | requested | received | accepted | in-progress | completed | suspended | rejected | failed
* The status of the proposal or order.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* Encounter leading to message
* The encounter within which the communication request was created.
*/
encounter?: Reference | undefined;
/**
* When scheduled
* The time when this communication is to occur.
*/
scheduledDateTime?: string | undefined;
_scheduledDateTime?: Element | undefined;
/**
* When scheduled
* The time when this communication is to occur.
*/
scheduledPeriod?: Period | undefined;
/**
* Indication for message
* The reason or justification for the communication request.
*/
reason?: CodeableConcept[] | undefined;
/**
* When ordered or proposed
* The time when the request was made.
*/
requestedOn?: string | undefined;
_requestedOn?: Element | undefined;
/**
* Focus of message
* The patient who is the focus of this communication request.
*/
subject?: Reference | undefined;
/**
* Message urgency
* Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine.
*/
priority?: CodeableConcept | undefined;
}
/**
* Message payload
* Text, attachment(s), or resource(s) to be communicated to the recipient.
*/
export interface CommunicationRequestPayload extends BackboneElement {
/**
* Message part content
* The communicated content (or for multi-part communications, one portion of the communication).
*/
contentString?: string | undefined;
_contentString?: Element | undefined;
/**
* Message part content
* The communicated content (or for multi-part communications, one portion of the communication).
*/
contentAttachment?: Attachment | undefined;
/**
* Message part content
* The communicated content (or for multi-part communications, one portion of the communication).
*/
contentReference?: Reference | undefined;
}
/**
* Base StructureDefinition for Identifier Type
*/
export interface Identifier extends Element {
/**
* usual | official | temp | secondary (If known)
* The purpose of this identifier.
*/
use?: string | undefined;
_use?: Element | undefined;
/**
* Description of identifier
* A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.
*/
type?: CodeableConcept | undefined;
/**
* The namespace for the identifier
* Establishes the namespace in which set of possible id values is unique.
*/
system?: string | undefined;
_system?: Element | undefined;
/**
* The value that is unique
* The portion of the identifier typically displayed to the user and which is unique within the context of the system.
*/
value?: string | undefined;
_value?: Element | undefined;
/**
* Time period when id is/was valid for use
* Time period during which identifier is/was valid for use.
*/
period?: Period | undefined;
/**
* Organization that issued id (may be just text)
* Organization that issued/manages the identifier.
*/
assigner?: Reference | undefined;
}
/**
* Base StructureDefinition for PaymentNotice Resource
*/
export interface PaymentNotice extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'PaymentNotice';
/**
* Business Identifier
* The Response business identifier.
*/
identifier?: Identifier[] | undefined;
/**
* Resource version
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*/
ruleset?: Coding | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when this resource was created.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Insurer or Regulatory body
* The Insurer who is target of the request.
*/
target?: Reference | undefined;
/**
* Responsible practitioner
* The practitioner who is responsible for the services rendered to the patient.
*/
provider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the services rendered to the patient.
*/
organization?: Reference | undefined;
/**
* Request reference
* Reference of resource to reverse.
*/
request?: Reference | undefined;
/**
* Response reference
* Reference of response to resource to reverse.
*/
response?: Reference | undefined;
/**
* Status of the payment
* The payment status, typically paid: payment sent, cleared: payment received.
*/
paymentStatus: Coding;
}
/**
* Base StructureDefinition for DetectedIssue Resource
*/
export interface DetectedIssue extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'DetectedIssue';
/**
* Associated patient
* Indicates the patient whose record the detected issue is associated with.
*/
patient?: Reference | undefined;
/**
* Issue Category, e.g. drug-drug, duplicate therapy, etc.
* Identifies the general type of issue identified.
*/
category?: CodeableConcept | undefined;
/**
* high | moderate | low
* Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.
*/
severity?: string | undefined;
_severity?: Element | undefined;
/**
* Problem resource
* Indicates the resource representing the current activity or proposed activity that is potentially problematic.
*/
implicated?: Reference[] | undefined;
/**
* Description and context
* A textual explanation of the detected issue.
*/
detail?: string | undefined;
_detail?: Element | undefined;
/**
* When identified
* The date or date-time when the detected issue was initially identified.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* The provider or device that identified the issue
* Individual or device responsible for the issue being raised. For example, a decision support application or a pharmacist conducting a medication review.
*/
author?: Reference | Reference | undefined;
/**
* Unique id for the detected issue
* Business identifier associated with the detected issue record.
*/
identifier?: Identifier | undefined;
/**
* Authority for issue
* The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified.
*/
reference?: string | undefined;
_reference?: Element | undefined;
/**
* Step taken to address
* Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the detected issue from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.
*/
mitigation?: DetectedIssueMitigation[] | undefined;
}
/**
* Step taken to address
* Indicates an action that has been taken or is committed to to reduce or eliminate the likelihood of the risk identified by the detected issue from manifesting. Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.
*/
export interface DetectedIssueMitigation extends BackboneElement {
/**
* What mitigation?
* Describes the action that was taken or the observation that was made that reduces/eliminates the risk associated with the identified issue.
*/
action: CodeableConcept;
/**
* Date committed
* Indicates when the mitigating action was documented.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Who is committing?
* Identifies the practitioner who determined the mitigation and takes responsibility for the mitigation step occurring.
*/
author?: Reference | undefined;
}
/**
* Base StructureDefinition for HumanName Type
*/
export interface HumanName extends Element {
/**
* usual | official | temp | nickname | anonymous | old | maiden
* Identifies the purpose for this name.
*/
use?: string | undefined;
_use?: Element | undefined;
/**
* Text representation of the full name
* A full text representation of the name.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* Family name (often called 'Surname')
* The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.
*/
family?: string[] | undefined;
_family?: Element[] | undefined;
/**
* Given names (not always 'first'). Includes middle names
* Given name.
*/
given?: string[] | undefined;
_given?: Element[] | undefined;
/**
* Parts that come before the name
* Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.
*/
prefix?: string[] | undefined;
_prefix?: Element[] | undefined;
/**
* Parts that come after the name
* Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.
*/
suffix?: string[] | undefined;
_suffix?: Element[] | undefined;
/**
* Time period when name was/is in use
* Indicates the period of time when this name was valid for the named person.
*/
period?: Period | undefined;
}
/**
* Base StructureDefinition for Bundle Resource
*/
export interface Bundle extends Resource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Bundle';
/**
* document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
* Indicates the purpose of this bundle- how it was intended to be used.
*/
type: string;
_type?: Element | undefined;
/**
* If search, the total number of matches
* If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).
*/
total?: number | undefined;
_total?: Element | undefined;
/**
* Links related to this Bundle
* A series of links that provide context to this bundle.
*/
link?: BundleLink[] | undefined;
/**
* Entry in the bundle - will have a resource, or information
* An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).
*/
entry?: BundleEntry[] | undefined;
/**
* Digital Signature
* Digital Signature - base64 encoded. XML DigSIg or a JWT.
*/
signature?: Signature | undefined;
}
/**
* Links related to this Bundle
* A series of links that provide context to this bundle.
*/
export interface BundleLink extends BackboneElement {
/**
* http://www.iana.org/assignments/link-relations/link-relations.xhtml
* A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]].
*/
relation: string;
_relation?: Element | undefined;
/**
* Reference details for the link
* The reference details for the link.
*/
url: string;
_url?: Element | undefined;
}
/**
* Search related information
* Information about the search process that lead to the creation of this entry.
*/
export interface BundleEntrySearch extends BackboneElement {
/**
* match | include | outcome - why this is in the result set
* Why this entry is in the result set - whether it's included as a match or because of an _include requirement.
*/
mode?: string | undefined;
_mode?: Element | undefined;
/**
* Search ranking (between 0 and 1)
* When searching, the server's search ranking score for the entry.
*/
score?: number | undefined;
_score?: Element | undefined;
}
/**
* Transaction Related Information
* Additional information about how this entry should be processed as part of a transaction.
*/
export interface BundleEntryRequest extends BackboneElement {
/**
* GET | POST | PUT | DELETE
* The HTTP verb for this entry in either a update history, or a transaction/ transaction response.
*/
method: string;
_method?: Element | undefined;
/**
* URL for HTTP equivalent of this entry
* The URL for this entry, relative to the root (the address to which the request is posted).
*/
url: string;
_url?: Element | undefined;
/**
* For managing cache currency
* If the ETag values match, return a 304 Not modified status. See the API documentation for ["Conditional Read"](http.html#cread).
*/
ifNoneMatch?: string | undefined;
_ifNoneMatch?: Element | undefined;
/**
* For managing update contention
* Only perform the operation if the last updated date matches. See the API documentation for ["Conditional Read"](http.html#cread).
*/
ifModifiedSince?: string | undefined;
_ifModifiedSince?: Element | undefined;
/**
* For managing update contention
* Only perform the operation if the Etag value matches. For more information, see the API section ["Managing Resource Contention"](http.html#concurrency).
*/
ifMatch?: string | undefined;
_ifMatch?: Element | undefined;
/**
* For conditional creates
* Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for ["Conditional Create"](http.html#ccreate). This is just the query portion of the URL - what follows the "?" (not including the "?").
*/
ifNoneExist?: string | undefined;
_ifNoneExist?: Element | undefined;
}
/**
* Transaction Related Information
* Additional information about how this entry should be processed as part of a transaction.
*/
export interface BundleEntryResponse extends BackboneElement {
/**
* Status return code for entry
* The status code returned by processing this entry.
*/
status: string;
_status?: Element | undefined;
/**
* The location, if the operation returns a location
* The location header created by processing this operation.
*/
location?: string | undefined;
_location?: Element | undefined;
/**
* The etag for the resource (if relevant)
* The etag for the resource, it the operation for the entry produced a versioned resource.
*/
etag?: string | undefined;
_etag?: Element | undefined;
/**
* Server's date time modified
* The date/time that the resource was modified on the server.
*/
lastModified?: string | undefined;
_lastModified?: Element | undefined;
}
/**
* Entry in the bundle - will have a resource, or information
* An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).
*/
export interface BundleEntry extends BackboneElement {
/**
* Absolute URL for resource (server address, or UUID/OID)
* The Absolute URL for the resource. This must be provided for all resources. The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource.
*/
fullUrl?: string | undefined;
_fullUrl?: Element | undefined;
/**
* A resource in the bundle
* The Resources for the entry.
*/
resource?: T | undefined;
/**
* Search related information
* Information about the search process that lead to the creation of this entry.
*/
search?: BundleEntrySearch | undefined;
/**
* Transaction Related Information
* Additional information about how this entry should be processed as part of a transaction.
*/
request?: BundleEntryRequest | undefined;
/**
* Transaction Related Information
* Additional information about how this entry should be processed as part of a transaction.
*/
response?: BundleEntryResponse | undefined;
}
/**
* Base StructureDefinition for ImplementationGuide Resource
*/
export interface ImplementationGuide extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ImplementationGuide';
/**
* Absolute URL used to reference this Implementation Guide
* An absolute URL that is used to identify this implementation guide when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this implementation guide is (or will be) published.
*/
url: string;
_url?: Element | undefined;
/**
* Logical id for this version of the Implementation Guide
* The identifier that is used to identify this version of the Implementation Guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Implementation Guide author manually.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Informal name for this Implementation Guide
* A free text natural language name identifying the Implementation Guide.
*/
name: string;
_name?: Element | undefined;
/**
* draft | active | retired
* The status of the Implementation Guide.
*/
status: string;
_status?: Element | undefined;
/**
* If for testing purposes, not real usage
* This Implementation Guide was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
experimental?: boolean | undefined;
_experimental?: Element | undefined;
/**
* Name of the publisher (Organization or individual)
* The name of the individual or organization that published the implementation guide.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
contact?: ImplementationGuideContact[] | undefined;
/**
* Date for this version of the Implementation Guide
* The date this version of the implementation guide was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Natural language description of the Implementation Guide
* A free text natural language description of the Implementation Guide and its use.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* The implementation guide is intended to support these contexts
* The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of implementation guides. The most common use of this element is to represent the country / jurisdiction for which this implementation guide was defined.
*/
useContext?: CodeableConcept[] | undefined;
/**
* Use and/or publishing restrictions
* A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.
*/
copyright?: string | undefined;
_copyright?: Element | undefined;
/**
* FHIR Version this Implementation Guide targets
* The version of the FHIR specification on which this ImplementationGuide is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 1.0.2 for this version.
*/
fhirVersion?: string | undefined;
_fhirVersion?: Element | undefined;
/**
* Another Implementation guide this depends on
* Another implementation guide that this implementation depends on. Typically, an implementation guide uses value sets, profiles etc.defined in other implementation guides.
*/
dependency?: ImplementationGuideDependency[] | undefined;
/**
* Group of resources as used in .page.package
* A logical group of resources. Logical groups can be used when building pages.
*/
package: ImplementationGuidePackage[];
/**
* Profiles that apply globally
* A set of profiles that all resources covered by this implementation guide must conform to.
*/
global?: ImplementationGuideGlobal[] | undefined;
/**
* Image, css, script, etc.
* A binary file that is included in the implementation guide when it is published.
*/
binary?: string[] | undefined;
_binary?: Element[] | undefined;
/**
* Page/Section in the Guide
* A page / section in the implementation guide. The root page is the implementation guide home page.
*/
page: ImplementationGuidePage;
}
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
export interface ImplementationGuideContact extends BackboneElement {
/**
* Name of a individual to contact
* The name of an individual to contact regarding the implementation guide.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Contact details for individual or publisher
* Contact details for individual (if a name was provided) or the publisher.
*/
telecom?: ContactPoint[] | undefined;
}
/**
* Another Implementation guide this depends on
* Another implementation guide that this implementation depends on. Typically, an implementation guide uses value sets, profiles etc.defined in other implementation guides.
*/
export interface ImplementationGuideDependency extends BackboneElement {
/**
* reference | inclusion
* How the dependency is represented when the guide is published.
*/
type: string;
_type?: Element | undefined;
/**
* Where to find dependency
* Where the dependency is located.
*/
uri: string;
_uri?: Element | undefined;
}
/**
* Resource in the implementation guide
* A resource that is part of the implementation guide. Conformance resources (value set, structure definition, conformance statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource.
*/
export interface ImplementationGuidePackageResource extends BackboneElement {
/**
* example | terminology | profile | extension | dictionary | logical
* Why the resource is included in the guide.
*/
purpose: string;
_purpose?: Element | undefined;
/**
* Human Name for the resource
* A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Reason why included in guide
* A description of the reason that a resource has been included in the implementation guide.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Short code to identify the resource
* A short code that may be used to identify the resource throughout the implementation guide.
*/
acronym?: string | undefined;
_acronym?: Element | undefined;
/**
* Location of the resource
* Where this resource is found.
*/
sourceUri?: string | undefined;
_sourceUri?: Element | undefined;
/**
* Location of the resource
* Where this resource is found.
*/
sourceReference?: Reference | undefined;
/**
* Resource this is an example of (if applicable)
* Another resource that this resource is an example for. This is mostly used for resources that are included as examples of StructureDefinitions.
*/
exampleFor?: Reference | undefined;
}
/**
* Group of resources as used in .page.package
* A logical group of resources. Logical groups can be used when building pages.
*/
export interface ImplementationGuidePackage extends BackboneElement {
/**
* Name used .page.package
* The name for the group, as used in page.package.
*/
name: string;
_name?: Element | undefined;
/** Human readable text describing the package */
description?: string | undefined;
_description?: Element | undefined;
/**
* Resource in the implementation guide
* A resource that is part of the implementation guide. Conformance resources (value set, structure definition, conformance statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource.
*/
resource: ImplementationGuidePackageResource[];
}
/**
* Profiles that apply globally
* A set of profiles that all resources covered by this implementation guide must conform to.
*/
export interface ImplementationGuideGlobal extends BackboneElement {
/**
* Type this profiles applies to
* The type of resource that all instances must conform to.
*/
type: string;
_type?: Element | undefined;
/**
* Profile that all resources must conform to
* A reference to the profile that all instances must conform to.
*/
profile: Reference;
}
/**
* Page/Section in the Guide
* A page / section in the implementation guide. The root page is the implementation guide home page.
*/
export interface ImplementationGuidePage extends BackboneElement {
/**
* Where to find that page
* The source address for the page.
*/
source: string;
_source?: Element | undefined;
/**
* Short name shown for navigational assistance
* A short name used to represent this page in navigational structures such as table of contents, bread crumbs, etc.
*/
name: string;
_name?: Element | undefined;
/**
* page | example | list | include | directory | dictionary | toc | resource
* The kind of page that this is. Some pages are autogenerated (list, example), and other kinds are of interest so that tools can navigate the user to the page of interest.
*/
kind: string;
_kind?: Element | undefined;
/**
* Kind of resource to include in the list
* For constructed pages, what kind of resources to include in the list.
*/
type?: string[] | undefined;
_type?: Element[] | undefined;
/**
* Name of package to include
* For constructed pages, a list of packages to include in the page (or else empty for everything).
*/
package?: string[] | undefined;
_package?: Element[] | undefined;
/**
* Format of the page (e.g. html, markdown, etc.)
* The format of the page.
*/
format?: string | undefined;
_format?: Element | undefined;
/**
* Nested Pages / Sections
* Nested Pages/Sections under this page.
*/
page?: ImplementationGuidePage[] | undefined;
}
/**
* Base StructureDefinition for NutritionOrder Resource
*/
export interface NutritionOrder extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'NutritionOrder';
/**
* The person who requires the diet, formula or nutritional supplement
* The person (patient) who needs the nutrition order for an oral diet, nutritional supplement and/or enteral or formula feeding.
*/
patient: Reference;
/**
* Who ordered the diet, formula or nutritional supplement
* The practitioner that holds legal responsibility for ordering the diet, nutritional supplement, or formula feedings.
*/
orderer?: Reference | undefined;
/**
* Identifiers assigned to this order
* Identifiers assigned to this order by the order sender or by the order receiver.
*/
identifier?: Identifier[] | undefined;
/**
* The encounter associated with this nutrition order
* An encounter that provides additional information about the healthcare context in which this request is made.
*/
encounter?: Reference | undefined;
/**
* Date and time the nutrition order was requested
* The date and time that this nutrition order was requested.
*/
dateTime: string;
_dateTime?: Element | undefined;
/**
* proposed | draft | planned | requested | active | on-hold | completed | cancelled
* The workflow status of the nutrition order/request.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* List of the patient's food and nutrition-related allergies and intolerances
* A link to a record of allergies or intolerances which should be included in the nutrition order.
*/
allergyIntolerance?: Reference[] | undefined;
/**
* Order-specific modifier about the type of food that should be given
* This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
*/
foodPreferenceModifier?: CodeableConcept[] | undefined;
/**
* Order-specific modifier about the type of food that should not be given
* This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. While it should not be necessary to repeat allergy or intolerance information captured in the referenced allergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.
*/
excludeFoodModifier?: CodeableConcept[] | undefined;
/**
* Oral diet components
* Diet given orally in contrast to enteral (tube) feeding.
*/
oralDiet?: NutritionOrderOralDiet | undefined;
/**
* Supplement components
* Oral nutritional products given in order to add further nutritional value to the patient's diet.
*/
supplement?: NutritionOrderSupplement[] | undefined;
/**
* Enteral formula components
* Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity.
*/
enteralFormula?: NutritionOrderEnteralFormula | undefined;
}
/**
* Required nutrient modifications
* Class that defines the quantity and type of nutrient modifications required for the oral diet.
*/
export interface NutritionOrderOralDietNutrient extends BackboneElement {
/**
* Type of nutrient that is being modified
* The nutrient that is being modified such as carbohydrate or sodium.
*/
modifier?: CodeableConcept | undefined;
/**
* Quantity of the specified nutrient
* The quantity of the specified nutrient to include in diet.
*/
amount?: Quantity | undefined;
}
/**
* Required texture modifications
* Class that describes any texture modifications required for the patient to safely consume various types of solid foods.
*/
export interface NutritionOrderOralDietTexture extends BackboneElement {
/**
* Code to indicate how to alter the texture of the foods, e.g. pureed
* Any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed.
*/
modifier?: CodeableConcept | undefined;
/**
* Concepts that are used to identify an entity that is ingested for nutritional purposes
* The food type(s) (e.g. meats, all foods) that the texture modification applies to. This could be all foods types.
*/
foodType?: CodeableConcept | undefined;
}
/**
* Oral diet components
* Diet given orally in contrast to enteral (tube) feeding.
*/
export interface NutritionOrderOralDiet extends BackboneElement {
/**
* Type of oral diet or diet restrictions that describe what can be consumed orally
* The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet.
*/
type?: CodeableConcept[] | undefined;
/**
* Scheduled frequency of diet
* The time period and frequency at which the diet should be given.
*/
schedule?: Timing[] | undefined;
/**
* Required nutrient modifications
* Class that defines the quantity and type of nutrient modifications required for the oral diet.
*/
nutrient?: NutritionOrderOralDietNutrient[] | undefined;
/**
* Required texture modifications
* Class that describes any texture modifications required for the patient to safely consume various types of solid foods.
*/
texture?: NutritionOrderOralDietTexture[] | undefined;
/**
* The required consistency of fluids and liquids provided to the patient
* The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient.
*/
fluidConsistencyType?: CodeableConcept[] | undefined;
/**
* Instructions or additional information about the oral diet
* Free text or additional instructions or information pertaining to the oral diet.
*/
instruction?: string | undefined;
_instruction?: Element | undefined;
}
/**
* Supplement components
* Oral nutritional products given in order to add further nutritional value to the patient's diet.
*/
export interface NutritionOrderSupplement extends BackboneElement {
/**
* Type of supplement product requested
* The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement.
*/
type?: CodeableConcept | undefined;
/**
* Product or brand name of the nutritional supplement
* The product or brand name of the nutritional supplement such as "Acme Protein Shake".
*/
productName?: string | undefined;
_productName?: Element | undefined;
/**
* Scheduled frequency of supplement
* The time period and frequency at which the supplement(s) should be given.
*/
schedule?: Timing[] | undefined;
/**
* Amount of the nutritional supplement
* The amount of the nutritional supplement to be given.
*/
quantity?: Quantity | undefined;
/**
* Instructions or additional information about the oral supplement
* Free text or additional instructions or information pertaining to the oral supplement.
*/
instruction?: string | undefined;
_instruction?: Element | undefined;
}
/**
* Formula feeding instruction as structured data
* Formula administration instructions as structured data. This repeating structure allows for changing the administration rate or volume over time for both bolus and continuous feeding. An example of this would be an instruction to increase the rate of continuous feeding every 2 hours.
*/
export interface NutritionOrderEnteralFormulaAdministration extends BackboneElement {
/**
* Scheduled frequency of enteral feeding
* The time period and frequency at which the enteral formula should be delivered to the patient.
*/
schedule?: Timing | undefined;
/**
* The volume of formula to provide
* The volume of formula to provide to the patient per the specified administration schedule.
*/
quantity?: Quantity | undefined;
/**
* Speed with which the formula is provided per period of time
* The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule.
*/
rateQuantity?: Quantity | undefined;
/**
* Speed with which the formula is provided per period of time
* The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule.
*/
rateRatio?: Ratio | undefined;
}
/**
* Enteral formula components
* Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity.
*/
export interface NutritionOrderEnteralFormula extends BackboneElement {
/**
* Type of enteral or infant formula
* The type of enteral or infant formula such as an adult standard formula with fiber or a soy-based infant formula.
*/
baseFormulaType?: CodeableConcept | undefined;
/**
* Product or brand name of the enteral or infant formula
* The product or brand name of the enteral or infant formula product such as "ACME Adult Standard Formula".
*/
baseFormulaProductName?: string | undefined;
_baseFormulaProductName?: Element | undefined;
/**
* Type of modular component to add to the feeding
* Indicates the type of modular component such as protein, carbohydrate, fat or fiber to be provided in addition to or mixed with the base formula.
*/
additiveType?: CodeableConcept | undefined;
/**
* Product or brand name of the modular additive
* The product or brand name of the type of modular component to be added to the formula.
*/
additiveProductName?: string | undefined;
_additiveProductName?: Element | undefined;
/**
* Amount of energy per specified volume that is required
* The amount of energy (Calories) that the formula should provide per specified volume, typically per mL or fluid oz. For example, an infant may require a formula that provides 24 Calories per fluid ounce or an adult may require an enteral formula that provides 1.5 Calorie/mL.
*/
caloricDensity?: Quantity | undefined;
/**
* How the formula should enter the patient's gastrointestinal tract
* The route or physiological path of administration into the patient's gastrointestinal tract for purposes of providing the formula feeding, e.g. nasogastric tube.
*/
routeofAdministration?: CodeableConcept | undefined;
/**
* Formula feeding instruction as structured data
* Formula administration instructions as structured data. This repeating structure allows for changing the administration rate or volume over time for both bolus and continuous feeding. An example of this would be an instruction to increase the rate of continuous feeding every 2 hours.
*/
administration?: NutritionOrderEnteralFormulaAdministration[] | undefined;
/**
* Upper limit on formula volume per unit of time
* The maximum total quantity of formula that may be administered to a subject over the period of time, e.g. 1440 mL over 24 hours.
*/
maxVolumeToDeliver?: Quantity | undefined;
/**
* Formula feeding instructions expressed as text
* Free text formula administration, feeding instructions or additional instructions or information.
*/
administrationInstruction?: string | undefined;
_administrationInstruction?: Element | undefined;
}
/**
* Base StructureDefinition for EnrollmentResponse Resource
*/
export interface EnrollmentResponse extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'EnrollmentResponse';
/**
* Business Identifier
* The Response business identifier.
*/
identifier?: Identifier[] | undefined;
/**
* Claim reference
* Original request resource reference.
*/
request?: Reference | undefined;
/**
* complete | error
* Transaction status: error, complete.
*/
outcome?: string | undefined;
_outcome?: Element | undefined;
/**
* Disposition Message
* A description of the status of the adjudication.
*/
disposition?: string | undefined;
_disposition?: Element | undefined;
/**
* Resource version
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*/
ruleset?: Coding | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when the enclosed suite of services were performed or completed.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Insurer
* The Insurer who produced this adjudicated response.
*/
organization?: Reference | undefined;
/**
* Responsible practitioner
* The practitioner who is responsible for the services rendered to the patient.
*/
requestProvider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the services rendered to the patient.
*/
requestOrganization?: Reference | undefined;
}
/**
* Base StructureDefinition for DiagnosticOrder Resource
*/
export interface DiagnosticOrder extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'DiagnosticOrder';
/**
* Who and/or what test is about
* Who or what the investigation is to be performed on. This is usually a human patient, but diagnostic tests can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).
*/
subject: Reference | Reference | Reference | Reference;
/**
* Who ordered the test
* The practitioner that holds legal responsibility for ordering the investigation.
*/
orderer?: Reference | undefined;
/**
* Identifiers assigned to this order
* Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
*/
identifier?: Identifier[] | undefined;
/**
* The encounter that this diagnostic order is associated with
* An encounter that provides additional information about the healthcare context in which this request is made.
*/
encounter?: Reference | undefined;
/**
* Explanation/Justification for test
* An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
*/
reason?: CodeableConcept[] | undefined;
/**
* Additional clinical information
* Additional clinical information about the patient or specimen that may influence test interpretations. This includes observations explicitly requested by the producer(filler) to provide context or supporting information needed to complete the order.
*/
supportingInformation?: Reference | Reference | Reference[] | undefined;
/**
* If the whole order relates to specific specimens
* One or more specimens that the diagnostic investigation is about.
*/
specimen?: Reference[] | undefined;
/**
* proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed
* The status of the order.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* routine | urgent | stat | asap
* The clinical priority associated with this order.
*/
priority?: string | undefined;
_priority?: Element | undefined;
/**
* A list of events of interest in the lifecycle
* A summary of the events of interest that have occurred as the request is processed; e.g. when the order was made, various processing steps (specimens received), when it was completed.
*/
event?: DiagnosticOrderEvent[] | undefined;
/**
* The items the orderer requested
* The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.
*/
item?: DiagnosticOrderItem[] | undefined;
/**
* Other notes and comments
* Any other notes associated with this patient, specimen or order (e.g. "patient hates needles").
*/
note?: Annotation[] | undefined;
}
/**
* A list of events of interest in the lifecycle
* A summary of the events of interest that have occurred as the request is processed; e.g. when the order was made, various processing steps (specimens received), when it was completed.
*/
export interface DiagnosticOrderEvent extends BackboneElement {
/**
* proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed
* The status for the event.
*/
status: string;
_status?: Element | undefined;
/**
* More information about the event and its context
* Additional information about the event that occurred - e.g. if the status remained unchanged.
*/
description?: CodeableConcept | undefined;
/**
* The date at which the event happened
* The date/time at which the event occurred.
*/
dateTime: string;
_dateTime?: Element | undefined;
/**
* Who recorded or did this
* The person responsible for performing or recording the action.
*/
actor?: Reference | Reference | undefined;
}
/**
* The items the orderer requested
* The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.
*/
export interface DiagnosticOrderItem extends BackboneElement {
/**
* Code to indicate the item (test or panel) being ordered
* A code that identifies a particular diagnostic investigation, or panel of investigations, that have been requested.
*/
code: CodeableConcept;
/**
* If this item relates to specific specimens
* If the item is related to a specific specimen.
*/
specimen?: Reference[] | undefined;
/**
* Location of requested test (if applicable)
* Anatomical location where the request test should be performed. This is the target site.
*/
bodySite?: CodeableConcept | undefined;
/**
* proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed
* The status of this individual item within the order.
*/
status?: string | undefined;
_status?: Element | undefined;
}
/**
* Base StructureDefinition for Range Type
*/
export interface Range extends Element {
/**
* Low limit
* The low limit. The boundary is inclusive.
*/
low?: Quantity | undefined;
/**
* High limit
* The high limit. The boundary is inclusive.
*/
high?: Quantity | undefined;
}
/**
* Base StructureDefinition for Reference Type
*/
export interface Reference extends Element {
/**
* Relative, internal or absolute URL reference
* A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
*/
reference?: string | undefined;
_reference?: Element | undefined;
/**
* Text alternative for the resource
* Plain text narrative that identifies the resource in addition to the resource reference.
*/
display?: string | undefined;
_display?: Element | undefined;
}
/**
* Base StructureDefinition for ProcedureRequest Resource
*/
export interface ProcedureRequest extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ProcedureRequest';
/**
* Unique identifier for the request
* Identifiers assigned to this order by the order or by the receiver.
*/
identifier?: Identifier[] | undefined;
/**
* Who the procedure should be done to
* The person, animal or group that should receive the procedure.
*/
subject: Reference | Reference;
/**
* What procedure to perform
* The specific procedure that is ordered. Use text if the exact nature of the procedure cannot be coded.
*/
code: CodeableConcept;
/**
* What part of body to perform on
* Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).
*/
bodySite?: CodeableConcept[] | undefined;
/**
* Why procedure should occur
* The reason why the procedure is being proposed or ordered. This procedure request may be motivated by a Condition for instance.
*/
reasonCodeableConcept?: CodeableConcept | undefined;
/**
* Why procedure should occur
* The reason why the procedure is being proposed or ordered. This procedure request may be motivated by a Condition for instance.
*/
reasonReference?: Reference | undefined;
/**
* When procedure should occur
* The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions. E.g. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
*/
scheduledDateTime?: string | undefined;
_scheduledDateTime?: Element | undefined;
/**
* When procedure should occur
* The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions. E.g. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
*/
scheduledPeriod?: Period | undefined;
/**
* When procedure should occur
* The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions. E.g. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
*/
scheduledTiming?: Timing | undefined;
/**
* Encounter request created during
* The encounter within which the procedure proposal or request was created.
*/
encounter?: Reference | undefined;
/**
* Who should perform the procedure
* For example, the surgeon, anaethetist, endoscopist, etc.
*/
performer?: Reference | Reference | Reference | Reference | undefined;
/**
* proposed | draft | requested | received | accepted | in-progress | completed | suspended | rejected | aborted
* The status of the order.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* Additional information about desired procedure
* Any other notes associated with this proposal or order - e.g. provider instructions.
*/
notes?: Annotation[] | undefined;
/**
* Preconditions for procedure
* If a CodeableConcept is present, it indicates the pre-condition for performing the procedure.
*/
asNeededBoolean?: boolean | undefined;
_asNeededBoolean?: Element | undefined;
/**
* Preconditions for procedure
* If a CodeableConcept is present, it indicates the pre-condition for performing the procedure.
*/
asNeededCodeableConcept?: CodeableConcept | undefined;
/**
* When request was created
* The time when the request was made.
*/
orderedOn?: string | undefined;
_orderedOn?: Element | undefined;
/**
* Who made request
* The healthcare professional responsible for proposing or ordering the procedure.
*/
orderer?: Reference | Reference | Reference | Reference | undefined;
/**
* routine | urgent | stat | asap
* The clinical priority associated with this order.
*/
priority?: string | undefined;
_priority?: Element | undefined;
}
/**
* Base StructureDefinition for ImmunizationRecommendation Resource
*/
export interface ImmunizationRecommendation extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ImmunizationRecommendation';
/**
* Business identifier
* A unique identifier assigned to this particular recommendation record.
*/
identifier?: Identifier[] | undefined;
/**
* Who this profile is for
* The patient for whom the recommendations are for.
*/
patient: Reference;
/** Vaccine administration recommendations */
recommendation: ImmunizationRecommendationRecommendation[];
}
/**
* Dates governing proposed immunization
* Vaccine date recommendations. For example, earliest date to administer, latest date to administer, etc.
*/
export interface ImmunizationRecommendationRecommendationDateCriterion extends BackboneElement {
/**
* Type of date
* Date classification of recommendation. For example, earliest date to give, latest date to give, etc.
*/
code: CodeableConcept;
/**
* Recommended date
* The date whose meaning is specified by dateCriterion.code.
*/
value: string;
_value?: Element | undefined;
}
/**
* Protocol used by recommendation
* Contains information about the protocol under which the vaccine was administered.
*/
export interface ImmunizationRecommendationRecommendationProtocol extends BackboneElement {
/**
* Dose number within sequence
* Indicates the nominal position in a series of the next dose. This is the recommended dose number as per a specified protocol.
*/
doseSequence?: number | undefined;
_doseSequence?: Element | undefined;
/**
* Protocol details
* Contains the description about the protocol under which the vaccine was administered.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Who is responsible for protocol
* Indicates the authority who published the protocol. For example, ACIP.
*/
authority?: Reference | undefined;
/**
* Name of vaccination series
* One possible path to achieve presumed immunity against a disease - within the context of an authority.
*/
series?: string | undefined;
_series?: Element | undefined;
}
/**
* Vaccine administration recommendations
*/
export interface ImmunizationRecommendationRecommendation extends BackboneElement {
/**
* Date recommendation created
* The date the immunization recommendation was created.
*/
date: string;
_date?: Element | undefined;
/**
* Vaccine recommendation applies to
* Vaccine that pertains to the recommendation.
*/
vaccineCode: CodeableConcept;
/**
* Recommended dose number
* This indicates the next recommended dose number (e.g. dose 2 is the next recommended dose).
*/
doseNumber?: number | undefined;
_doseNumber?: Element | undefined;
/** Vaccine administration status */
forecastStatus: CodeableConcept;
/**
* Dates governing proposed immunization
* Vaccine date recommendations. For example, earliest date to administer, latest date to administer, etc.
*/
dateCriterion?: ImmunizationRecommendationRecommendationDateCriterion[] | undefined;
/**
* Protocol used by recommendation
* Contains information about the protocol under which the vaccine was administered.
*/
protocol?: ImmunizationRecommendationRecommendationProtocol | undefined;
/**
* Past immunizations supporting recommendation
* Immunization event history that supports the status and recommendation.
*/
supportingImmunization?: Reference[] | undefined;
/**
* Patient observations supporting recommendation
* Patient Information that supports the status and recommendation. This includes patient observations, adverse reactions and allergy/intolerance information.
*/
supportingPatientInformation?: Reference | Reference[] | undefined;
}
/**
* Base StructureDefinition for Resource Resource
*/
export interface Resource {
/** Resource Type Name (for serialization) */
readonly resourceType: string;
/**
* Logical id of this artifact
* The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
*/
id?: string | undefined;
_id?: Element | undefined;
/**
* Metadata about the resource
* The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.
*/
meta?: Meta | undefined;
/**
* A set of rules under which this content was created
* A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
*/
implicitRules?: string | undefined;
_implicitRules?: Element | undefined;
/**
* Language of the resource content
* The base language in which the resource is written.
*/
language?: string | undefined;
_language?: Element | undefined;
}
/**
* Base StructureDefinition for DomainResource Resource
*/
export interface DomainResource extends Resource {
/**
* Text summary of the resource, for human interpretation
* A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
*/
text?: Narrative | undefined;
/**
* Contained, inline Resources
* These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
*/
contained?: Resource[] | undefined;
/**
* Additional Content defined by implementations
* May be used to represent additional information that is not part of the basic definition of the resource. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
*/
extension?: Extension[] | undefined;
/**
* Extensions that cannot be ignored
* May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.
*/
modifierExtension?: Extension[] | undefined;
}
/**
* Base StructureDefinition for Slot Resource
*/
export interface Slot extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Slot';
/** External Ids for this item */
identifier?: Identifier[] | undefined;
/** The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource */
type?: CodeableConcept | undefined;
/** The schedule resource that this slot defines an interval of status information */
schedule: Reference;
/** busy | free | busy-unavailable | busy-tentative */
freeBusyType: string;
_freeBusyType?: Element | undefined;
/** Date/Time that the slot is to begin */
start: string;
_start?: Element | undefined;
/** Date/Time that the slot is to conclude */
end: string;
_end?: Element | undefined;
/** This slot has already been overbooked, appointments are unlikely to be accepted for this time */
overbooked?: boolean | undefined;
_overbooked?: Element | undefined;
/** Comments on the slot to describe any extended information. Such as custom constraints on the slot */
comment?: string | undefined;
_comment?: Element | undefined;
}
/**
* Base StructureDefinition for Coverage Resource
*/
export interface Coverage extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Coverage';
/**
* An identifier for the plan issuer
* The program or plan underwriter or payor.
*/
issuer?: Reference | undefined;
/**
* BIN Number
* Business Identification Number (BIN number) used to identify the routing of eclaims if the insurer themselves don't have a BIN number for all of their business.
*/
bin?: Identifier | undefined;
/**
* Coverage start and end dates
* Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force.
*/
period?: Period | undefined;
/**
* Type of coverage
* The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health.
*/
type?: Coding | undefined;
/**
* Subscriber ID
* The id issued to the subscriber.
*/
subscriberId?: Identifier | undefined;
/**
* The primary coverage ID
* The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID.
*/
identifier?: Identifier[] | undefined;
/**
* An identifier for the group
* Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
*/
group?: string | undefined;
_group?: Element | undefined;
/**
* An identifier for the plan
* Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.
*/
plan?: string | undefined;
_plan?: Element | undefined;
/**
* An identifier for the subsection of the plan
* Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID.
*/
subPlan?: string | undefined;
_subPlan?: Element | undefined;
/**
* The dependent number
* A unique identifier for a dependent under the coverage.
*/
dependent?: number | undefined;
_dependent?: Element | undefined;
/**
* The plan instance or sequence counter
* An optional counter for a particular instance of the identified coverage which increments upon each renewal.
*/
sequence?: number | undefined;
_sequence?: Element | undefined;
/**
* Plan holder information
* The party who 'owns' the insurance contractual relationship to the policy or to whom the benefit of the policy is due.
*/
subscriber?: Reference | undefined;
/**
* Insurer network
* The identifier for a community of providers.
*/
network?: Identifier | undefined;
/**
* Contract details
* The policy(s) which constitute this insurance coverage.
*/
contract?: Reference[] | undefined;
}
/**
* Base StructureDefinition for PaymentReconciliation Resource
*/
export interface PaymentReconciliation extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'PaymentReconciliation';
/**
* Business Identifier
* The Response business identifier.
*/
identifier?: Identifier[] | undefined;
/**
* Claim reference
* Original request resource reference.
*/
request?: Reference | undefined;
/**
* complete | error
* Transaction status: error, complete.
*/
outcome?: string | undefined;
_outcome?: Element | undefined;
/**
* Disposition Message
* A description of the status of the adjudication.
*/
disposition?: string | undefined;
_disposition?: Element | undefined;
/**
* Resource version
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*/
ruleset?: Coding | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when the enclosed suite of services were performed or completed.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Period covered
* The period of time for which payments have been gathered into this bulk payment for settlement.
*/
period?: Period | undefined;
/**
* Insurer
* The Insurer who produced this adjudicated response.
*/
organization?: Reference | undefined;
/**
* Responsible practitioner
* The practitioner who is responsible for the services rendered to the patient.
*/
requestProvider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the services rendered to the patient.
*/
requestOrganization?: Reference | undefined;
/**
* Details
* List of individual settlement amounts and the corresponding transaction.
*/
detail?: PaymentReconciliationDetail[] | undefined;
/**
* Printed Form Identifier
* The form to be used for printing the content.
*/
form?: Coding | undefined;
/**
* Total amount of Payment
* Total payment amount.
*/
total: Quantity;
/**
* Note text
* Suite of notes.
*/
note?: PaymentReconciliationNote[] | undefined;
}
/**
* Details
* List of individual settlement amounts and the corresponding transaction.
*/
export interface PaymentReconciliationDetail extends BackboneElement {
/**
* Type code
* Code to indicate the nature of the payment, adjustment, funds advance, etc.
*/
type: Coding;
/**
* Claim
* The claim or financial resource.
*/
request?: Reference | undefined;
/**
* Claim Response
* The claim response resource.
*/
responce?: Reference | undefined;
/**
* Submitter
* The Organization which submitted the invoice or financial transaction.
*/
submitter?: Reference | undefined;
/**
* Payee
* The organization which is receiving the payment.
*/
payee?: Reference | undefined;
/**
* Invoice date
* The date of the invoice or financial resource.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Detail amount
* Amount paid for this detail.
*/
amount?: Quantity | undefined;
}
/**
* Note text
* Suite of notes.
*/
export interface PaymentReconciliationNote extends BackboneElement {
/**
* display | print | printoper
* The note purpose: Print/Display.
*/
type?: Coding | undefined;
/**
* Notes text
* The note text.
*/
text?: string | undefined;
_text?: Element | undefined;
}
/**
* Base StructureDefinition for SearchParameter Resource
*/
export interface SearchParameter extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'SearchParameter';
/**
* Absolute URL used to reference this search parameter
* An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published.
*/
url: string;
_url?: Element | undefined;
/**
* Informal name for this search parameter
* A free text natural language name identifying the search parameter.
*/
name: string;
_name?: Element | undefined;
/**
* draft | active | retired
* The status of this search parameter definition.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* If for testing purposes, not real usage
* A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.
*/
experimental?: boolean | undefined;
_experimental?: Element | undefined;
/**
* Name of the publisher (Organization or individual)
* The name of the individual or organization that published the search parameter.
*/
publisher?: string | undefined;
_publisher?: Element | undefined;
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
contact?: SearchParameterContact[] | undefined;
/**
* Publication Date(/time)
* The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Why this search parameter is defined
* The Scope and Usage that this search parameter was created to meet.
*/
requirements?: string | undefined;
_requirements?: Element | undefined;
/**
* Code used in URL
* The code used in the URL or the parameter name in a parameters resource for this search parameter.
*/
code: string;
_code?: Element | undefined;
/**
* The resource type this search parameter applies to
* The base resource type that this search parameter refers to.
*/
base: string;
_base?: Element | undefined;
/**
* number | date | string | token | reference | composite | quantity | uri
* The type of value a search parameter refers to, and how the content is interpreted.
*/
type: string;
_type?: Element | undefined;
/**
* Documentation for search parameter
* A description of the search parameters and how it used.
*/
description: string;
_description?: Element | undefined;
/**
* XPath that extracts the values
* An XPath expression that returns a set of elements for the search parameter.
*/
xpath?: string | undefined;
_xpath?: Element | undefined;
/**
* normal | phonetic | nearby | distance | other
* How the search parameter relates to the set of elements returned by evaluating the xpath query.
*/
xpathUsage?: string | undefined;
_xpathUsage?: Element | undefined;
/**
* Types of resource (if a resource reference)
* Types of resource (if a resource is referenced).
*/
target?: string[] | undefined;
_target?: Element[] | undefined;
}
/**
* Contact details of the publisher
* Contacts to assist a user in finding and communicating with the publisher.
*/
export interface SearchParameterContact extends BackboneElement {
/**
* Name of a individual to contact
* The name of an individual to contact regarding the search parameter.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* Contact details for individual or publisher
* Contact details for individual (if a name was provided) or the publisher.
*/
telecom?: ContactPoint[] | undefined;
}
/**
* Base StructureDefinition for Narrative Type
*/
export interface Narrative extends Element {
/**
* generated | extensions | additional | empty
* The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.
*/
status: string;
_status?: Element | undefined;
/**
* Limited xhtml content
* The actual narrative content, a stripped down version of XHTML.
*/
div: string;
_div?: Element | undefined;
}
/**
* Base StructureDefinition for MedicationStatement Resource
*/
export interface MedicationStatement extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'MedicationStatement';
/**
* External identifier
* External identifier - FHIR will generate its own internal identifiers (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated.
*/
identifier?: Identifier[] | undefined;
/**
* Who is/was taking the medication
* The person or animal who is/was taking the medication.
*/
patient: Reference;
/** The person who provided the information about the taking of this medication. */
informationSource?: Reference | Reference | Reference | undefined;
/**
* When the statement was asserted?
* The date when the medication statement was asserted by the information source.
*/
dateAsserted?: string | undefined;
_dateAsserted?: Element | undefined;
/**
* active | completed | entered-in-error | intended
* A code representing the patient or other source's judgment about the state of the medication used that this statement is about. Generally this will be active or completed.
*/
status: string;
_status?: Element | undefined;
/**
* True if medication is/was not being taken
* Set this to true if the record is saying that the medication was NOT taken.
*/
wasNotTaken?: boolean | undefined;
_wasNotTaken?: Element | undefined;
/**
* True if asserting medication was not given
* A code indicating why the medication was not taken.
*/
reasonNotTaken?: CodeableConcept[] | undefined;
/** A reason for why the medication is being/was taken. */
reasonForUseCodeableConcept?: CodeableConcept | undefined;
/** A reason for why the medication is being/was taken. */
reasonForUseReference?: Reference | undefined;
/**
* Over what period was medication consumed?
* The interval of time during which it is being asserted that the patient was taking the medication (or was not taking, when the wasNotGiven element is true).
*/
effectiveDateTime?: string | undefined;
_effectiveDateTime?: Element | undefined;
/**
* Over what period was medication consumed?
* The interval of time during which it is being asserted that the patient was taking the medication (or was not taking, when the wasNotGiven element is true).
*/
effectivePeriod?: Period | undefined;
/**
* Further information about the statement
* Provides extra information about the medication statement that is not conveyed by the other attributes.
*/
note?: string | undefined;
_note?: Element | undefined;
/**
* Additional supporting information
* Allows linking the MedicationStatement to the underlying MedicationOrder, or to other information that supports the MedicationStatement.
*/
supportingInformation?: Reference[] | undefined;
/**
* What medication was taken
* 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.
*/
medicationCodeableConcept?: CodeableConcept | undefined;
/**
* What medication was taken
* 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.
*/
medicationReference?: Reference | undefined;
/**
* Details of how medication was taken
* Indicates how the medication is/was used by the patient.
*/
dosage?: MedicationStatementDosage[] | undefined;
}
/**
* Details of how medication was taken
* Indicates how the medication is/was used by the patient.
*/
export interface MedicationStatementDosage extends BackboneElement {
/**
* Reported dosage information
* Free text dosage information as reported about a patient's medication use. When coded dosage information is present, the free text may still be present for display to humans.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* When/how often was medication taken
* The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
*/
timing?: Timing | undefined;
/**
* Take "as needed" (for x)
* 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). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.
*/
asNeededBoolean?: boolean | undefined;
_asNeededBoolean?: Element | undefined;
/**
* Take "as needed" (for x)
* 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). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.
*/
asNeededCodeableConcept?: CodeableConcept | undefined;
/**
* Where (on body) medication is/was administered
* A coded specification of or a reference to the anatomic site where the medication first enters the body.
*/
siteCodeableConcept?: CodeableConcept | undefined;
/**
* Where (on body) medication is/was administered
* A coded specification of or a reference to the anatomic site where the medication first enters the body.
*/
siteReference?: Reference | undefined;
/**
* How the medication entered the body
* A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject.
*/
route?: CodeableConcept | undefined;
/**
* Technique used to administer medication
* A coded value indicating the method by which the medication is intended to be or was introduced into or on the body. This attribute will most often NOT be populated. It is most commonly used for injections. For example, Slow Push, Deep IV.
*/
method?: CodeableConcept | undefined;
/**
* Amount administered in one dose
* The amount of therapeutic or other substance given at one administration event.
*/
quantityQuantity?: Quantity | undefined;
/**
* Amount administered in one dose
* The amount of therapeutic or other substance given at one administration event.
*/
quantityRange?: Range | undefined;
/**
* Dose quantity per unit of time
* 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. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.
*/
rateRatio?: Ratio | undefined;
/**
* Dose quantity per unit of time
* 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. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.
*/
rateRange?: Range | undefined;
/**
* Maximum dose that was consumed per unit of time
* The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.
*/
maxDosePerPeriod?: Ratio | undefined;
}
/**
* An amount of money. With regard to precision, see [Decimal Precision](datatypes.html#precision)
*/
export interface Money extends Quantity {
}
/**
* Base StructureDefinition for Schedule Resource
*/
export interface Schedule extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Schedule';
/** External Ids for this item */
identifier?: Identifier[] | undefined;
/** The schedule type can be used for the categorization of healthcare services or other appointment types */
type?: CodeableConcept[] | undefined;
/** The resource this Schedule resource is providing availability information for. These are expected to usually be one of HealthcareService, Location, Practitioner, Device, Patient or RelatedPerson */
actor: Reference | Reference | Reference | Reference | Reference | Reference;
/** The period of time that the slots that are attached to this Schedule resource cover (even if none exist). These cover the amount of time that an organization's planning horizon; the interval for which they are currently accepting appointments. This does not define a "template" for planning outside these dates */
planningHorizon?: Period | undefined;
/** Comments on the availability to describe any extended information. Such as custom constraints on the slot(s) that may be associated */
comment?: string | undefined;
_comment?: Element | undefined;
}
/**
* A measure of distance
*/
export interface Distance extends Quantity {
}
/**
* Base StructureDefinition for Person Resource
*/
export interface Person extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Person';
/**
* A human identifier for this person
* Identifier for a person within a particular scope.
*/
identifier?: Identifier[] | undefined;
/** A name associated with the person */
name?: HumanName[] | undefined;
/**
* A contact detail for the person
* A contact detail for the person, e.g. a telephone number or an email address.
*/
telecom?: ContactPoint[] | undefined;
/**
* male | female | other | unknown
* Administrative Gender.
*/
gender?: string | undefined;
_gender?: Element | undefined;
/**
* The date on which the person was born
* The birth date for the person.
*/
birthDate?: string | undefined;
_birthDate?: Element | undefined;
/** One or more addresses for the person */
address?: Address[] | undefined;
/**
* Image of the person
* An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.
*/
photo?: Attachment | undefined;
/** The organization that is the custodian of the person record */
managingOrganization?: Reference | undefined;
/**
* This person's record is in active use
* Whether this person's record is in active use.
*/
active?: boolean | undefined;
_active?: Element | undefined;
/** Link to a resource that concerns the same actual person */
link?: PersonLink[] | undefined;
}
/**
* Link to a resource that concerns the same actual person
*/
export interface PersonLink extends BackboneElement {
/** The resource to which this actual person is associated */
target: Reference | Reference | Reference | Reference;
/**
* level1 | level2 | level3 | level4
* Level of assurance that this link is actually associated with the target resource.
*/
assurance?: string | undefined;
_assurance?: Element | undefined;
}
/**
* Base StructureDefinition for ImagingObjectSelection Resource
*/
export interface ImagingObjectSelection extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ImagingObjectSelection';
/**
* Instance UID
* Instance UID of the DICOM KOS SOP Instances represented in this resource.
*/
uid: string;
_uid?: Element | undefined;
/**
* Patient of the selected objects
* A patient resource reference which is the patient subject of all DICOM SOP Instances in this ImagingObjectSelection.
*/
patient: Reference;
/**
* Reason for selection
* The reason for, or significance of, the selection of objects referenced in the resource.
*/
title: CodeableConcept;
/**
* Description text
* Text description of the DICOM SOP instances selected in the ImagingObjectSelection. This should be aligned with the content of the title element, and can provide further explanation of the SOP instances in the selection.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Author (human or machine)
* Author of ImagingObjectSelection. It can be a human author or a device which made the decision of the SOP instances selected. For example, a radiologist selected a set of imaging SOP instances to attach in a diagnostic report, and a CAD application may author a selection to describe SOP instances it used to generate a detection conclusion.
*/
author?: Reference | Reference | Reference | Reference | Reference | undefined;
/**
* Authoring time of the selection
* Date and time when the selection of the referenced instances were made. It is (typically) different from the creation date of the selection resource, and from dates associated with the referenced instances (e.g. capture time of the referenced image).
*/
authoringTime?: string | undefined;
_authoringTime?: Element | undefined;
/**
* Study identity of the selected instances
* Study identity and locating information of the DICOM SOP instances in the selection.
*/
study: ImagingObjectSelectionStudy[];
}
/**
* The frame set
* Identity and location information of the frames in the selected instance.
*/
export interface ImagingObjectSelectionStudySeriesInstanceFrames extends BackboneElement {
/**
* Frame numbers
* The frame numbers in the frame set.
*/
frameNumbers: number[];
_frameNumbers?: Element[] | undefined;
/**
* Retrieve frame URL
* WADO-RS URL to retrieve the DICOM frames.
*/
url: string;
_url?: Element | undefined;
}
/**
* The selected instance
* Identity and locating information of the selected DICOM SOP instances.
*/
export interface ImagingObjectSelectionStudySeriesInstance extends BackboneElement {
/**
* SOP class UID of instance
* SOP class UID of the selected instance.
*/
sopClass: string;
_sopClass?: Element | undefined;
/**
* Selected instance UID
* SOP Instance UID of the selected instance.
*/
uid: string;
_uid?: Element | undefined;
/**
* Retrieve instance URL
* WADO-RS URL to retrieve the DICOM SOP Instance.
*/
url: string;
_url?: Element | undefined;
/**
* The frame set
* Identity and location information of the frames in the selected instance.
*/
frames?: ImagingObjectSelectionStudySeriesInstanceFrames[] | undefined;
}
/**
* Series identity of the selected instances
* Series identity and locating information of the DICOM SOP instances in the selection.
*/
export interface ImagingObjectSelectionStudySeries extends BackboneElement {
/**
* Series instance UID
* Series instance UID of the SOP instances in the selection.
*/
uid?: string | undefined;
_uid?: Element | undefined;
/**
* Retrieve series URL
* WADO-RS URL to retrieve the series. Note that this URL retrieves all SOP instances of the series not only those in the selection.
*/
url?: string | undefined;
_url?: Element | undefined;
/**
* The selected instance
* Identity and locating information of the selected DICOM SOP instances.
*/
instance: ImagingObjectSelectionStudySeriesInstance[];
}
/**
* Study identity of the selected instances
* Study identity and locating information of the DICOM SOP instances in the selection.
*/
export interface ImagingObjectSelectionStudy extends BackboneElement {
/**
* Study instance UID
* Study instance UID of the SOP instances in the selection.
*/
uid: string;
_uid?: Element | undefined;
/**
* Retrieve study URL
* WADO-RS URL to retrieve the study. Note that this URL retrieves all SOP instances of the study, not only those in the selection.
*/
url?: string | undefined;
_url?: Element | undefined;
/**
* Reference to ImagingStudy
* Reference to the Imaging Study in FHIR form.
*/
imagingStudy?: Reference | undefined;
/**
* Series identity of the selected instances
* Series identity and locating information of the DICOM SOP instances in the selection.
*/
series: ImagingObjectSelectionStudySeries[];
}
/**
* Base StructureDefinition for AllergyIntolerance Resource
*/
export interface AllergyIntolerance extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'AllergyIntolerance';
/**
* External ids for this item
* This records identifiers associated with this allergy/intolerance concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
*/
identifier?: Identifier[] | undefined;
/**
* Date(/time) when manifestations showed
* Record of the date and/or time of the onset of the Allergy or Intolerance.
*/
onset?: string | undefined;
_onset?: Element | undefined;
/**
* When recorded
* Date when the sensitivity was recorded.
*/
recordedDate?: string | undefined;
_recordedDate?: Element | undefined;
/**
* Who recorded the sensitivity
* Individual who recorded the record and takes responsibility for its conten.
*/
recorder?: Reference | Reference | undefined;
/**
* Who the sensitivity is for
* The patient who has the allergy or intolerance.
*/
patient: Reference;
/**
* Source of the information about the allergy
* The source of the information about the allergy that is recorded.
*/
reporter?: Reference | Reference | Reference | undefined;
/**
* Substance, (or class) considered to be responsible for risk
* Identification of a substance, or a class of substances, that is considered to be responsible for the adverse reaction risk.
*/
substance: CodeableConcept;
/**
* active | unconfirmed | confirmed | inactive | resolved | refuted | entered-in-error
* Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified Substance.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* CRITL | CRITH | CRITU
* Estimate of the potential clinical harm, or seriousness, of the reaction to the identified Substance.
*/
criticality?: string | undefined;
_criticality?: Element | undefined;
/**
* allergy | intolerance - Underlying mechanism (if known)
* Identification of the underlying physiological mechanism for the reaction risk.
*/
type?: string | undefined;
_type?: Element | undefined;
/**
* food | medication | environment | other - Category of Substance
* Category of the identified Substance.
*/
category?: string | undefined;
_category?: Element | undefined;
/**
* Date(/time) of last known occurrence of a reaction
* Represents the date and/or time of the last known occurrence of a reaction event.
*/
lastOccurence?: string | undefined;
_lastOccurence?: Element | undefined;
/**
* Additional text not captured in other fields
* Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.
*/
note?: Annotation | undefined;
/**
* Adverse Reaction Events linked to exposure to substance
* Details about each adverse reaction event linked to exposure to the identified Substance.
*/
reaction?: AllergyIntoleranceReaction[] | undefined;
}
/**
* Adverse Reaction Events linked to exposure to substance
* Details about each adverse reaction event linked to exposure to the identified Substance.
*/
export interface AllergyIntoleranceReaction extends BackboneElement {
/**
* Specific substance considered to be responsible for event
* Identification of the specific substance considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different to the substance identified as the cause of the risk, but must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite substance that includes the identified substance. It must be clinically safe to only process the AllergyIntolerance.substance and ignore the AllergyIntolerance.event.substance.
*/
substance?: CodeableConcept | undefined;
/**
* unlikely | likely | confirmed - clinical certainty about the specific substance
* Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.
*/
certainty?: string | undefined;
_certainty?: Element | undefined;
/**
* Clinical symptoms/signs associated with the Event
* Clinical symptoms and/or signs that are observed or associated with the adverse reaction event.
*/
manifestation: CodeableConcept[];
/**
* Description of the event as a whole
* Text description about the reaction as a whole, including details of the manifestation if required.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Date(/time) when manifestations showed
* Record of the date and/or time of the onset of the Reaction.
*/
onset?: string | undefined;
_onset?: Element | undefined;
/**
* mild | moderate | severe (of event as a whole)
* Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.
*/
severity?: string | undefined;
_severity?: Element | undefined;
/**
* How the subject was exposed to the substance
* Identification of the route by which the subject was exposed to the substance.
*/
exposureRoute?: CodeableConcept | undefined;
/**
* Text about event not captured in other fields
* Additional text about the adverse reaction event not captured in other fields.
*/
note?: Annotation | undefined;
}
/**
* Base StructureDefinition for ClinicalImpression Resource
*/
export interface ClinicalImpression extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ClinicalImpression';
/** The patient being assessed */
patient: Reference;
/** The clinician performing the assessment */
assessor?: Reference | undefined;
/**
* in-progress | completed | entered-in-error
* Identifies the workflow status of the assessment.
*/
status: string;
_status?: Element | undefined;
/**
* When the assessment occurred
* The point in time at which the assessment was concluded (not when it was recorded).
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Why/how the assessment was performed
* A summary of the context and/or cause of the assessment - why / where was it peformed, and what patient events/sstatus prompted it.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Reference to last assessment
* A reference to the last assesment that was conducted bon this patient. Assessments are often/usually ongoing in nature; a care provider (practitioner or team) will make new assessments on an ongoing basis as new data arises or the patient's conditions changes.
*/
previous?: Reference | undefined;
/**
* General assessment of patient state
* This a list of the general problems/conditions for a patient.
*/
problem?: Reference | Reference[] | undefined;
/**
* Request or event that necessitated this assessment
* The request or event that necessitated this assessment. This may be a diagnosis, a Care Plan, a Request Referral, or some other resource.
*/
triggerCodeableConcept?: CodeableConcept | undefined;
/**
* Request or event that necessitated this assessment
* The request or event that necessitated this assessment. This may be a diagnosis, a Care Plan, a Request Referral, or some other resource.
*/
triggerReference?: Reference | undefined;
/**
* One or more sets of investigations (signs, symptions, etc.)
* One or more sets of investigations (signs, symptions, etc.). The actual grouping of investigations vary greatly depending on the type and context of the assessment. These investigations may include data generated during the assessment process, or data previously generated and recorded that is pertinent to the outcomes.
*/
investigations?: ClinicalImpressionInvestigations[] | undefined;
/**
* Clinical Protocol followed
* Reference to a specific published clinical protocol that was followed during this assessment, and/or that provides evidence in support of the diagnosis.
*/
protocol?: string | undefined;
_protocol?: Element | undefined;
/**
* Summary of the assessment
* A text summary of the investigations and the diagnosis.
*/
summary?: string | undefined;
_summary?: Element | undefined;
/**
* Possible or likely findings and diagnoses
* Specific findings or diagnoses that was considered likely or relevant to ongoing treatment.
*/
finding?: ClinicalImpressionFinding[] | undefined;
/**
* Diagnoses/conditions resolved since previous assessment
* Diagnoses/conditions resolved since the last assessment.
*/
resolved?: CodeableConcept[] | undefined;
/** Diagnosis considered not possible */
ruledOut?: ClinicalImpressionRuledOut[] | undefined;
/** Estimate of likely outcome */
prognosis?: string | undefined;
_prognosis?: Element | undefined;
/** Plan of action after assessment */
plan?: Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference[] | undefined;
/** Actions taken during assessment */
action?: Reference | Reference | Reference | Reference | Reference | Reference | Reference | Reference[] | undefined;
}
/**
* One or more sets of investigations (signs, symptions, etc.)
* One or more sets of investigations (signs, symptions, etc.). The actual grouping of investigations vary greatly depending on the type and context of the assessment. These investigations may include data generated during the assessment process, or data previously generated and recorded that is pertinent to the outcomes.
*/
export interface ClinicalImpressionInvestigations extends BackboneElement {
/**
* A name/code for the set
* A name/code for the group ("set") of investigations. Typically, this will be something like "signs", "symptoms", "clinical", "diagnostic", but the list is not constrained, and others such groups such as (exposure|family|travel|nutitirional) history may be used.
*/
code: CodeableConcept;
/**
* Record of a specific investigation
* A record of a specific investigation that was undertaken.
*/
item?: Reference | Reference | Reference | Reference[] | undefined;
}
/**
* Possible or likely findings and diagnoses
* Specific findings or diagnoses that was considered likely or relevant to ongoing treatment.
*/
export interface ClinicalImpressionFinding extends BackboneElement {
/**
* Specific text or code for finding
* Specific text of code for finding or diagnosis.
*/
item: CodeableConcept;
/**
* Which investigations support finding
* Which investigations support finding or diagnosis.
*/
cause?: string | undefined;
_cause?: Element | undefined;
}
/**
* Diagnosis considered not possible
*/
export interface ClinicalImpressionRuledOut extends BackboneElement {
/** Specific text of code for diagnosis */
item: CodeableConcept;
/** Grounds for elimination */
reason?: string | undefined;
_reason?: Element | undefined;
}
/**
* Base StructureDefinition for Subscription Resource
*/
export interface Subscription extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Subscription';
/**
* Rule for server push criteria
* The rules that the server should use to determine when to generate notifications for this subscription.
*/
criteria: string;
_criteria?: Element | undefined;
/**
* Contact details for source (e.g. troubleshooting)
* Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.
*/
contact?: ContactPoint[] | undefined;
/**
* Description of why this subscription was created
* A description of why this subscription is defined.
*/
reason: string;
_reason?: Element | undefined;
/**
* requested | active | error | off
* The status of the subscription, which marks the server state for managing the subscription.
*/
status: string;
_status?: Element | undefined;
/**
* Latest error note
* A record of the last error that occurred when the server processed a notification.
*/
error?: string | undefined;
_error?: Element | undefined;
/**
* The channel on which to report matches to the criteria
* Details where to send notifications when resources are received that meet the criteria.
*/
channel: SubscriptionChannel;
/**
* When to automatically delete the subscription
* The time for the server to turn the subscription off.
*/
end?: string | undefined;
_end?: Element | undefined;
/**
* A tag to add to matching resources
* A tag to add to any resource that matches the criteria, after the subscription is processed.
*/
tag?: Coding[] | undefined;
}
/**
* The channel on which to report matches to the criteria
* Details where to send notifications when resources are received that meet the criteria.
*/
export interface SubscriptionChannel extends BackboneElement {
/**
* rest-hook | websocket | email | sms | message
* The type of channel to send notifications on.
*/
type: string;
_type?: Element | undefined;
/**
* Where the channel points to
* The uri that describes the actual end-point to send messages to.
*/
endpoint?: string | undefined;
_endpoint?: Element | undefined;
/**
* Mimetype to send, or blank for no payload
* The mime type to send the payload in - either application/xml+fhir, or application/json+fhir. If the mime type is blank, then there is no payload in the notification, just a notification.
*/
payload: string;
_payload?: Element | undefined;
/**
* Usage depends on the channel type
* Additional headers / information to send as part of the notification.
*/
header?: string | undefined;
_header?: Element | undefined;
}
/**
* Base StructureDefinition for Device Resource
*/
export interface Device extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Device';
/**
* Instance id from manufacturer, owner, and others
* Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
*/
identifier?: Identifier[] | undefined;
/**
* What kind of device this is
* Code or identifier to identify a kind of device.
*/
type: CodeableConcept;
/**
* Device notes and comments
* Descriptive information, usage information or implantation information that is not captured in an existing element.
*/
note?: Annotation[] | undefined;
/**
* available | not-available | entered-in-error
* Status of the Device availability.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* Name of device manufacturer
* A name of the manufacturer.
*/
manufacturer?: string | undefined;
_manufacturer?: Element | undefined;
/**
* Model id assigned by the manufacturer
* The "model" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
*/
model?: string | undefined;
_model?: Element | undefined;
/**
* Version number (i.e. software)
* The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
*/
version?: string | undefined;
_version?: Element | undefined;
/**
* Manufacture date
* The date and time when the device was manufactured.
*/
manufactureDate?: string | undefined;
_manufactureDate?: Element | undefined;
/**
* Date and time of expiry of this device (if applicable)
* The date and time beyond which this device is no longer valid or should not be used (if applicable).
*/
expiry?: string | undefined;
_expiry?: Element | undefined;
/**
* FDA mandated Unique Device Identifier
* United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm.
*/
udi?: string | undefined;
_udi?: Element | undefined;
/**
* Lot number of manufacture
* Lot number assigned by the manufacturer.
*/
lotNumber?: string | undefined;
_lotNumber?: Element | undefined;
/**
* Organization responsible for device
* An organization that is responsible for the provision and ongoing maintenance of the device.
*/
owner?: Reference | undefined;
/**
* Where the resource is found
* The place where the device can be found.
*/
location?: Reference | undefined;
/**
* If the resource is affixed to a person
* Patient information, if the resource is affixed to a person.
*/
patient?: Reference | undefined;
/**
* Details for human/organization for support
* Contact details for an organization or a particular human that is responsible for the device.
*/
contact?: ContactPoint[] | undefined;
/**
* Network address to contact device
* A network address on which the device may be contacted directly.
*/
url?: string | undefined;
_url?: Element | undefined;
}
/**
* Base StructureDefinition for SampledData Type
*/
export interface SampledData extends Element {
/**
* Zero value and units
* The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.
*/
origin: Quantity;
/**
* Number of milliseconds between samples
* The length of time between sampling times, measured in milliseconds.
*/
period: number;
_period?: Element | undefined;
/**
* Multiply data by this before adding to origin
* A correction factor that is applied to the sampled data points before they are added to the origin.
*/
factor?: number | undefined;
_factor?: Element | undefined;
/**
* Lower limit of detection
* The lower limit of detection of the measured points. This is needed if any of the data points have the value "L" (lower than detection limit).
*/
lowerLimit?: number | undefined;
_lowerLimit?: Element | undefined;
/**
* Upper limit of detection
* The upper limit of detection of the measured points. This is needed if any of the data points have the value "U" (higher than detection limit).
*/
upperLimit?: number | undefined;
_upperLimit?: Element | undefined;
/**
* Number of sample points at each time point
* The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once.
*/
dimensions: number;
_dimensions?: Element | undefined;
/**
* Decimal values with spaces, or "E" | "U" | "L"
* A series of data points which are decimal values separated by a single space (character u20). The special values "E" (error), "L" (below detection limit) and "U" (above detection limit) can also be used in place of a decimal value.
*/
data: string;
_data?: Element | undefined;
}
/**
* Base StructureDefinition for Communication Resource
*/
export interface Communication extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Communication';
/**
* Unique identifier
* Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
*/
identifier?: Identifier[] | undefined;
/**
* Message category
* The type of message conveyed such as alert, notification, reminder, instruction, etc.
*/
category?: CodeableConcept | undefined;
/**
* Message sender
* The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.
*/
sender?: Reference | Reference | Reference | Reference | Reference | undefined;
/**
* Message recipient
* The entity (e.g. person, organization, clinical information system, or device) which was the target of the communication. If receipts need to be tracked by individual, a separate resource instance will need to be created for each recipient. Multiple recipient communications are intended where either a receipt(s) is not tracked (e.g. a mass mail-out) or is captured in aggregate (all emails confirmed received by a particular time).
*/
recipient?: Reference | Reference | Reference | Reference | Reference | Reference[] | undefined;
/**
* Message payload
* Text, attachment(s), or resource(s) that was communicated to the recipient.
*/
payload?: CommunicationPayload[] | undefined;
/**
* A channel of communication
* A channel that was used for this communication (e.g. email, fax).
*/
medium?: CodeableConcept[] | undefined;
/**
* in-progress | completed | suspended | rejected | failed
* The status of the transmission.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* Encounter leading to message
* The encounter within which the communication was sent.
*/
encounter?: Reference | undefined;
/**
* When sent
* The time when this communication was sent.
*/
sent?: string | undefined;
_sent?: Element | undefined;
/**
* When received
* The time when this communication arrived at the destination.
*/
received?: string | undefined;
_received?: Element | undefined;
/**
* Indication for message
* The reason or justification for the communication.
*/
reason?: CodeableConcept[] | undefined;
/**
* Focus of message
* The patient who was the focus of this communication.
*/
subject?: Reference | undefined;
/**
* CommunicationRequest producing this message
* The communication request that was responsible for producing this communication.
*/
requestDetail?: Reference | undefined;
}
/**
* Message payload
* Text, attachment(s), or resource(s) that was communicated to the recipient.
*/
export interface CommunicationPayload extends BackboneElement {
/**
* Message part content
* A communicated content (or for multi-part communications, one portion of the communication).
*/
contentString?: string | undefined;
_contentString?: Element | undefined;
/**
* Message part content
* A communicated content (or for multi-part communications, one portion of the communication).
*/
contentAttachment?: Attachment | undefined;
/**
* Message part content
* A communicated content (or for multi-part communications, one portion of the communication).
*/
contentReference?: Reference | undefined;
}
/**
* A duration (length of time) with a UCUM code
*/
export interface Age extends Quantity {
}
/**
* Base StructureDefinition for CodeableConcept Type
*/
export interface CodeableConcept extends Element {
/**
* Code defined by a terminology system
* A reference to a code defined by a terminology system.
*/
coding?: Coding[] | undefined;
/**
* Plain text representation of the concept
* A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
*/
text?: string | undefined;
_text?: Element | undefined;
}
/**
* Base StructureDefinition for ReferralRequest Resource
*/
export interface ReferralRequest extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'ReferralRequest';
/**
* draft | requested | active | cancelled | accepted | rejected | completed
* The workflow status of the referral or transfer of care request.
*/
status: string;
_status?: Element | undefined;
/**
* Business identifier
* Business identifier that uniquely identifies the referral/care transfer request instance.
*/
identifier?: Identifier[] | undefined;
/**
* Date of creation/activation
* Date/DateTime of creation for draft requests and date of activation for active requests.
*/
date?: string | undefined;
_date?: Element | undefined;
/**
* Referral/Transition of care request type
* An indication of the type of referral (or where applicable the type of transfer of care) request.
*/
type?: CodeableConcept | undefined;
/**
* The clinical specialty (discipline) that the referral is requested for
* Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. For example: Cardiology Gastroenterology Diabetology.
*/
specialty?: CodeableConcept | undefined;
/**
* Urgency of referral / transfer of care request
* An indication of the urgency of referral (or where applicable the type of transfer of care) request.
*/
priority?: CodeableConcept | undefined;
/**
* Patient referred to care or transfer
* The patient who is the subject of a referral or transfer of care request.
*/
patient?: Reference | undefined;
/**
* Requester of referral / transfer of care
* The healthcare provider or provider organization who/which initiated the referral/transfer of care request. Can also be Patient (a self referral).
*/
requester?: Reference | Reference | Reference | undefined;
/**
* Receiver of referral / transfer of care request
* The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request.
*/
recipient?: Reference | Reference[] | undefined;
/**
* Originating encounter
* The encounter at which the request for referral or transfer of care is initiated.
*/
encounter?: Reference | undefined;
/**
* Date referral/transfer of care request is sent
* Date/DateTime the request for referral or transfer of care is sent by the author.
*/
dateSent?: string | undefined;
_dateSent?: Element | undefined;
/**
* Reason for referral / transfer of care request
* Description of clinical condition indicating why referral/transfer of care is requested. For example: Pathological Anomalies, Disabled (physical or mental), Behavioral Management.
*/
reason?: CodeableConcept | undefined;
/**
* A textual description of the referral
* The reason element gives a short description of why the referral is being made, the description expands on this to support a more complete clinical summary.
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Actions requested as part of the referral
* The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion.
*/
serviceRequested?: CodeableConcept[] | undefined;
/**
* Additonal information to support referral or transfer of care request
* Any additional (administrative, financial or clinical) information required to support request for referral or transfer of care. For example: Presenting problems/chief complaints Medical History Family History Alerts Allergy/Intolerance and Adverse Reactions Medications Observations/Assessments (may include cognitive and fundtional assessments) Diagnostic Reports Care Plan.
*/
supportingInformation?: Reference[] | undefined;
/**
* Requested service(s) fulfillment time
* The period of time within which the services identified in the referral/transfer of care is specified or required to occur.
*/
fulfillmentTime?: Period | undefined;
}
/**
* Base StructureDefinition for Practitioner Resource
*/
export interface Practitioner extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Practitioner';
/**
* A identifier for the person as this agent
* An identifier that applies to this person in this role.
*/
identifier?: Identifier[] | undefined;
/** Whether this practitioner's record is in active use */
active?: boolean | undefined;
_active?: Element | undefined;
/** A name associated with the person */
name?: HumanName | undefined;
/**
* A contact detail for the practitioner
* A contact detail for the practitioner, e.g. a telephone number or an email address.
*/
telecom?: ContactPoint[] | undefined;
/**
* Where practitioner can be found/visited
* The postal address where the practitioner can be found or visited or to which mail can be delivered.
*/
address?: Address[] | undefined;
/**
* male | female | other | unknown
* Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
*/
gender?: string | undefined;
_gender?: Element | undefined;
/**
* The date on which the practitioner was born
* The date of birth for the practitioner.
*/
birthDate?: string | undefined;
_birthDate?: Element | undefined;
/** Image of the person */
photo?: Attachment[] | undefined;
/**
* Roles/organizations the practitioner is associated with
* The list of roles/organizations that the practitioner is associated with.
*/
practitionerRole?: PractitionerPractitionerRole[] | undefined;
/** Qualifications obtained by training and certification */
qualification?: PractitionerQualification[] | undefined;
/** A language the practitioner is able to use in patient communication */
communication?: CodeableConcept[] | undefined;
}
/**
* Roles/organizations the practitioner is associated with
* The list of roles/organizations that the practitioner is associated with.
*/
export interface PractitionerPractitionerRole extends BackboneElement {
/**
* Organization where the roles are performed
* The organization where the Practitioner performs the roles associated.
*/
managingOrganization?: Reference | undefined;
/**
* Roles which this practitioner may perform
* Roles which this practitioner is authorized to perform for the organization.
*/
role?: CodeableConcept | undefined;
/** Specific specialty of the practitioner */
specialty?: CodeableConcept[] | undefined;
/**
* The period during which the practitioner is authorized to perform in these role(s)
* The period during which the person is authorized to act as a practitioner in these role(s) for the organization.
*/
period?: Period | undefined;
/** The location(s) at which this practitioner provides care */
location?: Reference[] | undefined;
/** The list of healthcare services that this worker provides for this role's Organization/Location(s) */
healthcareService?: Reference[] | undefined;
}
/**
* Qualifications obtained by training and certification
*/
export interface PractitionerQualification extends BackboneElement {
/**
* An identifier for this qualification for the practitioner
* An identifier that applies to this person's qualification in this role.
*/
identifier?: Identifier[] | undefined;
/** Coded representation of the qualification */
code: CodeableConcept;
/** Period during which the qualification is valid */
period?: Period | undefined;
/** Organization that regulates and issues the qualification */
issuer?: Reference | undefined;
}
/**
* Base StructureDefinition for Quantity Type
*/
export interface Quantity extends Element {
/**
* Numerical value (with implicit precision)
* The value of the measured amount. The value includes an implicit precision in the presentation of the value.
*/
value?: number | undefined;
_value?: Element | undefined;
/**
* < | <= | >= | > - how to understand the value
* How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
*/
comparator?: string | undefined;
_comparator?: Element | undefined;
/**
* Unit representation
* A human-readable form of the unit.
*/
unit?: string | undefined;
_unit?: Element | undefined;
/**
* System that defines coded unit form
* The identification of the system that provides the coded form of the unit.
*/
system?: string | undefined;
_system?: Element | undefined;
/**
* Coded form of the unit
* A computer processable form of the unit in some unit representation system.
*/
code?: string | undefined;
_code?: Element | undefined;
}
/**
* Base StructureDefinition for Observation Resource
*/
export interface Observation extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Observation';
/**
* Unique Id for this particular observation
* A unique identifier for the simple observation instance.
*/
identifier?: Identifier[] | undefined;
/**
* registered | preliminary | final | amended +
* The status of the result value.
*/
status: string;
_status?: Element | undefined;
/**
* Classification of type of observation
* A code that classifies the general type of observation being made. This is used for searching, sorting and display purposes.
*/
category?: CodeableConcept | undefined;
/**
* Type of observation (code / type)
* Describes what was observed. Sometimes this is called the observation "name".
*/
code: CodeableConcept;
/**
* Who and/or what this is about
* The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.
*/
subject?: Reference | Reference | Reference | Reference | undefined;
/**
* Healthcare event during which this observation is made
* The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.
*/
encounter?: Reference | undefined;
/**
* Clinically relevant time/time-period for observation
* 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 "physiologically relevant time". 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.
*/
effectiveDateTime?: string | undefined;
_effectiveDateTime?: Element | undefined;
/**
* Clinically relevant time/time-period for observation
* 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 "physiologically relevant time". 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.
*/
effectivePeriod?: Period | undefined;
/**
* Date/Time this was made available
* The date and time this observation was made available to providers, typically after the results have been reviewed and verified.
*/
issued?: string | undefined;
_issued?: Element | undefined;
/**
* Who is responsible for the observation
* Who was responsible for asserting the observed value as "true".
*/
performer?: Reference | Reference | Reference | Reference[] | undefined;
/**
* Actual result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueQuantity?: Quantity | undefined;
/**
* Actual result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueCodeableConcept?: CodeableConcept | undefined;
/**
* Actual result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueString?: string | undefined;
_valueString?: Element | undefined;
/**
* Actual result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueRange?: Range | undefined;
/**
* Actual result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueRatio?: Ratio | undefined;
/**
* Actual result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueSampledData?: SampledData | undefined;
/**
* Actual result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueAttachment?: Attachment | undefined;
/**
* Actual result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueTime?: string | undefined;
_valueTime?: Element | undefined;
/**
* Actual result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueDateTime?: string | undefined;
_valueDateTime?: Element | undefined;
/**
* Actual result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valuePeriod?: Period | undefined;
/**
* Why the result is missing
* Provides a reason why the expected value in the element Observation.value[x] is missing.
*/
dataAbsentReason?: CodeableConcept | undefined;
/**
* High, low, normal, etc.
* The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.
*/
interpretation?: CodeableConcept | undefined;
/**
* Comments about result
* May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.
*/
comments?: string | undefined;
_comments?: Element | undefined;
/**
* Observed body part
* Indicates the site on the subject's body where the observation was made (i.e. the target site).
*/
bodySite?: CodeableConcept | undefined;
/**
* How it was done
* Indicates the mechanism used to perform the observation.
*/
method?: CodeableConcept | undefined;
/**
* Specimen used for this observation
* The specimen that was used when this observation was made.
*/
specimen?: Reference | undefined;
/**
* (Measurement) Device
* The device used to generate the observation data.
*/
device?: Reference | Reference | undefined;
/**
* Provides guide for interpretation
* Guidance on how to interpret the value by comparison to a normal or recommended range.
*/
referenceRange?: ObservationReferenceRange[] | undefined;
/**
* Resource related to this observation
* A reference to another resource (usually another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code.
*/
related?: ObservationRelated[] | undefined;
/**
* Component results
* Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.
*/
component?: ObservationComponent[] | undefined;
}
/**
* Provides guide for interpretation
* Guidance on how to interpret the value by comparison to a normal or recommended range.
*/
export interface ObservationReferenceRange extends BackboneElement {
/**
* Low Range, if relevant
* The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).
*/
low?: Quantity | undefined;
/**
* High Range, if relevant
* The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).
*/
high?: Quantity | undefined;
/**
* Indicates the meaning/use of this range of this range
* Code for the meaning of the reference range.
*/
meaning?: CodeableConcept | undefined;
/**
* Applicable age range, if relevant
* The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.
*/
age?: Range | undefined;
/**
* Text based reference range in an observation
* Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of "Negative" or a list or table of 'normals'.
*/
text?: string | undefined;
_text?: Element | undefined;
}
/**
* Resource related to this observation
* A reference to another resource (usually another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code.
*/
export interface ObservationRelated extends BackboneElement {
/**
* has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by
* A code specifying the kind of relationship that exists with the target resource.
*/
type?: string | undefined;
_type?: Element | undefined;
/**
* Resource that is related to this one
* A reference to the observation or [[[QuestionnaireResponse]]] resource that is related to this observation.
*/
target: Reference | Reference;
}
/**
* Component results
* Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.
*/
export interface ObservationComponent extends BackboneElement {
/**
* Type of component observation (code / type)
* Describes what was observed. Sometimes this is called the observation "code".
*/
code: CodeableConcept;
/**
* Actual component result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueQuantity?: Quantity | undefined;
/**
* Actual component result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueCodeableConcept?: CodeableConcept | undefined;
/**
* Actual component result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueString?: string | undefined;
_valueString?: Element | undefined;
/**
* Actual component result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueRange?: Range | undefined;
/**
* Actual component result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueRatio?: Ratio | undefined;
/**
* Actual component result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueSampledData?: SampledData | undefined;
/**
* Actual component result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueAttachment?: Attachment | undefined;
/**
* Actual component result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueTime?: string | undefined;
_valueTime?: Element | undefined;
/**
* Actual component result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valueDateTime?: string | undefined;
_valueDateTime?: Element | undefined;
/**
* Actual component result
* The information determined as a result of making the observation, if the information has a simple value.
*/
valuePeriod?: Period | undefined;
/**
* Why the component result is missing
* Provides a reason why the expected value in the element Observation.value[x] is missing.
*/
dataAbsentReason?: CodeableConcept | undefined;
}
/**
* Base StructureDefinition for DocumentReference Resource
*/
export interface DocumentReference extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'DocumentReference';
/**
* Master Version Specific Identifier
* Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document.
*/
masterIdentifier?: Identifier | undefined;
/**
* Other identifiers for the document
* Other identifiers associated with the document, including version independent identifiers.
*/
identifier?: Identifier[] | undefined;
/**
* Who/what is the subject of the document
* Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure).
*/
subject?: Reference | Reference | Reference | Reference | undefined;
/**
* Kind of document (LOINC if possible)
* Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.
*/
type: CodeableConcept;
/**
* Categorization of document
* A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type.
*/
class?: CodeableConcept | undefined;
/**
* Who and/or what authored the document
* Identifies who is responsible for adding the information to the document.
*/
author?: Reference | Reference | Reference | Reference | Reference[] | undefined;
/**
* Organization which maintains the document
* Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.
*/
custodian?: Reference | undefined;
/**
* Who/what authenticated the document
* Which person or organization authenticates that this document is valid.
*/
authenticator?: Reference | Reference | undefined;
/**
* Document creation time
* When the document was created.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* When this document reference created
* When the document reference was created.
*/
indexed: string;
_indexed?: Element | undefined;
/**
* current | superseded | entered-in-error
* The status of this document reference.
*/
status: string;
_status?: Element | undefined;
/**
* preliminary | final | appended | amended | entered-in-error
* The status of the underlying document.
*/
docStatus?: CodeableConcept | undefined;
/**
* Relationships to other documents
* Relationships that this document has with other document references that already exist.
*/
relatesTo?: DocumentReferenceRelatesTo[] | undefined;
/**
* Human-readable description (title)
* Human-readable description of the source document. This is sometimes known as the "title".
*/
description?: string | undefined;
_description?: Element | undefined;
/**
* Document security-tags
* A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the "reference" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to.
*/
securityLabel?: CodeableConcept[] | undefined;
/**
* Document referenced
* The document and format referenced. There may be multiple content element repetitions, each with a different format.
*/
content: DocumentReferenceContent[];
/**
* Clinical context of document
* The clinical context in which the document was prepared.
*/
context?: DocumentReferenceContext | undefined;
}
/**
* Relationships to other documents
* Relationships that this document has with other document references that already exist.
*/
export interface DocumentReferenceRelatesTo extends BackboneElement {
/**
* replaces | transforms | signs | appends
* The type of relationship that this document has with anther document.
*/
code: string;
_code?: Element | undefined;
/**
* Target of the relationship
* The target document of this relationship.
*/
target: Reference;
}
/**
* Document referenced
* The document and format referenced. There may be multiple content element repetitions, each with a different format.
*/
export interface DocumentReferenceContent extends BackboneElement {
/**
* Where to access the document
* The document or url of the document along with critical metadata to prove content has integrity.
*/
attachment: Attachment;
/**
* Format/content rules for the document
* An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.
*/
format?: Coding[] | undefined;
}
/**
* Related identifiers or resources
* Related identifiers or resources associated with the DocumentReference.
*/
export interface DocumentReferenceContextRelated extends BackboneElement {
/**
* Identifier of related objects or events
* Related identifier to this DocumentReference. If both id and ref are present they shall refer to the same thing.
*/
identifier?: Identifier | undefined;
/**
* Related Resource
* Related Resource to this DocumentReference. If both id and ref are present they shall refer to the same thing.
*/
ref?: Reference | undefined;
}
/**
* Clinical context of document
* The clinical context in which the document was prepared.
*/
export interface DocumentReferenceContext extends BackboneElement {
/**
* Context of the document content
* Describes the clinical encounter or type of care that the document content is associated with.
*/
encounter?: Reference | undefined;
/**
* Main Clinical Acts Documented
* This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act.
*/
event?: CodeableConcept[] | undefined;
/**
* Time of service that is being documented
* The time period over which the service that is described by the document was provided.
*/
period?: Period | undefined;
/**
* Kind of facility where patient was seen
* The kind of facility where the patient was seen.
*/
facilityType?: CodeableConcept | undefined;
/**
* Additional details about where the content was created (e.g. clinical specialty)
* This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty.
*/
practiceSetting?: CodeableConcept | undefined;
/**
* Patient demographics from source
* The Patient Information as known when the document was published. May be a reference to a version specific, or contained.
*/
sourcePatientInfo?: Reference | undefined;
/**
* Related identifiers or resources
* Related identifiers or resources associated with the DocumentReference.
*/
related?: DocumentReferenceContextRelated[] | undefined;
}
/**
* Base StructureDefinition for OperationOutcome Resource
*/
export interface OperationOutcome extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'OperationOutcome';
/**
* A single issue associated with the action
* An error, warning or information message that results from a system action.
*/
issue: OperationOutcomeIssue[];
}
/**
* A single issue associated with the action
* An error, warning or information message that results from a system action.
*/
export interface OperationOutcomeIssue extends BackboneElement {
/**
* fatal | error | warning | information
* Indicates whether the issue indicates a variation from successful processing.
*/
severity: string;
_severity?: Element | undefined;
/**
* Error or warning code
* Describes the type of the issue. The system that creates an OperationOutcome SHALL choose the most applicable code from the IssueType value set, and may additional provide its own code for the error in the details element.
*/
code: string;
_code?: Element | undefined;
/**
* Additional details about the error
* Additional details about the error. This may be a text description of the error, or a system code that identifies the error.
*/
details?: CodeableConcept | undefined;
/**
* Additional diagnostic information about the issue
* Additional diagnostic information about the issue. Typically, this may be a description of how a value is erroneous, or a stack dump to help trace the issue.
*/
diagnostics?: string | undefined;
_diagnostics?: Element | undefined;
/**
* XPath of element(s) related to issue
* A simple XPath limited to element names, repetition indicators and the default child access that identifies one of the elements in the resource that caused this issue to be raised.
*/
location?: string[] | undefined;
_location?: Element[] | undefined;
}
/**
* Base StructureDefinition for Address Type
*/
export interface Address extends Element {
/**
* home | work | temp | old - purpose of this address
* The purpose of this address.
*/
use?: string | undefined;
_use?: Element | undefined;
/**
* postal | physical | both
* Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.
*/
type?: string | undefined;
_type?: Element | undefined;
/**
* Text representation of the address
* A full text representation of the address.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* Street name, number, direction & P.O. Box etc.
* This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.
*/
line?: string[] | undefined;
_line?: Element[] | undefined;
/**
* Name of city, town etc.
* The name of the city, town, village or other community or delivery center.
*/
city?: string | undefined;
_city?: Element | undefined;
/**
* District name (aka county)
* The name of the administrative area (county).
*/
district?: string | undefined;
_district?: Element | undefined;
/**
* Sub-unit of country (abbreviations ok)
* Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes).
*/
state?: string | undefined;
_state?: Element | undefined;
/**
* Postal code for area
* A postal code designating a region defined by the postal service.
*/
postalCode?: string | undefined;
_postalCode?: Element | undefined;
/**
* Country (can be ISO 3166 3 letter code)
* Country - a nation as commonly understood or generally accepted.
*/
country?: string | undefined;
_country?: Element | undefined;
/** Time period when address was/is in use */
period?: Period | undefined;
}
/**
* Base StructureDefinition for MedicationDispense Resource
*/
export interface MedicationDispense extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'MedicationDispense';
/**
* External identifier
* Identifier assigned by the dispensing facility - this is an identifier assigned outside FHIR.
*/
identifier?: Identifier | undefined;
/**
* in-progress | on-hold | completed | entered-in-error | stopped
* A code specifying the state of the set of dispense events.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* Who the dispense is for
* A link to a resource representing the person to whom the medication will be given.
*/
patient?: Reference | undefined;
/**
* Practitioner responsible for dispensing medication
* The individual responsible for dispensing the medication.
*/
dispenser?: Reference | undefined;
/**
* Medication order that authorizes the dispense
* Indicates the medication order that is being dispensed against.
*/
authorizingPrescription?: Reference[] | undefined;
/**
* Trial fill, partial fill, emergency fill, etc.
* Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
*/
type?: CodeableConcept | undefined;
/**
* Amount dispensed
* The amount of medication that has been dispensed. Includes unit of measure.
*/
quantity?: Quantity | undefined;
/**
* Days Supply
* The amount of medication expressed as a timing amount.
*/
daysSupply?: Quantity | undefined;
/**
* What medication was supplied
* 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.
*/
medicationCodeableConcept?: CodeableConcept | undefined;
/**
* What medication was supplied
* 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.
*/
medicationReference?: Reference | undefined;
/**
* Dispense processing time
* The time when the dispensed product was packaged and reviewed.
*/
whenPrepared?: string | undefined;
_whenPrepared?: Element | undefined;
/**
* When product was given out
* The time the dispensed product was provided to the patient or their representative.
*/
whenHandedOver?: string | undefined;
_whenHandedOver?: Element | undefined;
/**
* Where the medication was sent
* Identification of the facility/location where the medication was shipped to, as part of the dispense event.
*/
destination?: Reference | undefined;
/**
* Who collected the medication
* Identifies the person who picked up the medication. This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional.
*/
receiver?: Reference | Reference[] | undefined;
/**
* Information about the dispense
* Extra information about the dispense that could not be conveyed in the other attributes.
*/
note?: string | undefined;
_note?: Element | undefined;
/**
* Medicine administration instructions to the patient/caregiver
* Indicates how the medication is to be used by the patient.
*/
dosageInstruction?: MedicationDispenseDosageInstruction[] | undefined;
/**
* Deals with substitution of one medicine for another
* Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why.
*/
substitution?: MedicationDispenseSubstitution | undefined;
}
/**
* Medicine administration instructions to the patient/caregiver
* Indicates how the medication is to be used by the patient.
*/
export interface MedicationDispenseDosageInstruction extends BackboneElement {
/**
* Dosage Instructions
* Free text dosage instructions can be used for cases where the instructions are too complex to code. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication.
*/
text?: string | undefined;
_text?: Element | undefined;
/**
* E.g. "Take with food"
* Additional instructions such as "Swallow with plenty of water" which may or may not be coded.
*/
additionalInstructions?: CodeableConcept | undefined;
/**
* When medication should be administered
* The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions. For example, "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".
*/
timing?: Timing | undefined;
/**
* Take "as needed" f(or x)
* 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). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.
*/
asNeededBoolean?: boolean | undefined;
_asNeededBoolean?: Element | undefined;
/**
* Take "as needed" f(or x)
* 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). Specifically if 'boolean' datatype is selected, then the following logic applies: If set to True, this indicates that the medication is only taken when needed, within the specified schedule.
*/
asNeededCodeableConcept?: CodeableConcept | undefined;
/**
* Body site to administer to
* A coded specification of the anatomic site where the medication first enters the body.
*/
siteCodeableConcept?: CodeableConcept | undefined;
/**
* Body site to administer to
* A coded specification of the anatomic site where the medication first enters the body.
*/
siteReference?: Reference | undefined;
/**
* How drug should enter body
* A code specifying the route or physiological path of administration of a therapeutic agent into or onto a subject.
*/
route?: CodeableConcept | undefined;
/**
* Technique for administering medication
* A coded value indicating the method by which the medication is intended to be or was introduced into or on the body.
*/
method?: CodeableConcept | undefined;
/**
* Amount of medication per dose
* The amount of therapeutic or other substance given at one administration event.
*/
doseRange?: Range | undefined;
/**
* Amount of medication per dose
* The amount of therapeutic or other substance given at one administration event.
*/
doseQuantity?: Quantity | undefined;
/**
* Amount of medication per unit of time
* 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. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.
*/
rateRatio?: Ratio | undefined;
/**
* Amount of medication per unit of time
* 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. Currently we do not specify a default of '1' in the denominator, but this is being discussed. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.
*/
rateRange?: Range | undefined;
/**
* Upper limit on medication per unit of time
* The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time, e.g. 1000mg in 24 hours.
*/
maxDosePerPeriod?: Ratio | undefined;
}
/**
* Deals with substitution of one medicine for another
* Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why.
*/
export interface MedicationDispenseSubstitution extends BackboneElement {
/**
* Type of substitution
* A code signifying whether a different drug was dispensed from what was prescribed.
*/
type: CodeableConcept;
/**
* Why was substitution made
* Indicates the reason for the substitution of (or lack of substitution) from what was prescribed.
*/
reason?: CodeableConcept[] | undefined;
/**
* Who is responsible for the substitution
* The person or organization that has primary responsibility for the substitution.
*/
responsibleParty?: Reference[] | undefined;
}
/**
* Base StructureDefinition for Account Resource
*/
export interface Account extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Account';
/**
* Account number
* Unique identifier used to reference the account. May or may not be intended for human use (e.g. credit card number).
*/
identifier?: Identifier[] | undefined;
/**
* Human-readable label
* Name used for the account when displaying it to humans in reports, etc.
*/
name?: string | undefined;
_name?: Element | undefined;
/**
* E.g. patient, expense, depreciation
* Categorizes the account for reporting and searching purposes.
*/
type?: CodeableConcept | undefined;
/**
* active | inactive
* Indicates whether the account is presently used/useable or not.
*/
status?: string | undefined;
_status?: Element | undefined;
/**
* Valid from..to
* Indicates the period of time over which the account is allowed.
*/
activePeriod?: Period | undefined;
/**
* Base currency in which balance is tracked
* Identifies the currency to which transactions must be converted when crediting or debiting the account.
*/
currency?: Coding | undefined;
/**
* How much is in account?
* Represents the sum of all credits less all debits associated with the account. Might be positive, zero or negative.
*/
balance?: Quantity | undefined;
/**
* Transaction window
* Identifies the period of time the account applies to; e.g. accounts created per fiscal year, quarter, etc.
*/
coveragePeriod?: Period | undefined;
/**
* What is account tied to?
* Identifies the patient, device, practitioner, location or other object the account is associated with.
*/
subject?: Reference | Reference | Reference | Reference | Reference | Reference | undefined;
/**
* Who is responsible?
* Indicates the organization, department, etc. with responsibility for the account.
*/
owner?: Reference | undefined;
/**
* Explanation of purpose/use
* Provides additional information about what the account tracks and how it is used.
*/
description?: string | undefined;
_description?: Element | undefined;
}
/**
* Base StructureDefinition for Procedure Resource
*/
export interface Procedure extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'Procedure';
/**
* External Identifiers for this procedure
* This records identifiers associated with this procedure that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
*/
identifier?: Identifier[] | undefined;
/**
* Who the procedure was performed on
* The person, animal or group on which the procedure was performed.
*/
subject: Reference | Reference;
/**
* in-progress | aborted | completed | entered-in-error
* A code specifying the state of the procedure. Generally this will be in-progress or completed state.
*/
status: string;
_status?: Element | undefined;
/**
* Classification of the procedure
* A code that classifies the procedure for searching, sorting and display purposes (e.g. "Surgical Procedure").
*/
category?: CodeableConcept | undefined;
/**
* Identification of the procedure
* The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. "Laparoscopic Appendectomy").
*/
code: CodeableConcept;
/**
* True if procedure was not performed as scheduled
* Set this to true if the record is saying that the procedure was NOT performed.
*/
notPerformed?: boolean | undefined;
_notPerformed?: Element | undefined;
/**
* Reason procedure was not performed
* A code indicating why the procedure was not performed.
*/
reasonNotPerformed?: CodeableConcept[] | undefined;
/**
* Target body sites
* Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.
*/
bodySite?: CodeableConcept[] | undefined;
/**
* Reason procedure performed
* The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text.
*/
reasonCodeableConcept?: CodeableConcept | undefined;
/**
* Reason procedure performed
* The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text.
*/
reasonReference?: Reference | undefined;
/**
* The people who performed the procedure
* Limited to 'real' people rather than equipment.
*/
performer?: ProcedurePerformer[] | undefined;
/**
* Date/Period the procedure was performed
* The date(time)/period over which 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.
*/
performedDateTime?: string | undefined;
_performedDateTime?: Element | undefined;
/**
* Date/Period the procedure was performed
* The date(time)/period over which 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.
*/
performedPeriod?: Period | undefined;
/**
* The encounter associated with the procedure
* The encounter during which the procedure was performed.
*/
encounter?: Reference | undefined;
/**
* Where the procedure happened
* The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.
*/
location?: Reference | undefined;
/**
* The result of procedure
* The outcome of the procedure - did it resolve reasons for the procedure being performed?
*/
outcome?: CodeableConcept | undefined;
/**
* Any report resulting from the procedure
* This could be a histology result, pathology report, surgical report, etc..
*/
report?: Reference[] | undefined;
/**
* Complication following the procedure
* Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.
*/
complication?: CodeableConcept[] | undefined;
/**
* Instructions for follow up
* If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or could potentially be more complex in which case the CarePlan resource can be used.
*/
followUp?: CodeableConcept[] | undefined;
/**
* A request for this procedure
* A reference to a resource that contains details of the request for this procedure.
*/
request?: Reference | Reference | Reference | Reference | undefined;
/**
* Additional information about the procedure
* Any other notes about the procedure. E.g. the operative notes.
*/
notes?: Annotation[] | undefined;
/**
* Device changed in procedure
* A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.
*/
focalDevice?: ProcedureFocalDevice[] | undefined;
/**
* Items used during procedure
* Identifies medications, devices and any other substance used as part of the procedure.
*/
used?: Reference | Reference | Reference[] | undefined;
}
/**
* The people who performed the procedure
* Limited to 'real' people rather than equipment.
*/
export interface ProcedurePerformer extends BackboneElement {
/**
* The reference to the practitioner
* The practitioner who was involved in the procedure.
*/
actor?: Reference | Reference | Reference | Reference | undefined;
/**
* The role the actor was in
* For example: surgeon, anaethetist, endoscopist.
*/
role?: CodeableConcept | undefined;
}
/**
* Device changed in procedure
* A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.
*/
export interface ProcedureFocalDevice extends BackboneElement {
/**
* Kind of change to device
* The kind of change that happened to the device during the procedure.
*/
action?: CodeableConcept | undefined;
/**
* Device that was changed
* The device that was manipulated (changed) during the procedure.
*/
manipulated: Reference;
}
/**
* Base StructureDefinition for EligibilityRequest Resource
*/
export interface EligibilityRequest extends DomainResource {
/** Resource Type Name (for serialization) */
readonly resourceType: 'EligibilityRequest';
/**
* Business Identifier
* The Response business identifier.
*/
identifier?: Identifier[] | undefined;
/**
* Resource version
* The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
*/
ruleset?: Coding | undefined;
/**
* Original version
* The style (standard) and version of the original material which was converted into this resource.
*/
originalRuleset?: Coding | undefined;
/**
* Creation date
* The date when this resource was created.
*/
created?: string | undefined;
_created?: Element | undefined;
/**
* Insurer
* The Insurer who is target of the request.
*/
target?: Reference | undefined;
/**
* Responsible practitioner
* The practitioner who is responsible for the services rendered to the patient.
*/
provider?: Reference | undefined;
/**
* Responsible organization
* The organization which is responsible for the services rendered to the patient.
*/
organization?: Reference | undefined;
}
export type FhirResource =
DeviceUseStatement |
Appointment |
Condition |
List |
EligibilityResponse |
Media |
SupplyDelivery |
Conformance |
BodySite |
Composition |
Encounter |
MedicationAdministration |
DocumentManifest |
Claim |
DeviceMetric |
AuditEvent |
CarePlan |
QuestionnaireResponse |
Location |
EpisodeOfCare |
OrderResponse |
ProcessResponse |
Substance |
Group |
ImagingStudy |
Organization |
ProcessRequest |
Questionnaire |
TestScript |
SupplyRequest |
Order |
Provenance |
Binary |
RiskAssessment |
Parameters |
HealthcareService |
RelatedPerson |
DeviceComponent |
Basic |
NamingSystem |
VisionPrescription |
EnrollmentRequest |
Flag |
ExplanationOfBenefit |
Patient |
Specimen |
FamilyMemberHistory |
OperationDefinition |
Medication |
DiagnosticReport |
AppointmentResponse |
MessageHeader |
MedicationOrder |
DataElement |
Goal |
Immunization |
ValueSet |
ClaimResponse |
Contract |
DeviceUseRequest |
ConceptMap |
StructureDefinition |
CommunicationRequest |
PaymentNotice |
DetectedIssue |
Bundle |
ImplementationGuide |
NutritionOrder |
EnrollmentResponse |
DiagnosticOrder |
ProcedureRequest |
ImmunizationRecommendation |
Slot |
Coverage |
PaymentReconciliation |
SearchParameter |
MedicationStatement |
Schedule |
Person |
ImagingObjectSelection |
AllergyIntolerance |
ClinicalImpression |
Subscription |
Device |
Communication |
ReferralRequest |
Practitioner |
Observation |
DocumentReference |
OperationOutcome |
MedicationDispense |
Account |
Procedure |
EligibilityRequest;