0.1.0 - ci-build
collabreefhirdocumentation - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Profile Definition: MedicationProfile
The CollabreeMedication profile supports medications from different countries and catalogs within the Collabree system. The medication catalog app downloads different data depending on the provider.
The CollabreeMedication profile includes:
country-code: Identifies the country (CH, SA)data-provider-id: Identifies the data source (HCI, CHI_GOV_SAUDI_ARABIA)gtin: Global Trade Item Number (optional)medication-expiration-in-months: Medication shelf lifemedication-image-url: Visual representation of medication packagingHCI Data Provider Attributes (Optional)CHI_GOV_SAUDI_ARABIA Data Provider Attributes (Optional)Data Provider: HCI (Swiss Health Information System) Country Code: CH Key Characteristics:
amount.numerator: Number of units (e.g., 20 tablets)amount.denominator: Package type (e.g., 1 package)Example Use Case:
Swiss Pharmacy System → HCI Catalog → CollabreeMedication
- Retrieves package information (20 tablets/package)
- Provides German/French translations
- Includes medication images
Data Provider: CHI_GOV_SAUDI_ARABIA (National Platform for Health Information Exchange Services) Country Code: SA Key Characteristics:
ingredient.itemCodeableConcept: Scientific ingredient codesingredient.strength: Detailed strength information (500mg per tablet)form.coding: Administrable dose form (tablet, capsule, etc.)Example Use Case:
Saudi Health System → NPHIES Catalog → CollabreeMedication
- Retrieves ingredient details (Paracetamol 500mg)
- Provides Arabic terminology
- Specifies dose form (tablet)
The medication catalog retriever processes different data sources and maps them to the unified profile:
// HCI medication processing
if (dataProviderId == "HCI") {
medication.amount = parseSwissPackageInfo(data);
medication.code.extension = addTranslations(data, ["de", "fr"]);
medication.extension[imageUrl] = data.imageUrl;
}
// CHI_GOV_SAUDI_ARABIA medication processing
if (dataProviderId == "CHI_GOV_SAUDI_ARABIA") {
medication.form = parseDoseForm(data);
medication.ingredient = parseIngredientDetails(data);
medication.code.display = data.arabicName;
}
The retriever uses conditional logic to populate attributes based on the data source:
identifier[country]: Source countryidentifier[dataProviderId]: Data providercode: SNOMED CT codeextension[expirationInMonths]: Expiration periodamount, extension[imageUrl], code.extension[translation]form, ingredient, Arabic code.displayidentifier[gtin]: May not be available in all catalogsThe medication catalog app retrieves data from different providers:
amount informationform and ingredient informationThis unified approach provides a robust, flexible foundation for handling diverse medication catalogs while maintaining FHIR compliance and system consistency.