HL7中国FHIR Connectathon测试实施指南
2025.3.12 - release

HL7中国FHIR Connectathon测试实施指南 - Local Development build (v2025.3.12) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: 检索参数本地化定义

官方URL: http://hl7.org.cn/fhir/connectathon/StructureDefinition/profile-rx-parameters 版本: 2025.3.12
Draft as of 2025-03-11 机读名称: RxParameters

检索参数本地化定义。

Usage:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters 0..* Parameters Operation Request or Response
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for parameter ΣC 3..* BackboneElement Operation Parameter
Slice: Unordered, Open by value:name
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
.... parameter:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
.... parameter:QueryString ΣC 1..* BackboneElement 字符串形式的查询条件
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
Required Pattern: query-string
..... value[x] ΣC 0..1 string 查询字符串
ele-1: All FHIR elements must have a @value or children
.... parameter:Patient ΣC 1..1 BackboneElement 患者标识符
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
Required Pattern: patient
..... value[x] ΣC 0..1 Reference() 指向患者的引用
ele-1: All FHIR elements must have a @value or children
.... parameter:MedicationRequest ΣC 1..1 BackboneElement 处方药物请求
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
Required Pattern: prescription
..... value[x] ΣC 0..1 Reference() 指向处方药物请求的引用
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorParameters.parameter, Parameters.parameter:QueryString, Parameters.parameter:Patient, Parameters.parameter:MedicationRequestA parameter must have one and only one of (value, resource, part)
: (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))

该结构继承自 Parameters

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters 0..* Parameters Operation Request or Response
... Slices for parameter 3..* BackboneElement Operation Parameter
Slice: Unordered, Open by value:name
.... parameter:QueryString 1..* BackboneElement 字符串形式的查询条件
..... name 1..1 string Name from the definition
Required Pattern: query-string
..... value[x] 0..1 string 查询字符串
.... parameter:Patient 1..1 BackboneElement 患者标识符
..... name 1..1 string Name from the definition
Required Pattern: patient
..... value[x] 0..1 Reference() 指向患者的引用
.... parameter:MedicationRequest 1..1 BackboneElement 处方药物请求
..... name 1..1 string Name from the definition
Required Pattern: prescription
..... value[x] 0..1 Reference() 指向处方药物请求的引用

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters 0..* Parameters Operation Request or Response
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for parameter ΣC 3..* BackboneElement Operation Parameter
Slice: Unordered, Open by value:name
inv-1: A parameter must have one and only one of (value, resource, part)
.... parameter:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
..... value[x] ΣC 0..1 If parameter is a data type
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueInteger64 integer64
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCodeableReference CodeableReference
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueRatioRange RatioRange
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueAvailability Availability
...... valueExtendedContactDetail ExtendedContactDetail
...... valueDosage Dosage
...... valueMeta Meta
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part ΣC 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:QueryString ΣC 1..* BackboneElement 字符串形式的查询条件
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: query-string
..... value[x] ΣC 0..1 string 查询字符串
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part ΣC 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:Patient ΣC 1..1 BackboneElement 患者标识符
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: patient
..... value[x] ΣC 0..1 Reference() 指向患者的引用
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part ΣC 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:MedicationRequest ΣC 1..1 BackboneElement 处方药物请求
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: prescription
..... value[x] ΣC 0..1 Reference() 指向处方药物请求的引用
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part ΣC 0..* See parameter (Parameters) Named part of a multi-part parameter

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Parameters.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorParameters.parameter, Parameters.parameter:QueryString, Parameters.parameter:Patient, Parameters.parameter:MedicationRequestA parameter must have one and only one of (value, resource, part)
: (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))

该结构继承自 Parameters

Summary

Mandatory: 3 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Parameters.parameter

关键元素视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters 0..* Parameters Operation Request or Response
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for parameter ΣC 3..* BackboneElement Operation Parameter
Slice: Unordered, Open by value:name
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
.... parameter:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
.... parameter:QueryString ΣC 1..* BackboneElement 字符串形式的查询条件
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
Required Pattern: query-string
..... value[x] ΣC 0..1 string 查询字符串
ele-1: All FHIR elements must have a @value or children
.... parameter:Patient ΣC 1..1 BackboneElement 患者标识符
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
Required Pattern: patient
..... value[x] ΣC 0..1 Reference() 指向患者的引用
ele-1: All FHIR elements must have a @value or children
.... parameter:MedicationRequest ΣC 1..1 BackboneElement 处方药物请求
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
Required Pattern: prescription
..... value[x] ΣC 0..1 Reference() 指向处方药物请求的引用
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorParameters.parameter, Parameters.parameter:QueryString, Parameters.parameter:Patient, Parameters.parameter:MedicationRequestA parameter must have one and only one of (value, resource, part)
: (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))

差异视图

该结构继承自 Parameters

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters 0..* Parameters Operation Request or Response
... Slices for parameter 3..* BackboneElement Operation Parameter
Slice: Unordered, Open by value:name
.... parameter:QueryString 1..* BackboneElement 字符串形式的查询条件
..... name 1..1 string Name from the definition
Required Pattern: query-string
..... value[x] 0..1 string 查询字符串
.... parameter:Patient 1..1 BackboneElement 患者标识符
..... name 1..1 string Name from the definition
Required Pattern: patient
..... value[x] 0..1 Reference() 指向患者的引用
.... parameter:MedicationRequest 1..1 BackboneElement 处方药物请求
..... name 1..1 string Name from the definition
Required Pattern: prescription
..... value[x] 0..1 Reference() 指向处方药物请求的引用

doco Documentation for this format

快照视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters 0..* Parameters Operation Request or Response
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for parameter ΣC 3..* BackboneElement Operation Parameter
Slice: Unordered, Open by value:name
inv-1: A parameter must have one and only one of (value, resource, part)
.... parameter:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
..... value[x] ΣC 0..1 If parameter is a data type
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueInteger64 integer64
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCodeableReference CodeableReference
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueRatioRange RatioRange
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueAvailability Availability
...... valueExtendedContactDetail ExtendedContactDetail
...... valueDosage Dosage
...... valueMeta Meta
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part ΣC 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:QueryString ΣC 1..* BackboneElement 字符串形式的查询条件
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: query-string
..... value[x] ΣC 0..1 string 查询字符串
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part ΣC 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:Patient ΣC 1..1 BackboneElement 患者标识符
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: patient
..... value[x] ΣC 0..1 Reference() 指向患者的引用
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part ΣC 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:MedicationRequest ΣC 1..1 BackboneElement 处方药物请求
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: prescription
..... value[x] ΣC 0..1 Reference() 指向处方药物请求的引用
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part ΣC 0..* See parameter (Parameters) Named part of a multi-part parameter

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Parameters.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorParameters.parameter, Parameters.parameter:QueryString, Parameters.parameter:Patient, Parameters.parameter:MedicationRequestA parameter must have one and only one of (value, resource, part)
: (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))

该结构继承自 Parameters

Summary

Mandatory: 3 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Parameters.parameter

 

本 Profile 的其它表示法: CSV, Excel, Schematron