## Profile Comparison between https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/ServiceRequest-twcore vs https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/ServiceRequest-twcore

Left: | TW Core ServiceRequest (https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/ServiceRequest-twcore)
Right: | TW Core ServiceRequest (https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/ServiceRequest-twcore)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.3.2' vs '1.0.0'
Information | StructureDefinition.date | Values for date differ: '2024-12-12T12:59:26+08:00' vs '2025-12-10T08:57:50+00:00'
Information | ServiceRequest.language | Example/preferred bindings differ at ServiceRequest.language using binding from TWCoreServiceRequest
Error | ServiceRequest.replaces | Type Mismatch: Reference([CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/ServiceRequest-twcore]]) vs Reference([CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/ServiceRequest-twcore]])
Information | StructureDefinition.short | Values for short differ: '概念（Concept）— 參照一個專門術語或只是文字表述' vs 'What is being requested/ordered'
Information | StructureDefinition.definition | Values for definition differ: 'A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.' vs 'A code that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested.'
Information | StructureDefinition.comment | Values for comment differ: 'Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.' vs 'Many laboratory and radiology procedure codes embed the specimen/organ system in the test order name, for example, serum or serum/plasma glucose, or a chest x-ray. The specimen might not be recorded separately from the test code.'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/ServiceRequest |
copyright |  |
date | 2024-12-12T12:59:26+08:00 | 2025-12-10T08:57:50+00:00 | Values Differ
description | 此臺灣核心-服務請求（TW Core ServiceRequest） Profile說明本IG如何進一步定義FHIR的ServiceRequest Resource以呈現服務請求資料。 |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
kind | resource |
name | TWCoreServiceRequest |
publisher |  |
purpose |  |
status | active |
title | TW Core ServiceRequest |
type | ServiceRequest |
url | https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/ServiceRequest-twcore |
version | 0.3.2 | 1.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
ServiceRequest | C | 0..* | ServiceRequest | A request for a service to be performed | C | 0..* | ServiceRequest | A request for a service to be performed |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
| Example/preferred bindings differ at ServiceRequest.language using binding from TWCoreServiceRequest
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | Identifiers assigned to this order | Σ | 0..* | Identifier | Identifiers assigned to this order |
instantiatesCanonical | Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition | Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition |
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition | Σ | 0..* | uri | Instantiates external protocol or definition |
basedOn | Σ | 0..* | Reference(TW Core CarePlan | TW Core ServiceRequest | TW Core MedicationRequest) | What request fulfills | Σ | 0..* | Reference(TW Core CarePlan | TW Core ServiceRequest | TW Core MedicationRequest) | What request fulfills |
replaces | Σ | 0..* | Reference(TW Core ServiceRequest) | What request replaces | Σ | 0..* | Reference(TW Core ServiceRequest) | What request replaces | Type Mismatch: Reference([CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/ServiceRequest-twcore]]) vs Reference([CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/ServiceRequest-twcore]])
requisition | Σ | 0..1 | Identifier | Composite Request ID | Σ | 0..1 | Identifier | Composite Request ID |
status | ?!S Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: ?? (required): The status of a service order. | ?!S Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: ?? (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: ?? (required): The kind of service request. | ?!S Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: ?? (required): The kind of service request. |
Slices for category | S Σ | 0..* | ?? | Classification of service Slice: Unordered, Open by pattern:$this Binding: ?? (example): Classification of the requested service. | S Σ | 0..* | ?? | Classification of service Slice: Unordered, Open by pattern:$this Binding: ?? (example): Classification of the requested service. |
priority | Σ | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request. | Σ | 0..1 | code | routine | urgent | asap | stat Binding: ?? (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 | ?!Σ | 0..1 | boolean | True if service/procedure should not be performed |
code | S | 1..1 | ?? | 概念（Concept）— 參照一個專門術語或只是文字表述 Binding: ?? (example): 此資料項目實作者可視實務專案需求只綁定以下slices中的任一值集。 | S Σ | 1..1 | ?? | What is being requested/ordered Binding: ?? (example): 此資料項目實作者可視實務專案需求只綁定以下slices中的任一值集。 |
id |  | 0..1 | string | 唯一可識別ID，以供資料項目間相互參照。 |  | 0..1 | string | 唯一可識別ID，以供資料項目間相互參照。 |
Slices for extension |  | 0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url |  | 0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url |
Slices for coding | S | 0..* | ?? | 由專門術語系統（terminology system）定義的代碼 Slice: Unordered, Open by pattern:$this | S Σ | 0..* | ?? | 由專門術語系統（terminology system）定義的代碼 Slice: Unordered, Open by pattern:$this |
text | S Σ | 0..1 | string | 概念的文字表示法 | S Σ | 0..1 | string | 概念的文字表示法 |
orderDetail | Σ C | 0..* | CodeableConcept | Additional order information Binding: ?? (example): Codified order entry details which are based on order context. | Σ C | 0..* | CodeableConcept | Additional order information Binding: ?? (example): Codified order entry details which are based on order context. |
quantity[x] | Σ | 0..1 | Quantity, Ratio, Range | Service amount | Σ | 0..1 | Quantity, Ratio, Range | Service amount |
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 | 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 | Σ | 0..1 | Reference(TW Core Encounter) | Encounter in which the request was created |
occurrence[x] | S Σ | 0..1 | dateTime S, Period, Timing | When service should occur | S Σ | 0..1 | dateTime S, Period, Timing | When service should occur |
asNeeded[x] | Σ | 0..1 | boolean, CodeableConcept | Preconditions for service Binding: ?? (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc. | Σ | 0..1 | boolean, CodeableConcept | Preconditions for service Binding: ?? (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc. |
authoredOn | S Σ | 0..1 | dateTime | Date request signed | 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 | 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: ?? (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc. | Σ | 0..1 | CodeableConcept | Performer role Binding: ?? (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc. |
performer | Σ | 0..* | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core CareTeam | HealthcareService | TW Core Patient | Device | TW Core RelatedPerson) | Requested performer | Σ | 0..* | Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core CareTeam | HealthcareService | TW Core Patient | Device | TW Core RelatedPerson) | Requested performer |
locationCode | Σ | 0..* | CodeableConcept | Requested location Binding: ?? (example): A location type where services are delivered. | Σ | 0..* | CodeableConcept | Requested location Binding: ?? (example): A location type where services are delivered. |
locationReference | Σ | 0..* | Reference(TW Core Location) | Requested location | Σ | 0..* | Reference(TW Core Location) | Requested location |
reasonCode | Σ | 0..* | CodeableConcept | Explanation/Justification for procedure or service Binding: ?? (extensible) | Σ | 0..* | CodeableConcept | Explanation/Justification for procedure or service Binding: ?? (extensible) |
reasonReference | Σ | 0..* | Reference(TW Core Condition | TW Core Observation Clinical Result | TW Core DiagnosticReport | TW Core DocumentReference) | Explanation/Justification for service or service | Σ | 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 |  | 0..* | Reference(TW Core Coverage | ClaimResponse) | Associated insurance coverage |
supportingInfo |  | 0..* | Reference(Resource) | Additional clinical information |  | 0..* | Reference(Resource) | Additional clinical information |
specimen | Σ | 0..* | Reference(TW Core Specimen) | Procedure Samples | Σ | 0..* | Reference(TW Core Specimen) | Procedure Samples |
bodySite | Σ | 0..* | CodeableConcept | Location on Body Binding: ?? (example): Codes describing anatomical locations. May include laterality. | Σ | 0..* | CodeableConcept | Location on Body Binding: ?? (example): Codes describing anatomical locations. May include laterality. |
note |  | 0..* | Annotation | Comments |  | 0..* | Annotation | Comments |
patientInstruction | Σ | 0..1 | string | Patient or consumer-oriented instructions | Σ | 0..1 | string | Patient or consumer-oriented instructions |
relevantHistory |  | 0..* | Reference(Provenance) | Request provenance |  | 0..* | Reference(Provenance) | Request provenance |
Documentation for this format