diff --git a/docs/using-the-fhir-api.md b/docs/using-the-fhir-api.md index f866c6fb5..f92207ef8 100644 --- a/docs/using-the-fhir-api.md +++ b/docs/using-the-fhir-api.md @@ -13,9 +13,8 @@ _Please Note: The native Snowstorm API must be used to create code systems and i The LOINC code system is supported. A LOINC package can be imported using the [HAPI-FHIR CLI tool](https://hapifhir.io/hapi-fhir/docs/tools/hapi_fhir_cli.html) with the following command: ``` -hapi-fhir-cli upload-terminology -d Loinc_2.72.zip -v r4 -t http://localhost:8080/fhir -u http://loinc.org +hapi-fhir-cli upload-terminology -d Loinc_2.76.zip -v r4 -t http://localhost:8080/fhir -u http://loinc.org ``` -*N.B. The new file naming since Loinc 2.73 is not working yet.* ### ICD-10 (International Version) The international version of ICD-10 is supported. This distribution uses the CLAML format. diff --git a/src/main/resources/ca/uhn/fhir/jpa/term/loinc/loincupload.properties b/src/main/resources/ca/uhn/fhir/jpa/term/loinc/loincupload.properties new file mode 100644 index 000000000..4232f89a8 --- /dev/null +++ b/src/main/resources/ca/uhn/fhir/jpa/term/loinc/loincupload.properties @@ -0,0 +1,5 @@ +# This property informs the HAPI-FHIR LOINC package loader of the location of the hierarchy file within the LOINC package +# For LOINC v2.72 and earlier: +# loinc.hierarchy.file=AccessoryFiles/MultiAxialHierarchy/MultiAxialHierarchy.csv +# For LOINC 2.73 and above: +loinc.hierarchy.file=AccessoryFiles/ComponentHierarchyBySystem/ComponentHierarchyBySystem.csv