-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3651 from IBM/issue-3650
issue #3650 - add PDEX PlanNet 1.1.0
- Loading branch information
Showing
504 changed files
with
125,958 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,28 @@ | ||
# Changes | ||
|
||
## PDEX PlanNet 1.0.0 | ||
Source - https://build.fhir.org/ig/HL7/davinci-pdex-plan-net | ||
Corresponding to https://github.com/HL7/davinci-pdex-plan-net/commit/2c561128f864e87f50a00a478aa5dbccba6865fc | ||
- Modified CapabilityStatement-plan-net.json to remove <br/> tags between list items in the narrative text (which is invalid XHTML) | ||
- Modified ig-r4.json to remove parameters that aren't valid in FHIR R4 | ||
- Modified ig-r4.json to remove parameters that aren't valid in FHIR R4 | ||
- Stripped narrative text to reduce the size and formatted the JSON contents (both via the ResourceProcessor tool) | ||
- Added version id to each targetProfile canonical reference (e.g. `http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Organization` -> `http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Organization|1.0.0`) | ||
- Added version id to each valueSet binding target (e.g. `http://hl7.org/fhir/us/davinci-pdex-plan-net/ValueSet/InsuranceProductTypeVS` -> `http://hl7.org/fhir/us/davinci-pdex-plan-net/ValueSet/InsuranceProductTypeVS|1.0.0`) | ||
|
||
Note: the examples were subsequently retrieved from http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1/package.tgz on May 19, 2022. | ||
|
||
## PDEX PlanNet 1.1.0 | ||
Source - http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.1/package.tgz retrieved on May 19, 2022. | ||
- Modified CapabilityStatement-plan-net.json to remove <br/> tags between list items in the narrative text (which is invalid XHTML) | ||
- Modified ig-r4.json to remove parameters that aren't valid in FHIR R4 | ||
- Stripped narrative text to reduce the size and formatted the JSON contents (both via the ResourceProcessor tool) | ||
|
||
# Steps to update | ||
1. download the npm package for whatever version of PDEX PlanNet you want (and note what downloads we used from where in this file) | ||
2. update `src/main/resources` with the latest conformance artifacts and `src/test/resources` with the latest examples | ||
3. if its a new version | ||
- ensure references from the previous package are version-specific (e.g. to avoid a 1.0.0 profile from picking up a 1.1.0 valueset during validation) | ||
- add a new provider (`src/main/java` and `src/main/resources/META-INF`) | ||
- create tests for this new version (update ConstraintGeneratorTest and PlanNetResourceProviderTest) | ||
4. execute ResourceProcessor from src/test/java with the proper arguments | ||
5. execute SearchParameterAugmenter from src/test/java with the proper arguments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...an-net/src/main/java/com/ibm/fhir/ig/davinci/pdex/plannet/PlanNet100ResourceProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* (C) Copyright IBM Corp. 2020, 2022 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.ibm.fhir.ig.davinci.pdex.plannet; | ||
|
||
import com.ibm.fhir.registry.util.PackageRegistryResourceProvider; | ||
|
||
public class PlanNet100ResourceProvider extends PackageRegistryResourceProvider { | ||
@Override | ||
public String getPackageId() { | ||
return "hl7.fhir.us.davinci-pdex-plan-net.100"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...c/main/resources/META-INF/services/com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
com.ibm.fhir.ig.davinci.pdex.plannet.PlanNetResourceProvider | ||
com.ibm.fhir.ig.davinci.pdex.plannet.PlanNet100ResourceProvider | ||
com.ibm.fhir.ig.davinci.pdex.plannet.PlanNet110ResourceProvider |
Oops, something went wrong.