臺灣核心實作指引(TW Core IG)
0.3.0 - Trial Use

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.3.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: TW Core ServiceRequest

Official URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/ServiceRequest-twcore Version: 0.3.0
Active as of 2024-10-15 Computable Name: TWCoreServiceRequest

此臺灣核心-服務請求(TW Core ServiceRequest) Profile說明本IG如何進一步定義FHIR的ServiceRequest Resource以呈現服務請求資料。

Usage:

Formal Views of Profile Content

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

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest ServiceRequest
... basedOn 0..* Reference(TW Core CarePlan | TW Core ServiceRequest | TW Core MedicationRequest) What request fulfills
... replaces 0..* Reference(TW Core ServiceRequest) What request replaces
... status S 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown
... Slices for category S 0..* CodeableConceptTW Classification of service
Slice: Unordered, Open by pattern:$this
.... category:twcore S 0..* CodeableConcept Classification of service
Binding: 臺灣衛福部資訊處ServiceRequest類型值集 (required): 此slice綁定的值集之綁定強度雖為最高強度「要求使用(Requird)」,但因slice之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。


... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ProcedureCodes(SNOMEDCT) (required)
.... Slices for coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
..... coding:icd10-pcs-2023 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2023年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2021 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2021年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2014 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2014年中文版ICD-10-PCS值集 (required)
..... coding:medical-service-payment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署醫療服務給付項目-處置或手術值集 (required)
..... coding:sct-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: ProcedureCodes(SNOMEDCT) (required)
..... coding:loinc-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: LOINCCodes (required)
... subject S 1..1 Reference(TW Core Patient S | Group | TW Core Location | TW Core Implantable Device) Individual or Entity the service is ordered for
... encounter 0..1 Reference(TW Core Encounter) Encounter in which the request was created
... occurrence[x] S 0..1 When service should occur
.... occurrenceDateTime dateTime S
.... occurrencePeriod Period
.... occurrenceTiming Timing
... authoredOn S 0..1 dateTime Date request signed
... requester S 0..1 Reference(TW Core Practitioner S | TW Core Organization | TW Core Patient | TW Core PractitionerRole | TW Core RelatedPerson | TW Core Implantable Device) Who/what is requesting service
... locationReference 0..* Reference(TW Core Location) Requested location
... reasonCode 0..* CodeableConcept Explanation/Justification for procedure or service
Binding: SNOMED CT診斷代碼值集 (extensible)
... reasonReference 0..* Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) Explanation/Justification for service or service
... insurance 0..* Reference(TW Core Coverage | ClaimResponse) Associated insurance coverage
... specimen 0..* Reference(TW Core Specimen) Procedure Samples

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
ServiceRequest.category:twcorerequiredTWServiceRequestCategory
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/serviceRequest-category
from this IG
ServiceRequest.coderequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:icd10-pcs-2023requiredTW2023ICD10PCS (a valid code from 臺灣健保署2023年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2021requiredTW2021ICD10PCS (a valid code from 臺灣健保署2021年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2021-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2014requiredTW2014ICD10PCS (a valid code from 臺灣健保署2014年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw
from this IG
ServiceRequest.code.coding:medical-service-paymentrequiredTWMedicalServicePayment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw
from this IG
ServiceRequest.code.coding:sct-proceduresrequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:loinc-proceduresrequiredLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
ServiceRequest.reasonCodeextensibleTWConditionCodeSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/condition-code-sct-tw
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
prr-1: orderDetail SHALL only be present if code is present
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... basedOn Σ 0..* Reference(TW Core CarePlan | TW Core ServiceRequest | TW Core MedicationRequest) What request fulfills
... status ?!SΣ 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): The status of a service order.

... intent ?!SΣ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.

... Slices for category SΣ 0..* CodeableConceptTW Classification of service
Slice: Unordered, Open by pattern:$this
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.


.... category:twcore SΣ 0..* CodeableConcept Classification of service
Binding: 臺灣衛福部資訊處ServiceRequest類型值集 (required): 此slice綁定的值集之綁定強度雖為最高強度「要求使用(Requird)」,但因slice之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。


... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ProcedureCodes(SNOMEDCT) (required)
.... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
..... coding:icd10-pcs-2023 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2023年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2021 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2021年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2014 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2014年中文版ICD-10-PCS值集 (required)
..... coding:medical-service-payment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署醫療服務給付項目-處置或手術值集 (required)
..... coding:sct-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: ProcedureCodes(SNOMEDCT) (required)
..... coding:loinc-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: LOINCCodes (required)
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(TW Core Patient) Individual or Entity the service is ordered for
... encounter Σ 0..1 Reference(TW Core Encounter) Encounter in which the request was created
... occurrence[x] SΣ 0..1 When service should occur
.... occurrenceDateTime dateTime
... authoredOn SΣ 0..1 dateTime Date request signed
... requester SΣ 0..1 Reference(TW Core Practitioner) Who/what is requesting service
... locationReference Σ 0..* Reference(TW Core Location) Requested location
... reasonCode Σ 0..* CodeableConcept Explanation/Justification for procedure or service
Binding: SNOMED CT診斷代碼值集 (extensible)
... reasonReference Σ 0..* Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) Explanation/Justification for service or service
... insurance 0..* Reference(TW Core Coverage | ClaimResponse) Associated insurance coverage
... specimen Σ 0..* Reference(TW Core Specimen) Procedure Samples

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
ServiceRequest.statusrequiredRequestStatus
http://hl7.org/fhir/ValueSet/request-status|4.0.1
from the FHIR Standard
ServiceRequest.intentrequiredRequestIntent
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
from the FHIR Standard
ServiceRequest.categoryexampleServiceRequestCategoryCodes
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:twcorerequiredTWServiceRequestCategory
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/serviceRequest-category
from this IG
ServiceRequest.coderequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:icd10-pcs-2023requiredTW2023ICD10PCS (a valid code from 臺灣健保署2023年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2021requiredTW2021ICD10PCS (a valid code from 臺灣健保署2021年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2021-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2014requiredTW2014ICD10PCS (a valid code from 臺灣健保署2014年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw
from this IG
ServiceRequest.code.coding:medical-service-paymentrequiredTWMedicalServicePayment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw
from this IG
ServiceRequest.code.coding:sct-proceduresrequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:loinc-proceduresrequiredLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
ServiceRequest.reasonCodeextensibleTWConditionCodeSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/condition-code-sct-tw
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
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()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
prr-1: orderDetail SHALL only be present if code is present
... 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: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Identifiers assigned to this order
... instantiatesCanonical Σ 0..* canonical(ActivityDefinition | PlanDefinition) Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn Σ 0..* Reference(TW Core CarePlan | TW Core ServiceRequest | TW Core MedicationRequest) What request fulfills
... replaces Σ 0..* Reference(TW Core ServiceRequest) What request replaces
... requisition Σ 0..1 Identifier Composite Request ID
... status ?!SΣ 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): The status of a service order.

... intent ?!SΣ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.

... Slices for category SΣ 0..* CodeableConceptTW Classification of service
Slice: Unordered, Open by pattern:$this
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.


.... category:twcore SΣ 0..* CodeableConcept Classification of service
Binding: 臺灣衛福部資訊處ServiceRequest類型值集 (required): 此slice綁定的值集之綁定強度雖為最高強度「要求使用(Requird)」,但因slice之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。


... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ProcedureCodes(SNOMEDCT) (required)
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
..... coding:icd10-pcs-2023 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2023年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2021 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2021年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2014 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2014年中文版ICD-10-PCS值集 (required)
..... coding:medical-service-payment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署醫療服務給付項目-處置或手術值集 (required)
..... coding:sct-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: ProcedureCodes(SNOMEDCT) (required)
..... coding:loinc-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: LOINCCodes (required)
.... text SΣ 0..1 string 概念的文字表示法
... orderDetail ΣC 0..* CodeableConcept Additional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


... quantity[x] Σ 0..1 Service amount
.... quantityQuantity Quantity
.... quantityRatio Ratio
.... quantityRange Range
... subject SΣ 1..1 Reference(TW Core Patient S | Group | TW Core Location | TW Core Implantable Device) Individual or Entity the service is ordered for
... encounter Σ 0..1 Reference(TW Core Encounter) Encounter in which the request was created
... occurrence[x] SΣ 0..1 When service should occur
.... occurrenceDateTime dateTime S
.... occurrencePeriod Period
.... occurrenceTiming Timing
... asNeeded[x] Σ 0..1 Preconditions for service
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc.

.... asNeededBoolean boolean
.... asNeededCodeableConcept CodeableConcept
... authoredOn SΣ 0..1 dateTime Date request signed
... requester SΣ 0..1 Reference(TW Core Practitioner S | TW Core Organization | TW Core Patient | TW Core PractitionerRole | TW Core RelatedPerson | TW Core Implantable Device) Who/what is requesting service
... performerType Σ 0..1 CodeableConcept Performer role
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.

... performer Σ 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) Requested performer
... locationCode Σ 0..* CodeableConcept Requested location
Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered.


... locationReference Σ 0..* Reference(TW Core Location) Requested location
... reasonCode Σ 0..* CodeableConcept Explanation/Justification for procedure or service
Binding: SNOMED CT診斷代碼值集 (extensible)
... reasonReference Σ 0..* Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) Explanation/Justification for service or service
... insurance 0..* Reference(TW Core Coverage | ClaimResponse) Associated insurance coverage
... supportingInfo 0..* Reference(Resource) Additional clinical information
... specimen Σ 0..* Reference(TW Core Specimen) Procedure Samples
... bodySite Σ 0..* CodeableConcept Location on Body
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... note 0..* Annotation Comments
... patientInstruction Σ 0..1 string Patient or consumer-oriented instructions
... relevantHistory 0..* Reference(Provenance) Request provenance

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
ServiceRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
ServiceRequest.statusrequiredRequestStatus
http://hl7.org/fhir/ValueSet/request-status|4.0.1
from the FHIR Standard
ServiceRequest.intentrequiredRequestIntent
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
from the FHIR Standard
ServiceRequest.categoryexampleServiceRequestCategoryCodes
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:twcorerequiredTWServiceRequestCategory
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/serviceRequest-category
from this IG
ServiceRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
ServiceRequest.coderequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:icd10-pcs-2023requiredTW2023ICD10PCS (a valid code from 臺灣健保署2023年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2021requiredTW2021ICD10PCS (a valid code from 臺灣健保署2021年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2021-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2014requiredTW2014ICD10PCS (a valid code from 臺灣健保署2014年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw
from this IG
ServiceRequest.code.coding:medical-service-paymentrequiredTWMedicalServicePayment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw
from this IG
ServiceRequest.code.coding:sct-proceduresrequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:loinc-proceduresrequiredLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
from the FHIR Standard
ServiceRequest.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
ServiceRequest.performerTypeexampleParticipantRoles
http://hl7.org/fhir/ValueSet/participant-role
from the FHIR Standard
ServiceRequest.locationCodeexampleServiceDeliveryLocationRoleType
http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
ServiceRequest.reasonCodeextensibleTWConditionCodeSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/condition-code-sct-tw
from this IG
ServiceRequest.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
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()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()

This structure is derived from ServiceRequest

Summary

Mandatory: 1 element
Must-Support: 15 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ServiceRequest.category
  • The element 1 is sliced based on the value of ServiceRequest.code.coding

Differential View

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest ServiceRequest
... basedOn 0..* Reference(TW Core CarePlan | TW Core ServiceRequest | TW Core MedicationRequest) What request fulfills
... replaces 0..* Reference(TW Core ServiceRequest) What request replaces
... status S 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown
... Slices for category S 0..* CodeableConceptTW Classification of service
Slice: Unordered, Open by pattern:$this
.... category:twcore S 0..* CodeableConcept Classification of service
Binding: 臺灣衛福部資訊處ServiceRequest類型值集 (required): 此slice綁定的值集之綁定強度雖為最高強度「要求使用(Requird)」,但因slice之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。


... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ProcedureCodes(SNOMEDCT) (required)
.... Slices for coding 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
..... coding:icd10-pcs-2023 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2023年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2021 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2021年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2014 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2014年中文版ICD-10-PCS值集 (required)
..... coding:medical-service-payment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署醫療服務給付項目-處置或手術值集 (required)
..... coding:sct-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: ProcedureCodes(SNOMEDCT) (required)
..... coding:loinc-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: LOINCCodes (required)
... subject S 1..1 Reference(TW Core Patient S | Group | TW Core Location | TW Core Implantable Device) Individual or Entity the service is ordered for
... encounter 0..1 Reference(TW Core Encounter) Encounter in which the request was created
... occurrence[x] S 0..1 When service should occur
.... occurrenceDateTime dateTime S
.... occurrencePeriod Period
.... occurrenceTiming Timing
... authoredOn S 0..1 dateTime Date request signed
... requester S 0..1 Reference(TW Core Practitioner S | TW Core Organization | TW Core Patient | TW Core PractitionerRole | TW Core RelatedPerson | TW Core Implantable Device) Who/what is requesting service
... locationReference 0..* Reference(TW Core Location) Requested location
... reasonCode 0..* CodeableConcept Explanation/Justification for procedure or service
Binding: SNOMED CT診斷代碼值集 (extensible)
... reasonReference 0..* Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) Explanation/Justification for service or service
... insurance 0..* Reference(TW Core Coverage | ClaimResponse) Associated insurance coverage
... specimen 0..* Reference(TW Core Specimen) Procedure Samples

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
ServiceRequest.category:twcorerequiredTWServiceRequestCategory
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/serviceRequest-category
from this IG
ServiceRequest.coderequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:icd10-pcs-2023requiredTW2023ICD10PCS (a valid code from 臺灣健保署2023年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2021requiredTW2021ICD10PCS (a valid code from 臺灣健保署2021年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2021-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2014requiredTW2014ICD10PCS (a valid code from 臺灣健保署2014年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw
from this IG
ServiceRequest.code.coding:medical-service-paymentrequiredTWMedicalServicePayment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw
from this IG
ServiceRequest.code.coding:sct-proceduresrequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:loinc-proceduresrequiredLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
ServiceRequest.reasonCodeextensibleTWConditionCodeSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/condition-code-sct-tw
from this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
prr-1: orderDetail SHALL only be present if code is present
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... basedOn Σ 0..* Reference(TW Core CarePlan | TW Core ServiceRequest | TW Core MedicationRequest) What request fulfills
... status ?!SΣ 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): The status of a service order.

... intent ?!SΣ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.

... Slices for category SΣ 0..* CodeableConceptTW Classification of service
Slice: Unordered, Open by pattern:$this
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.


.... category:twcore SΣ 0..* CodeableConcept Classification of service
Binding: 臺灣衛福部資訊處ServiceRequest類型值集 (required): 此slice綁定的值集之綁定強度雖為最高強度「要求使用(Requird)」,但因slice之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。


... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ProcedureCodes(SNOMEDCT) (required)
.... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
..... coding:icd10-pcs-2023 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2023年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2021 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2021年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2014 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2014年中文版ICD-10-PCS值集 (required)
..... coding:medical-service-payment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署醫療服務給付項目-處置或手術值集 (required)
..... coding:sct-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: ProcedureCodes(SNOMEDCT) (required)
..... coding:loinc-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: LOINCCodes (required)
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 1..1 Reference(TW Core Patient) Individual or Entity the service is ordered for
... encounter Σ 0..1 Reference(TW Core Encounter) Encounter in which the request was created
... occurrence[x] SΣ 0..1 When service should occur
.... occurrenceDateTime dateTime
... authoredOn SΣ 0..1 dateTime Date request signed
... requester SΣ 0..1 Reference(TW Core Practitioner) Who/what is requesting service
... locationReference Σ 0..* Reference(TW Core Location) Requested location
... reasonCode Σ 0..* CodeableConcept Explanation/Justification for procedure or service
Binding: SNOMED CT診斷代碼值集 (extensible)
... reasonReference Σ 0..* Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) Explanation/Justification for service or service
... insurance 0..* Reference(TW Core Coverage | ClaimResponse) Associated insurance coverage
... specimen Σ 0..* Reference(TW Core Specimen) Procedure Samples

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
ServiceRequest.statusrequiredRequestStatus
http://hl7.org/fhir/ValueSet/request-status|4.0.1
from the FHIR Standard
ServiceRequest.intentrequiredRequestIntent
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
from the FHIR Standard
ServiceRequest.categoryexampleServiceRequestCategoryCodes
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:twcorerequiredTWServiceRequestCategory
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/serviceRequest-category
from this IG
ServiceRequest.coderequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:icd10-pcs-2023requiredTW2023ICD10PCS (a valid code from 臺灣健保署2023年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2021requiredTW2021ICD10PCS (a valid code from 臺灣健保署2021年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2021-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2014requiredTW2014ICD10PCS (a valid code from 臺灣健保署2014年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw
from this IG
ServiceRequest.code.coding:medical-service-paymentrequiredTWMedicalServicePayment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw
from this IG
ServiceRequest.code.coding:sct-proceduresrequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:loinc-proceduresrequiredLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
ServiceRequest.reasonCodeextensibleTWConditionCodeSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/condition-code-sct-tw
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
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()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
prr-1: orderDetail SHALL only be present if code is present
... 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: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Identifiers assigned to this order
... instantiatesCanonical Σ 0..* canonical(ActivityDefinition | PlanDefinition) Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn Σ 0..* Reference(TW Core CarePlan | TW Core ServiceRequest | TW Core MedicationRequest) What request fulfills
... replaces Σ 0..* Reference(TW Core ServiceRequest) What request replaces
... requisition Σ 0..1 Identifier Composite Request ID
... status ?!SΣ 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): The status of a service order.

... intent ?!SΣ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.

... Slices for category SΣ 0..* CodeableConceptTW Classification of service
Slice: Unordered, Open by pattern:$this
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.


.... category:twcore SΣ 0..* CodeableConcept Classification of service
Binding: 臺灣衛福部資訊處ServiceRequest類型值集 (required): 此slice綁定的值集之綁定強度雖為最高強度「要求使用(Requird)」,但因slice之特性,其不會限制僅能填此值集中的代碼,故在實作時也可使用其他值集的代碼。


... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
... code S 1..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: ProcedureCodes(SNOMEDCT) (required)
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:$this
..... coding:icd10-pcs-2023 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2023年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2021 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2021年中文版ICD-10-PCS值集 (required)
..... coding:icd10-pcs-2014 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署2014年中文版ICD-10-PCS值集 (required)
..... coding:medical-service-payment S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣健保署醫療服務給付項目-處置或手術值集 (required)
..... coding:sct-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: ProcedureCodes(SNOMEDCT) (required)
..... coding:loinc-procedures S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: LOINCCodes (required)
.... text SΣ 0..1 string 概念的文字表示法
... orderDetail ΣC 0..* CodeableConcept Additional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


... quantity[x] Σ 0..1 Service amount
.... quantityQuantity Quantity
.... quantityRatio Ratio
.... quantityRange Range
... subject SΣ 1..1 Reference(TW Core Patient S | Group | TW Core Location | TW Core Implantable Device) Individual or Entity the service is ordered for
... encounter Σ 0..1 Reference(TW Core Encounter) Encounter in which the request was created
... occurrence[x] SΣ 0..1 When service should occur
.... occurrenceDateTime dateTime S
.... occurrencePeriod Period
.... occurrenceTiming Timing
... asNeeded[x] Σ 0..1 Preconditions for service
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc.

.... asNeededBoolean boolean
.... asNeededCodeableConcept CodeableConcept
... authoredOn SΣ 0..1 dateTime Date request signed
... requester SΣ 0..1 Reference(TW Core Practitioner S | TW Core Organization | TW Core Patient | TW Core PractitionerRole | TW Core RelatedPerson | TW Core Implantable Device) Who/what is requesting service
... performerType Σ 0..1 CodeableConcept Performer role
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.

... performer Σ 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) Requested performer
... locationCode Σ 0..* CodeableConcept Requested location
Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered.


... locationReference Σ 0..* Reference(TW Core Location) Requested location
... reasonCode Σ 0..* CodeableConcept Explanation/Justification for procedure or service
Binding: SNOMED CT診斷代碼值集 (extensible)
... reasonReference Σ 0..* Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) Explanation/Justification for service or service
... insurance 0..* Reference(TW Core Coverage | ClaimResponse) Associated insurance coverage
... supportingInfo 0..* Reference(Resource) Additional clinical information
... specimen Σ 0..* Reference(TW Core Specimen) Procedure Samples
... bodySite Σ 0..* CodeableConcept Location on Body
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... note 0..* Annotation Comments
... patientInstruction Σ 0..1 string Patient or consumer-oriented instructions
... relevantHistory 0..* Reference(Provenance) Request provenance

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
ServiceRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
ServiceRequest.statusrequiredRequestStatus
http://hl7.org/fhir/ValueSet/request-status|4.0.1
from the FHIR Standard
ServiceRequest.intentrequiredRequestIntent
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
from the FHIR Standard
ServiceRequest.categoryexampleServiceRequestCategoryCodes
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:twcorerequiredTWServiceRequestCategory
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/serviceRequest-category
from this IG
ServiceRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
ServiceRequest.coderequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:icd10-pcs-2023requiredTW2023ICD10PCS (a valid code from 臺灣健保署2023年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2021requiredTW2021ICD10PCS (a valid code from 臺灣健保署2021年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2021-tw
from this IG
ServiceRequest.code.coding:icd10-pcs-2014requiredTW2014ICD10PCS (a valid code from 臺灣健保署2014年中文版ICD-10-PCS)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw
from this IG
ServiceRequest.code.coding:medical-service-paymentrequiredTWMedicalServicePayment
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw
from this IG
ServiceRequest.code.coding:sct-proceduresrequiredProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.code.coding:loinc-proceduresrequiredLOINCCodes (a valid code from LOINC)
http://hl7.org/fhir/ValueSet/observation-codes
from the FHIR Standard
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
from the FHIR Standard
ServiceRequest.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
ServiceRequest.performerTypeexampleParticipantRoles
http://hl7.org/fhir/ValueSet/participant-role
from the FHIR Standard
ServiceRequest.locationCodeexampleServiceDeliveryLocationRoleType
http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
ServiceRequest.reasonCodeextensibleTWConditionCodeSCT
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/condition-code-sct-tw
from this IG
ServiceRequest.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
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()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()

This structure is derived from ServiceRequest

Summary

Mandatory: 1 element
Must-Support: 15 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ServiceRequest.category
  • The element 1 is sliced based on the value of ServiceRequest.code.coding

 

Other representations of profile: CSV, Excel, Schematron

Notes:

以下概述了此Profile所需的RESTful FHIR互動功能。有關TW Core IG支援的RESTful互動功能的完整清單,請參閱TW Core Server能力聲明

必須支援以下查詢參數:

  1. 必須(SHALL) 支援透過查詢參數 _id 查詢所有ServiceRequest:
    (如何透過token查詢)

    GET [base]/ServiceRequest?_id=[id]
    GET [base]/ServiceRequest/[id]

    例子:
    (1) GET [base]/ServiceRequest?_id=ser-example
    (2) GET [base]/ServiceRequest/ser-example

  2. 必須(SHALL) 支援透過查詢參數 patient 查詢所有ServiceRequest:
    (如何透過reference查詢)

    GET [base]/ServiceRequest?patient={Type/}[id]

    例子:
    (1) GET [base]/Observation?patient=Patient/pat-example

  3. 必須(SHALL) 支援透過查詢參數 patientcategory 查詢所有ServiceRequest:
    (如何透過reference查詢)
    (如何透過token查詢)
    GET [base]/ServiceRequest?patient={Type/}[id]&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/serviceRequest-category|sdoh

    例子:
    (1) GET [base]/ServiceRequest?patient=Patient/pat-example&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/serviceRequest-category|sdoh

  4. 必須(SHALL) 支援透過查詢參數 patientcategoryauthored 查詢所有ServiceRequest:
    (如何透過reference查詢)
    (如何透過token查詢)
    (如何透過date查詢)
    GET [base]/ServiceRequest?patient={Type/}[id]&category={system|}[code]&authored={gt|lt|ge|le}[date]{&authored={gt|lt|ge|le}[date]&...}

    例子:
    (1) GET [base]/ServiceRequest?patient=Patient/pat-example&category=https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/serviceRequest-category|sdoh&authored=ge2024-01-01T00:00:00Z

建議應該支援以下查詢參數:

  1. 建議應該(SHOULD) 支援透過查詢參數 patientstatus 查詢所有ServiceRequest:
    (如何透過reference查詢)
    (如何透過token查詢)
    GET [base]/ServiceRequest?patient={Type/}[id]&status={system|}[code]{,{system|}[code],...}

    例子:
    (1) GET [base]/ServiceRequest?patient=Patient/pat-example&status=final

  2. 建議應該(SHOULD) 支援透過查詢參數 patientcodeauthored 查詢所有ServiceRequest:
    (如何透過reference查詢)
    (如何透過token查詢)
    (如何透過date查詢)

    GET [base]/ServiceRequest?patient={Type/}[id]&code={system|}[code]{,{system|}[code],...}&authored={gt|lt|ge|le}[date]{&authored={gt|lt|ge|le}[date]&...}

    例子:
    (1) GET [base]/ServiceRequest?Patient/pat-example&code=http://snomed.info/sct|35637008&date=ge2019-01-14T00:00:00Z