FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/OCD

Packagehl7.v2plus
TypeStructureDefinition
IdOCD
FHIR VersionR5
Sourcehttp://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-OCD.html
URLhttp://hl7.org/v2/StructureDefinition/OCD
Version0.0.0
Statusactive
Date2025-07-11T16:45:01+00:00
NameOCD
TitleHL7 v2 OCD Data Type
Authorityhl7
Description*Note:* Replaces the CM data type used in sections 6.5.10.10 UB1-16 and 6.5.11.7 UB2-7, as of v 2.5. This data type carries data defined by CMS or other regulatory agencies. It corresponds to UB82 Fields 28‑32 and UB92 fields 32a, 32b, 33a, 33b, 34a, 34b, 35a, and 35b. Refer to a UB specification for additional information. Use Case: A Medicare beneficiary was confined in hospital from January 1, 1992 to January 10, 1992, however, his Medicare Part A benefits were exhausted as of January 8, 1992, and he was not entitled to Part B benefits. Therefore, Form Locator 32 should contain code 23 and the date 010892. Example: |23&Benefits Exhausted&NUBC^19920108|
Typehttp://hl7.org/v2/StructureDefinition/OCD
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
CNEHL7 v2 CNE Data Type
DTHL7 v2 DT Data Type
complex-data-typeHL7 v2 Complex Data Type
ValueSet
v2-0350hl7VS-occurrenceCode
v2-0350hl7VS-occurrenceCode

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition OCD

NameFlagsCard.TypeDescription & Constraintsdoco
.. OCD 0..*V2ComplexDataTypeoccurrence code and date
... 1 1..1CNEOccurrence Code
Binding: hl7VS-occurrenceCode (required)
... 2 1..1dateOccurrence Date

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "OCD",
  "meta": {
    "profile": [
      "http://hl7.org/v2/StructureDefinition/complex-data-type-profile"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "informative",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://somewhere.org/fhir/uv/v2plus/ImplementationGuide/hl7.other.uv.v2plus"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/v2/StructureDefinition/OCD",
  "version": "0.0.0",
  "name": "OCD",
  "title": "HL7 v2 OCD Data Type",
  "status": "active",
  "date": "2025-07-11T16:45:01+00:00",
  "publisher": "HL7 International",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/Special/committees/v2mgmt"
        }
      ]
    }
  ],
  "description": "*Note:* Replaces the CM data type used in sections 6.5.10.10 UB1-16 and 6.5.11.7 UB2-7, as of v 2.5.\n\nThis data type carries data defined by CMS or other regulatory agencies. It corresponds to UB82 Fields 28‑32 and UB92 fields 32a, 32b, 33a, 33b, 34a, 34b, 35a, and 35b. Refer to a UB specification for additional information.\n\nUse Case: A Medicare beneficiary was confined in hospital from January 1, 1992 to January 10, 1992, however, his Medicare Part A benefits were exhausted as of January 8, 1992, and he was not entitled to Part B benefits. Therefore, Form Locator 32 should contain code 23 and the date 010892.\n\nExample:\n\n|23&Benefits Exhausted&NUBC^19920108|",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.org/v2/StructureDefinition/OCD",
  "baseDefinition": "http://hl7.org/v2/StructureDefinition/complex-data-type",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.0.0"
      }
    ],
    "element": [
      {
        "id": "OCD",
        "path": "OCD",
        "short": "occurrence code and date",
        "definition": "Definition: The code and associated date defining a significant event relating to a bill that may affect payer processing.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "OCD.1",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "R"
          }
        ],
        "path": "OCD.1",
        "short": "Occurrence Code",
        "min": 1,
        "max": "1",
        "base": {
          "path": "OCD.1",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/CNE"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0350"
        }
      },
      {
        "id": "OCD.2",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "R"
          },
          {
            "extension": [
              {
                "url": "length",
                "valueInteger": 8
              },
              {
                "url": "noTruncate",
                "valueBoolean": true
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/conformance-length"
          }
        ],
        "path": "OCD.2",
        "short": "Occurrence Date",
        "min": 1,
        "max": "1",
        "base": {
          "path": "OCD.2",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/DT"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "OCD",
        "path": "OCD",
        "short": "occurrence code and date",
        "definition": "Definition: The code and associated date defining a significant event relating to a bill that may affect payer processing.",
        "min": 0,
        "max": "*"
      },
      {
        "id": "OCD.1",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "R"
          }
        ],
        "path": "OCD.1",
        "short": "Occurrence Code",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/CNE"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0350"
        }
      },
      {
        "id": "OCD.2",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "R"
          },
          {
            "extension": [
              {
                "url": "length",
                "valueInteger": 8
              },
              {
                "url": "noTruncate",
                "valueBoolean": true
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/conformance-length"
          }
        ],
        "path": "OCD.2",
        "short": "Occurrence Date",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/DT"
          }
        ]
      }
    ]
  }
}