@medplum/mock 3.0.9 → 3.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.map +2 -2
- package/dist/cjs/index.d.ts +2 -1
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.mjs.map +2 -2
- package/package.json +5 -5
package/dist/cjs/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { LoginState } from '@medplum/core';
|
|
|
15
15
|
import { Media } from '@medplum/fhirtypes';
|
|
16
16
|
import { MedplumClient } from '@medplum/core';
|
|
17
17
|
import { MedplumClientOptions } from '@medplum/core';
|
|
18
|
+
import { MedplumRequestOptions } from '@medplum/core';
|
|
18
19
|
import { MemoryRepository } from '@medplum/fhir-router';
|
|
19
20
|
import { Observation } from '@medplum/fhirtypes';
|
|
20
21
|
import { Organization } from '@medplum/fhirtypes';
|
|
@@ -164,7 +165,7 @@ export declare class MockClient extends MedplumClient {
|
|
|
164
165
|
getActiveLogin(): LoginState | undefined;
|
|
165
166
|
getLogins(): LoginState[];
|
|
166
167
|
createBinary(data: string | File | Blob | Uint8Array, filename: string | undefined, contentType: string, onProgress?: (e: ProgressEvent) => void): Promise<Binary>;
|
|
167
|
-
pushToAgent(agent: Agent | Reference<Agent>, destination: Device | Reference<Device> | string, body: any, contentType?: string | undefined, _waitForResponse?: boolean | undefined, _options?:
|
|
168
|
+
pushToAgent(agent: Agent | Reference<Agent>, destination: Device | Reference<Device> | string, body: any, contentType?: string | undefined, _waitForResponse?: boolean | undefined, _options?: MedplumRequestOptions | undefined): Promise<any>;
|
|
168
169
|
setAgentAvailable(value: boolean): void;
|
|
169
170
|
getSubscriptionManager(): MockSubscriptionManager;
|
|
170
171
|
subscribeToCriteria(criteria: string): SubscriptionEmitter;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { LoginState } from '@medplum/core';
|
|
|
15
15
|
import { Media } from '@medplum/fhirtypes';
|
|
16
16
|
import { MedplumClient } from '@medplum/core';
|
|
17
17
|
import { MedplumClientOptions } from '@medplum/core';
|
|
18
|
+
import { MedplumRequestOptions } from '@medplum/core';
|
|
18
19
|
import { MemoryRepository } from '@medplum/fhir-router';
|
|
19
20
|
import { Observation } from '@medplum/fhirtypes';
|
|
20
21
|
import { Organization } from '@medplum/fhirtypes';
|
|
@@ -164,7 +165,7 @@ export declare class MockClient extends MedplumClient {
|
|
|
164
165
|
getActiveLogin(): LoginState | undefined;
|
|
165
166
|
getLogins(): LoginState[];
|
|
166
167
|
createBinary(data: string | File | Blob | Uint8Array, filename: string | undefined, contentType: string, onProgress?: (e: ProgressEvent) => void): Promise<Binary>;
|
|
167
|
-
pushToAgent(agent: Agent | Reference<Agent>, destination: Device | Reference<Device> | string, body: any, contentType?: string | undefined, _waitForResponse?: boolean | undefined, _options?:
|
|
168
|
+
pushToAgent(agent: Agent | Reference<Agent>, destination: Device | Reference<Device> | string, body: any, contentType?: string | undefined, _waitForResponse?: boolean | undefined, _options?: MedplumRequestOptions | undefined): Promise<any>;
|
|
168
169
|
setAgentAvailable(value: boolean): void;
|
|
169
170
|
getSubscriptionManager(): MockSubscriptionManager;
|
|
170
171
|
subscribeToCriteria(criteria: string): SubscriptionEmitter;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -120,5 +120,5 @@ Jurisdictions may decide that they can profile this down to 1 if desired, or 1 p
|
|
|
120
120
|
* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and
|
|
121
121
|
* Distribution of patient information across multiple servers.`,min:0,max:"*",base:{path:"Patient.link",min:0,max:"*"},type:[{code:"BackboneElement"}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"}],isModifier:!0,isModifierReason:"This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'",isSummary:!0,mapping:[{identity:"rim",map:"outboundLink"},{identity:"cda",map:"n/a"}]},{id:"Patient.link.id",path:"Patient.link.id",representation:["xmlAttr"],short:"Unique id for inter-element referencing",definition:"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",min:0,max:"1",base:{path:"Element.id",min:0,max:"1"},type:[{code:"http://hl7.org/fhirpath/System.String",extension:[{url:"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",valueUrl:"string"}]}],isModifier:!1,isSummary:!1,mapping:[{identity:"rim",map:"n/a"}]},{id:"Patient.link.extension",path:"Patient.link.extension",short:"Additional content defined by implementations",definition:"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",comment:"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",alias:["extensions","user content"],min:0,max:"*",base:{path:"Element.extension",min:0,max:"*"},type:[{code:"Extension"}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"},{key:"ext-1",severity:"error",human:"Must have either extensions or value[x], not both",expression:"extension.exists() != value.exists()",xpath:'exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])',source:"http://hl7.org/fhir/StructureDefinition/Extension"}],isModifier:!1,isSummary:!1,mapping:[{identity:"rim",map:"n/a"}]},{id:"Patient.link.modifierExtension",path:"Patient.link.modifierExtension",short:"Extensions that cannot be ignored even if unrecognized",definition:`May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
|
|
122
122
|
|
|
123
|
-
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).`,comment:"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",requirements:"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",alias:["extensions","user content","modifiers"],min:0,max:"*",base:{path:"BackboneElement.modifierExtension",min:0,max:"*"},type:[{code:"Extension"}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"},{key:"ext-1",severity:"error",human:"Must have either extensions or value[x], not both",expression:"extension.exists() != value.exists()",xpath:'exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])',source:"http://hl7.org/fhir/StructureDefinition/Extension"}],isModifier:!0,isModifierReason:"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",isSummary:!0,mapping:[{identity:"rim",map:"N/A"}]},{id:"Patient.link.other",path:"Patient.link.other",short:"The other patient or related person resource that the link refers to",definition:"The other patient resource that the link refers to.",comment:"Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.",min:1,max:"1",base:{path:"Patient.link.other",min:1,max:"1"},type:[{code:"Reference",targetProfile:["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],extension:[{url:"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",valueBoolean:!1}]}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"}],isModifier:!1,isSummary:!0,mapping:[{identity:"v2",map:"PID-3, MRG-1"},{identity:"rim",map:"id"},{identity:"cda",map:"n/a"}]},{id:"Patient.link.type",path:"Patient.link.type",short:"replaced-by | replaces | refer | seealso",definition:"The type of link between this patient resource and another patient resource.",min:1,max:"1",base:{path:"Patient.link.type",min:1,max:"1"},type:[{code:"code"}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"}],isModifier:!1,isSummary:!0,binding:{extension:[{url:"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",valueString:"LinkType"}],strength:"required",description:"The type of link between this patient resource and another patient resource.",valueSet:"http://hl7.org/fhir/ValueSet/link-type|4.0.1"},mapping:[{identity:"rim",map:"typeCode"},{identity:"cda",map:"n/a"}]}]},differential:{element:[{id:"Patient.extension",path:"Patient.extension",slicing:{discriminator:[{type:"value",path:"url"}],ordered:!1,rules:"open"}},{id:"Patient.extension:species",path:"Patient.extension",sliceName:"species",definition:"The species of the fish.",min:0,max:"1",type:[{code:"Extension",profile:["http://example.org/fhir/fish/StructureDefinition/fish-species"]}]},{id:"Patient.name",path:"Patient.name",min:1},{id:"Patient.maritalStatus",path:"Patient.maritalStatus",max:"0"},{id:"Patient.communication",path:"Patient.communication",max:"0"}]}},Be={resourceType:"StructureDefinition",id:"fish-species",url:"http://example.org/fhir/fish/StructureDefinition/fish-species",name:"FishSpecies",title:"Fish Species",status:"draft",description:"The species of the fish.",fhirVersion:"4.0.1",mapping:[{identity:"rim",uri:"http://hl7.org/v3",name:"RIM Mapping"}],kind:"complex-type",abstract:!1,context:[{type:"element",expression:"Element"}],type:"Extension",baseDefinition:"http://hl7.org/fhir/StructureDefinition/Extension",derivation:"constraint",snapshot:{element:[{id:"Extension",path:"Extension",short:"Fish Species",definition:"The species of the fish.",min:0,max:"*",base:{path:"Extension",min:0,max:"*"},condition:["ele-1"],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"},{key:"ext-1",severity:"error",human:"Must have either extensions or value[x], not both",expression:"extension.exists() != value.exists()",xpath:"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"}],isModifier:!1,mapping:[{identity:"rim",map:"n/a"},{identity:"rim",map:"N/A"}]},{id:"Extension.id",path:"Extension.id",representation:["xmlAttr"],short:"Unique id for inter-element referencing",definition:"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",min:0,max:"1",base:{path:"Element.id",min:0,max:"1"},type:[{code:"http://hl7.org/fhirpath/System.String",extension:[{url:"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",valueUrl:"string"}]}],isModifier:!1,isSummary:!1,mapping:[{identity:"rim",map:"n/a"}]},{id:"Extension.extension",path:"Extension.extension",slicing:{discriminator:[{type:"value",path:"url"}],description:"Extensions are always sliced by (at least) url",rules:"open"},short:"Additional content defined by implementations",definition:"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",comment:"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",alias:["extensions","user content"],min:0,max:"0",base:{path:"Element.extension",min:0,max:"*"},type:[{code:"Extension"}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"},{key:"ext-1",severity:"error",human:"Must have either extensions or value[x], not both",expression:"extension.exists() != value.exists()",xpath:'exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])',source:"http://hl7.org/fhir/StructureDefinition/Extension"}],isModifier:!1,isSummary:!1,mapping:[{identity:"rim",map:"n/a"}]},{id:"Extension.url",path:"Extension.url",representation:["xmlAttr"],short:"identifies the meaning of the extension",definition:"Source of the definition for the extension code - a logical name or a URL.",comment:"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",min:1,max:"1",base:{path:"Extension.url",min:1,max:"1"},type:[{code:"http://hl7.org/fhirpath/System.String",extension:[{url:"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",valueUrl:"uri"}]}],fixedUri:"http://example.org/fhir/fish/StructureDefinition/fish-species",isModifier:!1,isSummary:!1,mapping:[{identity:"rim",map:"N/A"}]},{id:"Extension.value[x]",path:"Extension.value[x]",short:"Value of extension",definition:"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",min:0,max:"1",base:{path:"Extension.value[x]",min:0,max:"1"},type:[{code:"CodeableConcept"}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"}],isModifier:!1,isSummary:!1,binding:{strength:"extensible",valueSet:"http://example.org/fhir/fish/ValueSet/fish-species-value-set"},mapping:[{identity:"rim",map:"N/A"}]}]},differential:{element:[{id:"Extension",path:"Extension",short:"Fish Species",definition:"The species of the fish."},{id:"Extension.extension",path:"Extension.extension",max:"0"},{id:"Extension.url",path:"Extension.url",fixedUri:"http://example.org/fhir/fish/StructureDefinition/fish-species"},{id:"Extension.value[x]",path:"Extension.value[x]",type:[{code:"CodeableConcept"}],binding:{strength:"extensible",valueSet:"http://example.org/fhir/fish/ValueSet/fish-species-value-set"}}]}},zt={getFishPatientProfileSD:()=>R(je),getFishSpeciesExtensionSD:()=>R(Be),getSampleFishPatient:()=>R(Qe),getBlinkyTheFish:()=>R(Ne)};export{g as BartSimpson,Ne as BlinkyTheFish,$ as DifferentOrganization,s as DrAliceSmith,Z as DrAliceSmithPreviousVersion,E as DrAliceSmithSchedule,W as ExampleAccessPolicy,tt as ExampleAuditEvent,X as ExampleBot,Ke as ExampleBotSourceCode,Y as ExampleClient,ee as ExampleQuestionnaire,te as ExampleQuestionnaireResponse,G as ExampleStatusValueSet,se as ExampleSubscription,_ as ExampleUserConfiguration,V as ExampleWorkflowPlanDefinition,l as ExampleWorkflowQuestionnaire1,p as ExampleWorkflowQuestionnaire2,f as ExampleWorkflowQuestionnaire3,L as ExampleWorkflowQuestionnaireResponse1,he as ExampleWorkflowRequestGroup,U as ExampleWorkflowTask1,N as ExampleWorkflowTask2,Q as ExampleWorkflowTask3,zt as FishPatientResources,Pe as HomerBartRelatedPerson,ae as HomerCommunication,re as HomerDiagnosticReport,b as HomerEncounter,Ee as HomerLisaRelatedPerson,oe as HomerMedia,A as HomerObservation1,M as HomerObservation2,k as HomerObservation3,C as HomerObservation4,I as HomerObservation5,q as HomerObservation6,O as HomerObservation7,H as HomerObservation8,F as HomerServiceRequest,h as HomerSimpson,ne as HomerSimpsonPreviousVersion,S as HomerSimpsonSpecimen,ut as HomerSimpsonUSCorePatient,pt as ImplantableDeviceKnee,ie as LisaSimpson,we as MargeSimpson,ve as MockClient,z as MockFetchClient,D as MockSubscriptionManager,Ye as SimpsonsFamily,K as TestOrganization,lt as USCoreStructureDefinitionList,ce as exampleValueSet,J as makeDrAliceSmithSlots};
|
|
123
|
+
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).`,comment:"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",requirements:"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",alias:["extensions","user content","modifiers"],min:0,max:"*",base:{path:"BackboneElement.modifierExtension",min:0,max:"*"},type:[{code:"Extension"}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"},{key:"ext-1",severity:"error",human:"Must have either extensions or value[x], not both",expression:"extension.exists() != value.exists()",xpath:'exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])',source:"http://hl7.org/fhir/StructureDefinition/Extension"}],isModifier:!0,isModifierReason:"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",isSummary:!0,mapping:[{identity:"rim",map:"N/A"}]},{id:"Patient.link.other",path:"Patient.link.other",short:"The other patient or related person resource that the link refers to",definition:"The other patient resource that the link refers to.",comment:"Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.",min:1,max:"1",base:{path:"Patient.link.other",min:1,max:"1"},type:[{code:"Reference",targetProfile:["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],extension:[{url:"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",valueBoolean:!1}]}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"}],isModifier:!1,isSummary:!0,mapping:[{identity:"v2",map:"PID-3, MRG-1"},{identity:"rim",map:"id"},{identity:"cda",map:"n/a"}]},{id:"Patient.link.type",path:"Patient.link.type",short:"replaced-by | replaces | refer | seealso",definition:"The type of link between this patient resource and another patient resource.",min:1,max:"1",base:{path:"Patient.link.type",min:1,max:"1"},type:[{code:"code"}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"}],isModifier:!1,isSummary:!0,binding:{extension:[{url:"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",valueString:"LinkType"}],strength:"required",description:"The type of link between this patient resource and another patient resource.",valueSet:"http://hl7.org/fhir/ValueSet/link-type|4.0.1"},mapping:[{identity:"rim",map:"typeCode"},{identity:"cda",map:"n/a"}]}]},differential:{element:[{id:"Patient.extension",path:"Patient.extension",slicing:{discriminator:[{type:"value",path:"url"}],ordered:!1,rules:"open"}},{id:"Patient.extension:species",path:"Patient.extension",sliceName:"species",definition:"The species of the fish.",min:0,max:"1",type:[{code:"Extension",profile:["http://example.org/fhir/fish/StructureDefinition/fish-species"]}]},{id:"Patient.name",path:"Patient.name",min:1},{id:"Patient.maritalStatus",path:"Patient.maritalStatus",max:"0"},{id:"Patient.communication",path:"Patient.communication",max:"0"}]}},Be={resourceType:"StructureDefinition",id:"fish-species",url:"http://example.org/fhir/fish/StructureDefinition/fish-species",name:"FishSpecies",title:"Fish Species",status:"draft",description:"The species of the fish.",fhirVersion:"4.0.1",mapping:[{identity:"rim",uri:"http://hl7.org/v3",name:"RIM Mapping"}],kind:"complex-type",abstract:!1,context:[{type:"element",expression:"Element"}],type:"Extension",baseDefinition:"http://hl7.org/fhir/StructureDefinition/Extension",derivation:"constraint",snapshot:{element:[{id:"Extension",path:"Extension",short:"Fish Species",definition:"The species of the fish.",min:0,max:"*",base:{path:"Extension",min:0,max:"*"},condition:["ele-1"],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"},{key:"ext-1",severity:"error",human:"Must have either extensions or value[x], not both",expression:"extension.exists() != value.exists()",xpath:"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"}],isModifier:!1,mapping:[{identity:"rim",map:"n/a"},{identity:"rim",map:"N/A"}]},{id:"Extension.id",path:"Extension.id",representation:["xmlAttr"],short:"Unique id for inter-element referencing",definition:"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",min:0,max:"1",base:{path:"Element.id",min:0,max:"1"},type:[{code:"http://hl7.org/fhirpath/System.String",extension:[{url:"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",valueUrl:"string"}]}],isModifier:!1,isSummary:!1,mapping:[{identity:"rim",map:"n/a"}]},{id:"Extension.extension",path:"Extension.extension",slicing:{discriminator:[{type:"value",path:"url"}],description:"Extensions are always sliced by (at least) url",rules:"open"},short:"Additional content defined by implementations",definition:"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",comment:"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",alias:["extensions","user content"],min:0,max:"0",base:{path:"Element.extension",min:0,max:"*"},type:[{code:"Extension"}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"},{key:"ext-1",severity:"error",human:"Must have either extensions or value[x], not both",expression:"extension.exists() != value.exists()",xpath:'exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])',source:"http://hl7.org/fhir/StructureDefinition/Extension"}],isModifier:!1,isSummary:!1,mapping:[{identity:"rim",map:"n/a"}]},{id:"Extension.url",path:"Extension.url",representation:["xmlAttr"],short:"identifies the meaning of the extension",definition:"Source of the definition for the extension code - a logical name or a URL.",comment:"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",min:1,max:"1",base:{path:"Extension.url",min:1,max:"1"},type:[{code:"http://hl7.org/fhirpath/System.String",extension:[{url:"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",valueUrl:"uri"}]}],fixedUri:"http://example.org/fhir/fish/StructureDefinition/fish-species",isModifier:!1,isSummary:!1,mapping:[{identity:"rim",map:"N/A"}]},{id:"Extension.value[x]",path:"Extension.value[x]",short:"Value of extension",definition:"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",min:0,max:"1",base:{path:"Extension.value[x]",min:0,max:"1"},type:[{code:"CodeableConcept"}],constraint:[{key:"ele-1",severity:"error",human:"All FHIR elements must have a @value or children",expression:"hasValue() or (children().count() > id.count())",xpath:"@value|f:*|h:div",source:"http://hl7.org/fhir/StructureDefinition/Element"}],isModifier:!1,isSummary:!1,binding:{strength:"extensible",valueSet:"http://example.org/fhir/fish/ValueSet/fish-species-value-set"},mapping:[{identity:"rim",map:"N/A"}]}]},differential:{element:[{id:"Extension",path:"Extension",short:"Fish Species",definition:"The species of the fish."},{id:"Extension.extension",path:"Extension.extension",max:"0"},{id:"Extension.url",path:"Extension.url",fixedUri:"http://example.org/fhir/fish/StructureDefinition/fish-species"},{id:"Extension.value[x]",path:"Extension.value[x]",type:[{code:"CodeableConcept"}],binding:{strength:"extensible",valueSet:"http://example.org/fhir/fish/ValueSet/fish-species-value-set"}}]}},Wt={getFishPatientProfileSD:()=>R(je),getFishSpeciesExtensionSD:()=>R(Be),getSampleFishPatient:()=>R(Qe),getBlinkyTheFish:()=>R(Ne)};export{g as BartSimpson,Ne as BlinkyTheFish,$ as DifferentOrganization,s as DrAliceSmith,Z as DrAliceSmithPreviousVersion,E as DrAliceSmithSchedule,W as ExampleAccessPolicy,tt as ExampleAuditEvent,X as ExampleBot,Ke as ExampleBotSourceCode,Y as ExampleClient,ee as ExampleQuestionnaire,te as ExampleQuestionnaireResponse,G as ExampleStatusValueSet,se as ExampleSubscription,_ as ExampleUserConfiguration,V as ExampleWorkflowPlanDefinition,l as ExampleWorkflowQuestionnaire1,p as ExampleWorkflowQuestionnaire2,f as ExampleWorkflowQuestionnaire3,L as ExampleWorkflowQuestionnaireResponse1,he as ExampleWorkflowRequestGroup,U as ExampleWorkflowTask1,N as ExampleWorkflowTask2,Q as ExampleWorkflowTask3,Wt as FishPatientResources,Pe as HomerBartRelatedPerson,ae as HomerCommunication,re as HomerDiagnosticReport,b as HomerEncounter,Ee as HomerLisaRelatedPerson,oe as HomerMedia,A as HomerObservation1,M as HomerObservation2,k as HomerObservation3,C as HomerObservation4,I as HomerObservation5,q as HomerObservation6,O as HomerObservation7,H as HomerObservation8,F as HomerServiceRequest,h as HomerSimpson,ne as HomerSimpsonPreviousVersion,S as HomerSimpsonSpecimen,ut as HomerSimpsonUSCorePatient,pt as ImplantableDeviceKnee,ie as LisaSimpson,we as MargeSimpson,ve as MockClient,z as MockFetchClient,D as MockSubscriptionManager,Ye as SimpsonsFamily,K as TestOrganization,lt as USCoreStructureDefinitionList,ce as exampleValueSet,J as makeDrAliceSmithSlots};
|
|
124
124
|
//# sourceMappingURL=index.mjs.map
|