Codes, extension, profiles and more
1.0.0 - ci-build Norway flag

Codes, extension, profiles and more - Local Development build (v1.0.0). See the Directory of published versions

Resource Profile: HnBasisServiceRequest

Official URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-serviceRequest Version: 1.0.0
Draft as of 2024-06-12 Responsible: Helsenorge Computable Name: HnBasisServiceRequest

ServiceRequest sendes til tjenesteytere for å informere om hvilke tjenester som ønskes fra leverandøren.

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 0..*ServiceRequestA request for a service to be performed
... identifier 1..*IdentifierSkal være UUID
.... system 1..1uriThe namespace for the identifier value
.... value 1..1stringThe value that is unique
... status C1..1codeDefault status er active
StatusActiveOrCompleted: status må være enten 'active' eller 'completed'.
Required Pattern: active
... intent C1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
IntentOrder: intent må være 'order'.
Required Pattern: order
... priority C1..1coderoutine | urgent | asap | stat
PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... subject 1..1Reference(Patient)Subject identifiserer innbygger.
.... reference 0..0
.... type 0..1uriType the reference refers to (e.g. "Patient")
Required Pattern: Patient
.... identifier
..... system C0..1uriDet skal benyttes fødselsnummer eller d-nummer.
ValidSubjectSystemURL: system URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
... performerType 0..1CodeableConceptPerformer role
Binding: ServiceRequest PerformerType Value Set (required)
... supportingInfo 0..*Reference(Resource)Supporting info kan brukes for å sende informasjon når det er frykt for smitte.

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
ServiceRequest.categoryrequiredServiceRequestCategoryVS
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS

Constraints

IdGradePath(s)DetailsRequirements
IntentOrdererrorServiceRequest.intentintent må være 'order'.
: value='order'
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
StatusActiveOrCompletederrorServiceRequest.statusstatus må være enten 'active' eller 'completed'.
: value='active' or value='completed'
ValidSubjectSystemURLerrorServiceRequest.subject.identifier.systemsystem URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
: value='urn:oid:2.16.578.1.12.4.1.4.1' or value='urn:oid:2.16.578.1.12.4.1.4.2'
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... implicitRules ?!ΣN0..1uriA set of rules under which this content was created
... modifierExtension ?!N0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier Σ1..*IdentifierSkal være UUID
.... use ?!ΣN0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1stringThe value that is unique
Example General: 123456
... intent ?!ΣC1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.


IntentOrder: intent må være 'order'.
Required Pattern: order
... category Σ1..*CodeableConceptHvis category er brukt og det mangler code bør beskrivelse av bestilling være i note
Binding: ServiceRequest Category Value Set (required)
... priority ΣC1..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.


PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... doNotPerform ?!ΣN0..1booleanTrue if service/procedure should not be performed
... orderDetail ΣCN0..*CodeableConceptAdditional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


... subject ΣC1..1Reference(Patient)Subject identifiserer innbygger.
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


Required Pattern: Patient
... performerType Σ0..1CodeableConceptPerformer role
Binding: ServiceRequest PerformerType Value Set (required)
... supportingInfo C0..*Reference(Resource)Supporting info kan brukes for å sende informasjon når det er frykt for smitte.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.identifier.userequiredIdentifierUse
ServiceRequest.statusrequiredPattern: active
ServiceRequest.intentrequiredPattern: order
ServiceRequest.categoryrequiredServiceRequestCategoryVS
ServiceRequest.priorityrequiredRequestPriority
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
ServiceRequest.subject.typeextensiblePattern: Patient
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS

Constraints

