Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
897fe4b
Add SurrogateOnly info
rishasurana Jul 15, 2025
0ff1761
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 15, 2025
bb2d9c8
Fix versioning bugs
rishasurana Jul 15, 2025
9b16dd7
Merge branch 'rishasurana/health-deid-surrogate-only' of https://gith…
rishasurana Jul 15, 2025
43c3e86
Versioning
rishasurana Jul 15, 2025
03501e3
Add version json
rishasurana Jul 15, 2025
0ac70e5
Fix examples
rishasurana Jul 15, 2025
5c64b7a
Move/update examples
rishasurana Jul 15, 2025
5005fb9
Add existing examples
rishasurana Jul 15, 2025
6f73520
Compilation updates
rishasurana Jul 15, 2025
97e56cf
Formatting
rishasurana Jul 15, 2025
fe3ca1d
Update models
rishasurana Jul 15, 2025
2052694
Update special inputs
rishasurana Jul 15, 2025
1559f61
Update input format
rishasurana Jul 16, 2025
3e58dea
Updated readme
rishasurana Jul 16, 2025
78d5e77
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 16, 2025
c0434d5
Update in compilation
rishasurana Jul 16, 2025
2547cc0
revert to orginal
rishasurana Jul 16, 2025
0aef3f9
Revert
rishasurana Jul 16, 2025
da52b00
revert
rishasurana Jul 16, 2025
c629c03
Pass typespec compiler tests
rishasurana Jul 16, 2025
cb2308d
Update version name to 2025-07-15-preview
rishasurana Jul 17, 2025
07cc75d
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 17, 2025
f7d7c43
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 21, 2025
bcefad5
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 22, 2025
0078839
Remove option 1
rishasurana Jul 22, 2025
bc7fe82
Fix inputLocale
rishasurana Jul 23, 2025
86e5127
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 23, 2025
229204f
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 23, 2025
0291c99
Change EncodingType to TextEncodingType
rishasurana Jul 23, 2025
b6b2bda
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 23, 2025
20fb83e
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 24, 2025
21e821b
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 30, 2025
030090b
Update tspconfig to resolve JS build failure
rishasurana Jul 31, 2025
85afb95
Merge branch 'main' into rishasurana/health-deid-surrogate-only
rishasurana Jul 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated readme
  • Loading branch information
rishasurana committed Jul 16, 2025
commit 3e58dea9a6fae5c213c42668036af129e8671543
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ These are the global settings for the HealthDataAIServices.DeidServices.

```yaml
openapi-type: data-plane
tag: package-2024-11-15
tag: package-2024-12-15
title: Azure Health Data Services de-identification service
security: AADToken
security-scopes:
Expand All @@ -42,6 +42,15 @@ input-file:
- stable/2024-11-15/HealthDataAIServices.DeidServices.json
```

### Tag: package-2024-12-15

These settings apply only when `--tag=package-2024-12-15` is specified on the command line.

```yaml $(tag) == 'package-2024-12-15'
input-file:
- stable/2024-12-15/HealthDataAIServices.DeidServices.json
```

---

# Code Generation
Expand Down Expand Up @@ -75,4 +84,4 @@ See configuration in [readme.typescript.md](./readme.typescript.md)

## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)
See configuration in [readme.csharp.md](./readme.csharp.md)
Original file line number Diff line number Diff line change
Expand Up @@ -649,20 +649,17 @@
]
}
},
"encodedEntities": {
"type": "array",
"description": "List of PHI entities with simplified single encoding for SurrogateOnly operation. Cannot be used with Entities.",
"items": {
"$ref": "#/definitions/EncodedPhiEntity"
}
},
"entities": {
"type": "array",
"description": "List of PHI entities for SurrogateOnly operation with full encoding information. Cannot be used with EncodedEntities.",
"description": "List of PHI entities for SurrogateOnly operation with full encoding information. Cannot be used with TaggedEntities.",
"items": {
"$ref": "#/definitions/PhiEntity"
"$ref": "#/definitions/PublicPhiEntity"
}
},
"taggedEntities": {
"$ref": "#/definitions/TaggedPhiEntities",
"description": "Grouped PHI entities with single encoding specification for SurrogateOnly operation. Cannot be used with Entities."
},
"customizations": {
"$ref": "#/definitions/DeidentificationCustomizationOptions",
"description": "Customization parameters to override default service behaviors."
Expand Down Expand Up @@ -925,40 +922,6 @@
}
}
},
"EncodedPhiEntity": {
"type": "object",
"description": "Simplified PHI Entity for use in SurrogateOnly operations with single encoding.",
"properties": {
"category": {
"type": "string",
"description": "PHI Category of the entity."
},
"offset": {
"type": "integer",
"format": "int32",
"description": "Starting index of the location from within the input text using the specified encoding."
},
"length": {
"type": "integer",
"format": "int32",
"description": "Length of the input text using the specified encoding."
},
"encoding": {
"$ref": "#/definitions/EncodingType",
"description": "The encoding used for offset and length values."
},
"text": {
"type": "string",
"description": "Text of the entity (optional)."
}
},
"required": [
"category",
"offset",
"length",
"encoding"
]
},
"EncodingType": {
"type": "string",
"description": "Encoding type for text offset and length calculations.",
Expand Down Expand Up @@ -1265,6 +1228,62 @@
"entities"
]
},
"PublicPhiEntity": {
"type": "object",
"description": "PHI Entity for public use in SurrogateOnly operations with full encoding information.",
"properties": {
"category": {
"$ref": "#/definitions/PhiCategory",
"description": "PHI Category of the entity."
},
"offset": {
"$ref": "#/definitions/StringIndex",
"description": "Starting index of the location from within the input text."
},
"length": {
"$ref": "#/definitions/StringIndex",
"description": "Length of the input text."
},
"text": {
"type": "string",
"description": "Text of the entity (optional)."
}
},
"required": [
"category",
"offset",
"length"
]
},
"SimplePhiEntity": {
"type": "object",
"description": "Simple PHI entity with encoding-specific offset and length values.",
"properties": {
"category": {
"$ref": "#/definitions/PhiCategory",
"description": "PHI Category of the entity."
},
"offset": {
"type": "integer",
"format": "int32",
"description": "Starting index of the location from within the input text using the group's encoding."
},
"length": {
"type": "integer",
"format": "int32",
"description": "Length of the input text using the group's encoding."
},
"text": {
"type": "string",
"description": "Text of the entity (optional)."
}
},
"required": [
"category",
"offset",
"length"
]
},
"SourceStorageLocation": {
"type": "object",
"description": "Storage location.",
Expand Down Expand Up @@ -1322,6 +1341,27 @@
"codePoint"
]
},
"TaggedPhiEntities": {
"type": "object",
"description": "Grouped PHI entities with shared encoding specification.",
"properties": {
"encoding": {
"$ref": "#/definitions/EncodingType",
"description": "The encoding type used for all entities in this group."
},
"entities": {
"type": "array",
"description": "List of PHI entities using the specified encoding.",
"items": {
"$ref": "#/definitions/SimplePhiEntity"
}
}
},
"required": [
"encoding",
"entities"
]
},
"TargetStorageLocation": {
"type": "object",
"description": "Storage location.",
Expand Down
Loading