HL7中国FHIR Connectathon测试实施指南
V20230304 - release
本指南适用于HL7中国的FHIR Connectathon测试。
Defining URL: | http://hl7.org.cn/fhir/StructureDefinition/profile-rx-parameters |
Version: | V20230304 |
Name: | RxParameters |
Title: | 检索参数本地化定义 |
Status: | Active as of 2023-03-04T16:13:14+08:00 |
Definition: | 检索参数本地化定义。 |
Publisher: | 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 | |
parameter | 3..* | (Slice Definition) | 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 | (Slice Definition) | 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 | (Slice Definition) | 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 | (Slice Definition) | 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 | string | 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: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
parameter | ΣI | 3..* | (Slice Definition) | Operation Parameter Slice: Unordered, Open by value:name |
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] | ΣI | 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 | |||
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 | |||
valueCoding | Coding | |||
valueContactPoint | ContactPoint | |||
valueCount | Count | |||
valueDistance | Distance | |||
valueDuration | Duration | |||
valueHumanName | HumanName | |||
valueIdentifier | Identifier | |||
valueMoney | Money | |||
valuePeriod | Period | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueRatio | Ratio | |||
valueReference | Reference(Any) | |||
valueSampledData | SampledData | |||
valueSignature | Signature | |||
valueTiming | Timing | |||
valueContactDetail | ContactDetail | |||
valueContributor | Contributor | |||
valueDataRequirement | DataRequirement | |||
valueExpression | Expression | |||
valueParameterDefinition | ParameterDefinition | |||
valueRelatedArtifact | RelatedArtifact | |||
valueTriggerDefinition | TriggerDefinition | |||
valueUsageContext | UsageContext | |||
valueDosage | Dosage | |||
valueMeta | Meta | |||
resource | ΣI | 0..1 | Resource | If parameter is a whole resource |
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter |
parameter:QueryString | ΣI | 1..* | BackboneElement | 字符串形式的查询条件 |
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] | ΣI | 0..1 | (Slice Definition) | If parameter is a data type Slice: Unordered, Closed by type:$this |
value[x]:valueString | ΣI | 0..1 | string | 查询字符串 |
resource | ΣI | 0..1 | Resource | If parameter is a whole resource |
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter |
parameter:Patient | ΣI | 1..1 | BackboneElement | 患者标识符 |
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] | ΣI | 0..1 | (Slice Definition) | If parameter is a data type Slice: Unordered, Closed by type:$this |
value[x]:valueReference | ΣI | 0..1 | Reference() | 指向患者的引用 |
resource | ΣI | 0..1 | Resource | If parameter is a whole resource |
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter |
parameter:MedicationRequest | ΣI | 1..1 | BackboneElement | 处方药物请求 |
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] | ΣI | 0..1 | (Slice Definition) | If parameter is a data type Slice: Unordered, Closed by type:$this |
value[x]:valueReference | ΣI | 0..1 | Reference() | 指向处方药物请求的引用 |
resource | ΣI | 0..1 | Resource | If parameter is a whole resource |
part | Σ | 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 | |
parameter | 3..* | (Slice Definition) | 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 | (Slice Definition) | 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 | (Slice Definition) | 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 | (Slice Definition) | 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 | string | 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: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
parameter | ΣI | 3..* | (Slice Definition) | Operation Parameter Slice: Unordered, Open by value:name |
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] | ΣI | 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 | |||
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 | |||
valueCoding | Coding | |||
valueContactPoint | ContactPoint | |||
valueCount | Count | |||
valueDistance | Distance | |||
valueDuration | Duration | |||
valueHumanName | HumanName | |||
valueIdentifier | Identifier | |||
valueMoney | Money | |||
valuePeriod | Period | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueRatio | Ratio | |||
valueReference | Reference(Any) | |||
valueSampledData | SampledData | |||
valueSignature | Signature | |||
valueTiming | Timing | |||
valueContactDetail | ContactDetail | |||
valueContributor | Contributor | |||
valueDataRequirement | DataRequirement | |||
valueExpression | Expression | |||
valueParameterDefinition | ParameterDefinition | |||
valueRelatedArtifact | RelatedArtifact | |||
valueTriggerDefinition | TriggerDefinition | |||
valueUsageContext | UsageContext | |||
valueDosage | Dosage | |||
valueMeta | Meta | |||
resource | ΣI | 0..1 | Resource | If parameter is a whole resource |
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter |
parameter:QueryString | ΣI | 1..* | BackboneElement | 字符串形式的查询条件 |
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] | ΣI | 0..1 | (Slice Definition) | If parameter is a data type Slice: Unordered, Closed by type:$this |
value[x]:valueString | ΣI | 0..1 | string | 查询字符串 |
resource | ΣI | 0..1 | Resource | If parameter is a whole resource |
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter |
parameter:Patient | ΣI | 1..1 | BackboneElement | 患者标识符 |
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] | ΣI | 0..1 | (Slice Definition) | If parameter is a data type Slice: Unordered, Closed by type:$this |
value[x]:valueReference | ΣI | 0..1 | Reference() | 指向患者的引用 |
resource | ΣI | 0..1 | Resource | If parameter is a whole resource |
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter |
parameter:MedicationRequest | ΣI | 1..1 | BackboneElement | 处方药物请求 |
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] | ΣI | 0..1 | (Slice Definition) | If parameter is a data type Slice: Unordered, Closed by type:$this |
value[x]:valueReference | ΣI | 0..1 | Reference() | 指向处方药物请求的引用 |
resource | ΣI | 0..1 | Resource | If parameter is a whole resource |
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter |
Documentation for this format |
本定义的其它表示法: Schematron
Path | Conformance | ValueSet |
Parameters.language | preferred | CommonLanguages Max Binding: AllLanguages |
Id | Path | Details | Requirements |
ele-1 | Parameters.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
inv-1 | Parameters.parameter | 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())) | |
ele-1 | Parameters.parameter.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Parameters.parameter.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Parameters.parameter.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Parameters.parameter.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Parameters.parameter.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter.part | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:QueryString | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
inv-1 | Parameters.parameter:QueryString | 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())) | |
ele-1 | Parameters.parameter:QueryString.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Parameters.parameter:QueryString.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Parameters.parameter:QueryString.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Parameters.parameter:QueryString.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Parameters.parameter:QueryString.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:QueryString.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:QueryString.value[x]:valueString | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:QueryString.part | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:Patient | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
inv-1 | Parameters.parameter:Patient | 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())) | |
ele-1 | Parameters.parameter:Patient.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Parameters.parameter:Patient.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Parameters.parameter:Patient.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Parameters.parameter:Patient.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Parameters.parameter:Patient.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:Patient.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:Patient.value[x]:valueReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:Patient.part | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:MedicationRequest | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
inv-1 | 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())) | |
ele-1 | Parameters.parameter:MedicationRequest.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Parameters.parameter:MedicationRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Parameters.parameter:MedicationRequest.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Parameters.parameter:MedicationRequest.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Parameters.parameter:MedicationRequest.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:MedicationRequest.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:MedicationRequest.value[x]:valueReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Parameters.parameter:MedicationRequest.part | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |