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

本指南适用于HL7中国的FHIR Connectathon测试。

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

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:

  • The element Parameters.parameter is sliced based on the value of value:name
  • The element Parameters.parameter.value[x] is sliced based on the value of type:$this

这种结构源自 Parameters

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

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters 0..*ParametersOperation Request or Response
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for parameter ΣC3..*BackboneElementOperation 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..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... name Σ1..1stringName from the definition
..... value[x] ΣC0..1If parameter is a data type
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueInteger64integer64
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodeableReferenceCodeableReference
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueRatioRangeRatioRange
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueAvailabilityAvailability
...... valueExtendedContactDetailExtendedContactDetail
...... valueDosageDosage
...... valueMetaMeta
..... resource ΣC0..1ResourceIf parameter is a whole resource
..... part ΣC0..*See parameter (Parameters)Named part of a multi-part parameter
.... parameter:QueryString ΣC1..*BackboneElement字符串形式的查询条件
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... name Σ1..1stringName from the definition
Required Pattern: query-string
..... Slices for value[x] ΣC0..1stringIf parameter is a data type
Slice: Unordered, Closed by type:$this
...... value[x]:valueString ΣC0..1string查询字符串
..... resource ΣC0..1ResourceIf parameter is a whole resource
..... part ΣC0..*See parameter (Parameters)Named part of a multi-part parameter
.... parameter:Patient ΣC1..1BackboneElement患者标识符
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... name Σ1..1stringName from the definition
Required Pattern: patient
..... Slices for value[x] ΣC0..1Reference()If parameter is a data type
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference ΣC0..1Reference()指向患者的引用
..... resource ΣC0..1ResourceIf parameter is a whole resource
..... part ΣC0..*See parameter (Parameters)Named part of a multi-part parameter
.... parameter:MedicationRequest ΣC1..1BackboneElement处方药物请求
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... name Σ1..1stringName from the definition
Required Pattern: prescription
..... Slices for value[x] ΣC0..1Reference()If parameter is a data type
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference ΣC0..1Reference()指向处方药物请求的引用
..... resource ΣC0..1ResourceIf parameter is a whole resource
..... part ΣC0..*See parameter (Parameters)Named part of a multi-part parameter

doco Documentation for this format

这种结构源自 Parameters

Summary

Mandatory: 3 elements

Slices

This structure defines the following Slices:

  • The element Parameters.parameter is sliced based on the value of value:name
  • The element Parameters.parameter.value[x] is sliced based on the value of type:$this

差异视图

这种结构源自 Parameters

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

doco Documentation for this format

快照视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters 0..*ParametersOperation Request or Response
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for parameter ΣC3..*BackboneElementOperation 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..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... name Σ1..1stringName from the definition
..... value[x] ΣC0..1If parameter is a data type
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueInteger64integer64
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodeableReferenceCodeableReference
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueRatioRangeRatioRange
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueAvailabilityAvailability
...... valueExtendedContactDetailExtendedContactDetail
...... valueDosageDosage
...... valueMetaMeta
..... resource ΣC0..1ResourceIf parameter is a whole resource
..... part ΣC0..*See parameter (Parameters)Named part of a multi-part parameter
.... parameter:QueryString ΣC1..*BackboneElement字符串形式的查询条件
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... name Σ1..1stringName from the definition
Required Pattern: query-string
..... Slices for value[x] ΣC0..1stringIf parameter is a data type
Slice: Unordered, Closed by type:$this
...... value[x]:valueString ΣC0..1string查询字符串
..... resource ΣC0..1ResourceIf parameter is a whole resource
..... part ΣC0..*See parameter (Parameters)Named part of a multi-part parameter
.... parameter:Patient ΣC1..1BackboneElement患者标识符
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... name Σ1..1stringName from the definition
Required Pattern: patient
..... Slices for value[x] ΣC0..1Reference()If parameter is a data type
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference ΣC0..1Reference()指向患者的引用
..... resource ΣC0..1ResourceIf parameter is a whole resource
..... part ΣC0..*See parameter (Parameters)Named part of a multi-part parameter
.... parameter:MedicationRequest ΣC1..1BackboneElement处方药物请求
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... name Σ1..1stringName from the definition
Required Pattern: prescription
..... Slices for value[x] ΣC0..1Reference()If parameter is a data type
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference ΣC0..1Reference()指向处方药物请求的引用
..... resource ΣC0..1ResourceIf parameter is a whole resource
..... part ΣC0..*See parameter (Parameters)Named part of a multi-part parameter

doco Documentation for this format

 

本定义的其它表示法: Schematron

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()))