Back To Index  <<  Back To Templates

draft Template  Social History Observation

Id 2.16.756.5.30.1.1.10.4.103 Effective Date 2017‑09‑14 16:03:45
Status draft Draft Version Label 2018
Name cdachsmcp_entry_SocialHistoryObservation Display Name Social History Observation
Description A social history observation is a simple observation that uses a specific vocabulary, and inherits constraints from CCD.
Context Parent nodes of template element with id 2.16.756.5.30.1.1.10.4.103
Label CDA‑CH‑SMCP
Classification CDA Entry Level Template
Open/Closed Open (other than defined elements are allowed)
Associated with
Associated with 69 concepts
Id Name Data Set
cdachsmcp-dataelement-107 draft Field 5.1.2 (Précision Mandat judiciaire) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-253 draft Field 3.4.2 (Précision LPP) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-237 draft Field 5.5.1 (Code Protocole mesures de contrainte) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-54 draft Field 3.3 (AI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-22 draft Field 1.11 (Nationalité) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-131 draft Field 7.2 (Parcours de vie) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-249 draft Field 3.2.1 (Code AVS) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-261 draft Field 3.8.2 (Précision OVAM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-113 draft Field 5.3.3.1 (Date d'entrée en vigueur PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-97 draft Field 4.4.1 (Code Chômage) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-233 draft Field 5.3.2.2 (Précision PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-256 draft Field 3.6.1 (Code RFM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-58 draft Field 3.8 (OVAM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-247 draft Field 3.1.1 (Code RI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-108 draft Field 5.5 (Protocole mesures de contrainte) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-98 draft Field 4.4.2 (Chômage depuis le) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-57 draft Field 3.7 (API) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-64 draft Field 3.6 (RFM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-103 draft Field 5.2 (Curatelle) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-56 draft Field 3.5 (PC) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-55 draft Field 3.4 (LPP) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-258 draft Field 3.7.1 (Code API) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-111 draft Field 5.3.2.3 (Date de décision PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-32 draft Field 1.21 (Plan de crise conjoint) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-223 draft Field 1.18.1 (Code Enfants mineurs à charge) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-114 draft Field 5.4.1 (Code Mesures ambulatoires) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-112 draft Field 5.3.1.2 (PLAFA demandé par) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-229 draft Field 1.20.1 (Code Mandat pour inaptitude) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-104 draft Field 5.3 (PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-110 draft Field 5.3.1.1 (Date de la demande de PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-71 draft Field 3.3.1 (Code AI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-232 draft Field 5.2.2 (Précision Curatelle) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-109 draft Field 5.3.2.1 (Code de décision PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-72 draft Field 3.3.3 (Type AI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-132 draft Field 7.3 (Habitat) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-260 draft Field 3.8.1 (Code OVAM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-262 draft Field 3.9.2 (Précision Autres Assurances Sociales) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-115 draft Field 5.4.2 (Nom du médecin en charge de la MA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-73 draft Field 3.9.1 (Code Autres Assurances Sociales) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-224 draft Field 1.18.2 (Précision Enfants mineurs à charge) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-257 draft Field 3.6.2 (Précision RFM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-255 draft Field 3.5.2 (Précision PC) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-106 draft Field 5.1.1 (Code Mandat judiciaire) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-52 draft Field 3.1 (RI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-29 draft Field 1.18 (Enfants mineurs à charge) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-74 draft Field 3.9.3 (Nom/type Autres Assurances Sociales) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-254 draft Field 3.5.1 (Code PC) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-129 draft Field 7.1 (Date de la dernière évaluation) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-24 draft Field 1.13 (Permis de séjour / d'établissement) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-251 draft Field 3.3.2 (Précision AI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-252 draft Field 3.4.1 (Code LPP) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-244 draft Field 1.20.2 (Précision Mandat pour inaptitude) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-230 draft Field 1.20.3 (Mandat pour inaptitude déposées auprès de) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-259 draft Field 3.7.2 (Précision API) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-95 draft Field 4.4 (Chômage) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-53 draft Field 3.2 (AVS) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-59 draft Field 3.9 (Autres Assurances Sociales) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-246 draft Field 1.21.2 (Précision Plan de crise conjoint) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-248 draft Field 3.1.2 (Précision RI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-231 draft Field 5.2.1 (Code Curatelle) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-92 draft Field 4.1 (Profession) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-31 draft Field 1.20 (Mandat pour inaptitude) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-23 draft Field 1.12 (Origine) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-94 draft Field 4.3 (Taux d'occupation) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-245 draft Field 1.21.1 (Code Plan de crise conjoint) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-105 draft Field 5.4 (Mesures ambulatoires) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-238 draft Field 5.5.2 (Précision Protocole mesures de contrainte) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-102 draft Field 5.1 (Mandat judiciaire) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-250 draft Field 3.2.2 (Précision AVS) draft DMST v3.1 - Etat de Vaud 7.8 updated
Used by / Uses
Used by 0 transactions and 2 templates, Uses 1 template
Used by as Name Version
2.16.756.5.30.1.1.10.3.58 Containment draft Social History Section - coded (2018) 2017‑09‑13 16:52:50
2.16.756.5.30.1.1.10.1.11 link draft Social-medical care plan V2 (2018) 2017‑08‑24 18:00:03
Uses as Name Version
2.16.756.5.30.1.1.10.4.111 Containment draft Performer (2018) DYNAMIC
Relationship Specialization: template 2.16.756.5.30.1.1.10.4.69 Social History Observation (DYNAMIC)
ref
ch-pcc-

Specialization: template 1.3.6.1.4.1.19376.1.5.3.1.4.13.4 (2016‑10‑02 19:43:04)
ref
?

Specialization: template 2.16.840.1.113883.10.12.303 CDA Observation (2005‑09‑07)
ref
ad1bbr-

Specialization: template 2.16.840.1.113883.10.20.1.33 Social history observation (2007‑04‑01)
ref
ccd1-
Example
Country of citizenship
<observation classCode="OBS" moodCode="EVN">
  <templateId root="2.16.756.5.30.1.1.10.4.103"/>  <templateId root="2.16.756.5.30.1.1.10.4.69"/>  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.4"/>  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13"/>  <templateId root="2.16.840.1.113883.10.20.1.33"/>  <id root="6A1C8BCC-5A10-461A-8E72-8252D5F96454"/>  <code code="66476-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Country of citizenship"/>  <text>
    <reference value="#your_narr_content"/>  </text>
  <statusCode code="completed"/>  <effectiveTime nullFlavor="NASK"/>  <value xsi:type="II" root="1.0.3166.2.2.3" extension="CHE"/>  <performer>
    <!-- template 2.16.756.5.30.1.1.10.4.111 'Performer' -->
  </performer>
</observation>
Item DT Card Conf Description Label
hl7:observation
CDA-dotsSMCP
 
target
cdachsmcp-dataelement-54 draft Field 3.3 (AI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-58 draft Field 3.8 (OVAM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-108 draft Field 5.5 (Protocole mesures de contrainte) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-57 draft Field 3.7 (API) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-64 draft Field 3.6 (RFM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-103 draft Field 5.2 (Curatelle) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-56 draft Field 3.5 (PC) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-55 draft Field 3.4 (LPP) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-32 draft Field 1.21 (Plan de crise conjoint) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-104 draft Field 5.3 (PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-52 draft Field 3.1 (RI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-29 draft Field 1.18 (Enfants mineurs à charge) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-95 draft Field 4.4 (Chômage) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-53 draft Field 3.2 (AVS) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-59 draft Field 3.9 (Autres Assurances Sociales) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-31 draft Field 1.20 (Mandat pour inaptitude) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-105 draft Field 5.4 (Mesures ambulatoires) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-102 draft Field 5.1 (Mandat judiciaire) draft DMST v3.1 - Etat de Vaud 7.8 updated
@classCode
cs 1 … 1 F OBS
@moodCode
cs 1 … 1 F EVN
hl7:templateId
II 1 … 1 M CDA-dotsSMCP
@root
uid 1 … 1 F 2.16.756.5.30.1.1.10.4.103
hl7:templateId
II 1 … 1 M CDA-dotsSMCP
@root
uid 1 … 1 F 2.16.756.5.30.1.1.10.4.69
hl7:templateId
II 1 … 1 M CDA-dotsSMCP
@root
uid 1 … 1 F 1.3.6.1.4.1.19376.1.5.3.1.4.13.4
hl7:templateId
II 1 … 1 M CDA-dotsSMCP
@root
uid 1 … 1 F 1.3.6.1.4.1.19376.1.5.3.1.4.13
hl7:templateId
II 1 … 1 CDA-dotsSMCP
@root
uid 1 … 1 F 2.16.840.1.113883.10.20.1.33
hl7:id
II 1 … 1 M CDA-dotsSMCP
hl7:code
CD 1 … 1 M CDA-dotsSMCP
  CONF
The value of @code shall be drawn from value set 2.16.756.5.30.1.1.1.1.3.6.3.11.1 Social History Elements (DYNAMIC)
hl7:text
ED 1 … 1 M CDA-dotsSMCP
 
target
cdachsmcp-dataelement-131 draft Field 7.2 (Parcours de vie) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-132 draft Field 7.3 (Habitat) draft DMST v3.1 - Etat de Vaud 7.8 updated
hl7:reference
TEL 0 … 1 CDA-dotsSMCP
@value
st 1 … 1 R
hl7:statusCode
CS 1 … 1 M CDA-dotsSMCP
@code
cs 1 … 1 F completed
Choice Elements to choose from:
  • hl7:effectiveTime
  • hl7:effectiveTime
hl7:effectiveTime
TS 0 … 1 C Relevant timestamp of this observation. CDA-dotsSMCP
 
target
cdachsmcp-dataelement-113 draft Field 5.3.3.1 (Date d'entrée en vigueur PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-129 draft Field 7.1 (Date de la dernière évaluation) draft DMST v3.1 - Etat de Vaud 7.8 updated
@value
ts 0 … 1   The timestamp.
hl7:effectiveTime
IVL_TS 0 … 1 C Relevant time period of this observation. CDA-dotsSMCP
hl7:low
IVXB_TS Start of time period. CDA-dotsSMCP
hl7:high
IVXB_TS End of time period. CDA-dotsSMCP
hl7:repeatNumber
IVL_INT NP CDA-dotsSMCP
Choice 1 … 3 Elements to choose from:
  • hl7:value[(local-name-from-QName(resolve-QName(@xsi:type,.))='BL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3')]
  • hl7:value[concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.1.1.3.6.3.11.14-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.1.1.3.6.3.11.15-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.1.1.3.6.3.11.16-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.1.1.3.6.3.11.17-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.1.1.3.6.3.11.18-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.1.1.3.6.3.11.19-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.1.1.3.6.3.11.20-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.11.1-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code, @codeSystem) or concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.2.1.1.12-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code, @codeSystem)]
  • hl7:value[(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3')]
  • hl7:value[(local-name-from-QName(resolve-QName(@xsi:type,.))='IVL_TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3')]
  • hl7:value[(local-name-from-QName(resolve-QName(@xsi:type,.))='PQ' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3')]
  • hl7:value[(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3')]
hl7:value
BL 0 … 1 C CDA-dotsSMCP
 
target
cdachsmcp-dataelement-237 draft Field 5.5.1 (Code Protocole mesures de contrainte) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-249 draft Field 3.2.1 (Code AVS) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-256 draft Field 3.6.1 (Code RFM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-247 draft Field 3.1.1 (Code RI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-258 draft Field 3.7.1 (Code API) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-229 draft Field 1.20.1 (Code Mandat pour inaptitude) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-71 draft Field 3.3.1 (Code AI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-109 draft Field 5.3.2.1 (Code de décision PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-260 draft Field 3.8.1 (Code OVAM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-73 draft Field 3.9.1 (Code Autres Assurances Sociales) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-254 draft Field 3.5.1 (Code PC) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-252 draft Field 3.4.1 (Code LPP) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-231 draft Field 5.2.1 (Code Curatelle) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-245 draft Field 1.21.1 (Code Plan de crise conjoint) draft DMST v3.1 - Etat de Vaud 7.8 updated
@xsi:type
1 … 1 F BL
@value
bl 1 … 1 R
  Schematron assert role red error  
  test not(@value='true' and parent::hl7:observation/hl7:code[@code=('1.20')]) or (parent::hl7:observation/hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.5'])  
  Message Mandate for incapacity must be precised using another value element containing a code of code system 2.16.756.5.30.1.112.3.1.201812.5.  
  Schematron assert role red error  
  test not(@value='true' and parent::hl7:observation/hl7:code[@code=('1.21')]) or (parent::hl7:observation/hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.9'])  
  Message Plan de crise conjoint must be precised using another value element containing a code of code system 2.16.756.5.30.1.112.3.1.201812.9.  
  Schematron assert role red error  
  test not(@value='true' and parent::hl7:observation/hl7:code[@code=('5.2')]) or (parent::hl7:observation/hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.2'])  
  Message Guardian must be precised using another value element containing a code of code system 2.16.756.5.30.1.112.3.1.201812.2.  
  Schematron assert role red error  
  test not(@value='true' and parent::hl7:observation/hl7:code[@code=('5.3')]) or (parent::hl7:observation/hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.3'])  
  Message Coercive measures must be precised using another value element containing a code of code system 2.16.756.5.30.1.112.3.1.201812.3.  
  Schematron assert role red error  
  test not(@value='true' and parent::hl7:observation/hl7:code[@code=('5.5')]) or (parent::hl7:observation/hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.4'])  
  Message Coercive measures protocol must be precised using another value element containing a code of code system 2.16.756.5.30.1.112.3.1.201812.4.  
hl7:value
CD 0 … 1 C CDA-dotsSMCP
 
target
cdachsmcp-dataelement-253 draft Field 3.4.2 (Précision LPP) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-261 draft Field 3.8.2 (Précision OVAM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-97 draft Field 4.4.1 (Code Chômage) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-233 draft Field 5.3.2.2 (Précision PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-223 draft Field 1.18.1 (Code Enfants mineurs à charge) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-114 draft Field 5.4.1 (Code Mesures ambulatoires) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-232 draft Field 5.2.2 (Précision Curatelle) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-262 draft Field 3.9.2 (Précision Autres Assurances Sociales) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-257 draft Field 3.6.2 (Précision RFM) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-255 draft Field 3.5.2 (Précision PC) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-106 draft Field 5.1.1 (Code Mandat judiciaire) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-24 draft Field 1.13 (Permis de séjour / d'établissement) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-251 draft Field 3.3.2 (Précision AI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-244 draft Field 1.20.2 (Précision Mandat pour inaptitude) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-259 draft Field 3.7.2 (Précision API) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-246 draft Field 1.21.2 (Précision Plan de crise conjoint) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-248 draft Field 3.1.2 (Précision RI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-238 draft Field 5.5.2 (Précision Protocole mesures de contrainte) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-250 draft Field 3.2.2 (Précision AVS) draft DMST v3.1 - Etat de Vaud 7.8 updated
@xsi:type
1 … 1 F CD
@code
cs 1 … 1 R
@codeSystem
oid 1 … 1 R
@codeSystemName
st 1 … 1 R
@displayName
st 1 … 1 R
  CONF
The value of @code shall be drawn from value set 2.16.756.5.30.1.1.1.1.3.6.3.11.14 Residence permits (DYNAMIC)
or
The value of @code shall be drawn from value set 2.16.756.5.30.1.1.1.1.3.6.3.11.15 dmst-prec3 (DYNAMIC)
or
The value of @code shall be drawn from value set 2.16.756.5.30.1.1.1.1.3.6.3.11.16 dmst-prec-pcc (DYNAMIC)
or
The value of @code shall be drawn from value set 2.16.756.5.30.1.1.1.1.3.6.3.11.17 dmst-prec4 (DYNAMIC)
or
The value of @code shall be drawn from value set 2.16.756.5.30.1.1.1.1.3.6.3.11.18 guardian-type (DYNAMIC)
or
The value of @code shall be drawn from value set 2.16.756.5.30.1.1.1.1.3.6.3.11.19 dmst-prec1 (DYNAMIC)
or
The value of @code shall be drawn from value set 2.16.756.5.30.1.1.1.1.3.6.3.11.20 dmst-prec2 (DYNAMIC)
or
The value of @code shall be drawn from value set 2.16.756.5.30.1.1.11.1 Standard CDA Body Selection (DYNAMIC)
or
The value of @code shall be drawn from value set 2.16.756.5.30.2.1.1.12 Employment Status (DYNAMIC)
  Schematron assert role red error  
  test not(@codeSystem=('2.16.756.5.30.1.112.3.1.201812.3', '2.16.756.5.30.1.112.3.1.201812.4', '2.16.756.5.30.1.112.3.1.201812.5') and @code=('a')) or (parent::hl7:observation/hl7:reference[hl7:templateId/@root='2.16.840.1.113883.10.20.1.36'])  
  Message When a question is anserwed by attached, a reference to an externaL document ist required.  
  Schematron assert role red error  
  test not(@codeSystem='2.16.756.5.30.1.112.3.1.201812.5' and @code=('d')) or (parent::hl7:observation/hl7:value[@xsi:type='ST']/text())  
  Message When Mandate for incapacity is anserwed by deposited, a precision must be valued based on ST datatype.  
  Schematron assert role red error  
  test not(@codeSystem='2.16.756.5.30.2.1.1.12' and @code=('u')) or (parent::hl7:observation/hl7:value[@xsi:type='IVL_TS']/hl7:low)  
  Message When Employment status is anserwed by unemployed, the start date must be valued based on IVL_TS datatype in the low element.  
hl7:value
II 0 … 1 C CDA-dotsSMCP
 
target
cdachsmcp-dataelement-22 draft Field 1.11 (Nationalité) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-23 draft Field 1.12 (Origine) draft DMST v3.1 - Etat de Vaud 7.8 updated
@xsi:type
1 … 1 F II
@root
st 1 … 1 R
@extension
st 1 … 1 R
hl7:value
IVL_TS 0 … 1 C CDA-dotsSMCP
 
target
cdachsmcp-dataelement-98 draft Field 4.4.2 (Chômage depuis le) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-111 draft Field 5.3.2.3 (Date de décision PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-110 draft Field 5.3.1.1 (Date de la demande de PLAFA) draft DMST v3.1 - Etat de Vaud 7.8 updated
@xsi:type
1 … 1 F IVL_TS
hl7:low
TS CDA-dotsSMCP
hl7:high
TS CDA-dotsSMCP
hl7:value
PQ 0 … 1 C CDA-dotsSMCP
 
target
cdachsmcp-dataelement-94 draft Field 4.3 (Taux d'occupation) draft DMST v3.1 - Etat de Vaud 7.8 updated
@xsi:type
1 … 1 F PQ
@value
st 1 … 1 R
@unit
st 1 … 1 R
hl7:value
ST 0 … 1 C CDA-dotsSMCP
 
target
cdachsmcp-dataelement-107 draft Field 5.1.2 (Précision Mandat judiciaire) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-72 draft Field 3.3.3 (Type AI) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-224 draft Field 1.18.2 (Précision Enfants mineurs à charge) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-74 draft Field 3.9.3 (Nom/type Autres Assurances Sociales) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-230 draft Field 1.20.3 (Mandat pour inaptitude déposées auprès de) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-92 draft Field 4.1 (Profession) draft DMST v3.1 - Etat de Vaud 7.8 updated
@xsi:type
1 … 1 F ST
hl7:interpretationCode
CE NP CDA-dotsSMCP
hl7:methodCode
CE NP CDA-dotsSMCP
hl7:targetSiteCode
CE NP CDA-dotsSMCP
hl7:performer
0 … * Contains 2.16.756.5.30.1.1.10.4.111 Performer (DYNAMIC) CDA-dotsSMCP
treeblank where [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.111'] and hl7:templateId [@root = '2.16.756.5.30.1.1.10.9.31'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.1.24.3.5']]
 
target
cdachsmcp-dataelement-112 draft Field 5.3.1.2 (PLAFA demandé par) draft DMST v3.1 - Etat de Vaud 7.8 updated
cdachsmcp-dataelement-115 draft Field 5.4.2 (Nom du médecin en charge de la MA) draft DMST v3.1 - Etat de Vaud 7.8 updated
  Schematron assert role red error  
  test not(hl7:code[@code=('66476-3')]) or (hl7:value[@xsi:type='II' and @root='1.0.3166.2.2.3' and @extension])  
  Message The country of citizenship must be valued based on II datatype and ISO 3166-1 alpha-3 country code (1.0.3166) as the root domain.  
  Schematron assert role red error  
  test not(hl7:code[@code=('67413-5')]) or (hl7:value[@xsi:type='II' and @root='1.0.3166.2.2.3' and @extension])  
  Message The country of origin must be valued based on II datatype and ISO 3166-1 alpha-3 country code (1.0.3166) as the root domain.  
  Schematron assert role red error  
  test not(hl7:code[@code=('21847-9')]) or (hl7:value[@xsi:type='ST' and text()])  
  Message The occupation must be valued based on ST datatype.  
  Schematron assert role red error  
  test not(hl7:code[@code=('11295-3')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.2.1.1.12' and @code])  
  Message The Employment status must be valued based on CD datatype and the Swiss employment status code (2.16.756.5.30.2.1.1.12) as code system.  
  Schematron assert role red error  
  test not(hl7:code[@code=('1.13')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.8' and @code])  
  Message Residence permit must be valued based on CD datatype and the corresponding DMST code (2.16.756.5.30.1.112.3.1.201812.8) as code system.  
  Schematron assert role red error  
  test not(hl7:code[@code=('1.18', '5.1', '5.4')]) or (hl7:value[@xsi:type='CD' and @codeSystem=('2.16.756.5.30.2.1.1.3.1') and @code])  
  Message Minor children in charge, Justice mandate, Outpatient measures, Coercive measures, Outpatient measures must be valued based on CD datatype and the Swiss Standard CDA Body Selection code (2.16.756.5.30.2.1.1.3.1) as code system.  
  Schematron assert role red error  
  test not(hl7:code[@code=('1.18')]) or (hl7:value[@code='N']) or (hl7:value[@code='Y'] and hl7:value[@xsi:type='ST' and text()])  
  Message When Minor children in charge is anserwed by yes, a precision must be valued based on ST datatype.  
  Schematron assert role red error  
  test not(hl7:code[@code=('1.20')]) or (hl7:value[@xsi:type='BL'])  
  Message Mandate for incapacity must be valued based on BL datatype.  
  Schematron assert role red error  
  test not(hl7:code[@code=('1.21')]) or (hl7:value[@xsi:type='BL'])  
  Message Joint crisis plan must be valued based on BL datatype.  
  Schematron assert role red error  
  test not(hl7:code[@code=('5.1')]) or (hl7:value[@code='N']) or (hl7:value[@code='Y'] and hl7:value[@xsi:type='ST' and text()])  
  Message When Justice mandate is anserwed by yes, a precision must be valued based on ST datatype.  
  Schematron assert role red error  
  test not(hl7:code[@code=('5.2')]) or (hl7:value[@xsi:type='BL'])  
  Message Guardian must be valued based on BL datatype.  
  Schematron assert role red error  
  test not(hl7:code[@code=('5.3')]) or (hl7:value[@xsi:type='BL'])  
  Message Coercive measures must be valued based on BL datatype.  
  Schematron assert role red error  
  test not(hl7:code[@code=('5.4')]) or (hl7:value[@code='N']) or (hl7:value[@code='Y'] and hl7:performer)  
  Message When Outpatient measures decision is anserwed by yes, a performer must be provided.  
  Schematron assert role red error  
  test not(hl7:code[@code=('5.5')]) or (hl7:value[@xsi:type='BL'])  
  Message Coercive measures protocol must be valued based on BL datatype.  
  Schematron assert role red error  
  test not(hl7:code[@code=('3.1','3.2','3.3','3.4','3.5','3.6','3.7','3.8','3.9')]) or (hl7:value[@xsi:type='BL' and @value='false']) or (hl7:value[@xsi:type='BL' and @value='true'] and hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.10' and @code])  
  Message If one of the social insurances are answered by yes, a precision must be valued based on CD datatype and the corresponding precision type code of the canton of Vaud (2.16.756.5.30.1.112.3.1.201812.10) as code system.  
  Schematron assert role red error  
  test not(hl7:code[@code=('3.9')]) or (hl7:value[@xsi:type='ST' and text()])  
  Message The name of other social insurance must be valued based on ST datatype.  
  Schematron assert role red error  
  test not(hl7:code[@code=('4.3')]) or (hl7:value[@xsi:type='PQ' and @value and @unit='%'])  
  Message The occupancy rate must be valued based on PQ datatype using % in the unit.