Item | DT | Card | Conf | Description | Label |
---|
hl7:ClinicalDocument
| | | R | | CDADCSH |
@classCode
| cs | 1 … 1 | F | DOCCLIN |
@moodCode
| cs | 1 … 1 | F | EVN |
hl7:realmCode
| | 1 … 1 | M | | CDADCSH |
@code
| cs | 1 … 1 | F | LU |
hl7:typeId
| | 1 … 1 | M | | CDADCSH |
@root
| uid | 1 … 1 | F | 2.16.840.1.113883.1.3 |
@extension
| st | 1 … 1 | F | POCD_HD000040 |
hl7:templateId
| | 1 … 1 | M | | CDADCSH |
@root
| uid | 1 … 1 | F | 1.3.182.11.13 |
hl7:id
| | 1 … 1 | M | L'identifiant unique du document. @root doit être un UUID @extension ne doit pas être present
| CDADCSH |
@root
| uuid | 1 … 1 | R | |
@extension
| st | 0 | NP | NP/not present |
| Example | <id root="fa625fd5-2ea9-433c-af17-71f0a1484443"/> |
hl7:code
| | 1 … 1 | M | | CDADCSH |
@code
| cs | 1 … 1 | F | DT-00004 |
@codeSystem
| oid | 1 … 1 | F | 1.3.182.5.9 |
hl7:effectiveTime
| TS.DATETIMETZ.MIN | 1 … 1 | M | Date de création du document. Ici, correspond à la date ou le systeme a produit le document, c'est la même date que celle de l'auteur. Attention à la timezone pour l'heure d'été/hiver. | CDADCSH |
| Example | <effectiveTime value="20180221163000+0100"/> |
hl7:confidentialityCode
| | 1 … 1 | R | | CDADCSH |
@nullFlavor
| cs | 1 … 1 | F | NI |
Included | 1 … 1 | M | from 1.3.182.11.13.1.1 recordTarget (DYNAMIC) Informations sur le patient |
hl7:recordTarget
| | 1 … 1 | M | Informations sur le patient | recorget |
hl7:patientRole
| | 1 … 1 | M | | recorget |
hl7:id
| | 1 … 1 | M | | recorget |
@root
| uid | 1 … 1 | F | 1.3.182.4.4 |
@extension
| st | 1 … 1 | R | Le matricule |
| Schematron assert | role | error | |
| test | @extension="7000010105084" or matches(@extension,'^(1|2)\d{12}$') | |
| Message | Le matricule doit être correct, ou valoir 7000010105084 | |
hl7:addr
| | 1 … 1 | M | | recorget |
hl7:postalCode
| | 1 … 1 | M | Code postal, sans le préfixe du pays | recorget |
hl7:country
| | 1 … 1 | M | Code pays sur 2 chiffres | recorget |
| Variable let | Name | country | |
| Value | hl7:country | |
| Variable let | Name | pCode | |
| Value | hl7:postalCode | |
| Schematron assert | role | error | |
| test | count(distinct-values(doc('include/voc-1.3.182.10.61.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code = $country]))=1 | |
| Message | Les codes pays doivent etre ISO 3166-1 alpha 2 | |
| Schematron assert | role | error | |
| test | not($country='LU') or count(distinct-values(doc('include/voc-1.3.182.10.62.1-DYNAMIC.xml')/*/valueSet/conceptList/concept[@code = $pCode]))=1 | |
| Message | Si le pays est LU, le code postal doit etre valide ou 0000 pour les patients RCAM, 0001 pour les personnes non visées et 0002 pour les sans-abris. | |
hl7:patient
| | 1 … 1 | M | | recorget |
hl7:administrativeGenderCode
| CE | 1 … 1 | M | Sexe du patient | recorget |
| CONF | @code shall be "F" | @codeSystem shall be "1.3.182.5.40" | or | @code shall be "M" | @codeSystem shall be "1.3.182.5.40" | or | @code shall be "U" | @codeSystem shall be "1.3.182.5.40" |
|
hl7:birthTime
| TS.DATE.FULL | 1 … 1 | M | Date de naissance du patient | recorget |
Included | 1 … 1 | M | from 1.3.182.11.13.1.2 author (DYNAMIC) Informations sur l'auteur du document |
hl7:author
| | 1 … 1 | M | | author |
hl7:time
| TS.DATETIMETZ.MIN | 1 … 1 | M | Date de création du document par l'auteur | author |
hl7:assignedAuthor
| | 1 … 1 | R | | author |
hl7:id
| | 1 … 1 | R | | author |
@nullFlavor
| cs | 1 … 1 | F | NI |
hl7:code
| | 1 … 1 | M | | author |
@codeSystem
| oid | 1 … 1 | F | 1.3.182.5.6 |
@code
| cs | 1 … 1 | F | DEV |
hl7:assignedAuthoringDevice
| | 1 … 1 | M | | author |
hl7:softwareName
| ST | 1 … 1 | M | Le nom du logiciel ou système qui crée le document | author |
Included | 1 … 1 | M | from 1.3.182.11.13.1.3 custodian (DYNAMIC) Information sur la source du document |
hl7:custodian
| | 1 … 1 | M | Identification de l’établissement hospitalier
| custodian |
hl7:assignedCustodian
| | 1 … 1 | M | | custodian |
hl7:representedCustodianOrganization
| | 1 … 1 | M | | custodian |
hl7:id
| | 1 … 1 | M | | custodian |
@extension
| st | 1 … 1 | R | Le code CNS (fournisseur) de l'établissement |
@root
| uid | 1 … 1 | F | 1.3.182.4.6 |
| Schematron assert | role | error | |
| test | @extension=("70100179", "70101189", "70131101", "70126148", "70135040", "70125037", "70140801", "70105031", "70128067", "70129077", "70142518") | |
| Message | Le code CNS doit être parmi les valeurs prévues | |
Included | 0 … 1 | C | from 1.3.182.7.5.1.10.1 participant (DYNAMIC) Si besoin, informations sur la mère du patient |
hl7:participant
| | 0 … 1 | M | Matricule de la mère, à préciser si c'est un séjour nouveau-né et que la provenance est N0 ou N1
| Warning: If isMandatory=true, minimumMultiplicity shall be greater than 0. |
| partpant |
@typeCode
| cs | 1 … 1 | F | IND |
hl7:associatedEntity
| | 1 … 1 | M | | partpant |
@classCode
| cs | 1 … 1 | F | PRS |
hl7:id
| | 1 … 1 | M | | partpant |
@root
| uid | 1 … 1 | F | 1.3.182.4.4 |
@extension
| st | 1 … 1 | R | Le matricule |
| Schematron assert | role | error | |
| test | @extension="7000010105084" or matches(@extension,'^(1|2)\d{12}$') | |
| Message | Le matricule doit être correct, ou valoir 7000010105084 | |
hl7:code
| | 1 … 1 | M | | partpant |
@codeSystem
| oid | 1 … 1 | F | 2.16.840.1.113883.5.111 |
@code
| cs | 1 … 1 | F | MTH |
Included | 1 … 1 | M | from 1.3.182.11.13.1.5 componentOf (DYNAMIC) Informations sur l'admission |
hl7:componentOf
| | 1 … 1 | M | | compntOf |
hl7:encompassingEncounter
| | 1 … 1 | M | | compntOf |
hl7:id
| | 1 … 1 | M | | compntOf |
@root
| uid | 1 … 1 | F | 1.3.182.4.14 |
@extension
| st | 1 … 1 | R | Le numéro du séjour |
| Schematron assert | role | error | |
| test | matches(@extension, '^\w{9}$') | |
| Message | Numéro d'admission : numéro décerné au séjour du patient par l’établissement, code alphanumérique à 9 caractères (le numéro doit être préfixé d'un ou de plusieurs 0 si le numéro utilisé en interne dispose de moins de 9 caractères) | |
hl7:code
| CE | 1 … 1 | M | Provenance du patient, suivant la liste de codes | compntOf |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.42.1 provenance (DYNAMIC) |
|
hl7:effectiveTime
| | 1 … 1 | M | Dates de début (low) et de fin (high) du séjour | compntOf |
hl7:low
| TS | 1 … 1 | M | | compntOf |
@value
| ts | 1 … 1 | R | |
| Schematron assert | role | error | |
| test | matches(@value,'^20\d{10}$') | |
| Message | Les dates doivent etre au format YYYYMMDDHHMM | |
hl7:high
| TS | 1 … 1 | M | | compntOf |
@value
| ts | 0 … 1 | | |
| Schematron assert | role | error | |
| test | matches(@value,'^20\d{10}$') | |
| Message | Les dates doivent etre au format YYYYMMDDHHMM | |
| Schematron assert | role | error | |
| test | hl7:high/@value>=hl7:low/@value | |
| Message | La date/heure de sortie doit être égale ou supérieure à la date/heure d'entrée | |
hl7:dischargeDispositionCode
| CE | 1 … 1 | M | Modalité de sortie, suivant la liste de codes | compntOf |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.44.1 modaliteSortie (DYNAMIC) |
|
hl7:responsibleParty
| | 1 … 1 | M | Médecin responsable de l'admission | compntOf |
hl7:assignedEntity
| | 1 … 1 | M | | compntOf |
hl7:id
| | 1 … 1 | M | | compntOf |
@root
| uid | 1 … 1 | F | 1.3.182.4.6 |
@extension
| st | 1 … 1 | R | Numéro prestataire (CNS) du médecin |
hl7:encounterParticipant
| | 0 … 1 | C | Etablissement de provenance du patient, à préciser si « Provenance du patient » = H0 ou H1 ou H2 ou H3 ou H4 | compntOf |
@typeCode
| cs | 1 … 1 | F | REF |
hl7:templateId
| | 1 … 1 | M | | compntOf |
@root
| uid | 1 … 1 | F | 1.3.182.11.13.1.6 |
@extension
| st | 0 | NP | NP/not present |
hl7:assignedEntity
| | 1 … 1 | M | | compntOf |
hl7:id
| | 1 … 1 | R | | compntOf |
@nullFlavor
| cs | 1 … 1 | F | NA |
hl7:code
| CE | 1 … 1 | M | Code de l'établissement de provenance, suivant la liste de codes | compntOf |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.60.1 cnsCodeEtab (DYNAMIC) |
|
hl7:encounterParticipant
| | 0 … 1 | C | Etablissement de destinationdu patient, à préciser si "Modalité de sortie" est 2 ; 51; 62; 63 ou 65
| compntOf |
@typeCode
| cs | 1 … 1 | F | DIS |
hl7:templateId
| | 1 … 1 | M | | compntOf |
@root
| uid | 1 … 1 | F | 1.3.182.11.13.1.7 |
@extension
| st | 0 | NP | NP/not present |
hl7:assignedEntity
| | 1 … 1 | M | | compntOf |
hl7:id
| | 1 … 1 | R | | compntOf |
@nullFlavor
| cs | 1 … 1 | F | NA |
hl7:code
| CE | 1 … 1 | M | Code de l'établissement de destination, suivant la liste de codes
| compntOf |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.60.1 cnsCodeEtab (DYNAMIC) |
|
| Variable let | Name | modSortie | |
| Value | hl7:dischargeDispositionCode/@code | |
| Variable let | Name | provCode | |
| Value | hl7:code/@code | |
| Schematron assert | role | error | |
| test | ($provCode=("H0","H1","H2","H3","H4") and hl7:encounterParticipant[@typeCode="REF"]) or (not($provCode=("H0","H1","H2","H3","H4")) and not(hl7:encounterParticipant[@typeCode="REF"])) | |
| Message | Code de l'établissement de provenance : code alphanumérique repris au tableau iii) du chapitre IV (à indiquer si la variable « Provenance du patient » = H0 ou H1 ou H2 ou H3 ou H4) | |
| Schematron assert | role | error | |
| test | ($modSortie=("2","51","62","63","65") and hl7:encounterParticipant[@typeCode="DIS"]) or (not($modSortie=("2","51","62","63","65")) and not(hl7:encounterParticipant[@typeCode="DIS"])) | |
| Message | Code de l'établissement de destination de sortie : définir le site hospitalier de destination du patient par indication du code alphanumérique repris au tableau iii) du chapitre IV, le code est à indiquer uniquement si la valeur de "Modalité de sortie" est 2 ; 51; 62; 63 ou 65 | |
hl7:component
| | 1 … 1 | M | | CDADCSH |
hl7:structuredBody
| | 1 … 1 | M | | CDADCSH |
hl7:component
| | 1 … 1 | M | Contains 1.3.182.11.13.2.1 administrativeInformation (DYNAMIC) | CDADCSH |
hl7:component
| | 1 … 1 | M | Contains 1.3.182.11.13.2.2 encounterInformation (DYNAMIC) | CDADCSH |
hl7:component
| | 1 … 1 | M | Contains 1.3.182.11.13.2.3 services (DYNAMIC) | CDADCSH |
hl7:component
| | 1 … 1 | M | Contains 1.3.182.11.13.2.4 intervenants (DYNAMIC) | CDADCSH |
hl7:component
| | 1 … 1 | M | Contains 1.3.182.11.13.2.5 procedures (DYNAMIC) | CDADCSH |
hl7:component
| | 1 … 1 | M | Contains 1.3.182.11.13.2.6 diagnostics (DYNAMIC) | CDADCSH |
hl7:component
| | 0 … 1 | C | Contains 1.3.182.11.13.2.7 newborn (DYNAMIC) | CDADCSH |
hl7:component
| | 1 … 1 | M | Contains 1.3.182.11.13.2.8 drg (DYNAMIC) | CDADCSH |
| Variable let | Name | dateNaissance | |
| Value | hl7:recordTarget/hl7:patientRole/hl7:patient/hl7:birthTime/@value | |
| Variable let | Name | dateAdmission | |
| Value | substring(hl7:componentOf/hl7:encompassingEncounter/hl7:effectiveTime/hl7:low/@value,0,9) | |
| Variable let | Name | dateHeureAdmission | |
| Value | hl7:componentOf/hl7:encompassingEncounter/hl7:effectiveTime/hl7:low/@value | |
| Variable let | Name | dateHeureSortie | |
| Value | hl7:componentOf/hl7:encompassingEncounter/hl7:effectiveTime/hl7:high/@value | |
| Variable let | Name | dateHeurePremierService | |
| Value | //hl7:section[hl7:templateId/@root="1.3.182.11.13.2.3"]/hl7:entry/hl7:organizer/hl7:component[1]/hl7:encounter/hl7:effectiveTime/hl7:low/@value | |
| Variable let | Name | dateHeureDernierService | |
| Value | //hl7:section[hl7:templateId/@root="1.3.182.11.13.2.3"]/hl7:entry/hl7:organizer/hl7:component[last()]/hl7:encounter/hl7:effectiveTime/hl7:high/@value | |
| Variable let | Name | dureeSejourHeures | |
| Value | (xs:dateTime(concat(substring($dateHeureSortie, 0, 5), '-', substring($dateHeureSortie, 5, 2), '-', substring($dateHeureSortie, 7, 2),'T',substring($dateHeureSortie, 9, 2),':',substring($dateHeureSortie, 11, 2),':00'))-xs:dateTime(concat(substring($dateHeureAdmission, 0, 5), '-', substring($dateHeureAdmission, 5, 2), '-', substring($dateHeureAdmission, 7, 2),'T',substring($dateHeureAdmission, 9, 2),':',substring($dateHeureAdmission, 11, 2),':00'))) div xs:dayTimeDuration('PT1H') | |
| Schematron assert | role | error | |
| test | every $dateDebItv in //hl7:section[hl7:templateId/@root="1.3.182.11.13.2.4"]//hl7:low/@value satisfies $dateDebItv>=$dateHeureAdmission | |
| Message | Chaque date/heure de début de prise en charge par un médecin est supérieure ou égale à la date/heure d'admission | |
| Schematron assert | role | error | |
| test | every $dateFItv in //hl7:section[hl7:templateId/@root="1.3.182.11.13.2.4"]//hl7:high/@value satisfies $dateFItv<=$dateHeureSortie | |
| Message | Chaque date/heure de fin de prise en charge par un médecin est inférieure ou égale à la date/heure de sortie | |
| Schematron assert | role | error | |
| test | $dateAdmission>=$dateNaissance | |
| Message | La date d'admission doit etre superieure ou egale a la date de naissance du patient | |
| Schematron assert | role | error | |
| test | $dateHeurePremierService=$dateHeureAdmission | |
| Message | La date/heure d'entrée dans le premier service doit etre égale à la date/heure d'admission | |
| Schematron assert | role | error | |
| test | $dateHeureDernierService=$dateHeureSortie | |
| Message | La date/heure de sortie dans le dernier service doit etre égale à la date/heure de sortie | |
| Variable let | Name | codePremierService | |
| Value | //hl7:section[hl7:templateId/@root="1.3.182.11.13.2.3"]/hl7:entry/hl7:organizer/hl7:component[1]/hl7:encounter/hl7:code/@code | |
| Variable let | Name | passageUrgences | |
| Value | //hl7:entry[hl7:templateId/@root="1.3.182.11.13.3.18"]/hl7:observation/hl7:value | |
| Schematron assert | role | error | |
| test | ($passageUrgences="1" and $codePremierService=("URGE", "URGP")) or ($passageUrgences="0" and not($codePremierService="URGE") and not($codePremierService="URGP")) | |
| Message | S'il y a un passage aux urgences, le code du premier service doit être URGE ou URGP, sinon ces codes ne doivent pas être utilisés comme premier service | |
| Variable let | Name | modaliteEntree | |
| Value | //hl7:entry[hl7:templateId/@root="1.3.182.11.13.3.16"]/hl7:observation/hl7:value/@code | |
| Variable let | Name | ageInDays | |
| Value | //hl7:entry[hl7:templateId/@root="1.3.182.11.13.3.20"]/hl7:observation/hl7:value/@value | |
| Variable let | Name | provenance | |
| Value | hl7:componentOf/hl7:encompassingEncounter/hl7:code/@code | |
| Schematron assert | role | error | |
| test | not($modaliteEntree="NN") or ($modaliteEntree="NN" and $ageInDays<=1 and $provenance="N0") | |
| Message | Si la modalité d'entrée est NN, l'age du nourrisson est inférieur ou égal à 1 et la provenance est N0 | |
| Schematron assert | role | error | |
| test | not($provenance="N1") or not($provenance="NN") | |
| Message | Si la provenance est N1, alors la modalité d'entrée ne doit pas être NN | |
| Schematron assert | role | error | |
| test | if ($dureeSejourHeures>=24 and //hl7:section[hl7:templateId/@root="1.3.182.11.13.2.3"]/hl7:entry/hl7:organizer/hl7:component[1]/hl7:encounter/hl7:code/@code=('URGE','URGP')) then (//hl7:entry[hl7:templateId/@root="1.3.182.11.13.3.18"]/hl7:observation/hl7:value='1') else true() | |
| Message | Pour un séjour stationnaire, si le premier service est de type URGE ou URGP, il doit y avoir passage aux urgences | |
| Schematron assert | role | error | |
| test | if (//hl7:section[hl7:templateId/@root="1.3.182.11.13.2.3"]/hl7:entry/hl7:organizer/hl7:component[1]/hl7:encounter/hl7:code/@code=('CHDJ' ,'MHDJ')) then ($dureeSejourHeures<=24) else true() | |
| Message | Si le type de service est CHDJ ou MHDJ, le séjour doit durer maximum 24h | |
| Schematron assert | role | error | |
| test | if (//hl7:section[hl7:templateId/@root="1.3.182.11.13.2.3"]/hl7:entry/hl7:organizer/hl7:component[1]/hl7:encounter/hl7:code/@code='OBST' and //hl7:administrativeGenderCode/@code='M') then ($provenance=('N0', 'N1')) else true() | |
| Message | Si le patient est un homme en service obstétrique, le code provenance doit etre N0 ou N1 | |
| Schematron assert | role | error | |
| test | not(//hl7:patientRole/hl7:id/@extension=//hl7:participant/hl7:associatedEntity/hl7:id/@extension) | |
| Message | Le matricule de la mère, si présent, ne peut valoir le matricule du patient | |