IdGradePath(s)DetailsRequirements
IntentOrdererrorServiceRequest.intentintent må være 'order'.
: value='order'
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
StatusActiveOrCompletederrorServiceRequest.statusstatus må være enten 'active' eller 'completed'.
: value='active' or value='completed'
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** elementsMust 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()
ref-1errorServiceRequest.subject, ServiceRequest.supportingInfoSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... id Σ0..1idLogical id of this artifact
... meta ΣN0..1MetaMetadata about the resource
... implicitRules ?!ΣN0..1uriA set of rules under which this content was created
... language N0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text N0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension N0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier Σ1..*IdentifierSkal være UUID
.... id 0..1stringUnique id for inter-element referencing
.... extension N0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!ΣN0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type ΣN0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1stringThe value that is unique
Example General: 123456
.... period ΣCN0..1PeriodTime period when id is/was valid for use
.... assigner ΣCN0..1Reference(Organization)Organization that issued id (may be just text)
... instantiatesCanonical ΣN0..*canonical(ActivityDefinition | PlanDefinition)Instantiates FHIR protocol or definition
... instantiatesUri ΣN0..*uriInstantiates external protocol or definition
... basedOn ΣCN0..*Reference(CarePlan | ServiceRequest | MedicationRequest)What request fulfills
... replaces ΣCN0..*Reference(ServiceRequest)What request replaces
... requisition ΣN0..1IdentifierComposite Request ID
... status ?!ΣC1..1codeDefault status er active
Binding: RequestStatus (required): The status of a service order.


StatusActiveOrCompleted: status må være enten 'active' eller 'completed'.
Required Pattern: active
... intent ?!ΣC1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.


IntentOrder: intent må være 'order'.
Required Pattern: order
... category Σ1..*CodeableConceptHvis category er brukt og det mangler code bør beskrivelse av bestilling være i note
Binding: ServiceRequest Category Value Set (required)
... priority ΣC1..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.


PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... doNotPerform ?!ΣN0..1booleanTrue if service/procedure should not be performed
... code ΣN0..1CodeableConceptWhat 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 and a valueset using LOINC Order codes is available here.

... orderDetail ΣCN0..*CodeableConceptAdditional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


... quantity[x] ΣN0..1Service amount
.... quantityQuantityQuantity
.... quantityRatioRatio
.... quantityRangeRange
... subject ΣC1..1Reference(Patient)Subject identifiserer innbygger.
.... id 0..1stringUnique id for inter-element referencing
.... extension N0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


Required Pattern: Patient
.... identifier ΣN0..1IdentifierLogical reference, when literal reference is not known
..... id 0..1stringUnique id for inter-element referencing
..... extension N0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!ΣN0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type ΣN0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system ΣC0..1uriDet skal benyttes fødselsnummer eller d-nummer.
ValidSubjectSystemURL: system URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
Example General: http://www.acme.com/identifiers/patient
..... value ΣN0..1stringThe value that is unique
Example General: 123456
..... period ΣCN0..1PeriodTime period when id is/was valid for use
..... assigner ΣCN0..1Reference(Organization)Organization that issued id (may be just text)
.... display ΣN0..1stringText alternative for the resource
... encounter ΣCN0..1Reference(Encounter)Encounter in which the request was created
... occurrence[x] ΣN0..1When service should occur
.... occurrenceDateTimedateTime
.... occurrencePeriodPeriod
.... occurrenceTimingTiming
... asNeeded[x] ΣN0..1Preconditions 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.

.... asNeededBooleanboolean
.... asNeededCodeableConceptCodeableConcept
... authoredOn ΣN0..1dateTimeDate request signed
... requester ΣCN0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)Who/what is requesting service
... performerType Σ0..1CodeableConceptPerformer role
Binding: ServiceRequest PerformerType Value Set (required)
... performer ΣCN0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson)Requested performer
... locationCode ΣN0..*CodeableConceptRequested location
Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered.


... locationReference ΣCN0..*Reference(Location)Requested location
... reasonCode ΣN0..*CodeableConceptExplanation/Justification for procedure or service
Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation.


