--- :name: us_core_servicerequest :class_name: USCorev700ServicerequestSequence :version: v7.0.0 :reformatted_version: v700 :resource: ServiceRequest :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest :profile_name: US Core ServiceRequest Profile :profile_version: 7.0.0 :title: ServiceRequest :short_description: Verify support for the server capabilities required by the US Core ServiceRequest Profile. :is_delayed: false :interactions: - :code: create :expectation: MAY - :code: search-type :expectation: MAY - :code: read :expectation: SHALL - :code: vread :expectation: SHOULD - :code: update :expectation: MAY - :code: patch :expectation: MAY - :code: delete :expectation: MAY - :code: history-instance :expectation: SHOULD - :code: history-type :expectation: MAY :operations: [] :searches: - :names: - patient :expectation: SHALL :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :names: - _id :expectation: SHALL :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHALL :names: - patient - code :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHALL :names: - patient - category - authored :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - code - authored :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - status :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHALL :names: - patient - category :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true :search_definitions: :_id: :paths: - id :full_paths: - ServiceRequest.id :comparators: {} :values: [] :type: http://hl7.org/fhirpath/System.String :contains_multiple: false :multiple_or: MAY :patient: :paths: - subject :full_paths: - ServiceRequest.subject :comparators: {} :values: [] :type: Reference :contains_multiple: false :multiple_or: MAY :code: :paths: - code :full_paths: - ServiceRequest.code :comparators: {} :values: [] :type: CodeableConcept :contains_multiple: false :multiple_or: SHOULD :category: :paths: - category :full_paths: - ServiceRequest.category :comparators: {} :values: - sdoh - functional-status - disability-status - cognitive-status - treatment-intervention-preference - care-experience-preference - '386053000' - '410606002' - '108252007' - '363679005' - '409063005' - '409073007' - '387713003' :type: CodeableConcept :contains_multiple: true :multiple_or: MAY :authored: :paths: - authoredOn :full_paths: - ServiceRequest.authoredOn :comparators: :eq: MAY :ne: MAY :gt: SHALL :ge: SHALL :lt: SHALL :le: SHALL :sa: MAY :eb: MAY :ap: MAY :values: [] :type: dateTime :contains_multiple: false :multiple_or: MAY :status: :paths: - status :full_paths: - ServiceRequest.status :comparators: {} :values: - draft - active - on-hold - revoked - completed - entered-in-error - unknown :type: code :contains_multiple: false :multiple_or: SHALL :include_params: [] :revincludes: - Provenance:target :required_concepts: - category :must_supports: :extensions: [] :slices: - :slice_id: ServiceRequest.category:us-core :slice_name: us-core :path: category :discriminator: :type: requiredBinding :path: '' :values: - :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category :code: sdoh - :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category :code: functional-status - :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category :code: disability-status - :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category :code: cognitive-status - :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category :code: treatment-intervention-preference - :system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category :code: care-experience-preference - :system: http://snomed.info/sct :code: '386053000' - :system: http://snomed.info/sct :code: '410606002' - :system: http://snomed.info/sct :code: '108252007' - :system: http://snomed.info/sct :code: '363679005' - :system: http://snomed.info/sct :code: '409063005' - :system: http://snomed.info/sct :code: '409073007' - :system: http://snomed.info/sct :code: '387713003' :elements: - :path: status - :path: intent - :path: category - :path: code - :path: subject :types: - Reference :target_profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - :path: encounter :types: - Reference :target_profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter - :path: occurrencePeriod :original_path: occurrence[x] - :path: authoredOn - :path: requester :types: - Reference :target_profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner - :path: reasonCode :uscdi_only: true - :path: reasonReference :uscdi_only: true :types: - Reference :choices: - :paths: - reasonCode - reasonReference :uscdi_only: true :mandatory_elements: - ServiceRequest.status - ServiceRequest.intent - ServiceRequest.code - ServiceRequest.subject :bindings: - :type: code :strength: required :system: http://hl7.org/fhir/ValueSet/request-status :path: status - :type: code :strength: required :system: http://hl7.org/fhir/ValueSet/request-intent :path: intent - :type: code :strength: required :system: http://hl7.org/fhir/ValueSet/request-priority :path: priority :references: - :path: ServiceRequest.basedOn :profiles: - http://hl7.org/fhir/StructureDefinition/CarePlan - http://hl7.org/fhir/StructureDefinition/ServiceRequest - http://hl7.org/fhir/StructureDefinition/MedicationRequest - :path: ServiceRequest.replaces :profiles: - http://hl7.org/fhir/StructureDefinition/ServiceRequest - :path: ServiceRequest.subject :profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - http://hl7.org/fhir/StructureDefinition/Group - http://hl7.org/fhir/us/core/StructureDefinition/us-core-location - http://hl7.org/fhir/StructureDefinition/Device - :path: ServiceRequest.encounter :profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter - :path: ServiceRequest.requester :profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - http://hl7.org/fhir/StructureDefinition/PractitionerRole - http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson - http://hl7.org/fhir/StructureDefinition/Device - :path: ServiceRequest.performer :profiles: - http://hl7.org/fhir/StructureDefinition/Practitioner - http://hl7.org/fhir/StructureDefinition/PractitionerRole - http://hl7.org/fhir/StructureDefinition/Organization - http://hl7.org/fhir/StructureDefinition/CareTeam - http://hl7.org/fhir/StructureDefinition/HealthcareService - http://hl7.org/fhir/StructureDefinition/Patient - http://hl7.org/fhir/StructureDefinition/Device - http://hl7.org/fhir/StructureDefinition/RelatedPerson - :path: ServiceRequest.locationReference :profiles: - http://hl7.org/fhir/StructureDefinition/Location - :path: ServiceRequest.reasonReference :profiles: - http://hl7.org/fhir/StructureDefinition/Condition - http://hl7.org/fhir/StructureDefinition/Observation - http://hl7.org/fhir/StructureDefinition/DiagnosticReport - http://hl7.org/fhir/StructureDefinition/DocumentReference - :path: ServiceRequest.insurance :profiles: - http://hl7.org/fhir/StructureDefinition/Coverage - http://hl7.org/fhir/StructureDefinition/ClaimResponse - :path: ServiceRequest.supportingInfo :profiles: - http://hl7.org/fhir/StructureDefinition/Resource - :path: ServiceRequest.specimen :profiles: - http://hl7.org/fhir/StructureDefinition/Specimen - :path: ServiceRequest.relevantHistory :profiles: - http://hl7.org/fhir/StructureDefinition/Provenance :tests: - :id: us_core_v700_service_request_patient_search_test :file_name: service_request_patient_search_test.rb - :id: us_core_v700_service_request__id_search_test :file_name: service_request_id_search_test.rb - :id: us_core_v700_service_request_patient_code_search_test :file_name: service_request_patient_code_search_test.rb - :id: us_core_v700_service_request_patient_category_authored_search_test :file_name: service_request_patient_category_authored_search_test.rb - :id: us_core_v700_service_request_patient_code_authored_search_test :file_name: service_request_patient_code_authored_search_test.rb - :id: us_core_v700_service_request_patient_status_search_test :file_name: service_request_patient_status_search_test.rb - :id: us_core_v700_service_request_patient_category_search_test :file_name: service_request_patient_category_search_test.rb - :id: us_core_v700_service_request_read_test :file_name: service_request_read_test.rb - :id: us_core_v700_service_request_provenance_revinclude_search_test :file_name: service_request_provenance_revinclude_search_test.rb - :id: us_core_v700_service_request_validation_test :file_name: service_request_validation_test.rb - :id: us_core_v700_service_request_must_support_test :file_name: service_request_must_support_test.rb - :id: us_core_v700_service_request_reference_resolution_test :file_name: service_request_reference_resolution_test.rb :id: us_core_v700_service_request :file_name: service_request_group.rb :delayed_references: - :path: subject :resources: - Location - :path: requester :resources: - Practitioner - Organization - RelatedPerson