QI-Core Implementation Guide - This is the current published version.. See the Directory of published versions
define "No VTE Prophylaxis Device Order":
(["ServiceRequest": "Venous foot pumps (VFP)"]
union ["ServiceRequest": "Intermittent pneumatic compression devices (IPC)"]
union ["ServiceRequest": "Graduated compression stockings (GCS)"]
) DeviceOrder
where DeviceOrder.status = 'completed'
and DeviceOrder.doNotPerform is true
Negation Example |
The official URL for this profile is:
http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested
Negation profile of ServiceRequest for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.
This profile builds on ServiceRequest.
This profile was published on Wed Aug 22 00:00:00 UTC 2018 as a draft by Health Level Seven, Inc. - CQI WG.
Description of Profiles, Differentials, and Snapshots.
Summary
Mandatory: 3 elements (1 nested mandatory element)
Must-Support: 11 elements
Fixed Value: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | I | 0..* | ServiceRequest | A request for a service to be performed |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
procedure-approachBodyStructure | I | 0..* | Reference(BodyStructure) | The access point or points used for this procedure URL: http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure |
qicore-servicerequest-appropriatenessScore | I | 0..1 | code, decimal | Appropriateness Score URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest-appropriatenessScore Binding: RAND Appropriateness Scores (required) |
qicore-doNotPerformReason | SI | 1..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason Binding: Negation Reason Codes (extensible) |
modifierExtension | ?!I | 0..* | (Slice Definition) | Extension Slice: Unordered, Open by value:url |
modifierExtension:isElective | ?!SI | 0..1 | QICoreIsElective | Extension |
identifier | ΣI | 0..* | Identifier | Identifiers assigned to this order |
instantiatesCanonical | ΣI | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition |
instantiatesUri | ΣI | 0..* | uri | Instantiates external protocol or definition |
basedOn | ΣI | 0..* | Reference(CarePlan | ServiceRequest | MedicationRequest) | What request fulfills |
replaces | ΣI | 0..* | Reference(ServiceRequest) | What request replaces |
requisition | ΣI | 0..1 | Identifier | Composite Request ID |
status | ?!SΣI | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required) Fixed Value: completed |
intent | ?!ΣI | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required) |
category | ΣI | 0..* | CodeableConcept | Classification of service Binding: ServiceRequestCategoryCodes (example) |
priority | ΣI | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
doNotPerform | ?!SΣI | 1..1 | boolean | True if service/procedure should not be performed Fixed Value: true |
code | SΣI | 0..1 | CodeableConcept | What is being requested/ordered Binding: US Core Procedure Codes (preferred) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | ΣI | 0..* | Coding | Code defined by a terminology system |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
valueset-reference | SI | 1..1 | uri | What was not requested URL: http://hl7.org/fhir/StructureDefinition/valueset-reference |
system | ΣI | 0..1 | uri | Identity of the terminology system |
version | ΣI | 0..1 | string | Version of the system - if relevant |
code | ΣI | 0..1 | code | Symbol in syntax defined by the system |
display | ΣI | 0..1 | string | Representation defined by the system |
userSelected | ΣI | 0..1 | boolean | If this coding was chosen directly by the user |
text | ΣI | 0..1 | string | Plain text representation of the concept |
orderDetail | ΣI | 0..* | CodeableConcept | Additional order information Binding: ServiceRequestOrderDetailsCodes (example) |
quantity[x] | ΣI | 0..1 | Service amount | |
quantityQuantity | Quantity | |||
quantityRatio | Ratio | |||
quantityRange | Range | |||
subject | SΣI | 1..1 | Reference(QICorePatient) | Individual or Entity the service is ordered for |
encounter | SΣI | 0..1 | Reference(Encounter) | Encounter in which the request was created |
occurrence[x] | SΣI | 0..1 | When service should occur | |
occurrenceDateTime | dateTime | |||
occurrencePeriod | Period | |||
occurrenceTiming | Timing | |||
asNeeded[x] | ΣI | 0..1 | Preconditions for service Binding: SNOMEDCTMedicationAsNeededReasonCodes (example) | |
asNeededBoolean | boolean | |||
asNeededCodeableConcept | CodeableConcept | |||
authoredOn | SΣI | 1..1 | dateTime | Date request signed |
requester | ΣI | 0..1 | Reference(QICorePractitioner | QICorePractitionerRole | QICoreOrganization | QICorePatient | QICoreRelatedPerson | QICoreDevice) | Who/what is requesting service |
performerType | ΣI | 0..1 | CodeableConcept | Performer role Binding: ParticipantRoles (example) |
performer | ΣI | 0..* | Reference(QICorePractitioner | QICoreOrganization | QICorePatient | QICoreDevice | QICoreRelatedPerson | HealthcareService) | Requested performer |
locationCode | ΣI | 0..* | CodeableConcept | Requested location Binding: V3 Value SetServiceDeliveryLocationRoleType (example) |
locationReference | ΣI | 0..* | Reference(Location) | Requested location |
reasonCode | ΣI | 0..* | CodeableConcept | Explanation/Justification for procedure or service Binding: ProcedureReasonCodes (example) |
reasonReference | ΣI | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Explanation/Justification for service or service |
insurance | I | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
supportingInfo | I | 0..* | Reference(Resource) | Additional clinical information |
specimen | ΣI | 0..* | Reference(Specimen) | Procedure Samples |
bodySite | SΣI | 0..* | CodeableConcept | Location on Body Binding: SNOMEDCTBodyStructures (example) |
note | I | 0..* | Annotation | Comments |
patientInstruction | ΣI | 0..1 | string | Patient or consumer-oriented instructions |
relevantHistory | I | 0..* | Reference(Provenance) | Request provenance |
Documentation for this format |
Summary
Mandatory: 3 elements (1 nested mandatory element)
Must-Support: 11 elements
Fixed Value: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
ServiceRequest | I | 0..* | ServiceRequest | A request for a service to be performed |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
procedure-approachBodyStructure | I | 0..* | Reference(BodyStructure) | The access point or points used for this procedure URL: http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure |
qicore-servicerequest-appropriatenessScore | I | 0..1 | code, decimal | Appropriateness Score URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest-appropriatenessScore Binding: RAND Appropriateness Scores (required) |
qicore-doNotPerformReason | SI | 1..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason Binding: Negation Reason Codes (extensible) |
modifierExtension | ?!I | 0..* | (Slice Definition) | Extension Slice: Unordered, Open by value:url |
modifierExtension:isElective | ?!SI | 0..1 | QICoreIsElective | Extension |
identifier | ΣI | 0..* | Identifier | Identifiers assigned to this order |
instantiatesCanonical | ΣI | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition |
instantiatesUri | ΣI | 0..* | uri | Instantiates external protocol or definition |
basedOn | ΣI | 0..* | Reference(CarePlan | ServiceRequest | MedicationRequest) | What request fulfills |
replaces | ΣI | 0..* | Reference(ServiceRequest) | What request replaces |
requisition | ΣI | 0..1 | Identifier | Composite Request ID |
status | ?!SΣI | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required) Fixed Value: completed |
intent | ?!ΣI | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required) |
category | ΣI | 0..* | CodeableConcept | Classification of service Binding: ServiceRequestCategoryCodes (example) |
priority | ΣI | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
doNotPerform | ?!SΣI | 1..1 | boolean | True if service/procedure should not be performed Fixed Value: true |
code | SΣI | 0..1 | CodeableConcept | What is being requested/ordered Binding: US Core Procedure Codes (preferred) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | ΣI | 0..* | Coding | Code defined by a terminology system |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
valueset-reference | SI | 1..1 | uri | What was not requested URL: http://hl7.org/fhir/StructureDefinition/valueset-reference |
system | ΣI | 0..1 | uri | Identity of the terminology system |
version | ΣI | 0..1 | string | Version of the system - if relevant |
code | ΣI | 0..1 | code | Symbol in syntax defined by the system |
display | ΣI | 0..1 | string | Representation defined by the system |
userSelected | ΣI | 0..1 | boolean | If this coding was chosen directly by the user |
text | ΣI | 0..1 | string | Plain text representation of the concept |
orderDetail | ΣI | 0..* | CodeableConcept | Additional order information Binding: ServiceRequestOrderDetailsCodes (example) |
quantity[x] | ΣI | 0..1 | Service amount | |
quantityQuantity | Quantity | |||
quantityRatio | Ratio | |||
quantityRange | Range | |||
subject | SΣI | 1..1 | Reference(QICorePatient) | Individual or Entity the service is ordered for |
encounter | SΣI | 0..1 | Reference(Encounter) | Encounter in which the request was created |
occurrence[x] | SΣI | 0..1 | When service should occur | |
occurrenceDateTime | dateTime | |||
occurrencePeriod | Period | |||
occurrenceTiming | Timing | |||
asNeeded[x] | ΣI | 0..1 | Preconditions for service Binding: SNOMEDCTMedicationAsNeededReasonCodes (example) | |
asNeededBoolean | boolean | |||
asNeededCodeableConcept | CodeableConcept | |||
authoredOn | SΣI | 1..1 | dateTime | Date request signed |
requester | ΣI | 0..1 | Reference(QICorePractitioner | QICorePractitionerRole | QICoreOrganization | QICorePatient | QICoreRelatedPerson | QICoreDevice) | Who/what is requesting service |
performerType | ΣI | 0..1 | CodeableConcept | Performer role Binding: ParticipantRoles (example) |
performer | ΣI | 0..* | Reference(QICorePractitioner | QICoreOrganization | QICorePatient | QICoreDevice | QICoreRelatedPerson | HealthcareService) | Requested performer |
locationCode | ΣI | 0..* | CodeableConcept | Requested location Binding: V3 Value SetServiceDeliveryLocationRoleType (example) |
locationReference | ΣI | 0..* | Reference(Location) | Requested location |
reasonCode | ΣI | 0..* | CodeableConcept | Explanation/Justification for procedure or service Binding: ProcedureReasonCodes (example) |
reasonReference | ΣI | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Explanation/Justification for service or service |
insurance | I | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
supportingInfo | I | 0..* | Reference(Resource) | Additional clinical information |
specimen | ΣI | 0..* | Reference(Specimen) | Procedure Samples |
bodySite | SΣI | 0..* | CodeableConcept | Location on Body Binding: SNOMEDCTBodyStructures (example) |
note | I | 0..* | Annotation | Comments |
patientInstruction | ΣI | 0..1 | string | Patient or consumer-oriented instructions |
relevantHistory | I | 0..* | Reference(Provenance) | Request provenance |
Documentation for this format |
Path | Conformance | ValueSet / Code |
ServiceRequest.language | preferred | CommonLanguages Max Binding: AllLanguages |
ServiceRequest.status | required | Fixed Value: completed |
ServiceRequest.intent | required | RequestIntent |
ServiceRequest.category | example | ServiceRequestCategoryCodes |
ServiceRequest.priority | required | RequestPriority |
ServiceRequest.code | preferred | USCoreProcedureCodes |
ServiceRequest.orderDetail | example | ServiceRequestOrderDetailsCodes |
ServiceRequest.asNeeded[x] | example | SNOMEDCTMedicationAsNeededReasonCodes |
ServiceRequest.performerType | example | ParticipantRoles |
ServiceRequest.locationCode | example | v3.ServiceDeliveryLocationRoleType |
ServiceRequest.reasonCode | example | ProcedureReasonCodes |
ServiceRequest.bodySite | example | SNOMEDCTBodyStructures |
Id | Path | Details | Requirements |
dom-2 | ServiceRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | 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 | 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 | ServiceRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | ServiceRequest | A resource should have narrative for robust management : text.`div`.exists() | |
prr-1 | ServiceRequest | orderDetail SHALL only be present if code is present : orderDetail.empty() or code.exists() | |
ele-1 | ServiceRequest.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ServiceRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ServiceRequest.extension:approachBodyStructure | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ServiceRequest.extension:approachBodyStructure | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ServiceRequest.extension:appropriatenessScore | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ServiceRequest.extension:appropriatenessScore | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ServiceRequest.extension:reasonRefused | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ServiceRequest.extension:reasonRefused | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ServiceRequest.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ServiceRequest.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ServiceRequest.modifierExtension:isElective | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ServiceRequest.modifierExtension:isElective | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ServiceRequest.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.instantiatesCanonical | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.instantiatesUri | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.replaces | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.requisition | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.intent | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.priority | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.doNotPerform | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.code.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ServiceRequest.code.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ServiceRequest.code.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.code.coding.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ServiceRequest.code.coding.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ServiceRequest.code.coding.extension:notDoneValueSet | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | ServiceRequest.code.coding.extension:notDoneValueSet | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | ServiceRequest.code.coding.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.code.coding.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.code.coding.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.code.coding.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.code.coding.userSelected | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.code.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.orderDetail | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.quantity[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.occurrence[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.asNeeded[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.authoredOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.requester | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.performerType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.performer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.locationCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.locationReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.insurance | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.supportingInfo | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.specimen | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.bodySite | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.patientInstruction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | ServiceRequest.relevantHistory | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |