Skip to content

Commit e4c3680

Browse files
authored
updated md (#1186)
1 parent 202c138 commit e4c3680

4 files changed

+9
-10
lines changed

docs/_posts/akrztrk/2024-03-14-clinical_deidentification_subentity_nameAugmented_en.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ It is augmented with `ner_deid_name_multilingual_clinical` model.
3737

3838
<div class="tabs-box" markdown="1">
3939
{% include programmingLanguageSelectScalaPythonNLU.html %}
40+
4041
```python
4142

4243
from sparknlp.pretrained import PretrainedPipeline
4344

44-
deid_pipeline = PretrainedPipeline("clinical_deidentification_nameAugmented", "en", "clinical/models")
45+
deid_pipeline = PretrainedPipeline("clinical_deidentification_subentity_nameAugmented", "en", "clinical/models")
4546

4647
text = """Name : Hendrickson, Ora, Record date: 2093-01-13, MR #719435.
4748
Dr. John Green, ID: 1231511863, IP 203.120.223.13.
@@ -57,7 +58,7 @@ result = deid_pipeline.annotate(text)
5758

5859
import com.johnsnowlabs.nlp.pretrained.PretrainedPipeline
5960

60-
val deid_pipeline = PretrainedPipeline("clinical_deidentification_nameAugmented", "en", "clinical/models")
61+
val deid_pipeline = PretrainedPipeline("clinical_deidentification_subentity_nameAugmented", "en", "clinical/models")
6162

6263
val text = """Name : Hendrickson, Ora, Record date: 2093-01-13, MR #719435.
6364
Dr. John Green, ID: 1231511863, IP 203.120.223.13.

docs/_posts/gokhanturer/2024-03-14-clinical_deidentification_subentity_optimized_en.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ Phone (302) 786-5227, 0295 Keats Street, San Francisco, E-MAIL: smith@gmail.com.
4444

4545
deid_result = deid_pipeline.fullAnnotate(text)
4646

47-
print('
48-
'.join([i.metadata['masked'] for i in deid_result[0]['obfuscated']]))
49-
print('
50-
'.join([i.result for i in deid_result[0]['obfuscated']]))
47+
print('\n'.join([i.metadata['masked'] for i in deid_result[0]['obfuscated']]))
48+
print('\n'.join([i.result for i in deid_result[0]['obfuscated']]))
5149
```
5250
```scala
5351
import com.johnsnowlabs.nlp.pretrained.PretrainedPipeline

docs/_posts/gokhanturer/2024-03-27-clinical_deidentification_en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ Phone (302) 786-5227, 0295 Keats Street, San Francisco, E-MAIL: smith@gmail.com.
4848

4949
result = deid_pipeline.fullAnnotate(text)
5050

51-
print('\n'.join([i.metadata['masked'] for i in deid_result[0]['obfuscated']]))
52-
print('\n'.join([i.result for i in deid_result[0]['obfuscated']])))
51+
print('\n'.join([i.metadata['masked'] for i in result[0]['obfuscated']]))
52+
print('\n'.join([i.result for i in result[0]['obfuscated']]))
5353
```
5454
```scala
5555
import com.johnsnowlabs.nlp.pretrained.PretrainedPipeline

docs/en/spark_nlp_healthcare_versions/release_notes_5_3_1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ What sets this release apart is the elimination of complexities typically involv
504504
| [`snomed_drug_resolver_pipeline`](https://nlp.johnsnowlabs.com/2024/03/11/snomed_drug_resolver_pipeline_en.html) | This advanced pipeline extracts drug entities from clinical texts and maps these entities to their corresponding SNOMED codes. |
505505
| [`snomed_resolver_pipeline`](https://nlp.johnsnowlabs.com/2024/03/11/snomed_resolver_pipeline_en.html) | This pipeline extracts `Clinical Findings `, `Morph Abnormality`, `Clinical Drug`, `Clinical Drug Form`, `Procedure`, `Substance`, `Physical Object`, and `Body Structure` concepts from clinical notes and maps them to their corresponding SNOMED codes. |
506506
| [`clinical_deidentification_generic_optimized`](https://nlp.johnsnowlabs.com/2024/03/14/clinical_deidentification_generic_optimized_en.html) | This pipeline can be used to deidentify PHI information from medical texts. |
507-
| [`clinical_deidentification_nameAugmented`](https://nlp.johnsnowlabs.com/2024/03/14/clinical_deidentification_subentity_nameAugmented_en.html) | This pipeline can be used to deidentify PHI information from medical texts. The PHI information will be masked and obfuscated in the resulting text. |
507+
| [`clinical_deidentification_subentity_nameAugmented`](https://nlp.johnsnowlabs.com/2024/03/14/clinical_deidentification_subentity_nameAugmented_en.html) | This pipeline can be used to deidentify PHI information from medical texts. The PHI information will be masked and obfuscated in the resulting text. |
508508
| [`clinical_deidentification_subentity_optimized`](https://nlp.johnsnowlabs.com/2024/03/14/clinical_deidentification_subentity_optimized_en.html) | This pipeline can be used to deidentify PHI information from medical texts. The PHI information will be obfuscated in the resulting text and also masked with entity labels in the metadata. |
509509
| [`explain_clinical_doc_public_health`](https://nlp.johnsnowlabs.com/2024/03/19/explain_clinical_doc_public_health_en.html) | This specialized public health pipeline can extract public health-related entities, assign assertion status to the extracted entities, establish relations between the extracted entities from the clinical documents. In this pipeline, five NER, one assertion, and one relation extraction model were used to achieve those tasks. |
510510
| [`explain_clinical_doc_biomarker`](https://nlp.johnsnowlabs.com/2024/03/11/explain_clinical_doc_biomarker_en.html) | This specialized biomarker pipeline can extract biomarker entities, classify sentences whether they contain biomarker entities or not, establish relations between the extracted biomarker and biomarker results from the clinical documents. |
@@ -660,7 +660,7 @@ The CPT and MedDRA models have been removed from the S3 storage. As a result, wh
660660
+ `snomed_drug_resolver_pipeline`
661661
+ `snomed_resolver_pipeline`
662662
+ `clinical_deidentification_generic_optimized`
663-
+ `clinical_deidentification_nameAugmented`
663+
+ `clinical_deidentification_subentity_nameAugmented`
664664
+ `clinical_deidentification_subentity_optimized`
665665
+ `umls_rxnorm_mapper`
666666
+ `icd10_meddra_llt_mapper`

0 commit comments

Comments
 (0)