Codes, extension, profiles and more
1.0.0 - ci-build
Codes, extension, profiles and more - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-serviceRequest | Version: 1.0.0 | |||
Draft as of 2024-11-07 | Computable Name: HnBasisServiceRequest |
ServiceRequest sendes til tjenesteytere for å informere om hvilke tjenester som ønskes fra leverandøren.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | 0..* | ServiceRequest | A request for a service to be performed | |
identifier | 1..* | Identifier | Skal være UUID | |
system | 1..1 | uri | The namespace for the identifier value | |
value | 1..1 | string | The value that is unique | |
status | C | 1..1 | code | Default status er active StatusActiveOrCompleted: status må være enten 'active' eller 'completed'. Required Pattern: active |
intent | C | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option IntentOrder: intent må være 'order'. Required Pattern: order |
category | 1..* | CodeableConcept | Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note Binding: ServiceRequest Category Value Set (required) | |
priority | C | 1..1 | code | routine | urgent | asap | stat PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'. |
subject | 1..1 | Reference(Patient) | Subject identifiserer innbygger. | |
reference | 0..0 | |||
type | 0..1 | uri | Type the reference refers to (e.g. "Patient") Required Pattern: Patient | |
identifier | ||||
system | C | 0..1 | uri | Det 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..1 | CodeableConcept | Performer 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. | |
Documentation for this format |
Path | Conformance | ValueSet | URI |
ServiceRequest.category | required | ServiceRequestCategoryVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs from this IG | |
ServiceRequest.performerType | required | ServiceRequestPerformerTypeVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs from this IG |
Id | Grade | Path(s) | Details | Requirements |
IntentOrder | error | ServiceRequest.intent | intent må være 'order'. : value='order' | |
PriorityUrgentOrRoutine | error | ServiceRequest.priority | priority må være enten 'routine' eller 'urgent'. : value='routine' or value='urgent' | |
StatusActiveOrCompleted | error | ServiceRequest.status | status må være enten 'active' eller 'completed'. : value='active' or value='completed' | |
ValidSubjectSystemURL | error | ServiceRequest.subject.identifier.system | 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'. : 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' |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | ?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
identifier | Σ | 1..* | Identifier | Skal være UUID |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | The value that is unique Example General: 123456 |
status | ?!ΣC | 1..1 | code | Default 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 | ?!ΣC | 1..1 | code | proposal | 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..* | CodeableConcept | Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note Binding: ServiceRequest Category Value Set (required) |
priority | ΣC | 1..1 | code | routine | 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 | ?!Σ | 0..1 | boolean | True if service/procedure should not be performed |
orderDetail | ΣC | 0..* | CodeableConcept | Additional order information Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context. |
subject | ΣC | 1..1 | Reference(Patient) | Subject identifiserer innbygger. ref-1: SHALL have a contained resource if a local reference is provided |
type | Σ | 0..1 | uri | Type 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..1 | CodeableConcept | Performer role Binding: ServiceRequest PerformerType Value Set (required) |
supportingInfo | C | 0..* | Reference(Resource) | Supporting info kan brukes for å sende informasjon når det er frykt for smitte. ref-1: SHALL have a contained resource if a local reference is provided |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
ServiceRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
ServiceRequest.status | required | Pattern: activehttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | |
ServiceRequest.intent | required | Pattern: orderhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 from the FHIR Standard | |
ServiceRequest.category | required | ServiceRequestCategoryVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs from this IG | |
ServiceRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1 from the FHIR Standard | |
ServiceRequest.orderDetail | example | ServiceRequestOrderDetailsCodeshttp://hl7.org/fhir/ValueSet/servicerequest-orderdetail from the FHIR Standard | |
ServiceRequest.subject.type | extensible | Pattern: Patienthttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
ServiceRequest.performerType | required | ServiceRequestPerformerTypeVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs from this IG |
Id | Grade | Path(s) | Details | Requirements |
IntentOrder | error | ServiceRequest.intent | intent må være 'order'. : value='order' | |
PriorityUrgentOrRoutine | error | ServiceRequest.priority | priority må være enten 'routine' eller 'urgent'. : value='routine' or value='urgent' | |
StatusActiveOrCompleted | error | ServiceRequest.status | status må være enten 'active' eller 'completed'. : value='active' or value='completed' | |
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** elements | 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() | |
ref-1 | error | ServiceRequest.subject, ServiceRequest.supportingInfo | SHALL 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')) |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
identifier | Σ | 1..* | Identifier | Skal være UUID | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description 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..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
value | Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
period | ΣC | 0..1 | Period | Time period when id is/was valid for use per-1: If present, start SHALL have a lower value than end | ||||
assigner | ΣC | 0..1 | Reference(Organization) | Organization that issued id (may be just text) ref-1: SHALL have a contained resource if a local reference is provided | ||||
instantiatesCanonical | Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition | ||||
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition | ||||
basedOn | ΣC | 0..* | Reference(CarePlan | ServiceRequest | MedicationRequest) | What request fulfills ref-1: SHALL have a contained resource if a local reference is provided | ||||
replaces | ΣC | 0..* | Reference(ServiceRequest) | What request replaces ref-1: SHALL have a contained resource if a local reference is provided | ||||
requisition | Σ | 0..1 | Identifier | Composite Request ID | ||||
status | ?!ΣC | 1..1 | code | Default 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 | ?!ΣC | 1..1 | code | proposal | 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..* | CodeableConcept | Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note Binding: ServiceRequest Category Value Set (required) | ||||
priority | ΣC | 1..1 | code | routine | 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 | ?!Σ | 0..1 | boolean | True if service/procedure should not be performed | ||||
code | Σ | 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 and a valueset using LOINC Order codes is available here. | ||||
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 | ΣC | 1..1 | Reference(Patient) | Subject identifiserer innbygger. ref-1: SHALL have a contained resource if a local reference is provided | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
type | Σ | 0..1 | uri | Type 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 | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description 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 | ΣC | 0..1 | uri | Det 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 | Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
period | ΣC | 0..1 | Period | Time period when id is/was valid for use per-1: If present, start SHALL have a lower value than end | ||||
assigner | ΣC | 0..1 | Reference(Organization) | Organization that issued id (may be just text) ref-1: SHALL have a contained resource if a local reference is provided | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
encounter | ΣC | 0..1 | Reference(Encounter) | Encounter in which the request was created ref-1: SHALL have a contained resource if a local reference is provided | ||||
occurrence[x] | Σ | 0..1 | When service should occur | |||||
occurrenceDateTime | dateTime | |||||||
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 | Σ | 0..1 | dateTime | Date request signed | ||||
requester | ΣC | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/what is requesting service ref-1: SHALL have a contained resource if a local reference is provided | ||||
performerType | Σ | 0..1 | CodeableConcept | Performer role Binding: ServiceRequest PerformerType Value Set (required) | ||||
performer | ΣC | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Requested performer ref-1: SHALL have a contained resource if a local reference is provided | ||||
locationCode | Σ | 0..* | CodeableConcept | Requested location Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered. | ||||
locationReference | ΣC | 0..* | Reference(Location) | Requested location ref-1: SHALL have a contained resource if a local reference is provided | ||||
reasonCode | Σ | 0..* | CodeableConcept | Explanation/Justification for procedure or service Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation. | ||||
reasonReference | ΣC | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Explanation/Justification for service or service ref-1: SHALL have a contained resource if a local reference is provided | ||||
insurance | C | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage ref-1: SHALL have a contained resource if a local reference is provided | ||||
supportingInfo | C | 0..* | Reference(Resource) | Supporting info kan brukes for å sende informasjon når det er frykt for smitte. ref-1: SHALL have a contained resource if a local reference is provided | ||||
specimen | ΣC | 0..* | Reference(Specimen) | Procedure Samples ref-1: SHALL have a contained resource if a local reference is provided | ||||
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 | C | 0..* | Reference(Provenance) | Request provenance ref-1: SHALL have a contained resource if a local reference is provided | ||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
ServiceRequest.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
ServiceRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
ServiceRequest.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
ServiceRequest.status | required | Pattern: activehttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | ||||
ServiceRequest.intent | required | Pattern: orderhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 from the FHIR Standard | ||||
ServiceRequest.category | required | ServiceRequestCategoryVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs from this IG | ||||
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.orderDetail | example | ServiceRequestOrderDetailsCodeshttp://hl7.org/fhir/ValueSet/servicerequest-orderdetail from the FHIR Standard | ||||
ServiceRequest.subject.type | extensible | Pattern: Patienthttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
ServiceRequest.subject.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
ServiceRequest.subject.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
ServiceRequest.asNeeded[x] | example | SNOMEDCTMedicationAsNeededReasonCodeshttp://hl7.org/fhir/ValueSet/medication-as-needed-reason from the FHIR Standard | ||||
ServiceRequest.performerType | required | ServiceRequestPerformerTypeVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs from this IG | ||||
ServiceRequest.locationCode | example | ServiceDeliveryLocationRoleTypehttp://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType | ||||
ServiceRequest.reasonCode | example | ProcedureReasonCodeshttp://hl7.org/fhir/ValueSet/procedure-reason from the FHIR Standard | ||||
ServiceRequest.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
IntentOrder | error | ServiceRequest.intent | intent må være 'order'. : value='order' | |
PriorityUrgentOrRoutine | error | ServiceRequest.priority | priority må være enten 'routine' eller 'urgent'. : value='routine' or value='urgent' | |
StatusActiveOrCompleted | error | ServiceRequest.status | status må være enten 'active' eller 'completed'. : value='active' or value='completed' | |
ValidSubjectSystemURL | error | ServiceRequest.subject.identifier.system | 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'. : 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-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** elements | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
per-1 | error | ServiceRequest.identifier.period, ServiceRequest.subject.identifier.period | If present, start SHALL have a lower value than end : start.hasValue().not() or end.hasValue().not() or (start <= end) | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() | |
ref-1 | error | ServiceRequest.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.relevantHistory | SHALL 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
Differential View
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | 0..* | ServiceRequest | A request for a service to be performed | |
identifier | 1..* | Identifier | Skal være UUID | |
system | 1..1 | uri | The namespace for the identifier value | |
value | 1..1 | string | The value that is unique | |
status | C | 1..1 | code | Default status er active StatusActiveOrCompleted: status må være enten 'active' eller 'completed'. Required Pattern: active |
intent | C | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option IntentOrder: intent må være 'order'. Required Pattern: order |
category | 1..* | CodeableConcept | Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note Binding: ServiceRequest Category Value Set (required) | |
priority | C | 1..1 | code | routine | urgent | asap | stat PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'. |
subject | 1..1 | Reference(Patient) | Subject identifiserer innbygger. | |
reference | 0..0 | |||
type | 0..1 | uri | Type the reference refers to (e.g. "Patient") Required Pattern: Patient | |
identifier | ||||
system | C | 0..1 | uri | Det 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..1 | CodeableConcept | Performer 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. | |
Documentation for this format |
Path | Conformance | ValueSet | URI |
ServiceRequest.category | required | ServiceRequestCategoryVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs from this IG | |
ServiceRequest.performerType | required | ServiceRequestPerformerTypeVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs from this IG |
Id | Grade | Path(s) | Details | Requirements |
IntentOrder | error | ServiceRequest.intent | intent må være 'order'. : value='order' | |
PriorityUrgentOrRoutine | error | ServiceRequest.priority | priority må være enten 'routine' eller 'urgent'. : value='routine' or value='urgent' | |
StatusActiveOrCompleted | error | ServiceRequest.status | status må være enten 'active' eller 'completed'. : value='active' or value='completed' | |
ValidSubjectSystemURL | error | ServiceRequest.subject.identifier.system | 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'. : 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
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | ?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
identifier | Σ | 1..* | Identifier | Skal være UUID |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | The value that is unique Example General: 123456 |
status | ?!ΣC | 1..1 | code | Default 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 | ?!ΣC | 1..1 | code | proposal | 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..* | CodeableConcept | Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note Binding: ServiceRequest Category Value Set (required) |
priority | ΣC | 1..1 | code | routine | 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 | ?!Σ | 0..1 | boolean | True if service/procedure should not be performed |
orderDetail | ΣC | 0..* | CodeableConcept | Additional order information Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context. |
subject | ΣC | 1..1 | Reference(Patient) | Subject identifiserer innbygger. ref-1: SHALL have a contained resource if a local reference is provided |
type | Σ | 0..1 | uri | Type 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..1 | CodeableConcept | Performer role Binding: ServiceRequest PerformerType Value Set (required) |
supportingInfo | C | 0..* | Reference(Resource) | Supporting info kan brukes for å sende informasjon når det er frykt for smitte. ref-1: SHALL have a contained resource if a local reference is provided |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
ServiceRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
ServiceRequest.status | required | Pattern: activehttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | |
ServiceRequest.intent | required | Pattern: orderhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 from the FHIR Standard | |
ServiceRequest.category | required | ServiceRequestCategoryVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs from this IG | |
ServiceRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1 from the FHIR Standard | |
ServiceRequest.orderDetail | example | ServiceRequestOrderDetailsCodeshttp://hl7.org/fhir/ValueSet/servicerequest-orderdetail from the FHIR Standard | |
ServiceRequest.subject.type | extensible | Pattern: Patienthttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | |
ServiceRequest.performerType | required | ServiceRequestPerformerTypeVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs from this IG |
Id | Grade | Path(s) | Details | Requirements |
IntentOrder | error | ServiceRequest.intent | intent må være 'order'. : value='order' | |
PriorityUrgentOrRoutine | error | ServiceRequest.priority | priority må være enten 'routine' eller 'urgent'. : value='routine' or value='urgent' | |
StatusActiveOrCompleted | error | ServiceRequest.status | status må være enten 'active' eller 'completed'. : value='active' or value='completed' | |
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** elements | 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() | |
ref-1 | error | ServiceRequest.subject, ServiceRequest.supportingInfo | SHALL 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
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
modifierExtension | ?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
identifier | Σ | 1..* | Identifier | Skal være UUID | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description 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..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
value | Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
period | ΣC | 0..1 | Period | Time period when id is/was valid for use per-1: If present, start SHALL have a lower value than end | ||||
assigner | ΣC | 0..1 | Reference(Organization) | Organization that issued id (may be just text) ref-1: SHALL have a contained resource if a local reference is provided | ||||
instantiatesCanonical | Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition | ||||
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition | ||||
basedOn | ΣC | 0..* | Reference(CarePlan | ServiceRequest | MedicationRequest) | What request fulfills ref-1: SHALL have a contained resource if a local reference is provided | ||||
replaces | ΣC | 0..* | Reference(ServiceRequest) | What request replaces ref-1: SHALL have a contained resource if a local reference is provided | ||||
requisition | Σ | 0..1 | Identifier | Composite Request ID | ||||
status | ?!ΣC | 1..1 | code | Default 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 | ?!ΣC | 1..1 | code | proposal | 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..* | CodeableConcept | Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note Binding: ServiceRequest Category Value Set (required) | ||||
priority | ΣC | 1..1 | code | routine | 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 | ?!Σ | 0..1 | boolean | True if service/procedure should not be performed | ||||
code | Σ | 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 and a valueset using LOINC Order codes is available here. | ||||
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 | ΣC | 1..1 | Reference(Patient) | Subject identifiserer innbygger. ref-1: SHALL have a contained resource if a local reference is provided | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
type | Σ | 0..1 | uri | Type 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 | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description 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 | ΣC | 0..1 | uri | Det 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 | Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
period | ΣC | 0..1 | Period | Time period when id is/was valid for use per-1: If present, start SHALL have a lower value than end | ||||
assigner | ΣC | 0..1 | Reference(Organization) | Organization that issued id (may be just text) ref-1: SHALL have a contained resource if a local reference is provided | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
encounter | ΣC | 0..1 | Reference(Encounter) | Encounter in which the request was created ref-1: SHALL have a contained resource if a local reference is provided | ||||
occurrence[x] | Σ | 0..1 | When service should occur | |||||
occurrenceDateTime | dateTime | |||||||
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 | Σ | 0..1 | dateTime | Date request signed | ||||
requester | ΣC | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/what is requesting service ref-1: SHALL have a contained resource if a local reference is provided | ||||
performerType | Σ | 0..1 | CodeableConcept | Performer role Binding: ServiceRequest PerformerType Value Set (required) | ||||
performer | ΣC | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Requested performer ref-1: SHALL have a contained resource if a local reference is provided | ||||
locationCode | Σ | 0..* | CodeableConcept | Requested location Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered. | ||||
locationReference | ΣC | 0..* | Reference(Location) | Requested location ref-1: SHALL have a contained resource if a local reference is provided | ||||
reasonCode | Σ | 0..* | CodeableConcept | Explanation/Justification for procedure or service Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation. | ||||
reasonReference | ΣC | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Explanation/Justification for service or service ref-1: SHALL have a contained resource if a local reference is provided | ||||
insurance | C | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage ref-1: SHALL have a contained resource if a local reference is provided | ||||
supportingInfo | C | 0..* | Reference(Resource) | Supporting info kan brukes for å sende informasjon når det er frykt for smitte. ref-1: SHALL have a contained resource if a local reference is provided | ||||
specimen | ΣC | 0..* | Reference(Specimen) | Procedure Samples ref-1: SHALL have a contained resource if a local reference is provided | ||||
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 | C | 0..* | Reference(Provenance) | Request provenance ref-1: SHALL have a contained resource if a local reference is provided | ||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
ServiceRequest.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
ServiceRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
ServiceRequest.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
ServiceRequest.status | required | Pattern: activehttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | ||||
ServiceRequest.intent | required | Pattern: orderhttp://hl7.org/fhir/ValueSet/request-intent|4.0.1 from the FHIR Standard | ||||
ServiceRequest.category | required | ServiceRequestCategoryVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs from this IG | ||||
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.orderDetail | example | ServiceRequestOrderDetailsCodeshttp://hl7.org/fhir/ValueSet/servicerequest-orderdetail from the FHIR Standard | ||||
ServiceRequest.subject.type | extensible | Pattern: Patienthttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
ServiceRequest.subject.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
ServiceRequest.subject.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
ServiceRequest.asNeeded[x] | example | SNOMEDCTMedicationAsNeededReasonCodeshttp://hl7.org/fhir/ValueSet/medication-as-needed-reason from the FHIR Standard | ||||
ServiceRequest.performerType | required | ServiceRequestPerformerTypeVShttp://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs from this IG | ||||
ServiceRequest.locationCode | example | ServiceDeliveryLocationRoleTypehttp://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType | ||||
ServiceRequest.reasonCode | example | ProcedureReasonCodeshttp://hl7.org/fhir/ValueSet/procedure-reason from the FHIR Standard | ||||
ServiceRequest.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-site from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
IntentOrder | error | ServiceRequest.intent | intent må være 'order'. : value='order' | |
PriorityUrgentOrRoutine | error | ServiceRequest.priority | priority må være enten 'routine' eller 'urgent'. : value='routine' or value='urgent' | |
StatusActiveOrCompleted | error | ServiceRequest.status | status må være enten 'active' eller 'completed'. : value='active' or value='completed' | |
ValidSubjectSystemURL | error | ServiceRequest.subject.identifier.system | 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'. : 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-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** elements | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
per-1 | error | ServiceRequest.identifier.period, ServiceRequest.subject.identifier.period | If present, start SHALL have a lower value than end : start.hasValue().not() or end.hasValue().not() or (start <= end) | |
prr-1 | error | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() | |
ref-1 | error | ServiceRequest.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.relevantHistory | SHALL 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
Other representations of profile: CSV, Excel, Schematron