--- :name: us_core_medicationrequest :class_name: USCorev311MedicationrequestSequence :version: v3.1.1 :reformatted_version: v311 :resource: MedicationRequest :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest :profile_name: US Core MedicationRequest Profile :title: MedicationRequest :short_description: Verify support for the server capabilities required by the US Core MedicationRequest Profile. :interactions: - :code: create :expectation: MAY - :code: search-type :expectation: SHALL - :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: - :expectation: SHALL :names: - patient - intent :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - intent - encounter :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - intent - authoredon :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHALL :names: - patient - intent - status :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true :search_definitions: :patient: :path: subject :full_path: MedicationRequest.subject :comparators: {} :values: [] :type: Reference :contains_multiple: false :multiple_or: MAY :intent: :path: intent :full_path: MedicationRequest.intent :comparators: {} :values: - proposal - plan - order - original-order - reflex-order - filler-order - instance-order - option :type: code :contains_multiple: false :multiple_or: SHALL :encounter: :path: encounter :full_path: MedicationRequest.encounter :comparators: {} :values: [] :type: Reference :contains_multiple: false :multiple_or: MAY :authoredon: :path: authoredOn :full_path: MedicationRequest.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: :path: status :full_path: MedicationRequest.status :comparators: {} :values: - active - on-hold - cancelled - completed - entered-in-error - stopped - draft - unknown :type: code :contains_multiple: false :multiple_or: SHALL :include_params: - MedicationRequest:medication :revincludes: - Provenance:target :required_concepts: [] :must_supports: :extensions: [] :slices: [] :elements: - :path: status - :path: intent - :path: reported[x] - :path: medication[x] - :path: subject - :path: encounter - :path: authoredOn - :path: requester - :path: dosageInstruction - :path: dosageInstruction.text :mandatory_elements: - MedicationRequest.status - MedicationRequest.intent - MedicationRequest.medication[x] - MedicationRequest.subject - MedicationRequest.authoredOn - MedicationRequest.requester - MedicationRequest.substitution.allowed[x] :bindings: - :type: code :strength: preferred :system: http://hl7.org/fhir/ValueSet/languages :path: language - :type: code :strength: required :system: http://hl7.org/fhir/ValueSet/medicationrequest-status :path: status - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/medicationrequest-status-reason :path: statusReason - :type: code :strength: required :system: http://hl7.org/fhir/ValueSet/medicationrequest-intent :path: intent - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/medicationrequest-category :path: category - :type: code :strength: required :system: http://hl7.org/fhir/ValueSet/request-priority :path: priority - :type: CodeableConcept :strength: extensible :system: http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes :path: medication - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/performer-role :path: performerType - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/condition-code :path: reasonCode - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy :path: courseOfTherapyType - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/additional-instruction-codes :path: dosageInstruction.additionalInstruction - :type: boolean :strength: example :system: http://hl7.org/fhir/ValueSet/medication-as-needed-reason :path: dosageInstruction.asNeeded - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/approach-site-codes :path: dosageInstruction.site - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/route-codes :path: dosageInstruction.route - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/administration-method-codes :path: dosageInstruction.method - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/dose-rate-type :path: dosageInstruction.doseAndRate.type - :type: boolean :strength: example :system: http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode :path: substitution.allowed - :type: CodeableConcept :strength: example :system: http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason :path: substitution.reason :references: - :path: MedicationRequest.subject :profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - :path: MedicationRequest.encounter :profiles: - http://hl7.org/fhir/StructureDefinition/Encounter - :path: MedicationRequest.supportingInformation :profiles: - http://hl7.org/fhir/StructureDefinition/Resource - :path: MedicationRequest.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 - :path: MedicationRequest.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/Patient - http://hl7.org/fhir/StructureDefinition/Device - http://hl7.org/fhir/StructureDefinition/RelatedPerson - http://hl7.org/fhir/StructureDefinition/CareTeam - :path: MedicationRequest.recorder :profiles: - http://hl7.org/fhir/StructureDefinition/Practitioner - http://hl7.org/fhir/StructureDefinition/PractitionerRole - :path: MedicationRequest.reasonReference :profiles: - http://hl7.org/fhir/StructureDefinition/Condition - http://hl7.org/fhir/StructureDefinition/Observation - :path: MedicationRequest.basedOn :profiles: - http://hl7.org/fhir/StructureDefinition/CarePlan - http://hl7.org/fhir/StructureDefinition/MedicationRequest - http://hl7.org/fhir/StructureDefinition/ServiceRequest - http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation - :path: MedicationRequest.insurance :profiles: - http://hl7.org/fhir/StructureDefinition/Coverage - http://hl7.org/fhir/StructureDefinition/ClaimResponse - :path: MedicationRequest.dispenseRequest.performer :profiles: - http://hl7.org/fhir/StructureDefinition/Organization - :path: MedicationRequest.priorPrescription :profiles: - http://hl7.org/fhir/StructureDefinition/MedicationRequest - :path: MedicationRequest.detectedIssue :profiles: - http://hl7.org/fhir/StructureDefinition/DetectedIssue - :path: MedicationRequest.eventHistory :profiles: - http://hl7.org/fhir/StructureDefinition/Provenance :tests: - :id: us_core_311_medication_request_patient_intent_search_test :file_name: medication_request_patient_intent_search_test.rb - :id: us_core_311_medication_request_patient_intent_encounter_search_test :file_name: medication_request_patient_intent_encounter_search_test.rb - :id: us_core_311_medication_request_patient_intent_authoredon_search_test :file_name: medication_request_patient_intent_authoredon_search_test.rb - :id: us_core_311_medication_request_patient_intent_status_search_test :file_name: medication_request_patient_intent_status_search_test.rb - :id: us_core_311_medication_request_read_test :file_name: medication_request_read_test.rb - :id: us_core_311_medication_request_provenance_revinclude_search_test :file_name: medication_request_provenance_revinclude_search_test.rb - :id: us_core_311_medication_request_validation_test :file_name: medication_request_validation_test.rb - :id: us_core_311_medication_validation_test :file_name: medication_validation_test.rb - :id: us_core_311_medication_request_must_support_test :file_name: medication_request_must_support_test.rb - :id: us_core_311_medication_request_reference_resolution_test :file_name: medication_request_reference_resolution_test.rb :id: us_core_311_medication_request :file_name: medication_request_group.rb :delayed_references: - :path: requester :resources: - Practitioner - Organization