# Exercise
In this exercise you will practice with contained resources. You will start by creating new profiles that you will need in the next steps of the exercise. Finally, you will create some examples that use contained resources. For the first step of this exercise, we will use Forge to create profiles. [Download Forge](https://simplifier.net/forge/download) if you have not done this earlier. Start by reading the case description.
Case description
Hospital X wants to send medication prescriptions to the pharmacy. The medication prescriptions contains a list of medications with their names and dosing information.
## Steps to follow
### 1. Create profiles
1. Open Forge and create a profile to capture medication information. The name of the medication is mandatory. Other information will not be present in most cases.
2. Create another profile to capture medication prescription information.
3. The medication prescription should contain a reference to the prescribed medication.
4. The `intent` of a medication prescription that is send to the pharmacy is always an order.
5. Dosage information is mandatory (free text is allowed).
### 2. Create an example
1. Open a XML or JSON editor.
2. Create example instances of medication prescriptions including the following medication:
- Paracetamol - 1 tablet twice a day
- Diazepam - 1 tablet a day
3. Notes (read after completing the exercise or if you are having any difficulties):
- Only one medication is allowed per medication prescription. For this exercise it is sufficient to create two seperate examples, but if you want to send this information all at once you could use a Bundle.
- You will need to add contained medication resources and add inline references.
- Note that in these examples, we could have used a CodeableConcept as well to capture the medication name (using its `display` element). In the next step we will add additional medication information.
### 3. Add manufacturer information
1. The hospital wants to add the following manufacturer information: name and type of organization.
2. In your example(s) add this information.
- For this step, you don't need to create a profile first, just make sure you conform to a core resource.
- Note that you will need another contained resource and that nesting of contained resources is not allowed.
3. Finally, add an inline reference from your medication to the manufacturer.