description: Defines constraints and extensions on the MedicationRequest resource for the minimal set of data to query and retrieve prescription information. package_name: HIE2.packages derivation: constraint name: MedicationRequestMyCore type: MedicationRequest elements: performerType: {mustSupport: true, index: 17} category: {mustSupport: true, index: 3} encounter: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter'] index: 13 reported: mustSupport: true choices: [reportedBoolean, reportedReference] index: 5 reasonCode: {mustSupport: true, index: 19} medicationCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 10} authoredOn: {mustSupport: true, index: 14} requester: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'] index: 15 reportedReference: type: Reference mustSupport: true choiceOf: reported refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'] index: 7 status: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medicationrequest-status'} mustSupport: true index: 1 dosageInstruction: mustSupport: true index: 21 elements: text: {mustSupport: true, index: 22} recorder: {short: Person who entered the request., index: 18} reportedBoolean: {type: boolean, mustSupport: true, choiceOf: reported, index: 6} identifier: {index: 0} intent: binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medicationrequest-intent'} mustSupport: true index: 2 medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['http://hl7.org/fhir/my/core/StructureDefinition/medication-my-core'] index: 11 subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'] index: 12 performer: {index: 16} medication: mustSupport: true choices: [medicationCodeableConcept, medicationReference] index: 9 reasonReference: {mustSupport: true, index: 20} package_version: 0.1.1 class: profile kind: resource url: http://hl7.org/fhir/my/core/StructureDefinition/MedicationRequest-my-core base: http://hl7.org/fhir/StructureDefinition/MedicationRequest version: 1.0.0 required: [requester, performerType, identifier, performer]