Documentation



Project Structure


docs/ Intro.md - documentation pages src/ - contains profiles and valueset definitions Patient.yaml - profile for patient Observation/ bmi.yaml - specific profile for observation vs.gender.yaml - valueset definition vs.gender.csv - codes for valueset ig.yaml - manifest file

New Resource Profile Template


ValueSets


A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets use CodeSystem resources by referring to them via their canonical reference.

How to create a new ValueSet


Create a yaml file with the vs. prefix in the src folder. The template looks as follows:

system: https://healthsamurai.github.io/ig-ae/CodeSystem/condition-outcome
description: AZ condition outcome valueset
concepts:
  - code: resolved
    display: Resolved
  - code: recovering
    display: Recovering
  - code: ongoing
    display: Ongoing
  - code: resolvedWithSequelae
    display: Resolved with Sequelae
  - code: fatal
    display: Fatal
  - code: unknown
    display: Unknown
  - code: recovered
    display: Recovered

CodeSystems


A CodeSystem resource declares the existence of and describes a code system or code system supplement and its key properties, and optionally defines a part or all of its content. Also known as Ontology, Terminology, or Enumeration.

How to create a new CodeSystem


Create a yaml file with the cs. prefix in the src folder. The template looks as follows:

description: Defines possible condition outcomes
content: complete
title: Condition Outcome
name: ConditionOutcome
version: 0.1.0
status: active
date: 2021-01-19T13:20:31+00:00
publisher: AstraZeneca
concepts:
- code: resolved
  display: Resolved
- code: recovering
  display: Recovering
- code: ongoing
  display: Ongoing
- code: resolvedWithSequelae
  display: Resolved with Sequelae
- code: fatal
  display: Fatal
- code: unknown
  display: Unknown
- code: recovered
  display: Recovered