Skip to content
/ ch-ems Public
generated from ahdis/ch-ig

Implementation Guide (FHIR) for the Emergency Medical Service protocol

Notifications You must be signed in to change notification settings

hl7ch/ch-ems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CH EMS Implementation Guide (R4)

FHIR Implementation Guide for the Emergency Medical Service protocol in Switzerland

Building the Implementation Guide

You can build the Implementation Guide with the IG Publisher.

  • For building the Implementation Guide you need to install Jekyll.

  • Clone this repository and change into its main directory.

  • Download the latest version of IG Publisher:

wget https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar -O publisher.jar
  • Build the Implementation Guide:
java -Xms3550m -Xmx3550m -jar publisher.jar -ig ig.ini

Validate a Resource

If you are in the main directory of the Implementation Guide you can check your example against the specification of this IG with the Validator.

  • Download the latest version of Validator:
wget https://github.com/hapifhir/org.hl7.fhir.core/releases/latest/download/validator_cli.jar -O validator_cli.jar
  • Validate the resource against a profile (e.g. ch-ems-document):
java -jar validator_cli.jar [file path] -version 4.0.1 -ig output -profile http://fhir.ch/ig/ch-ems/StructureDefinition/ch-ems-document

Validating without Building the IG

If you do not want to build the IG locally, you can validate your example against the Implementation Guide with the Validator as follows:

  • Download the latest version of Validator:
wget https://github.com/hapifhir/org.hl7.fhir.core/releases/latest/download/validator_cli.jar -O validator_cli.jar
  • Validate the resource:
java -jar validator_cli.jar [file path] -version 4.0.1 -ig ch.fhir.ig.ch-ems#current -profile http://fhir.ch/ig/ch-ems/StructureDefinition/ch-ems-document

In case the current published IG (#current) is not found, replace #current with the current version (e.g. #1.9.0) of the published IG (http://fhir.ch/ig/ch-ems/history.html)

About

Implementation Guide (FHIR) for the Emergency Medical Service protocol

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published