For issues: https://github.com/mvdzel/ehrsfm-fhir-r5/issues/
curl -X POST "https://us-central1-fhir-org-starter-project.cloudfunctions.net/ig-commit-trigger" \
-H "Content-type: application/json" \
--data '{"ref": "refs/heads/master", "repository": {"full_name": "mvdzel/ehrsfm-fhir-r5"}}'
Convert current computable version of the FM (MAX file) to FHIR IG artifacts.
> docker run --name=ehrsfm-fhir-r5 -it -v "$(pwd)":/app node:lts-buster /bin/bash
@> cd script
@> (once) dpkg -i jdk-21_linux-x64_bin.deb
@> (once) apt update; apt install graphviz jekyll
@> (once) npm instal
@> node max2fhir.js > output.txt
@> node max2plantuml.js > ../input/images-source/relationships.plantuml
Copy grouping & resource json from output.txt into ehrs-ig.json
(optional) > curl -L https://github.com/hapifhir/org.hl7.fhir.core/releases/latest/download/validator_cli.jar -o validator_cli.jar
> java -jar validator_cli.jar -version current input/resources -ig input/resources
(optional)> curl -L https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar -o publisher.jar
> java -jar publisher.jar -ig ig.ini
<!-- XXX --> <xsl:message><xsl:copy-of select="."/></xsl:message>
http://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/CodeSystem-ig-parameters.html
No narrative removes rendering of Requirement.statements. So don't use this.
{
"code" : {
"system": "http://hl7.org/fhir/tools/CodeSystem/ig-parameters",
"code" : "no-narrative"
},
"value": "Requirements/*"
},
> sftp user@sftp
@> cd WWW/ehrsfm-fhir-r5
@> put -r *
The HL7 repo is now setup to being a mirror of the work repo (@mvdzel). Use these commands to update the HL7 mirror.
@> git clone --mirror https://github.com/mvdzel/ehrsfm-fhir-r5.git
@> cd ehrsfm-fhir-r5.git
@> git fetch
@> git push --mirror https://github.com/HL7/ehrsfm-ig.git
We need these steps to keep formatting in table.
> docker run --rm --volume "`pwd`:/data" --user `id -u`:`id -g` pandoc/core Glossary.docx -o chapter8.md