Health New Zealand Te Whatu Ora Shared Care FHIR API
0.4.1 - release
Health New Zealand Te Whatu Ora Shared Care FHIR API - Local Development build (v0.4.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/ManaakiNgaTahiServiceRequest | Version: 0.1.3 | |||
Active as of 2025-06-05 | Computable Name: ManaakiNgaTahiServiceRequest |
Service request FHIR resource for Manaaki Nga Tahi
Usages:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | ServiceRequest | A request for a service to be performed Constraints: prr-1 |
![]() ![]() ![]() |
Σ | 0..* | canonical(ActivityDefinition) | Instantiates FHIR protocol or definition |
![]() ![]() ![]() |
Σ | 0..* | Reference(CarePlan) | What request fulfills |
![]() ![]() ![]() |
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): The status of a service order. |
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request. |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if service/procedure should not be performed |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient) | Individual or Entity the service is ordered for |
![]() ![]() ![]() |
Σ | 1..1 | When service should occur Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | Must be in UTC timezone on the FHIR server |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Start | end value must be in UTC timezone on the FHIR server |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Performer role Binding: ParticipantRoles (required) |
![]() ![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Requested performer |
![]() |
Path | Conformance | ValueSet | URI |
ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 From the FHIR Standard | |
ServiceRequest.intent | required | RequestIntenthttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 From the FHIR Standard | |
ServiceRequest.performerType | required | ParticipantRoleshttp://hl7.org/fhir/ValueSet/participant-role From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If 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-4 | error | ServiceRequest | If 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-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() |
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | ServiceRequest | A request for a service to be performed | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..* | canonical(ActivityDefinition) | Instantiates FHIR protocol or definition | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..* | Reference(CarePlan) | What request fulfills | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Reference(Patient) | Individual or Entity the service is ordered for | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | dateTime, Period, Timing | When service should occur Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | Must be in UTC timezone on the FHIR server | |
![]() ![]() ![]() ![]() |
0..1 | Period | Start | end value must be in UTC timezone on the FHIR server | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Performer role Binding: ParticipantRoles (required) | |
![]() ![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Requested performer | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() |
Path | Conformance | ValueSet | URI |
ServiceRequest.performerType | required | ParticipantRoleshttp://hl7.org/fhir/ValueSet/participant-role From the FHIR Standard |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | ServiceRequest | A request for a service to be performed Constraints: prr-1 |
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
Σ | 0..* | canonical(ActivityDefinition) | Instantiates FHIR protocol or definition |
![]() ![]() ![]() |
Σ | 0..* | Reference(CarePlan) | What request fulfills |
![]() ![]() ![]() |
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): The status of a service order. |
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request. |
![]() ![]() ![]() |
Σ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if service/procedure should not be performed |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | What is being requested/ordered Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred. |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient) | Individual or Entity the service is ordered for |
![]() ![]() ![]() |
Σ | 1..1 | When service should occur Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | Must be in UTC timezone on the FHIR server |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Start | end value must be in UTC timezone on the FHIR server |
![]() ![]() ![]() |
Σ | 0..1 | dateTime | Date request signed |
![]() ![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/what is requesting service |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Performer role Binding: ParticipantRoles (required) |
![]() ![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Requested performer |
![]() |
Path | Conformance | ValueSet | URI |
ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 From the FHIR Standard | |
ServiceRequest.intent | required | RequestIntenthttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 From the FHIR Standard | |
ServiceRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1 From the FHIR Standard | |
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code From the FHIR Standard | |
ServiceRequest.performerType | required | ParticipantRoleshttp://hl7.org/fhir/ValueSet/participant-role From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If 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-4 | error | ServiceRequest | If 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-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() |
This structure is derived from ServiceRequest
Summary
Mandatory: 1 element
Prohibited: 23 elements
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | ServiceRequest | A request for a service to be performed Constraints: prr-1 |
![]() ![]() ![]() |
Σ | 0..* | canonical(ActivityDefinition) | Instantiates FHIR protocol or definition |
![]() ![]() ![]() |
Σ | 0..* | Reference(CarePlan) | What request fulfills |
![]() ![]() ![]() |
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): The status of a service order. |
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request. |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if service/procedure should not be performed |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient) | Individual or Entity the service is ordered for |
![]() ![]() ![]() |
Σ | 1..1 | When service should occur Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | Must be in UTC timezone on the FHIR server |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Start | end value must be in UTC timezone on the FHIR server |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Performer role Binding: ParticipantRoles (required) |
![]() ![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Requested performer |
![]() |
Path | Conformance | ValueSet | URI |
ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 From the FHIR Standard | |
ServiceRequest.intent | required | RequestIntenthttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 From the FHIR Standard | |
ServiceRequest.performerType | required | ParticipantRoleshttp://hl7.org/fhir/ValueSet/participant-role From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If 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-4 | error | ServiceRequest | If 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-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() |
Differential View
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | ServiceRequest | A request for a service to be performed | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..* | canonical(ActivityDefinition) | Instantiates FHIR protocol or definition | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..* | Reference(CarePlan) | What request fulfills | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Reference(Patient) | Individual or Entity the service is ordered for | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | dateTime, Period, Timing | When service should occur Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | Must be in UTC timezone on the FHIR server | |
![]() ![]() ![]() ![]() |
0..1 | Period | Start | end value must be in UTC timezone on the FHIR server | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | Performer role Binding: ParticipantRoles (required) | |
![]() ![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Requested performer | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() |
Path | Conformance | ValueSet | URI |
ServiceRequest.performerType | required | ParticipantRoleshttp://hl7.org/fhir/ValueSet/participant-role From the FHIR Standard |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | ServiceRequest | A request for a service to be performed Constraints: prr-1 |
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource |
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
Σ | 0..* | canonical(ActivityDefinition) | Instantiates FHIR protocol or definition |
![]() ![]() ![]() |
Σ | 0..* | Reference(CarePlan) | What request fulfills |
![]() ![]() ![]() |
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): The status of a service order. |
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request. |
![]() ![]() ![]() |
Σ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if service/procedure should not be performed |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | What is being requested/ordered Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred. |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient) | Individual or Entity the service is ordered for |
![]() ![]() ![]() |
Σ | 1..1 | When service should occur Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | Must be in UTC timezone on the FHIR server |
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Start | end value must be in UTC timezone on the FHIR server |
![]() ![]() ![]() |
Σ | 0..1 | dateTime | Date request signed |
![]() ![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/what is requesting service |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Performer role Binding: ParticipantRoles (required) |
![]() ![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Requested performer |
![]() |
Path | Conformance | ValueSet | URI |
ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 From the FHIR Standard | |
ServiceRequest.intent | required | RequestIntenthttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 From the FHIR Standard | |
ServiceRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1 From the FHIR Standard | |
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code From the FHIR Standard | |
ServiceRequest.performerType | required | ParticipantRoleshttp://hl7.org/fhir/ValueSet/participant-role From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | ServiceRequest | If 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-4 | error | ServiceRequest | If 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-5 | error | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() |
This structure is derived from ServiceRequest
Summary
Mandatory: 1 element
Prohibited: 23 elements
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron