BookmarkSubscribeRSS Feed
FGRIGNOUX
Calcite | Level 5
Hi,
The french CIM-10 from ATIH is diffused in CLaML format:
- https://www.atih.sante.fr/sites/default/files/public/content/4674/cim10fr2024syst_claml_20231215.zip
However, I dont know the way to load this XML file into SAS. There is a second file "CLaML.dtd" wich is the definition in my mind.
I hope a solution and thanks you for you proposition.
1 REPLY 1
SASJedi
SAS Super FREQ

Try something like this to get you started:

filename CLAML "s:/workshop/cim10fr2024syst_claml_20231215.xml";
filename CLAMAP "s:/workshop/cim10fr2024syst_claml_20231215.map";
libname CLAML XMLv2 automap=reuse xmlmap=CLAMAP;

After you run this code, file cim10fr2024syst_claml_20231215.map will contain the generated XML map.  You can edit with that to change how the mapping works if you want. If you do modify the map file, remove the AUTMAP=REUSE option from the LIBNAME statement to prevent overwriting the MAP file when the code is run again.

Check out my Jedi SAS Tricks for SAS Users

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 341 views
  • 0 likes
  • 2 in conversation