... reasonReference ΣCN0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Explanation/Justification for service or service
... insurance CN0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... supportingInfo C0..*Reference(Resource)Supporting info kan brukes for å sende informasjon når det er frykt for smitte.
... specimen ΣCN0..*Reference(Specimen)Procedure Samples
... bodySite ΣN0..*CodeableConceptLocation on Body
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... note N0..*AnnotationComments
... patientInstruction ΣN0..1stringPatient or consumer-oriented instructions
... relevantHistory CN0..*Reference(Provenance)Request provenance

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
ServiceRequest.identifier.userequiredIdentifierUse
ServiceRequest.identifier.typeextensibleIdentifier Type Codes
ServiceRequest.statusrequiredPattern: active
ServiceRequest.intentrequiredPattern: order
ServiceRequest.categoryrequiredServiceRequestCategoryVS
ServiceRequest.priorityrequiredRequestPriority
ServiceRequest.codeexampleProcedureCodes(SNOMEDCT)
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
ServiceRequest.subject.typeextensiblePattern: Patient
ServiceRequest.subject.identifier.userequiredIdentifierUse
ServiceRequest.subject.identifier.typeextensibleIdentifier Type Codes
ServiceRequest.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS
ServiceRequest.locationCodeexampleServiceDeliveryLocationRoleType
ServiceRequest.reasonCodeexampleProcedureReasonCodes
ServiceRequest.bodySiteexampleSNOMEDCTBodyStructures

Constraints

IdGradePath(s)DetailsRequirements
IntentOrdererrorServiceRequest.intentintent må være 'order'.
: value='order'
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
StatusActiveOrCompletederrorServiceRequest.statusstatus må være enten 'active' eller 'completed'.
: value='active' or value='completed'
ValidSubjectSystemURLerrorServiceRequest.subject.identifier.systemsystem URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
: value='urn:oid:2.16.578.1.12.4.1.4.1' or value='urn:oid:2.16.578.1.12.4.1.4.2'
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** elementsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorServiceRequest.identifier.period, ServiceRequest.subject.identifier.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
ref-1errorServiceRequest.identifier.assigner, ServiceRequest.basedOn, ServiceRequest.replaces, ServiceRequest.subject, ServiceRequest.subject.identifier.assigner, ServiceRequest.encounter, ServiceRequest.requester, ServiceRequest.performer, ServiceRequest.locationReference, ServiceRequest.reasonReference, ServiceRequest.insurance, ServiceRequest.supportingInfo, ServiceRequest.specimen, ServiceRequest.relevantHistorySHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ServiceRequest

Summary

Mandatory: 5 elements
Prohibited: 1 element

Differential View

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest 0..*ServiceRequestA request for a service to be performed
... identifier 1..*IdentifierSkal være UUID
.... system 1..1uriThe namespace for the identifier value
.... value 1..1stringThe value that is unique
... status C1..1codeDefault status er active
StatusActiveOrCompleted: status må være enten 'active' eller 'completed'.
Required Pattern: active
... intent C1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
IntentOrder: intent må være 'order'.
Required Pattern: order
... priority C1..1coderoutine | urgent | asap | stat
PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... subject 1..1Reference(Patient)Subject identifiserer innbygger.
.... reference 0..0
.... type 0..1uriType the reference refers to (e.g. "Patient")
Required Pattern: Patient
.... identifier
..... system C0..1uriDet skal benyttes fødselsnummer eller d-nummer.
ValidSubjectSystemURL: system URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
... performerType 0..1CodeableConceptPerformer role
Binding: ServiceRequest PerformerType Value Set (required)
... supportingInfo 0..*Reference(Resource)Supporting info kan brukes for å sende informasjon når det er frykt for smitte.

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
ServiceRequest.categoryrequiredServiceRequestCategoryVS
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS

Constraints

IdGradePath(s)DetailsRequirements
IntentOrdererrorServiceRequest.intentintent må være 'order'.
: value='order'
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
StatusActiveOrCompletederrorServiceRequest.statusstatus må være enten 'active' eller 'completed'.
: value='active' or value='completed'
ValidSubjectSystemURLerrorServiceRequest.subject.identifier.systemsystem URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
: value='urn:oid:2.16.578.1.12.4.1.4.1' or value='urn:oid:2.16.578.1.12.4.1.4.2'

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... implicitRules ?!ΣN0..1uriA set of rules under which this content was created
... modifierExtension ?!N0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier Σ1..*IdentifierSkal være UUID
.... use ?!ΣN0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1stringThe value that is unique
Example General: 123456
... intent ?!ΣC1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.


