HL7中国FHIR Connectathon测试实施指南
2024.5.5 - release
本指南适用于HL7中国的FHIR Connectathon测试。
Defining URL: | http://hl7.org.cn/fhir/StructureDefinition/profile-rx-parameters |
Version: | 2024.5.5 |
Name: | RxParameters |
Title: | 检索参数本地化定义 |
Status: | Active as of 2024-05-05 21:11:47+0800 |
Definition: | 检索参数本地化定义。 |
Publisher: | HL7中国. HL7中国, |
Source Resource: | XML / JSON / Turtle |
本定义的正式URL为:
http://hl7.org.cn/fhir/StructureDefinition/profile-rx-parameters
这种结构源自 Parameters
Summary
Mandatory: 3 elements
Slices
This structure defines the following Slices:
这种结构源自 Parameters
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | If parameter is a data type Slice: Unordered, Open by type:$this | |
valueString | 0..1 | string | 查询字符串 | |
parameter:Patient | 1..1 | BackboneElement | 患者标识符 | |
name | 1..1 | string | Name from the definition Required Pattern: patient | |
value[x] | 0..1 | Reference() | If parameter is a data type Slice: Unordered, Open by type:$this | |
valueReference | 0..1 | Reference() | 指向患者的引用 | |
parameter:MedicationRequest | 1..1 | BackboneElement | 处方药物请求 | |
name | 1..1 | string | Name from the definition Required Pattern: prescription | |
value[x] | 0..1 | Reference() | If parameter is a data type Slice: Unordered, Open by type:$this | |
valueReference | 0..1 | Reference() | 指向处方药物请求的引用 | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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 | ||||
language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
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 | ||||
Slices for value[x] | ΣC | 0..1 | string | If parameter is a data type Slice: Unordered, Closed by type:$this | ||||
value[x]:valueString | Σ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 | ||||
Slices for value[x] | ΣC | 0..1 | Reference() | If parameter is a data type Slice: Unordered, Closed by type:$this | ||||
value[x]:valueReference | Σ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 | ||||
Slices for value[x] | ΣC | 0..1 | Reference() | If parameter is a data type Slice: Unordered, Closed by type:$this | ||||
value[x]:valueReference | Σ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 | ||||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Parameters | 0..* | Parameters | Operation Request or Response | |
Documentation for this format |
这种结构源自 Parameters
Summary
Mandatory: 3 elements
Slices
This structure defines the following Slices:
差异视图
这种结构源自 Parameters
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | If parameter is a data type Slice: Unordered, Open by type:$this | |
valueString | 0..1 | string | 查询字符串 | |
parameter:Patient | 1..1 | BackboneElement | 患者标识符 | |
name | 1..1 | string | Name from the definition Required Pattern: patient | |
value[x] | 0..1 | Reference() | If parameter is a data type Slice: Unordered, Open by type:$this | |
valueReference | 0..1 | Reference() | 指向患者的引用 | |
parameter:MedicationRequest | 1..1 | BackboneElement | 处方药物请求 | |
name | 1..1 | string | Name from the definition Required Pattern: prescription | |
value[x] | 0..1 | Reference() | If parameter is a data type Slice: Unordered, Open by type:$this | |
valueReference | 0..1 | Reference() | 指向处方药物请求的引用 | |
Documentation for this format |
快照视图
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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 | ||||
language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
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 | ||||
Slices for value[x] | ΣC | 0..1 | string | If parameter is a data type Slice: Unordered, Closed by type:$this | ||||
value[x]:valueString | Σ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 | ||||
Slices for value[x] | ΣC | 0..1 | Reference() | If parameter is a data type Slice: Unordered, Closed by type:$this | ||||
value[x]:valueReference | Σ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 | ||||
Slices for value[x] | ΣC | 0..1 | Reference() | If parameter is a data type Slice: Unordered, Closed by type:$this | ||||
value[x]:valueReference | Σ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 | ||||
Documentation for this format |
本定义的其它表示法: Schematron
Path | Conformance | ValueSet | URI |
Parameters.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
inv-1 | error | Parameters.parameter, Parameters.parameter:QueryString, Parameters.parameter:Patient, Parameters.parameter:MedicationRequest | A 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())) |