Skip to content

Commit

Permalink
Simplify some of the documentation (#34)
Browse files Browse the repository at this point in the history
* Update versions.md

* Update Project.toml

* Update versions.md

* Fix a typo

* Update versions.md

* Update versions.md

* Update versions.md
  • Loading branch information
DilumAluthge authored Aug 3, 2020
1 parent 04663e2 commit b06aedc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FHIRClient"
uuid = "b44d2ca2-8176-4fa9-8684-826e17b2a2da"
authors = ["Dilum Aluthge", "Brown Center for Biomedical Informatics", "JuliaHealth", "contributors"]
version = "0.1.1"
version = "0.1.2"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand Down
28 changes: 11 additions & 17 deletions docs/src/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,26 @@
CurrentModule = FHIRClient
```

# CDM Version
# FHIR Versions

The following table shows which versions of the FHIR specifications are
The following table shows which versions of the FHIR specification are
implemented in each version of the `FHIRClient.jl` Julia package.

| `FHIRClient.jl` | FHIR specification |
| --------------- | ------------------ |
| 0.1.0 | R4 (4.0.1) |
| `FHIRClient.jl` | FHIR releases | FHIR versions |
| --------------- | ------------- | ------------- |
| 0.1.0 | R4 | 4.0.1 (R4) |

In order to see the current FHIR versions, use the
In order to see the full FHIR version number
for a specific FHIR release, use the
`FHIRClient.fhir_version` function:
```jldoctest
julia> using FHIRClient
julia> FHIRClient.fhir_version(FHIRClient.R4())
v"4.0.1"
```julia
julia> FHIRClient.fhir_version(FHIRClient.R4()) # prints the full FHIR version number for the R4 release
```

In order to see the current `FHIRClient.jl` version, use the
`FHIRClient.version` function:

```jldoctest
julia> using FHIRClient
julia> FHIRClient.version()
v"0.1.1"
```julia
julia> FHIRClient.version() # prints the current `FHIRClient.jl` version number
```

To see all versions of the FHIR specification, go to the
Expand Down

2 comments on commit b06aedc

@DilumAluthge
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register branch=master

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/18874

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.2 -m "<description of version>" b06aedcedfc6235f92cbe6b4ea790c850cb58635
git push origin v0.1.2

Please sign in to comment.