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

FHIR IG Statistics: StructureDefinition/MOP

Packagehl7.v2plus
Resource TypeStructureDefinition
IdMOP
FHIR VersionR5
Sourcehttp://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-MOP.html
URLhttp://hl7.org/v2/StructureDefinition/MOP
Version0.0.0
Statusactive
Date2025-07-11T16:45:01+00:00
NameMOP
TitleHL7 v2 MOP Data Type
Authorityhl7
Description*Note:* Replaces the CM data type used in section 6.5.8.5 IN3-5, as of v 2.5. This data type is restricted to this field. Example: USD is the ISO 4217 code for the U.S. American dollar. |AT^99.50^USD|
Typehttp://hl7.org/v2/StructureDefinition/MOP
Kindlogical

Resources that use this resource

StructureDefinition
PTAHL7 v2 PTA Data Type
RMCHL7 v2 RMC Data Type

Resources that this resource uses

StructureDefinition
IDHL7 v2 ID Data Type
NMHL7 v2 Numeric Primitive Type
complex-data-typeHL7 v2 Complex Data Type
ValueSet
v2-0148hl7VS-penaltyType

Narrative

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

Generated Narrative: StructureDefinition MOP

NameFlagsCard.TypeDescription & Constraintsdoco
.. MOP 0..*V2ComplexDataTypemoney or percentage
... 1 1..1codeMoney or Percentage Indicator
Binding: hl7VS-penaltyType (required)
... 2 1..1decimalMoney or Percentage Quantity
... 3 0..1codeMonetary Denomination
Binding: http://terminology.hl7.org/ValueSet/v2-0913 (required)

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "MOP",
  "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/MOP",
  "version": "0.0.0",
  "name": "MOP",
  "title": "HL7 v2 MOP 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 section 6.5.8.5 IN3-5, as of v 2.5. This data type is restricted to this field.\n\nExample: USD is the ISO 4217 code for the U.S. American dollar.\n\n|AT^99.50^USD|",
  "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/MOP",
  "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": "MOP",
        "path": "MOP",
        "short": "money or percentage",
        "definition": "Definition: This data type specifies an amount that may be either currency or a percentage. It is a variation on the MO data type that is limited to currency.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MOP.1",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "R"
          }
        ],
        "path": "MOP.1",
        "short": "Money or Percentage Indicator",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MOP.1",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ID"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0148"
        }
      },
      {
        "id": "MOP.2",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "R"
          }
        ],
        "path": "MOP.2",
        "short": "Money or Percentage Quantity",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MOP.2",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/NM"
          }
        ]
      },
      {
        "id": "MOP.3",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          },
          {
            "extension": [
              {
                "url": "min",
                "valueInteger": 3
              },
              {
                "url": "max",
                "valueInteger": 3
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/length"
          }
        ],
        "path": "MOP.3",
        "short": "Monetary Denomination",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MOP.3",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ID"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0913"
        }
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "MOP",
        "path": "MOP",
        "short": "money or percentage",
        "definition": "Definition: This data type specifies an amount that may be either currency or a percentage. It is a variation on the MO data type that is limited to currency.",
        "min": 0,
        "max": "*"
      },
      {
        "id": "MOP.1",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "R"
          }
        ],
        "path": "MOP.1",
        "short": "Money or Percentage Indicator",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ID"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0148"
        }
      },
      {
        "id": "MOP.2",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "R"
          }
        ],
        "path": "MOP.2",
        "short": "Money or Percentage Quantity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/NM"
          }
        ]
      },
      {
        "id": "MOP.3",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          },
          {
            "extension": [
              {
                "url": "min",
                "valueInteger": 3
              },
              {
                "url": "max",
                "valueInteger": 3
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/length"
          }
        ],
        "path": "MOP.3",
        "short": "Monetary Denomination",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ID"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0913"
        }
      }
    ]
  }
}