NIH-NCPI / ncpi-model-forge

🔥 The Project Forge FHIR model
Apache License 2.0
4 stars 5 forks source link

ImplementationGuide.definition.parameter [releaselabel copyrightyear] #55

Open bwalsh opened 3 years ago

bwalsh commented 3 years ago

Description

InstallationGuide

Parameters:

Are not itemized here: https://www.hl7.org/fhir/implementationguide-definitions.html#ImplementationGuide.definition.parameter.code

To Reproduce

Create R4 instance

Following instructions here: https://cloud.google.com/healthcare/docs/how-tos/fhir-profiles#import_your_implementation_guide

"an error occurred while reading the record starting at byte 0: error at "ImplementationGuide.definition.parameter[0].code": code type mismatch error at "ImplementationGuide.definition.parameter[1].code": code type mismatch"

Workaround

+++ b/site_root/input/ImplementationGuide-NCPI-Project-Forge.json
@@ -24,14 +24,6 @@
       "title": "Table of Contents"
     },
     "parameter": [
-      {
-        "code": "copyrightyear",
-        "value": "2020+"
-      },
-      {
-        "code": "releaselabel",
-        "value": "CI Build"
-      },
luan-dev commented 3 years ago

It seems that Google removed some details in their error reporting. This workaround also works if you get this error:

ERROR: (gcloud.healthcare.fhir-stores.import.gcs) {
  "code": 3
}