IntentOrder: intent må være 'order'.
Required Pattern: order
... category Σ1..*CodeableConceptHvis category er brukt og det mangler code bør beskrivelse av bestilling være i note
Binding: ServiceRequest Category Value Set (required)
... priority ΣC1..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.


PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... doNotPerform ?!ΣN0..1booleanTrue if service/procedure should not be performed
... orderDetail ΣCN0..*CodeableConceptAdditional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


... subject ΣC1..1Reference(Patient)Subject identifiserer innbygger.
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


Required Pattern: Patient
... performerType Σ0..1CodeableConceptPerformer role
Binding: ServiceRequest PerformerType Value Set (required)
... supportingInfo C0..*Reference(Resource)Supporting info kan brukes for å sende informasjon når det er frykt for smitte.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.identifier.userequiredIdentifierUse
ServiceRequest.statusrequiredPattern: active
ServiceRequest.intentrequiredPattern: order
ServiceRequest.categoryrequiredServiceRequestCategoryVS
ServiceRequest.priorityrequiredRequestPriority
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
ServiceRequest.subject.typeextensiblePattern: Patient
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS

Constraints

IdGradePath(s)DetailsRequirements
IntentOrdererrorServiceRequest.intentintent må være 'order'.
: value='order'
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
StatusActiveOrCompletederrorServiceRequest.statusstatus må være enten 'active' eller 'completed'.
: value='active' or value='completed'
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** elementsMust 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()
ref-1errorServiceRequest.subject, ServiceRequest.supportingInfoSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... id Σ0..1idLogical id of this artifact
... meta ΣN0..1MetaMetadata about the resource
... implicitRules ?!ΣN0..1uriA set of rules under which this content was created
... language N0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text N0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension N0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N0..*ExtensionExtensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier Σ1..*IdentifierSkal være UUID
.... id 0..1stringUnique id for inter-element referencing
.... extension N0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!ΣN0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type ΣN0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1stringThe value that is unique
Example General: 123456
.... period ΣCN0..1PeriodTime period when id is/was valid for use
.... assigner ΣCN0..1Reference(Organization)Organization that issued id (may be just text)
... instantiatesCanonical ΣN0..*canonical(ActivityDefinition | PlanDefinition)Instantiates FHIR protocol or definition
... instantiatesUri ΣN0..*uriInstantiates external protocol or definition
... basedOn ΣCN0..*Reference(CarePlan | ServiceRequest | MedicationRequest)What request fulfills
... replaces ΣCN0..*Reference(ServiceRequest)What request replaces
... requisition ΣN0..1IdentifierComposite Request ID
... status ?!ΣC1..1codeDefault status er active
Binding: RequestStatus (required): The status of a service order.


StatusActiveOrCompleted: status må være enten 'active' eller 'completed'.
Required Pattern: active
... intent ?!ΣC1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.


IntentOrder: intent må være 'order'.
Required Pattern: order
... category Σ1..*CodeableConceptHvis category er brukt og det mangler code bør beskrivelse av bestilling være i note
Binding: ServiceRequest Category Value Set (required)
... priority ΣC1..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.


PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... doNotPerform ?!ΣN0..1booleanTrue if service/procedure should not be performed
... code ΣN0..1CodeableConceptWhat 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 and a valueset using LOINC Order codes is available here.

... orderDetail ΣCN0..*CodeableConceptAdditional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


... quantity[x] ΣN0..1Service amount
.... quantityQuantityQuantity
.... quantityRatioRatio
.... quantityRangeRange
... subject ΣC1..1Reference(Patient)Subject identifiserer innbygger.
.... id 0..1stringUnique id for inter-element referencing
.... extension N0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


