hexagone-swdoc
Navigue et interroge la documentation des web services Hexagone (Référence Appels Externes). À utiliser quand l'utilisateur pose des questions sur les web services Hexagone, les méthodes SOAP, les services EWPT, les DTD XML, les formats requête/réponse, les codes d'erreur ou l'intégration avec Hexagone. Récupère la documentation depuis GitLab Pages — pas de git clone nécessaire.
What this skill does
# Hexagone Web Services Documentation -- Navigation Skill
This skill gives you access to the **Hexagone Web Services documentation** ("Référence Appels Externes") published as GitLab Pages. Your role is to **fetch and read the relevant pages** when answering questions about Hexagone web services, not to rely on memorized knowledge.
## What is Hexagone swdoc
The Hexagone "Appels Externes" module (EW) exposes SOAP web services that allow external applications to invoke Hexagone Web business logic. The documentation is organized by **service module** (EWPT0001, EWPT0002, etc.), each grouping methods for a specific healthcare domain.
The documentation is published at:
```
https://erp-pas.gitlab-pages-erp-pas.dedalus.lan/hexagone/swdoc/
```
**When to use this skill:**
- The user asks about a Hexagone web service, SOAP method, or EWPT service
- The user needs to understand how to call a specific Hexagone API method
- The user is integrating with Hexagone and needs the service contract (parameters, DTDs)
- The user asks about XML DTD formats (CASE.HEXASERV, PATIENT_INFO.HEXASERV, etc.)
- The user wants to know which methods are available for a given domain (patients, movements, emergencies, etc.)
- The user is debugging an integration issue (error codes, statuts, configuration)
- The user asks about Hexagone API error codes or error handling (RESULT.HEXACALLW)
- Any question mentioning "Hexagone" combined with "web service", "API", "EWPT", "appels externes", "service web", or "WS"
## Service catalog
The base URL for all pages is:
```
BASE_URL = https://erp-pas.gitlab-pages-erp-pas.dedalus.lan/hexagone/swdoc/
```
### Complete service index
| Service | Domain | URL path | Key methods |
|---------|--------|----------|-------------|
| Introduction | General (auth, errors, data exchange) | `00-introduction/` | — |
| **EWPT0001** | Gestion des patients | `01-ewpt0001-gestion-des-patients/` | READ_PATIENT, FIND_PATIENT, NEW_PATIENT, UPDATE_PATIENT, READ_COVERAGES, READ_KINS, READ_DOCTOR, READ_CHILDLINK, CREATE_CHILDLINK, UPDATE_CHILDLINK, DELETE_CHILDLINK, SET_NEWBORN_STATE, ASSIGN_PROT_PATIENT, UPDATE_PROT_PATIENT, READ_PROT_PATIENT, PATIENT_DEBT, READ_PATIENT_ADDR, NEW_PATIENT_ADDR, UPDATE_PATIENT_ADDR, DELETE_PATIENT_ADDR, LEGAL_REPRESENTATIVES, REQUEST_PATIENT_MERGE, REQUEST_PATIENT_MERGE2, READ_PATIENT_DEMAT |
| **EWPT0002** | Gestion des urgences | `02-ewpt0002-gestion-des-urgences/` | READ_EMERGENCY, NEW_EMERGENCY, UPDATE_EMERGENCY, ENDOF_EMERGENCY, CANCEL_ENDOF_EMERGENCY, TO_OUTPATIENT, TO_INPATIENT, DELETE_EMERGENCY |
| **EWPT0003** | Consultations externes | `03-ewpt0003-gestion-des-consultations-externes/` | NEW_OUTPATIENT, READ_OUTPATIENT, UPDATE_OUTPATIENT, DELETE_OUTPATIENT |
| **EWPT0004** | Dossiers d'hospitalisation | `04-ewpt0004-gestion-des-dossiers-d-hospitalisation/` | READ_INPATIENT, NEW_INPATIENT, UPDATE_INPATIENT, DELETE_INPATIENT, CONFIRM_PREADMIT, READ_MOVEMENT, NEW_MOVEMENT, UPDATE_MOVEMENT, DELETE_MOVEMENT, CREATE_PENDING_VISIT_MVTS, MOVEMENT_AT, HOSP_BABY |
| **EWPT0005** | Lecture des occupations | `05-ewpt0005-lecture-des-occupations/` | ACTIVE_EMERGENCIES, HOUSING_UF_OCC, UF_OCC, RESPCENTER_OCC, SERVICE_OCC, POLE_OCC, LOCALIZATION_OCC, AVAILABLE_BEDS, IN_HOSPITAL |
| **EWPT0007** | Gestion des séjours | `07-ewpt0007-gestion-des-sejours/` | PATIENT_CASES, CASE_MVTS, MVT_HIST, HOSP_MODE_AT, NEW_HOSP_MODE, UPDATE_HOSP_MODE, DELETE_HOSP_MODE, READ_INFORMED_CONSENT, CHG_CASE_TYPE |
| **EWPT0008** | Produits | `08-ewpt0008-produits/` | INIT_ENV, GET_GEST, GET_FAMILY, GET_UNIT, GET_TAXE, GET_ACCOUNT_NUMBER, GET_UFMAINSTORE, GET_CMP, GET_GROUPING, PRODUCT_VERIFICATION, GET_PRODUCT_NUMBER, PRODUCT_CREATION |
| **EWPT0009** | Gestion du DMP | `09-ewpt0009-gestion-du-dmp/` | NEW_REJECTION, UPDATE_REJECTION, ACCESS_CODE, INFO_VITALE, READ_OTP, UPDATE_DMPINFO |
| **EWPT0010** | Gestion des praticiens | `10-ewpt0010-gestion-des-praticiens/` | FIND_PRACT, NEW_PRACT, UPDATE_PRACT |
| **EWPT0014** | Structures physiques | `14-ewpt0014-gestion-des-structures/` | CHACC_LOCALIZATION, FIND/READ/NEW/UPDATE/DELETE_BUILDING, FIND/READ/NEW/UPDATE/DELETE_FLOOR, FIND/READ/NEW/UPDATE/DELETE_BEDROOM, FIND/READ/NEW/UPDATE/DELETE_BED, FIND/READ/NEW/UPDATE/DELETE_LOCALIZATION |
| **EWPT0012** | Intégration d'actes | `12-ewpt0012-integration-d-actes/` | INTEGR_CCAM |
| **EWPT0013** | Re-génération Identités/mouvements | `13-ewpt0013-re-generation-identites-mouvements/` | REGEN_IDMVT |
### Method-to-service quick lookup
Use this table to quickly find which page to fetch when the user mentions a method name:
| Method pattern | Service page |
|----------------|-------------|
| `*_PATIENT*`, `*_CHILDLINK*`, `*_KIN*`, `*_COVERAGE*`, `*_DOCTOR*`, `PATIENT_DEBT`, `*_PROT_*`, `*_PATIENT_ADDR*`, `*_PATIENT_MERGE*`, `*_PATIENT_DEMAT*`, `LEGAL_REPRESENTATIVES` | EWPT0001 |
| `*_EMERGENCY*`, `TO_OUTPATIENT`, `TO_INPATIENT` | EWPT0002 |
| `*_OUTPATIENT*` | EWPT0003 |
| `*_INPATIENT*`, `*_MOVEMENT*`, `CONFIRM_PREADMIT`, `CREATE_PENDING_VISIT_MVTS`, `MOVEMENT_AT`, `HOSP_BABY` | EWPT0004 |
| `*_OCC`, `ACTIVE_EMERGENCIES`, `AVAILABLE_BEDS`, `IN_HOSPITAL` | EWPT0005 |
| `PATIENT_CASES`, `CASE_MVTS`, `MVT_HIST`, `*_HOSP_MODE*`, `READ_INFORMED_CONSENT`, `CHG_CASE_TYPE` | EWPT0007 |
| `INIT_ENV`, `GET_*`, `PRODUCT_*` | EWPT0008 |
| `*_REJECTION`, `ACCESS_CODE`, `INFO_VITALE`, `READ_OTP`, `UPDATE_DMPINFO` | EWPT0009 |
| `*_PRACT*` | EWPT0010 |
| `*_BUILDING*`, `*_FLOOR*`, `*_BEDROOM*`, `*_BED*`, `*_LOCALIZATION*`, `CHACC_LOCALIZATION` | EWPT0014 |
| `INTEGR_CCAM` | EWPT0012 |
| `REGEN_IDMVT` | EWPT0013 |
### Key DTD formats
| DTD | Used by | Description |
|-----|---------|-------------|
| RESULT.HEXACALLW | All methods | Standard error/result envelope (code, status, descr, when) |
| PATIENT_INFO.HEXASERV | EWPT0001 | Patient demographic data |
| PATPROT.HEXASERV | EWPT0001 | Patient protection data |
| LIST_PAT.HEXASERV | EWPT0001 | Patient search results |
| CHILD_LINK.HEXASERV | EWPT0001 | Mother-child link |
| LIST_COVERAGE.HEXASERV | EWPT0001 | Patient coverage list |
| LIST_KIN.HEXASERV | EWPT0001 | Patient next-of-kin list |
| LIST_ADR.HEXASERV | EWPT0001 | Patient addresses |
| PAT_RMERGE.HEXASERV | EWPT0001 | Patient merge request |
| LIST_DOCPAT.HEXASERV | EWPT0001 | Dematerialized patient documents |
| CASE.HEXASERV | EWPT0002, EWPT0004 | Inpatient case/visit + movements |
| CX_CASE.HEXASERV | EWPT0003 | Outpatient (consultation) case |
| MVT_CASE.HEXASERV | EWPT0004 | Movement data within a case |
| LIST_OCC.HEXASERV | EWPT0005 | Occupation list (beds, units) |
| LIST_BED.HEXASERV | EWPT0005 | Available beds list |
| LIST_CASE.HEXASERV | EWPT0007 | Patient cases list |
| LIST_MVT.HEXASERV | EWPT0007 | Movements list for a case |
| MVT_HIST.HEXASERV | EWPT0007 | Movement history |
| HOSP_MODE.HEXAGHP | EWPT0007 | Hospitalization mode |
| INF_CONS.HEXASERV | EWPT0007 | Informed consent |
| LIST_PRACT.HEXAGHP | EWPT0010 | Practitioner list |
| DMP_*.HEXASERV | EWPT0009 | DMP-related DTDs |
## How to answer questions
### Step 1: Identify the relevant page
Map the user's question to one or more service pages using the tables above:
- **Specific method name** (e.g., "READ_PATIENT") → use the method-to-service lookup
- **Domain keyword** (e.g., "patient", "urgence", "hospitalisation") → match to the service catalog
- **DTD name** (e.g., "CASE.HEXASERV") → use the DTD table to find the service page
- **Error handling / general architecture** → fetch the Introduction page
- **General "list all services"** → use the catalog above, no fetch needed
### Step 2: Fetch the page
Use the WebFetch tool to retrieve the relevant page:
```
WebFetch: url="${BASE_URL}<page-path>" format="markdown"
```
For example:
- Introduction: `WebFetch: url="https://erp-pas.gitlab-pages-erp-pas.dedalus.lan/hexagone/swdoc/00-introduction/" format="markdown"`
- Patient management: `WebFetch: url="https://erp-pas.gitlab-pages-erp-pas.dedalus.lan/hexagone/swdoc/01-ewpt0001-gestion-des-patRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.