skalarsystems / fhirzeug

A Python FHIR specification parser and class generator
Apache License 2.0
17 stars 1 forks source link

Add validators for int, unsigned int and positive int types #49

Closed Wauplin closed 4 years ago

Wauplin commented 4 years ago

Closes #47 .

Implement FHIRInt, FHIRPositiveInt and FHIRUnsignedInt types following FHIR specs (https://www.hl7.org/fhir/datatypes.html#primitive).

codecov[bot] commented 4 years ago

Codecov Report

Merging #49 into master will increase coverage by 0.83%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #49      +/-   ##
==========================================
+ Coverage   81.36%   82.20%   +0.83%     
==========================================
  Files          11       11              
  Lines        1229     1281      +52     
==========================================
+ Hits         1000     1053      +53     
+ Misses        229      228       -1     
Flag Coverage Δ
#unittests 82.20% <100.00%> (+0.83%) :arrow_up:
Impacted Files Coverage Δ
...tors/python_pydantic/templates/fhir_basic_types.py 100.00% <100.00%> (ø)
fhirzeug/fhirrenderer.py 86.72% <0.00%> (+4.30%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 77ffc6c...9f04365. Read the comment docs.