Required Pattern: Patient
.... identifier ΣN0..1IdentifierLogical reference, when literal reference is not known
..... id 0..1stringUnique id for inter-element referencing
..... extension N0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!ΣN0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type ΣN0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system ΣC0..1uriDet skal benyttes fødselsnummer eller d-nummer.
ValidSubjectSystemURL: system URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
Example General: http://www.acme.com/identifiers/patient
..... value ΣN0..1stringThe value that is unique
Example General: 123456
..... period ΣCN0..1PeriodTime period when id is/was valid for use
..... assigner ΣCN0..1Reference(Organization)Organization that issued id (may be just text)
.... display ΣN0..1stringText alternative for the resource
... encounter ΣCN0..1Reference(Encounter)Encounter in which the request was created
... occurrence[x] ΣN0..1When service should occur
.... occurrenceDateTimedateTime
.... occurrencePeriodPeriod
.... occurrenceTimingTiming
... asNeeded[x] ΣN0..1Preconditions 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.

.... asNeededBooleanboolean
.... asNeededCodeableConceptCodeableConcept
... authoredOn ΣN0..1dateTimeDate request signed
... requester ΣCN0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)Who/what is requesting service
... performerType Σ0..1CodeableConceptPerformer role
Binding: ServiceRequest PerformerType Value Set (required)
... performer ΣCN0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson)Requested performer
... locationCode ΣN0..*CodeableConceptRequested location
Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered.


... locationReference ΣCN0..*Reference(Location)Requested location
... reasonCode ΣN0..*CodeableConceptExplanation/Justification for procedure or service
Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation.


... reasonReference ΣCN0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Explanation/Justification for service or service
... insurance CN0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... supportingInfo C0..*Reference(Resource)Supporting info kan brukes for å sende informasjon når det er frykt for smitte.
... specimen ΣCN0..*Reference(Specimen)Procedure Samples
... bodySite ΣN0..*CodeableConceptLocation on Body
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... note N0..*AnnotationComments
... patientInstruction ΣN0..1stringPatient or consumer-oriented instructions
... relevantHistory CN0..*Reference(Provenance)Request provenance

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
ServiceRequest.identifier.userequiredIdentifierUse
ServiceRequest.identifier.typeextensibleIdentifier Type Codes
ServiceRequest.statusrequiredPattern: active
ServiceRequest.intentrequiredPattern: order
ServiceRequest.categoryrequiredServiceRequestCategoryVS
ServiceRequest.priorityrequiredRequestPriority
ServiceRequest.codeexampleProcedureCodes(SNOMEDCT)
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
ServiceRequest.subject.typeextensiblePattern: Patient
ServiceRequest.subject.identifier.userequiredIdentifierUse
ServiceRequest.subject.identifier.typeextensibleIdentifier Type Codes
ServiceRequest.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS
ServiceRequest.locationCodeexampleServiceDeliveryLocationRoleType
ServiceRequest.reasonCodeexampleProcedureReasonCodes
ServiceRequest.bodySiteexampleSNOMEDCTBodyStructures

Constraints

IdGradePath(s)DetailsRequirements
IntentOrdererrorServiceRequest.intentintent må være 'order'.
: value='order'
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
StatusActiveOrCompletederrorServiceRequest.statusstatus må være enten 'active' eller 'completed'.
: value='active' or value='completed'
ValidSubjectSystemURLerrorServiceRequest.subject.identifier.systemsystem URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
: value='urn:oid:2.16.578.1.12.4.1.4.1' or value='urn:oid:2.16.578.1.12.4.1.4.2'
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** elementsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorServiceRequest.identifier.period, ServiceRequest.subject.identifier.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
ref-1errorServiceRequest.identifier.assigner, ServiceRequest.basedOn, ServiceRequest.replaces, ServiceRequest.subject, ServiceRequest.subject.identifier.assigner, ServiceRequest.encounter, ServiceRequest.requester, ServiceRequest.performer, ServiceRequest.locationReference, ServiceRequest.reasonReference, ServiceRequest.insurance, ServiceRequest.supportingInfo, ServiceRequest.specimen, ServiceRequest.relevantHistorySHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ServiceRequest

Summary

Mandatory: 5 elements
Prohibited: 1 element

 

Other representations of profile: CSV, Excel, Schematron